r104781 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104780‎ | r104781 | r104782 >
Date:23:20, 30 November 2011
Author:brion
Status:ok (Comments)
Tags:
Comment:

MFT r104778: fix for sidebar portion of bug 4901; fixes language names in screen readers.
Modified paths:
  • /branches/REL1_18/phase3/RELEASE-NOTES-1.18 (modified) (history)
  • /branches/REL1_18/phase3/includes/SkinTemplate.php (modified) (history)

Diff [purge]

Index: branches/REL1_18/phase3/RELEASE-NOTES-1.18
@@ -12,9 +12,9 @@
1313 === Changes since 1.18.0 ===
1414
1515 * (bug 32712) Fix for search indexing of pages with certain unicode chars following URL
 16+* (bug 3901) Lang, hreflang attribs added to sidebar interlanguage links for screen readers
1617
1718
18 -
1919 == MediaWiki 1.18 ==
2020 2011-11-24
2121
Index: branches/REL1_18/phase3/includes/SkinTemplate.php
@@ -480,7 +480,9 @@
481481 'text' => ( $wgContLang->getLanguageName( $nt->getInterwiki() ) != '' ?
482482 $wgContLang->getLanguageName( $nt->getInterwiki() ) : $l ),
483483 'title' => $nt->getText(),
484 - 'class' => $class
 484+ 'class' => $class,
 485+ 'lang' => $nt->getInterwiki(),
 486+ 'hreflang' => $nt->getInterwiki(),
485487 );
486488 }
487489 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r104783MFT r104778: fix for sidebar portion of bug 4901; fixes language names in scr...brion23:23, 30 November 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104778* (bug 4901) lang, hreflang attributes added to sidebar interlanguage links...brion23:17, 30 November 2011

Comments

#Comment by Nikerabbit (talk | contribs)   08:47, 2 December 2011

This fails for simple English.

Status & tagging log