Fomafix has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/318043

Change subject: Remove attribute lang from #firstHeading
......................................................................

Remove attribute lang from #firstHeading

Since I0ff707d5f04218bef5721e6fc162c6359bb7538a the lang attribute gets set
in core.

Change-Id: Id6916d0141aa26df46443d894c687907d77ed6c3
Depends-On: I0ff707d5f04218bef5721e6fc162c6359bb7538a
---
M VectorTemplate.php
1 file changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Vector 
refs/changes/43/318043/1

diff --git a/VectorTemplate.php b/VectorTemplate.php
index 5b27141..51d2b00 100644
--- a/VectorTemplate.php
+++ b/VectorTemplate.php
@@ -88,9 +88,6 @@
                                array_reverse( $this->data['personal_urls'] );
                }
 
-               $this->data['pageLanguage'] =
-                       
$this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode();
-
                // Output HTML Page
                $this->html( 'headelement' );
                ?>
@@ -113,7 +110,7 @@
                        // Loose comparison with '!=' is intentional, to catch 
null and false too, but not '0'
                        if ( $this->data['title'] != '' ) {
                        ?>
-                       <h1 id="firstHeading" class="firstHeading" lang="<?php 
$this->text( 'pageLanguage' ); ?>"><?php
+                       <h1 id="firstHeading" class="firstHeading"><?php
                                 $this->html( 'title' )
                        ?></h1>
                        <?php

-- 
To view, visit https://gerrit.wikimedia.org/r/318043
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id6916d0141aa26df46443d894c687907d77ed6c3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Vector
Gerrit-Branch: master
Gerrit-Owner: Fomafix <foma...@googlemail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to