https://bugzilla.wikimedia.org/show_bug.cgi?id=32585
Web browser: ---
Bug #: 32585
Summary: allow customizing of category sections
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Categories
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Each category has its own sorting order (customizing of that is Bug 28397), and
when a category is shown the collation is splitted up by starting letters (of
the sort key). For big categories and categories sorted by a date it would be
very useful to change the behavior of that splitting prozess.
E.g. in a category where all sortkeys start with a year the sections should be
titled with four digit numbers.
I think the easiest approach would be have a magic function where you can
declare how many digits should be used to split the item list. So
{{#categorysections:4}} would make "Hello World" stand under "Hell" and "1984
(book)" under "1984".
It also could be more flexible by defining in what ranges the rule should
apply. E.g. {{#categorysections:4|1|9}} would make "1984 (book)" stand under
"1984" and "984" stand under "984" cause they're in the range from 1* to 9*,
but "Hello World" would stand under "H" as regular.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l