https://en.seminaverbi.bibleget.io/w/index.php?title=Module:Pp-move-indef/doc&feed=atom&action=historyModule:Pp-move-indef/doc - Revision history2024-03-28T08:57:46ZRevision history for this page on the wikiMediaWiki 1.41.0https://en.seminaverbi.bibleget.io/w/index.php?title=Module:Pp-move-indef/doc&diff=22358&oldid=prevJohnrdorazio: 1 revision imported2020-09-04T02:34:38Z<p>1 revision imported</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 02:34, September 4, 2020</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Johnrdoraziohttps://en.seminaverbi.bibleget.io/w/index.php?title=Module:Pp-move-indef/doc&diff=22357&oldid=preven>WOSlinker: change source to syntaxhighlight2020-07-07T16:26:20Z<p>change source to syntaxhighlight</p>
<p><b>New page</b></p><div>{{Module rating|protected}}<br />
This module implements {{tl|pp-move-indef}}. It is a protection template, but has no visible output, unlike other protection templates which output banners or padlock icons. The only output is a category.<br />
<br />
If the page is move-protected with either full move protection or template move protection, the module outputs one of the following categories, depending on the namespace it is used in:<br />
* [[:Category:Wikipedia indefinitely move-protected pages]]<br />
* [[:Category:Wikipedia move-protected talk pages]]<br />
* [[:Category:Wikipedia move-protected user and user talk pages]]<br />
* [[:Category:Wikipedia move-protected project pages]]<br />
* [[:Category:Wikipedia move-protected portals]]<br />
<br />
On pages that are not full-move-protected or template-move-protected, the module outputs [[:Category:Wikipedia pages with incorrect protection templates]].<br />
<br />
== Usage ==<br />
<br />
=== From wikitext ===<br />
<br />
The usual way to use this module from wikitext is with the {{tl|pp-move-indef}} template. You can also use it from #invoke directly with the code <code><nowiki>{{#invoke:pp-move-indef|main}}</nowiki></code>. Neither of these take any parameters, and both only work on the current page.<br />
<br />
=== From Lua ===<br />
<br />
From Lua, load the module like this:<br />
<br />
<syntaxhighlight lang="lua"><br />
local ppMoveIndef = require('Module:Pp-move-indef').main<br />
</syntaxhighlight><br />
<br />
You can then use <var>ppMoveIndef</var> like this:<br />
<br />
<syntaxhighlight lang="lua"><br />
ppMoveIndef(title)<br />
</syntaxhighlight><br />
<br />
The <var>title</var> parameter is an optional title object, used for testing purposes. If no parameters are supplied the module works on the current page.</div>en>WOSlinker