From dd0f6ccb40b7b8b74968e6a0512a93fda5364e65 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 22 Oct 2005 17:12:48 +0000 Subject: [PATCH] a couple of minor things accidentally left out of the last commit --- maintenance/dumpHTML.inc | 5 ----- skins/htmldump/lookup.js | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/maintenance/dumpHTML.inc b/maintenance/dumpHTML.inc index 1549e470df..e2e5601f4b 100644 --- a/maintenance/dumpHTML.inc +++ b/maintenance/dumpHTML.inc @@ -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; diff --git a/skins/htmldump/lookup.js b/skins/htmldump/lookup.js index a24a7f0c30..92c06ce42f 100644 --- a/skins/htmldump/lookup.js +++ b/skins/htmldump/lookup.js @@ -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 -- 2.20.1