Adding/updating Persian translations
[lhc/web/wiklou.git] / includes / SpecialSpecialpages.php
index d9d5e85..4ea956b 100644 (file)
@@ -8,11 +8,11 @@
  *
  */
 function wfSpecialSpecialpages() {
-       global $wgOut, $wgUser;
+       global $wgOut, $wgUser, $wgMessageCache;
 
-       MessageCache::loadAllMessages();
+       $wgMessageCache->loadAllMessages();
 
-       $wgOut->setRobotpolicy( 'index,nofollow' );
+       $wgOut->setRobotpolicy( 'noindex,nofollow' );  # Is this really needed?
        $sk = $wgUser->getSkin();
 
        /** Pages available to all */