Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1117,7 +1117,7 @@ |
1118 | 1118 | * to ensure that client-side caches don't keep obsolete copies of global |
1119 | 1119 | * styles. |
1120 | 1120 | */ |
1121 | | -$wgStyleVersion = '61'; |
| 1121 | +$wgStyleVersion = '62'; |
1122 | 1122 | |
1123 | 1123 | |
1124 | 1124 | # Server-side caching: |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -295,7 +295,7 @@ |
296 | 296 | global $wgStylePath, $wgUser; |
297 | 297 | global $wgArticlePath, $wgScriptPath, $wgServer, $wgContLang, $wgLang; |
298 | 298 | global $wgTitle, $wgCanonicalNamespaceNames, $wgOut, $wgArticle; |
299 | | - global $wgBreakFrames; |
| 299 | + global $wgBreakFrames, $wgRequest; |
300 | 300 | |
301 | 301 | $ns = $wgTitle->getNamespace(); |
302 | 302 | $nsname = isset( $wgCanonicalNamespaceNames[ $ns ] ) ? $wgCanonicalNamespaceNames[ $ns ] : $wgTitle->getNsText(); |
— | — | @@ -311,6 +311,7 @@ |
312 | 312 | 'wgNamespaceNumber' => $wgTitle->getNamespace(), |
313 | 313 | 'wgPageName' => $wgTitle->getPrefixedDBKey(), |
314 | 314 | 'wgTitle' => $wgTitle->getText(), |
| 315 | + 'wgAction' => $wgRequest->getText( 'action', 'view' ), |
315 | 316 | 'wgArticleId' => $wgTitle->getArticleId(), |
316 | 317 | 'wgIsArticle' => $wgOut->isArticle(), |
317 | 318 | 'wgUserName' => $wgUser->isAnon() ? NULL : $wgUser->getName(), |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -105,6 +105,7 @@ |
106 | 106 | for more information |
107 | 107 | * (bug 9397) Introduce "sp-contributions-footer" and "sp-contributions-footer-anon" |
108 | 108 | messages, shown at the end of Special:Contributions as appropriate for the target |
| 109 | +* (bug 8421) Expose current action in JavaScript globals (as 'wgAction') |
109 | 110 | |
110 | 111 | == Bugfixes since 1.9 == |
111 | 112 | * (bug 7292) Fix site statistics when moving pages in/out of content namespaces |