On 11/22/06, Reinhard Brandstaedter Reinhard.Brandstaedter@jku.at wrote: [[Category:Some Category|Page Title]]
Then 'Z:Page Title' gets sorted using 'Page Title', but it still displays 'Z:Page Title' on the category page.
In order to prevent showing the namespace on the category page, i changed "$title = Title::makeTitle( $x->page_namespace, $x->page_title );" into "$title = Title::makeTitle( $x->page_title, $x->page_title );" in /includes/categorypage.php.
I'm using Mediawiki 1.6.8. Hope that helps...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Birger wrote:
On 11/22/06, Reinhard Brandstaedter Reinhard.Brandstaedter@jku.at wrote: [[Category:Some Category|Page Title]]
Then 'Z:Page Title' gets sorted using 'Page Title', but it still displays 'Z:Page Title' on the category page.
In order to prevent showing the namespace on the category page, i changed "$title = Title::makeTitle( $x->page_namespace, $x->page_title );" into "$title = Title::makeTitle( $x->page_title, $x->page_title );" in /includes/categorypage.php.
That would be hopelessly broken, don't do that.
- -- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org