Page MenuHomePhabricator

categorynsprefix.diff

Authored By
bzimport
Nov 21 2014, 11:18 PM
Size
541 B
Referenced Files
None
Subscribers
None

categorynsprefix.diff

Index: CategoryPage.php
===================================================================
--- CategoryPage.php (revision 75162)
+++ CategoryPage.php (working copy)
@@ -161,9 +161,10 @@
*/
function addSubcategoryObject( Category $cat, $sortkey, $pageLength ) {
// Subcategory; strip the 'Category' namespace from the link text.
+ $title = $cat->getTitle();
$this->children[] = $this->getSkin()->link(
- $cat->getTitle(),
- null,
+ $title,
+ $title->getText(),
array(),
array(),
array( 'known', 'noclasses' )

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6752
Default Alt Text
categorynsprefix.diff (541 B)

Event Timeline