https://bugzilla.wikimedia.org/show_bug.cgi?id=32333

       Web browser: ---
             Bug #: 32333
           Summary: When transcluding a system message, permit positional
                    parameters
           Product: MediaWiki
           Version: 1.17.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Parser
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


If you have a system message with positional parameters, such as:

    'my-message' => "My favorite $1 is $2."

today it can be transcluded into a wiki article like this:

  {{mediawiki:my-message}}

but you cannot provide values for the parameters. As an enhancement, allow
positional parameters to be passed to the message. For example:

  {{mediawiki:my-message | fruit | bananas}}

would transclude as:

  My favorite fruit is bananas.

This would be very helpful for documenting wiki features within the wiki.

-- 
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

Reply via email to