Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F7217
categorynsprefix.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 11:18 PM
2014-11-21 23:18:21 (UTC+0)
Size
541 B
Referenced Files
None
Subscribers
None
categorynsprefix.diff
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6752
Default Alt Text
categorynsprefix.diff (541 B)
Attached To
Mode
T27512: List of subcategories on a category page show the "category" ns prefix for all subcategories (didn't use to)
Attached
Detach File
Event Timeline
Log In to Comment