Page MenuHomePhabricator

Explain parameters in Special:Allmessages
Closed, ResolvedPublic

Description

Author: z9z8z-wps

Description:
Introduce a third column in [[Special:Allmessages]] explaining the parameters to the messages if any.

Display this information for a specific message on each [[MediaWiki:...]] page as well.


Version: unspecified
Severity: enhancement

Details

Reference
bz6907

Event Timeline

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

ayg wrote:

What would be an example of a message whose parameters' function isn't
self-evident? Aren't they just substituted in for $1, $2, $3, etc.?

z9z8z-wps wrote:

It would also give the possibility to have a small reminder about the messages like where they are used.

For example:

  • contribsub: "For $1" (knowing more about $1 would help understanding the whole message, explaining where it appears would help even

more)

  • lucenepowersearchtext: "Search in namespaces: $1 Search for $3 $9" (why is there $3 and $9, and what's with $4 to $8?)
  • rcshowhidebots: "Bots $1" (without knowing where this message is used it's difficult to guess what it is for and what $1 would be)
  • cite_references_link_many_format: "<sup>''$3''</sup>" (what would $2 be and who would guess right about $3?)

ayg wrote:

(In reply to comment #1)

What would be an example of a message whose parameters' function isn't
self-evident? Aren't they just substituted in for $1, $2, $3, etc.?

Disregard this, it makes no sense. Tired and all. If anyone ever actually
documents where various messages are used inside the UI, certainly those docs
should include what gets passed to it.

  • This bug has been marked as a duplicate of bug 17715 ***