How to preview a message with $params?

From Support
Jump to navigation Jump to search
Revision as of 8 April 2018 at 13:53.
The highlighted comment was edited in this revision. [diff]

How to preview a message with $params?


I would like to view a message which has parameters, in order to check its syntax.

For exemple, MediaWiki:Notification-header-mention-status-bundle/fr has many imbricated magic words, it would be nice to test it, previewing a draft page.

Is there a template created for this goal?

    Pols12 (talk)16:58, 7 September 2017

    You can use the mw:int magic word on any page, is that enough?

      Nemo (talk)17:02, 7 September 2017

      Thank you for your answer.

      Unfortunately, I can’t use {{int:}} magic word because it includes the "official" translation and not the last edit.

      With the given example, today {{int:}} displays a message starting with "Parmi" whereas the last version starts with "Concernant".

        Pols12 (talk)17:09, 7 September 2017

        Maybe trying if the GENDER work or not? {{int:XXX|$2=Somebody}} (assume that that has {{GENDER:$2|foo}}) probably is useful

          Liuxinyu970226 (talk)13:53, 8 April 2018