Last modified: 2014-09-02 06:04:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 17212 - Request to show {{DISPLAYTITLE}} or sort key as page link on category pages
Request to show {{DISPLAYTITLE}} or sort key as page link on category pages
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
All All
: Low enhancement with 5 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: 67569 (view as bug list)
Depends on: 20278 53945
Blocks: 24139 29975
  Show dependency treegraph
Reported: 2009-01-28 22:16 UTC by dgrace
Modified: 2014-09-02 06:04 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description dgrace 2009-01-28 22:16:58 UTC
I'm working on a private MediaWiki installation intended as developer documentation for a software project.

Part of the documentation includes explanations of various SQL tables, many with underscores in them (i.e. 'table_name').  Several functions and other aspects of the program use underscores as well.

I've made a template that automatically corrects the display title of pages to show the underscores.  However, it would be nice if there was an option that altered the link displayed in the category pages to reflect this, perhaps with some combination of options to:

a) Make {{DISPLAYTITLE}} the default sort key
b) Show category pages using the sort key as the link text rather than the actual page title.  (Or the display title if the possibility of having a page's link not reflect the page's actual name is deemed a Bad Thing(tm))
c) Some magic word that could exist on the category page that sets the allowed/default behavior for page displays.

This would allow for cleaner-looking category pages in my case as well.  For instance, all of my database objects are Database/object_name, so Category:Database Tables could simply show links 'table_name', etc. instead of 'Database/table_name'
Comment 1 Purodha Blissenbach 2009-01-28 22:34:19 UTC
If there is no sufficiently quick or good solution to this bug,
you can consider using SMW and try to establish "index pages"
or "directory pages" of your own using the SMW <ask> syntax.
I believe that these would be pretty easily set up.
Comment 2 Gerrit Notification Bot 2013-06-16 01:11:07 UTC
Related URL: (Gerrit Change Ic1f61879cf5848f4ec6e61f0b80c24019d0e8a13)
Comment 3 Ian Tresman 2013-12-04 18:09:59 UTC
Just discovered this too. If I look at a category of chemical formulae, none of
the numbers are subscripted, see:

It also makes it difficult to see which pages still need to have pagetitle
Comment 4 Nemo 2014-07-06 21:21:57 UTC
*** Bug 67569 has been marked as a duplicate of this bug. ***
Comment 5 Gerrit Notification Bot 2014-07-06 22:39:32 UTC
Change 144411 had a related patch set uploaded by Florianschmidtwelzow:

Note You need to log in before you can comment on or make changes to this bug.