మూస:Edit fully-protected: కూర్పుల మధ్య తేడాలు

వికీపీడియా నుండి
Jump to navigation Jump to search
Urlencode fixes
Add "demo" parameter, indent code to make it (hopefully) easier to read
పంక్తి 1: పంక్తి 1:
<!--
{{#ifeq:{{{answered|{{{ans}}}}}}|yes
|{{Edit protected/answered}}
|{{talk other
|{{anchor|editprotected}}{{tmbox
|image = [[File:Padlock.svg|link=|alt=|60px]]
|text = '''{{#ifexist:{{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]]|[[Wikipedia:This page is protected|fully protected]] {{pagetype|{{{1|{{ARTICLESPACE}}}}}}}}}{{#if:{{{1|}}}|&#32;at [[{{{1}}}]]}}.|It is [[:Category:Wikipedia protected edit requests|requested]] that {{#if:{{{1|}}}|the|this}} [[Wikipedia:This page is protected|creation protected]] {{pagetype|{{{1|{{ARTICLESPACE}}}}}}}{{#if:{{{1|}}}|&#32;at [[{{{1}}}]]}} be created.}}''' {{nowrap begin}}{{toolbar
|style=font-size:smaller;
|1={{linked|{{{1|{{SUBJECTPAGENAME}}}}}|view}}
|2=[{{fullurl:{{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}|action=edit}} edit]
|3=[{{fullurl:{{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}|action=history}} history]
|4={{#ifexist: {{{1|{{SUBJECTPAGENAME}}}}}/sandbox
| [[{{{1|{{SUBJECTPAGENAME}}}}}/sandbox|sandbox]]{{int:dot-separator}}[{{fullurl:{{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}/sandbox|action=edit}} edit sandbox]{{int:dot-separator}}[{{fullurl:{{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}/sandbox|action=history}} sandbox history]{{int:dot-separator}}[{{fullurl:Special:ComparePages|page1={{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}&page2={{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}/sandbox}} sandbox diff]
}}
|5={{#ifexist: {{{1|{{SUBJECTPAGENAME}}}}}/testcases | {{linked|{{{1|{{SUBJECTPAGENAME}}}}}/testcases|test cases}} }}
|6={{#ifeq:{{NAMESPACE}}|{{ns:11}}|[http://toolserver.org/~jarry/templatecount/index.php?lang=en&name={{urlencode:{{{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:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}}} protection log]}}
|separator=dot
}}{{nowrap end}}


-->{{#ifeq: {{{answered|{{{ans}}}}}} | yes
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.
| {{Edit protected/answered}}
<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.
| {{talk other
</p><includeonly>{{{category|[[Category:Wikipedia protected edit requests|{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|{{#ifeq: {{TALKSPACE}}|{{ns:Talk}}|Article|{{SUBJECTSPACE}}}} {{PAGENAME}}}}}}]]}}}</includeonly>
| {{anchor|editprotected}}<!--
}}
-->{{tmbox
|2=<span class="error">Error: Protected edit requests can only be made on the talk page.</span>[[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. -->[[Category:Non-talk pages requesting an edit to a protected page|{{NAMESPACE}} {{FULLPAGENAME}}]]
|image = [[File:Padlock.svg|link=|alt=|60px]]
|demospace=<noinclude>Talk</noinclude>
|text = <!--
}}
=========================
}}<noinclude>
Start tmbox text
=========================
-->'''<!--
-->{{#ifexist: {{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]]
| [[Wikipedia:This page is protected|fully protected]] {{pagetype|{{{1|{{ARTICLESPACE}}}}}}}
}}<!--
-->{{#if: {{{1|}}}
| &#32;at [[{{{1}}}]]
}}.
| It is [[:Category:Wikipedia protected edit requests|requested]] that {{#if: {{{1|}}} | the | this }} [[Wikipedia:This page is protected|creation protected]] {{pagetype|{{{1|{{ARTICLESPACE}}}}}}}{{#if: {{{1|}}} | &#32;at [[{{{1}}}]] }} be created.
}}''' <!--
-->{{nowrap begin}}<!--
-->{{toolbar
|style=font-size:smaller;
| 1 = {{linked|{{{1|{{SUBJECTPAGENAME}}}}}|view}}
| 2 = [{{fullurl:{{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}|action=edit}} edit]
| 3 = [{{fullurl:{{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}|action=history}} history]
| 4 = <!--
-->{{#ifexist: {{{1|{{SUBJECTPAGENAME}}}}}/sandbox
| [[{{{1|{{SUBJECTPAGENAME}}}}}/sandbox|sandbox]]<!--
-->{{int:dot-separator}}<!--
-->[{{fullurl:{{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}/sandbox|action=edit}} edit sandbox]<!--
-->{{int:dot-separator}}<!--
-->[{{fullurl:{{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}/sandbox|action=history}} sandbox history]<!--
-->{{int:dot-separator}}<!--
-->[{{fullurl:Special:ComparePages
|page1={{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}&page2={{urlencode:{{{1|{{SUBJECTPAGENAME}}}}}|WIKI}}/sandbox
}} sandbox diff]
}}
| 5 = {{#ifexist: {{{1|{{SUBJECTPAGENAME}}}}}/testcases | {{linked|{{{1|{{SUBJECTPAGENAME}}}}}/testcases|test cases}} }}
| 6 = <!--
-->{{#ifeq: {{NAMESPACE}} | {{ns:11}}
| [http://toolserver.org/~jarry/templatecount/index.php?lang=en&name={{urlencode:{{{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:{{{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 -->
| {{{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
=============================
-->}}<noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories and interwiki links to the /doc subpage, not here! -->
<!-- Add categories and interwiki links to the /doc subpage, not here! -->

07:16, 16 మార్చి 2013 నాటి కూర్పు