Revision: 46017
Author: jojo
Date: 2009-01-22 12:23:03 +0000 (Thu, 22 Jan 2009)
Log Message:
-----------
use title of saved collection page in category link to improve sorting on
category page
Modified Paths:
--------------
trunk/extensions/Collection/Collection.body.php
Modified: trunk/extensions/Collection/Collection.body.php
===================================================================
--- trunk/extensions/Collection/Collection.body.php 2009-01-22 11:49:32 UTC
(rev 46016)
+++ trunk/extensions/Collection/Collection.body.php 2009-01-22 12:23:03 UTC
(rev 46017)
@@ -620,7 +620,7 @@
}
$catTitle = Title::makeTitle( NS_CATEGORY, wfMsgForContent(
'coll-collections' ) );
if ( !is_null( $catTitle ) ) {
- $articleText .= "\n[[" . $catTitle->getPrefixedText() .
"]]\n";
+ $articleText .= "\n[[" . $catTitle->getPrefixedText() . "|" .
wfEscapeWikiText( $title->getSubpageText() ) . "]]\n";
}
$article->doEdit( $articleText, '' );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs