Remove dir=auto from firstHeading
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Sat, 4 Oct 2014 16:57:20 +0000 (19:57 +0300)
committerAmire80 <amir.aharoni@mail.huji.ac.il>
Sat, 24 Jan 2015 14:05:03 +0000 (14:05 +0000)
dir="auto" was added in r105854 and r105870.
It happens to be useful for completely left-to-right titles
in right-to-left wikis, but time and again the users complain
about titles that are generally right-to-left, but begin with
a left-to-right character, such as
https://fa.wikipedia.org/wiki/3GP_%D9%88_3G2

This seems to cause more problems than it resolves.
Some day we may have proper direction for titles.
Until then we should probably go back to just displaytitle.

Bug: T51093
Change-Id: Ibf408bc6c5d2f8c05667107a547b0b02e06de270

includes/skins/SkinFallbackTemplate.php

index 0d072ab..9cb4ea0 100644 (file)
@@ -91,7 +91,7 @@ class SkinFallbackTemplate extends BaseTemplate {
                </form>
 
                <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' ) ?>