Topic on Project:Current issues

Jump to navigation Jump to search

template parameters on pages having outdated translation

2
Shirayuki (talkcontribs)

See Special:Diff/2364666. The parameter name "1=" should be specified explicitly. Please check all translatable pages passing translatable parameters to templates.

  • {{notice|<span class="mw-translate-fuzzy">outdated translation</span>}}
Ciencia Al Poder (talkcontribs)

If TNT is used, it should be:

{{TNT|1=notice|2=<translate>Test</translate>}}

Or even:

{{TNT|notice|2=<translate>Test</translate>}}

Using Pywikibot one can get a list of possible affected pages with this query:

python pwb.py scripts/listpages.py -family:mediawiki -regex -ns:0 -grep:"\\{\\{[^\\}\\[]+\\|<translate>" -start

changing -ns:0 with -ns:Help, -ns:Extension, -ns:Skin, -ns:Api and -ns:Project on every iteration.

I've mentioned this issue in task T60429#2957882

Reply to "template parameters on pages having outdated translation"