Bug fix, broken link to Special:Undelete on hybrid wikis
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 11 Jun 2004 14:53:56 +0000 (14:53 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 11 Jun 2004 14:53:56 +0000 (14:53 +0000)
languages/LanguageLatin1.php

index 2a4e0e8..a03de91 100644 (file)
@@ -71,7 +71,8 @@ class LanguageLatin1 {
        }
        
        function specialPage( $name ) {
-               return utf8_decode( $this->lang->specialPage( $name ) );
+        # At least one function calls this with Special:Undelete/Article_title, so it needs encoding
+               return utf8_decode( $this->lang->specialPage( utf8_encode( $name ) ) );
        }
        
        function getQuickbarSettings() {
@@ -248,4 +249,4 @@ class LanguageLatin1 {
        }
 }
 
-?>
\ No newline at end of file
+?>