Page MenuHomePhabricator

Feature Request : customizing category list
Closed, ResolvedPublic

Description

Author: mediawiki

Description:
Category is great function to summarize infomations from other pages, but
sometime users needs more that just title in summary.
Just for example :

  • Automated comparison between contents of a category.
  • Highlight some information in title
  • ...

This extension can be easy build by adding a other parameter to Category tag
like sort function.
With a such optional second parameter for title replacement in category, editor
can build custom summary which enhances greatly category function.

With this function, a custom summary can be easily realized by a specific model
integrated into pages of the category :

[[Category:customsummary | {{{name}}} | {{customitem {{{name}}} | {{{info}}} }}

thanks,
bip


Version: unspecified
Severity: enhancement

Details

Reference
bz6542

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:17 PM
bzimport set Reference to bz6542.
bzimport added a subscriber: Unknown Object (MLST).

A simpler way to implement this would be a single optional caption parameter
after the the sort key. Thus,

[[Category:People|Smith, John|John Smith - American author]]

would display "John Smith - American author" in the category listing, but it
would sort using Smith, John.

If there's no caption parameter:

[[Category:People|Nye, Bill]]

MediaWiki should use the article name (Bill Nye).

ayg wrote:

*** This bug has been marked as a duplicate of 491 ***