MediaWiki talk:Gadget-Infobox.js
Jump to navigation
Jump to search
This script, Gadget-Infobox.js, is a JavaScript gadget which can be enabled or disabled in your Preferences. |
i18n | Gadget translations:
|
Edit Request - 3 January 2021[edit]
@Zhuyifei1999 and Mike Peel:
Maybe instead hardcoded English label "Show all" will ber better to use {{int:Pagetriage-filter-all}}
- see all translations and example in your interface language: Show all
. --Kaganer (talk) 23:55, 3 January 2021 (UTC)
- Is this gadget related to PageTriage, or is that just a random message that has the same text in English? --Lucas Werkmeister (talk) 19:01, 4 January 2021 (UTC)
- @Kaganer: forgot to ping you earlier, sorry. But even if the message is related, accessing it from JavaScript isn’t trivial. I think it’s probably better to include the translations directly into the Gadget, like I’ve seen it done in some other gadgets (e.g. MediaWiki:Gadget-fastcci.js) --Lucas Werkmeister (talk) 22:09, 17 February 2021 (UTC)
- @Lucas Werkmeister: Sure. Current translations may be imported from the Translatewiki. That just a random message that has the same text in English ;-) --Kaganer (talk) 18:38, 18 February 2021 (UTC)
- The translations for Pagetriage-filter-all seem to be exactly what we need. We can copy-paste them into this gadget or load the message in. A gadget that uses the latter approach is GalleryFilterExtension.js. --LennardHofmann (talk) 12:08, 20 July 2022 (UTC)
- @Lucas Werkmeister: Sure. Current translations may be imported from the Translatewiki. That just a random message that has the same text in English ;-) --Kaganer (talk) 18:38, 18 February 2021 (UTC)
- @Kaganer: forgot to ping you earlier, sorry. But even if the message is related, accessing it from JavaScript isn’t trivial. I think it’s probably better to include the translations directly into the Gadget, like I’ve seen it done in some other gadgets (e.g. MediaWiki:Gadget-fastcci.js) --Lucas Werkmeister (talk) 22:09, 17 February 2021 (UTC)