Template talk:Delete

Latest comment: 2 years ago by Xaosflux in topic Protected edit request on 18 May 2022
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 7 days. For the archive overview, see archives. The latest archive is located at 2024.

this template

edit

I am not very happy whit this version. It it looks nice but do not contain basic information about why it should be deleted. The old one contains more relevant information.

The reason to include more text is that if you only put the notice "This page should be deleted." and display it like a system message some admin could deleted the page like the where a automotom whitout realy looking at it. The old one is better.

I have made from those to a new one see here. I think it has the best of the both --Walter 15:08, 28 December 2005 (UTC)Reply

Looks neat! Good job. The whole "remove then comment on talk page" part I don't really like, but then I can't think of a viable alternative at the moment either... WhiteNight T | @ | C 00:28, 29 December 2005 (UTC)Reply
I made the "old version" (actually not that old) because I thought {{delete}} was the only way of nominating things for deletion (being a English Wikipedian), then I saw RfD, and realized that this served the Speedy Delete function, so I hastily imported the text from en.wikipedia. I guess a trimmed down version is best. Ambush Commander 01:56, 29 December 2005 (UTC)Reply
edit

Please add the following code:

<div class="plainlinks" style="font-size: smaller;"> Page [{{SERVER}}{{LOCALURL:{{FULLPAGENAME}}|diff=cur}} edited] <!--
* Link to action=purge -->[{{SERVER}}{{LOCALURL:{{FULLPAGENAME}}|action=purge}} <!--
* Test for invalid time difference -->{{#ifexpr: {{LOCALTIMESTAMP}} < {{REVISIONTIMESTAMP}} | ? | <!--
* If difference >10min mark bold -->{{#ifexpr: {{LOCALTIMESTAMP}} - {{REVISIONTIMESTAMP}} > 1000 | '''<span style="font-size:110%;"> }}<!--
* If valid: Show hours&minutes -->{{#expr: ({{#time: U | {{LOCALTIMESTAMP}} }} - {{#time: U | {{REVISIONTIMESTAMP}} }}) / 60 round 0 }} }} {{PLURAL:{{#expr: ({{#time: U | {{LOCALTIMESTAMP}} }} - {{#time: U | {{REVISIONTIMESTAMP}} }}) / 60 round 0 }}|minute|minutes}}] <!--
* If difference >10min end mark bold -->{{#ifexpr: {{LOCALTIMESTAMP}} - {{REVISIONTIMESTAMP}} > 1000 | '''</span> }} ago by {{#if: {{REVISIONUSER}} | [[{{ns:2}}:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[{{ns:3}}:{{REVISIONUSER}}|talk]] • [[Special:Contributions/{{REVISIONUSER}}|contrib]] • [[Special:Log/{{REVISIONUSER}}|log]] • [http://toolserver.org/~vvv/sulutil.php?user={{urlencode:{{REVISIONUSER}}}} sulutil]) }}. <!--
* Page information links -->Page information: {{#ifeq: {{NAMESPACE}} | {{ns:6}}|[http://toolserver.org/~revolus/afterUpload/?lang=en&project=meta.wikimedia.org&image={{PAGENAMEE}} former image use] •}} [{{fullurl:Spezial:Logbuch|type=delete&page={{FULLPAGENAMEE}}}} delete log] • [[Special:Whatlinkshere/{{FULLPAGENAMEE}}|link list]] • [{{fullurl:{{FULLPAGENAMEE}}|action=delete&wpReason={{urlencode:{{{1|}}}}}}} delete page]</div>

Preview:

Although the main part of the code is written by me, there are a few other contributers. Please mention http://de.wikipedia.org/w/index.php?title=Vorlage:L%C3%B6schen&action=history in the edit summary. Thanks, --Church of emacs talk 19:20, 23 January 2010 (UTC)Reply

Thank you, Barras! --Church of emacs talk 10:55, 24 January 2010 (UTC)Reply
As usual too slow. I would right now post the   Done -Barras talk 10:55, 24 January 2010 (UTC)Reply

Fixes, etc

edit

{{editprotected}} Please do the following changes:

  • Change "delete log" for "deletion log" and;
  • On that link, please change "Spezial:Logbuch" to "Special:Log"

Thank you, — Dferg ☎ 14:12, 23 June 2010 (UTC)Reply

Will do that myself now that I can again. — Dferg 14:50, 24 June 2010 (UTC)Reply

Unclosed bolding

edit

{{editprotected}}

Please replace the following:

'''This page has been nominated for [[Meta:Deletion policy#Criteria for speedy deletion|speedy deletion]]{{#if:{{{soon|}}}| after a short period of time.''' This delay is intended to give the contributor time to modify the page to make it relevant. If it is relevant, please remove this tag.}}{{#if:{{{1|}}}|. The user who left this tag provided the following reason:<div style="margin-left:2em; background:#FFF;">{{{1}}}</div>|.}}

with:

'''This page has been nominated for [[Meta:Deletion policy#Criteria for speedy deletion|speedy deletion]]{{#if: {{{soon|}}} |  after a short period of time.''' This delay is intended to give the contributor time to modify the page to make it relevant. If it is relevant, please remove this tag.|.'''}}{{#if: {{{1|}}} | The user who left this tag provided the following reason:<div style="margin-left:2em; background:#FFF; font-weight:bold">{{{1}}}</div>}}

Summary: Closing unclosed bolding apostrophes; re-bolding reason. –Krinkletalk 01:19, 17 January 2011 (UTC)Reply

  Done--Nemo 02:01, 17 January 2011 (UTC)Reply

Edit request

edit

{{editprotected}} The link [http://toolserver.org/~quentinv57/sulinfo/{{urlencode:{{REVISIONUSER}}}} sulutil] doesn't work, and I couldn't find a replacement for it on Tool Labs. Suggest replacing it with [[Special:CentralAuth/{{REVISIONUSER}}|sulutil]]. Ekips39 (talk) 17:14, 20 February 2015 (UTC)Reply

https://tools.wmflabs.org/quentinv57-tools/tools/sulinfo.php exists but not sure if it's worth it in this case. –Krinkletalk 17:16, 20 February 2015 (UTC)Reply
  Done We've been changing these sulutil links to Special:CentralAuth because it provides almost the same details. Interwiki link sulutil: was also recently changed to link to Special:CentralAuth. -Glaisher (talk) 04:32, 24 February 2015 (UTC)Reply

Unrecognized punctuation character

edit

Using this template on Translations:Template:Privacy policy talk header/8/fa shows

Expression error: Unrecognized punctuation character "�".

Replace

{{#time: U | {{LOCALTIMESTAMP}} }} - {{#time: U | {{REVISIONTIMESTAMP}} }}

by

{{#time: U | {{LOCALTIMESTAMP}} |en}} - {{#time: U | {{REVISIONTIMESTAMP}} |en}}
Done I think. Best regards, —MarcoAurelio 15:30, 20 August 2016 (UTC)Reply
Thanks! --Shirayuki (talk) 22:21, 22 August 2016 (UTC)Reply

Protected edit request on 18 May 2022

edit
Extended content
Line 2: Line 2:
| type = speedy | type = speedy
| image = [[File:Commons-emblem-speedy.svg|40px]] | image = [[File:Commons-emblem-speedy.svg|40px]]
| text =
| text ='''This page has been nominated for [[Meta:Deletion policy#Criteria for speedy deletion|speedy deletion]]{{#if: {{{soon|}}} | &nbsp;after a short period of time.''' This delay is intended to give the contributor time to modify the page to make it relevant. If it is relevant, please remove this tag.|.'''}}{{#if: {{{1|}}} |&nbsp;The user who left this tag provided the following reason:<div style="margin-left:2em; background:#FFF; font-weight:bold">{{{1}}}</div>}}
<div style="margin: 0.5em 0;">
<strong>This page {{#if:{{{soon|}}}|will soon be|has been}} nominated for [[Meta:Deletion policy#Criteria for speedy deletion|speedy deletion]].</strong><!--
-->{{#if:{{{soon|}}}<!--
-->|&#32;This delay is intended to give the contributor time to modify the page to make it relevant. If it is relevant, please remove this tag.<!--
-->}}<!--
-->{{#if:{{{1|}}}<!--
-->|&#32;The user who left this tag provided the following reason:<!-- <div>s cannot be nested in <div style="margin: 0.5em 0;">s, hence this block <span>.
--><p style="margin-left: 2em; background: #FFF; padding: 0.2em 0.5em; font-weight: bold;">{{{1}}}</p><!--
-->}}
</div>


If you object, remove the template and discuss on [[{{TALKPAGENAME}}|the talk page]]. If this page does not meet a criterion for speedy deletion, use {{tl|RFD}} instead. <div style="margin: 0.5em 0;">If you object, remove the template and discuss on [[{{TALKPAGENAME}}|the talk page]]. If this page does not meet a criterion for speedy deletion, use {{tl|RFD}} instead.</div>


<div class="plainlinks" style="margin: 0.5em 0; font-size: small;"><!--
<small>'''[[Meta:Administrators|Administrators]]:''' Please check the <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=history}} page history], especially the [{{fullurl:{{FULLPAGENAME}}|diff=0}} last diff], before [{{fullurl:{{FULLPAGENAME}}|action=delete{{#if:{{{1|}}}|&wpReason={{urlencode:[[Template:Delete|Speedy deletion request]]: "{{{1|}}}"}}|}}}} deleting]</span>.<br /><div class="plainlinks" style="font-size: smaller;"> Page [{{SERVER}}{{LOCALURL:{{FULLPAGENAME}}|diff=cur}} edited] <!--

* Link to action=purge -->[{{SERVER}}{{LOCALURL:{{FULLPAGENAME}}|action=purge}} <!--
--><div>'''[[Meta:Administrators|Administrators]]:''' Please check the [[Special:PageHistory/{{FULLPAGENAME}}|page's history]], especially the [{{fullurl:{{FULLPAGENAME}}|diff=cur&oldid=prev}} last diff], before [{{fullurl:{{FULLPAGENAME}}|action=delete{{#if:{{{1|}}}|&wpReason={{urlencode:[[Template:Delete|Speedy deletion request]]: "{{{1|}}}"}}}}}} deleting].</div>
* Test for invalid time difference -->{{#ifexpr: {{LOCALTIMESTAMP}} < {{REVISIONTIMESTAMP}} | ? | <!--

* If difference >10min mark bold -->{{#ifexpr: {{LOCALTIMESTAMP}} - {{REVISIONTIMESTAMP}} > 1000 | '''<span style="font-size:110%;"> }}<!--
<div style="font-size: smaller;"><!--
* If valid: Show hours&minutes -->{{#expr: ({{#time: U | {{LOCALTIMESTAMP}} |en}} - {{#time: U | {{REVISIONTIMESTAMP}} |en}}) / 60 round 0 }} }} {{PLURAL:{{#expr: ({{#time: U | {{LOCALTIMESTAMP}} |en}} - {{#time: U | {{REVISIONTIMESTAMP}} |en}}) / 60 round 0 }}|minute|minutes}}] <!--
-->Page [{{fullurl:{{FULLPAGENAME}}|diff=cur&oldid=prev}} last edited] <!--
* If difference >10min end mark bold -->{{#ifexpr: {{LOCALTIMESTAMP}} - {{REVISIONTIMESTAMP}} > 1000 | '''</span> }} ago by {{#if: {{REVISIONUSER}} | [[{{ns:2}}:{{REVISIONUSER}}|{{REVISIONUSER}}]] ([[{{ns:3}}:{{REVISIONUSER}}|talk]] • [[Special:Contributions/{{REVISIONUSER}}|contrib]] • [[Special:Log/{{REVISIONUSER}}|log]] • [[Special:CentralAuth/{{REVISIONUSER}}|accounts]]) }}. [{{fullurl:Special:Log|type=delete&page={{FULLPAGENAMEE}}}} deletion log] • [[Special:Whatlinkshere/{{FULLPAGENAMEE}}|link list]] • [{{fullurl:{{FULLPAGENAME}}|action=delete{{#if:{{{1|}}}|&wpReason={{urlencode:[[Template:Delete|Speedy deletion request]]: "{{{1|}}}"}}|}}}} delete page.]</div></small></div><includeonly>{{{category|[[Category:Deleteme]]}}}</includeonly>

}}<noinclude>
-->[{{fullurl:{{FULLPAGENAME}}|action=purge}} <!-- Link to action=purge
-->{{#ifexpr:{{#time:U||en}} < {{#time:U|{{REVISIONTIMESTAMP}}|en}}<!-- Test for invalid time difference
-->|?<!--
-->|<!--
-->{{#ifexpr:{{#time:U||en}} - {{#time:U|{{REVISIONTIMESTAMP}}|en}} > (10 * 60)<!-- If difference >10min mark bold
-->|<strong style="font-size: 110%;"><!--
-->}}<!--

-->{{#expr:({{#time:U||en}} - {{#time:U|{{REVISIONTIMESTAMP}}|en}}) / 60 round 0}} <!-- If valid: Show hours&minutes

-->{{PLURAL:{{#expr:({{#time:U||en}} - {{#time:U|{{REVISIONTIMESTAMP}}|en}}) / 60 round 0}}<!--
-->|minute<!--
-->|minutes<!--
-->}} <!--

-->{{#ifexpr:{{#time:U||en}} - {{#time:U|{{REVISIONTIMESTAMP}}|en}} > (10 * 60)<!-- If difference >10min end mark bold
-->|</strong><!--
-->}}<!--
-->}}] <!--
-->ago<!--

-->{{#if:{{REVISIONUSER}}<!--
-->|&#32;by <!--
-->[[{{ns:2}}:{{REVISIONUSER}}|{{REVISIONUSER}}]] (<!--
-->{{hlist<!--
-->|[[{{ns:3}}:{{REVISIONUSER}}|talk]]<!--
-->|[[Special:Contributions/{{REVISIONUSER}}|contribs]]<!--
-->|[[Special:Log/{{REVISIONUSER}}|log]]<!--
-->|[[Special:CentralAuth/{{REVISIONUSER}}|accounts]]<!--
-->|class = inline<!--
-->}}<!--
-->)<!--
-->}}. <!--
-->Links: <!--
-->{{hlist<!--
-->|[{{fullurl:Special:Log|type=delete&page={{FULLPAGENAMEE}}}} deletion log]<!--
-->|[[Special:Whatlinkshere/{{FULLPAGENAMEE}}|links list]]<!--
-->|[{{fullurl:{{FULLPAGENAME}}|action=delete{{#if:{{{1|}}}|&wpReason={{urlencode:[[Template:Delete|Speedy deletion request]]: "{{{1|}}}"}}|}}}} delete page]<!--
-->|class = inline<!--
-->}}
</div><!--

--></div>
}}<includeonly>{{{category|[[Category:Deleteme]]}}}</includeonly><noinclude>
{{documentation}} {{documentation}}
</noinclude> </noinclude>

Please replace the content of this template with the sandbox version. I improved code readability and fixed some HTML lints. NguoiDungKhongDinhDanh 19:56, 18 May 2022 (UTC)Reply

  Done - also added protection to newly included templates. If this breaks anything any admin should immediaitly revert. — xaosflux Talk 14:01, 6 June 2022 (UTC)Reply
Return to "Delete" page.