Last modified: 2012-08-19 20:35:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40532, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38532 - Add default category sort value to MediaWiki's info action
Add default category sort value to MediaWiki's info action
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks: 38450
  Show dependency treegraph
 
Reported: 2012-07-20 18:18 UTC by MZMcBride
Modified: 2012-08-19 20:35 UTC (History)
0 users

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


Attachments

Description MZMcBride 2012-07-20 18:18:04 UTC
The default category sort value (or values, perhaps?) should be listed in the output of MediaWiki's info action. For example, if a page uses {{DEFAULTSORT:Obama, Barack}}, the string "Obama, Barack" will be output at ?title=Barack_Obama&action=info.

I can't remember if a page can have multiple default sort values. I don't think it can. I think it just uses the last instance of DEFAULTSORT on a page. If there's no DEFAULTSORT specified (this is tracked by the page_props table), then the info action should still list the (implicit) default sort value. For example, with the page "Main Page", ?action=info would list "Main Page".
Comment 1 Sam Reed (reedy) 2012-08-19 20:35:31 UTC
https://gerrit.wikimedia.org/r/#/c/17634/ merged

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


Navigation
Links