--- a/includes/paths.php Sun Jan 27 23:03:57 2008 -0500
+++ b/includes/paths.php Sun Jan 27 23:17:15 2008 -0500
@@ -149,7 +149,15 @@
{
$r['urlname_nons'] = $r['urlname'];
- $r['urlname'] = $this->nslist[$r['namespace']] . $r['urlname']; // Applies the User:/File:/etc prefixes to the URL names
+ if ( isset($this->nslist[$r['namespace']]) )
+ {
+ $r['urlname'] = $this->nslist[$r['namespace']] . $r['urlname']; // Applies the User:/File:/etc prefixes to the URL names
+ }
+ else
+ {
+ $ns_char = substr($this->nslist['Special'], -1);
+ $r['urlname'] = $r['namespace'] . $ns_char . $r['urlname'];
+ }
if ( $r['delvotes'] == null)
{