EditPage: Generate all messages using $this->context so we have titles
[lhc/web/wiklou.git] / includes / skins / SkinApiTemplate.php
index 2062da8..f7d7cb2 100644 (file)
@@ -36,9 +36,7 @@ class SkinApiTemplate extends BaseTemplate {
                $this->html( 'headelement' ) ?>
 
                <div class="mw-body" role="main">
-                       <h1 class="firstHeading">
-                               <span dir="auto"><?php $this->html( 'title' ) ?></span>
-                       </h1>
+                       <h1 class="firstHeading"><?php $this->html( 'title' ) ?></h1>
                        <div class="mw-body-content">
                                <?php $this->html( 'bodytext' ) ?>
                        </div>
@@ -52,14 +50,14 @@ class SkinApiTemplate extends BaseTemplate {
        // Skip work and hooks for stuff we don't use
 
        function getToolbox() {
-               return array();
+               return [];
        }
 
        function getPersonalTools() {
-               return array();
+               return [];
        }
 
-       function getSidebar( $options = array() ) {
-               return array();
+       function getSidebar( $options = [] ) {
+               return [];
        }
 }