r75719 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75718‎ | r75719 | r75720 >
Date:15:09, 31 October 2010
Author:philip
Status:ok
Tags:
Comment:
Followup r75617. Fix spelling mistake.
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -1971,8 +1971,8 @@
19721972 /** Whether to enable language variant conversion for links. */
19731973 $wgDisableTitleConversion = false;
19741974
1975 -/** Whether to enable language cononical in meta data. */
1976 -$wgDisableLangCanonical = false;
 1975+/** Whether to enable cononical language links in meta data. */
 1976+$wgCanonicalLanguageLinks = true;
19771977
19781978 /** Default variant code, if false, the default will be the language code */
19791979 $wgDefaultLanguageVariant = false;
Index: trunk/phase3/includes/Skin.php
@@ -277,7 +277,7 @@
278278 */
279279 function addMetadataLinks( OutputPage $out ) {
280280 global $wgEnableDublinCoreRdf, $wgEnableCreativeCommonsRdf;
281 - global $wgDisableLangConversion, $wgDisableLangCanonical, $wgContLang;
 281+ global $wgDisableLangConversion, $wgCanonicalLanguageLinks, $wgContLang;
282282 global $wgRightsPage, $wgRightsUrl;
283283
284284 if ( $out->isArticleRelated() ) {
@@ -299,7 +299,7 @@
300300 }
301301 }
302302
303 - if ( !$wgDisableLangConversion && !$wgDisableLangCanonical
 303+ if ( !$wgDisableLangConversion && !$wgCanonicalLanguageLinks
304304 && $wgContLang->hasVariants() ) {
305305
306306 $urlvar = $wgContLang->getURLVariant();

Follow-up revisions

RevisionCommit summaryAuthorDate
r75720Followup r75719. Typo.philip15:12, 31 October 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r756171. Revert the complicated redirection I made in r59754;...philip16:58, 28 October 2010

Status & tagging log