diff -r d543689ed2eb -r e34c23a35dc9 includes/namespaces/default.php
--- a/includes/namespaces/default.php Sun May 16 21:35:43 2010 -0400
+++ b/includes/namespaces/default.php Wed Jun 02 21:58:26 2010 -0400
@@ -750,7 +750,8 @@
$cid = sanitize_page_id($row['category_id']);
$title = get_page_title_ns($cid, 'Category');
$link = makeUrlNS('Category', $cid);
- $list[] = '' . htmlspecialchars($title) . '';
+ $exists = isPage("{$paths->nslist['Category']}$cid") ? '' : ' class="wikilink-nonexistent"';
+ $list[] = '' . htmlspecialchars($title) . '';
}
while ( $row = $db->fetchrow($q) );
$html .= implode(', ', $list);
@@ -932,6 +933,7 @@
// add missing keys
$defaults = array(
+ 'name' => dirtify_page_id(str_replace('_', ' ', $cdata['urlname'])),
'special' => 0,
'visible' => 0,
'comments_on' => 1,