MediaWiki  master
SkinApiTemplate.php
Go to the documentation of this file.
1 <?php
32 
33  public function execute() {
34  $this->html( 'headelement' ) ?>
35 
36  <div class="mw-body" role="main">
37  <h1 class="firstHeading"><?php $this->html( 'title' ) ?></h1>
38  <div class="mw-body-content">
39  <?php $this->html( 'bodytext' ) ?>
40  </div>
41  </div>
42 
43  <?php $this->printTrail() ?>
44  </body></html>
45 <?php
46  }
47 
48  // Skip work and hooks for stuff we don't use
49 
50  function getToolbox() {
51  return [];
52  }
53 
54  function getPersonalTools() {
55  return [];
56  }
57 
58  function getSidebar( $options = [] ) {
59  return [];
60  }
61 }
New base template for a skin&#39;s template extended from QuickTemplate this class features helper method...
BaseTemplate class for the &#39;apioutput&#39; skin.
getSidebar( $options=[])
printTrail()
Output getTrail.