My wiki has many pages located in namespaces other than Main. When viewing
category pages, I would like these pages to be sorted by the name of the
page, excluding the namespace. I know that this can be done by adding
{{PAGENAME}} as the optional sort parameter on the category call, but this
would require me to add this to many categories on thousands of pages, and
also make sure that every category added to these pages in the future is
done properly.
I'm envisioning a parameter that can be added to localsettings to change
this behavior - something like $wgUseNamespaceInCategorySort = false; This
would be set once for the wiki. This should be fairly easy to implement -
just check the variable in the location where the category page is rendered.
Does something like this currently exist? If not, how would I suggest that
it be added?
Thank you!
Tim Doyle
Show replies by thread
Good Morning Update Fans:
For one of my wiki's, I can't seem to get maintenance/update.php to update
the table schema of the "ipblocks" table. I note in the wikis I have
that are functioning, they have two tables: "ipblocks" and
"ipblocks_old"
This one that does not work is stuck on the _old schema without having
changed its name.
Any tips on how to get this thing to update, either via one
of the maintenance scripts, or perhaps some direct MySQL commands ?
--Hiram