Page MenuHomePhabricator

Double-entry categorization would be helpful
Open, LowestPublic


Author: D.U.Thibault

The inherent conflict between strict lexicographic sort keys and analogical or bibliotechnical sort keys leads to recurrent debates on the wiktionary projects (and possibly others). The ability to specify a different sort key for each category helps, but there are remaining instances where the most helpful solution would be for the MediaWiki software to offer some means of inserting any given page in two (or more) places in a category. Maybe through a magic word such as DEFAULTSORT2. This could be extended to all categories by allowing each category to accept multiple piped parameters (e.g. [[Category:Some category name|first sort key|second sort key]]).

To give just one specific example out of many, on the French Wiktionary a page like ''Le Caire'' (i.e. Cairo) would benefit from appearing in the category ''Noms propres en français'' (translation: Proper nouns in French) twice, once under C and once under L.

Version: 1.24rc
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:49 AM
bzimport added a project: MediaWiki-Categories.
bzimport set Reference to bz70669.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Sep 10 2014, 6:20 PM

That seems kind of like an odd thing to want (To be honest). I would expect people to want things sorted in some consistent fashion.

Potential icky work around - Create a redirect to the article, and add categories to the redirect page. You can have multiple redirects to a specific page appear in a single category, sorted in different ways.

Aklapper lowered the priority of this task from Low to Lowest.Jun 1 2018, 1:02 PM