--- a/includes/clientside/static/functions.js Sun May 16 21:35:43 2010 -0400
+++ b/includes/clientside/static/functions.js Wed Jun 02 21:58:26 2010 -0400
@@ -40,9 +40,15 @@
{
// Convert Special:UploadFile to ['UploadFile', 'Special'], but convert 'Image:Enano.png' to ['Enano.png', 'File']
for(var i in namespace_list)
+ {
if(namespace_list[i] != '')
+ {
if(namespace_list[i] == string.substr(0, namespace_list[i].length))
+ {
return [string.substr(namespace_list[i].length), i];
+ }
+ }
+ }
return [string, 'Article'];
}