टेम्पलेट:Edit fully-protected: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
fix passing file as parameter
switch to Lua version at Module:Protected edit request
लाइन 1:
<includeonly>{{#invoke:protected edit request|full}}</includeonly><noinclude>
<!--
 
-->{{#if:{{yesno|{{{answered|{{{ans|}}}}}}}}
| {{Edit protected/answered}}
| {{talk other
| {{anchor|editprotected}}<!--
-->{{tmbox
|image = [[File:Padlock.svg|link=|alt=|60px]]
|text = <!--
=========================
Start tmbox text
=========================
-->'''<!--
-->{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}
| It is [[Wikipedia:Edit requests|requested]] that an edit be made to {{#if: {{{1|}}} | the | this }} <!--
-->{{#ifeq: {{NAMESPACE}} | {{ns:9}}
| [[Help:MediaWiki namespace|interface page]]
| [[Help:Protection|fully protected]] {{pagetype|page={{#if: {{{1|}}} | {{TALKPAGENAME:{{{1}}}}} | {{TALKPAGENAME}} }}}}
}}<!--
-->{{#if: {{{1|}}}
| &#32;at [[:{{{1}}}]]
}}.
| It is [[:Category:Wikipedia protected edit requests|requested]] that {{#if: {{{1|}}} | the | this }} [[Help:Protection|creation protected]] {{pagetype|page={{#if: {{{1|}}} | {{TALKPAGENAME:{{{1}}}}} | {{TALKPAGENAME}} }}}}{{#if: {{{1|}}} | &#32;at [[{{{1}}}]] }} be created.
}}''' <!--
-->{{nowrap begin}}<!--
-->{{toolbar
|style=font-size:smaller;
| 1 = [{{fullurl:{{urlencode:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}|WIKI}}|redirect=no}} view]
| 2 = [{{fullurl:{{urlencode:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}|WIKI}}|action=edit}} edit]
| 3 = [{{fullurl:{{urlencode:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}|WIKI}}|action=history}} history]
| 4 = <!--
-->{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}/sandbox
| [[{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}/sandbox|sandbox]]<!--
-->{{int:dot-separator}}<!--
-->[{{fullurl:{{urlencode:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}|WIKI}}/sandbox|action=edit}} edit sandbox]<!--
-->{{int:dot-separator}}<!--
-->[{{fullurl:{{urlencode:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}|WIKI}}/sandbox|action=history}} sandbox history]<!--
-->{{int:dot-separator}}<!--
-->[{{fullurl:Special:ComparePages
|page1={{urlencode:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}|WIKI}}&page2={{urlencode:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}|WIKI}}/sandbox
}} sandbox diff]
}}
| 5 = {{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}/testcases | {{linked|{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}/testcases|test cases}} }}
| 6 = <!--
-->{{#ifeq: {{NAMESPACE}} | {{ns:11}}
| [http://toolserver.org/~jarry/templatecount/index.php?lang=en&name={{urlencode:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}}}#bottom transclusion count]
}}
| 7 = <!--
-->{{#ifeq: {{NAMESPACE}} | {{ns:9}}
|<!-- MediaWiki pages don't have protection log entries -->
|[{{fullurl:Special:Log|type=protect&page={{urlencode:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}} }}|WIKI}}}} protection log]
}}
| separator = dot
}}<!--
-->{{nowrap end}}<!--
===========================
Continue tmbox text
===========================
-->
 
<!-- -->This template should be followed by a '''complete and specific description''' of the request, <!--
-->so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
<!-- --><p style="font-size:smaller; line-height:1.3em;"><!--
-->This template should be used only to request edits to [[Wikipedia:Protection policy|fully protected pages]] <!--
-->that are either '''uncontroversial''' or supported by [[Wikipedia:Consensus|consensus]]. <!--
-->If the proposed edit might be controversial, discuss it on the protected page's talk page '''before''' using this template. <!--
-->{{#ifeq: {{SUBJECTSPACE}} | MediaWiki
| Note that MediaWiki interface pages cannot be unprotected
| To request that a page be protected or unprotected, make a [[Wikipedia:Requests for page protection|protection request]]
}}. <!--
-->When the request has been completed or denied, please add the {{para|answered|<var>yes</var>}} parameter to deactivate the template.
<!-- --></p><!--
--><includeonly><!--
-->{{#if: {{{demo|<noinclude>yes</noinclude>}}}
| <!-- don't include categories in demos -->
| <!-- Include a hidden urn: link to make it easy for bots to identify the page for which an edit is being requested --><span class="plainlinks" style="display:none">[urn:x-wp-editprotected:{{#if: {{{1|}}} | {{urlencode:{{{1}}}}} | {{SUBJECTPAGENAMEE}} }} <span/>]</span><!--
-->{{{category|<!--
-->[[Category:Wikipedia protected edit requests|<!--
-->{{#if: {{{2|}}}
| {{{2}}}
| {{#if: {{{1|}}}
| {{{1}}}
| {{#ifeq: {{TALKSPACE}} | {{ns:Talk}}
|Article
| {{SUBJECTSPACE}}
}} <!--
-->{{PAGENAME}}
}}
}}<!--
-->]]<!--
-->}}}<!--
-->}}<!--
--></includeonly><!--
=========================
End tmbox
=========================
-->}}<!--
===========================
Continue {{talk other}}
===========================
-->
| 2 = <!--
--><span class="error">Error: Protected edit requests can only be made on the talk page.</span><!--
-->{{#if: {{{demo|<noinclude>yes</noinclude>}}}
| <!-- don't include categories in demos -->
| [[Category:Wikipedia protected edit requests| {{#ifeq: {{NAMESPACE}} | {{ns:0}} | A }}{{FULLPAGENAME}}]]
}}<!--
 
--- If used on a non-talk page, add the page to [[:Category:Wikipedia protected edit requests]] anyway ---
--- so that [[User:VeblenBot]] can list it at [[User:VeblenBot/PERtable]] for tracking purposes. ---
--- It will also allow other users to easily get to the page where this template is being used so the ---
--- template can be removed. ---
 
-->{{#if: {{{demo|<noinclude>yes</noinclude>}}}
| <!-- don't include categories in demos -->
| [[Category:Non-talk pages requesting an edit to a protected page|{{NAMESPACE}} {{FULLPAGENAME}}]]
}}
| demospace = {{#if: {{{demo|<noinclude>yes</noinclude>}}} | Talk }}
<!--
===========================
End {{talk other}}
===========================
-->}}<!--
=============================
End "if answered" function
=============================
-->}}{{#if:{{{2|}}}|[[Category:Edit requests with category sort keys]]}}<noinclude>
{{documentation}}
<!-- AddCategories categoriesgo and interwiki links toon the /doc subpage, notand interwikis go on here!Wikidata. -->
</noinclude>