summaryrefslogtreecommitdiff
path: root/includes/SpecialSpecialpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialSpecialpages.php')
-rw-r--r--includes/SpecialSpecialpages.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/SpecialSpecialpages.php b/includes/SpecialSpecialpages.php
index bb202358..a893966c 100644
--- a/includes/SpecialSpecialpages.php
+++ b/includes/SpecialSpecialpages.php
@@ -8,7 +8,9 @@
*
*/
function wfSpecialSpecialpages() {
- global $wgOut, $wgUser;
+ global $wgOut, $wgUser, $wgMessageCache;
+
+ $wgMessageCache->loadAllMessages();
$wgOut->setRobotpolicy( 'index,nofollow' );
$sk = $wgUser->getSkin();
@@ -56,4 +58,4 @@ function wfSpecialSpecialpages_gen($pages,$heading,$sk) {
$wgOut->addHTML( "</ul>\n" );
}
-?>
+