Template:DeactivateGadget: Difference between revisions
Template page
More actions
m fix line break |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude><span class="plainlinks">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|withJS=MediaWiki:ActivateGadget.js&disablegadget=1&gadgetname={{urlencode:{{{name|noname}}}}}}} {{{message|{{LangSwitch | <onlyinclude><span class="plainlinks">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|withJS=MediaWiki:ActivateGadget.js&disablegadget=1&gadgetname={{urlencode:{{{name|noname}}}}}}} {{{message|{{LangSwitch | ||
| be-tarask =Вылучыць гаджэт {{{name|«безназоўны»}}}! | |||
| de =Deaktiviere jetzt das Helferlein „{{{name|noname}}}“! | | de =Deaktiviere jetzt das Helferlein „{{{name|noname}}}“! | ||
| en =Disable the {{{name|«noname»}}} gadget now! | | en =Disable the {{{name|«noname»}}} gadget now! | ||
| pt =Desactivar agora o ''gadget'' {{{name|«noname»}}}! | |||
}}}}}]</span></onlyinclude> | }}}}}]</span></onlyinclude> | ||
{{documentation}} | {{documentation}} | ||
Latest revision as of 00:39, 28 February 2025
Disable the «noname» gadget now!
This documentation is transcluded from Template:DeactivateGadget/doc.
Provides a stable link for de-activating gadgets without having users to send to Special:Preferences#mw-prefsection-gadgets.
Usage
{{DeactivateGadget |page= |name= |message= |4= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
page | The page, the link should point to. Note that on some pages (prefs, login), site JavaScript is disabled and therefore this won't work. Example page: Help:Cat-a-lot | {{FULLPAGENAME}} | optional | |
name | The name of the gadget. Without any decoration. Not necessarily the name of the script. | noname | required | |
message | The text to display. | A localized text indicating that gadget X will be deactivated when clicking the link. | optional | |
4 | empty | optional | ||
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: all users
Relies on:
- MediaWiki:ActivateGadget.js and the willingness of mw-devs not to break things ;~)
See also
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)