From: Tim Starling Date: Sat, 22 Oct 2005 17:12:48 +0000 (+0000) Subject: a couple of minor things accidentally left out of the last commit X-Git-Tag: 1.6.0~1369 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=dd0f6ccb40b7b8b74968e6a0512a93fda5364e65;p=lhc%2Fweb%2Fwiklou.git a couple of minor things accidentally left out of the last commit --- 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