a couple of minor things accidentally left out of the last commit
authorTim Starling <tstarling@users.mediawiki.org>
Sat, 22 Oct 2005 17:12:48 +0000 (17:12 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sat, 22 Oct 2005 17:12:48 +0000 (17:12 +0000)
maintenance/dumpHTML.inc
skins/htmldump/lookup.js

index 1549e47..e2e5601 100644 (file)
@@ -220,11 +220,6 @@ class DumpHTML {
 
        /** Write an article specified by title */
        function doArticle( $title ) {
-               // Testing
-               if ( $title->getNamespace() == 8 ) {
-                       return;
-               }
-
                global $wgTitle, $wgSharedUploadPath, $wgSharedUploadDirectory;
                global $wgUploadDirectory;
 
index a24a7f0..92c06ce 100644 (file)
@@ -80,7 +80,7 @@ function getFriendlyName(name) {
 
        // Make it mostly unique
        if (lowerCase != friendlyName) {
-               friendlyName += "_" + hex_md5(name).substring(0, 4);
+               friendlyName += "_" + hex_md5(_to_utf8(name)).substring(0, 4);
        }
        // Handle colon specially by replacing it with tilde
        // Thus we reduce the number of paths with hashes appended