Module:Title blacklist/doc: Difference between revisions
Appearance
Content deleted Content added
Add {{used in system}} |
SilverLocust (talk | contribs) →Usage: Include in documentation that the default return strings can be changed. Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 5: | Line 5: | ||
== Usage == |
== Usage == |
||
{{mlx|Title blacklist|main|action{{=}}edit|pagename{{=}}Example}} -> "templateeditor", "autoconfirmed", or the empty string. |
{{mlx|Title blacklist|main|action{{=}}edit|pagename{{=}}Example}} -> "templateeditor", "autoconfirmed", or the empty string. |
||
{{mlx|Title blacklist|main|action{{=}}edit|pagename{{=}}Example|templateeditor{{=}}Example1|autoconfirmed{{=}}Example2}} -> "Example1", "Example2", or the empty string. |
|||
<includeonly>{{Sandbox other|| |
<includeonly>{{Sandbox other|| |
Revision as of 13:57, 18 March 2024
![]() | This Lua module is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
Helper module to get protection data about a blacklisted page entry.
Usage
{{#invoke:Title blacklist|main|action=edit|pagename=Example}}
-> "templateeditor", "autoconfirmed", or the empty string.
{{#invoke:Title blacklist|main|action=edit|pagename=Example|templateeditor=Example1|autoconfirmed=Example2}}
-> "Example1", "Example2", or the empty string.