Index: trunk/phase3/includes/Skin.php |
— | — | @@ -391,7 +391,8 @@ |
392 | 392 | 'wgActionPaths' => (object)$wgActionPaths, |
393 | 393 | 'wgServer' => $wgServer, |
394 | 394 | 'wgCanonicalNamespace' => $nsname, |
395 | | - 'wgCanonicalSpecialPageName' => SpecialPage::resolveAlias( $wgTitle->getDBkey() ), |
| 395 | + 'wgCanonicalSpecialPageName' => $ns == NS_SPECIAL ? |
| 396 | + SpecialPage::resolveAlias( $wgTitle->getDBkey() ) : false, # bug 21115 |
396 | 397 | 'wgNamespaceNumber' => $wgTitle->getNamespace(), |
397 | 398 | 'wgPageName' => $wgTitle->getPrefixedDBKey(), |
398 | 399 | 'wgTitle' => $wgTitle->getText(), |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -553,6 +553,8 @@ |
554 | 554 | hideuser right |
555 | 555 | * (bug 21026) Fixed file redirects on shared repos on non-English client wikis |
556 | 556 | * (bug 21030) Fixed schema choices from being overwritten by defining unique field names per driver. |
| 557 | +* (bug 21115) wgCanonicalSpecialPageName javascript variable is now always |
| 558 | + false on non-special pages |
557 | 559 | |
558 | 560 | == API changes in 1.16 == |
559 | 561 | |