Dan Jacobson wrote:
Is there any way I can stop that gaping mouth of an
edit box on empty
category pages??
Just make the links to categories with no associated pages blue instead of
red. It's a one-line patch.
Index: OutputPage.php
===================================================================
--- OutputPage.php (revision 19212)
+++ OutputPage.php (working copy)
@@ -258,7 +258,7 @@
foreach ( $categories as $category => $unused ) {
$title = Title::makeTitleSafe( NS_CATEGORY, $category );
$text = $wgContLang->convertHtml( $title->getText() );
- $this->mCategoryLinks[] = $sk->makeLinkObj( $title, $text );
+ $this->mCategoryLinks[] = $sk->makeKnownLinkObj( $title, $text );
}
}
I wish when one visits action=edit on category pages,
it would
act like action=view.
Then you wouldn't be able to edit it, even by clicking the edit tab.
-- Tim Starling