User:Steel1943/sandbox/sandbox1

From Wikipedia, the free encyclopedia

1[edit]

2[edit]

Test 1[edit]

templateeditor

Test 2[edit]

User:Steel1943/ProtectedPage
sysop
User:Steel1943/ExtendedProtectedPage
extendedconfirmed
User:Steel1943/sandbox/sandbox1
(Should be empty)

3[edit]

logs

Template:Lc/sandbox (with "cfd2" parameter) vs Template:Lc1[edit]

Lc/sandbox[edit]

[[:Category:{{{1}}}]] ([{{fullurl::Category:{{{1}}}|action=edit}} edit] | [[Category talk:{{{1}}}|talk]] | [{{fullurl::Category:{{{1}}}|action=history}} history] | [{{fullurl:Special:Whatlinkshere/:Category:{{{1}}}}} links] | [{{fullurl::Category:{{{1}}}|action=watch}} watch] | logs)

Lc1[edit]

{{Lc1}}

File:Gdyjchuffh.jpg[edit]

File:Gdyjchuffh.jpg (delete | talk | history | links | logs) – uploaded by Error: No uploader specified

my face

File:Ghxjjfd.jpg[edit]

File:Ghxjjfd.jpg (delete | talk | history | links | logs) – uploaded by Error: No uploader specified

{{{{{safesubst:}}}#if:yippee|yippee}}

File:Gufthhfy.jpg[edit]

File:Gufthhfy.jpg (delete | talk | history | links | logs) – uploaded by Error: No uploader specified

{{{{{safesubst:}}}#if:|{{{Reason}}}}}

For later ... regarding how AnomieBOT creates FFD subpages[edit]

Here are the details, but I changed my mind while writing this. See below.
  1. Yes, that is intentional. The link would be clickable on Wikipedia:Files for discussion to direct readers to the subpage, but not clickable when viewing the subpage directly itself. See the next item for more details, and why I did not even see consensus at WT:FFD being necessary due to the technical reasoning behind these changes.
  2. What I'm planning to do with {{Ffd2}} is something that will force the "delete" link to be unclickable when viewing the template on Wikipedia:Files for discussion, but not when viewing it on the individual subpages themselves. When {{Ffd2}} is substituted, it currently also substitutes all instances of {{FULLPAGENAME}} inside of itself. These {{FULLPAGENAME}} instances are used to auto-generate text used in the deletion notice added when the nomimated page is deleted. This is problematic when a discussion is relisted since it then displays the incorrect date in the deletion notice: Rather than displaying the current nomination date in the notice, if {{FULLPAGENAME}} is substitute, it displays the original nomination date rather than the current one. If {{FULLPAGENAME}} is not substituted, when that "delete" link is clicked, it will display the most recent date instead of the original one. And that's why the link would then have to be disabled on Wikipedia:Files for discussion but not the subpages since if that link was clicked directly from Wikipedia:Files for discussion, the value/text generated by {{FULLPAGENAME}} would be wrong since it would pull the value of the page which it is displayed on, not the page where {{FULLPAGENAME}} actually is.
I actually changed my mind while writing this since the current procedure at WP:FFD isn't to blank a discussion wholesale when it is relisted, so the links don't completely break in group nominations. That happened over at WP:RFD during relists, but doesn't happen at WP:FFD. So, I'm no longer motivated to get this fix implemented for the time being.

GET ER DUN[edit]

File:Dghffg.jpg[edit]

File:Dghffg.jpg (delete | talk | history | links | logs) – uploaded by Steel1943 (notify | contribs | uploads | upload log).

Because I said so. (no "header" or "multi")

Stunten it yo[edit]

File:Dghffg.jpg (delete | talk | history | links | logs) – uploaded by Steel1943 (notify | contribs | uploads | upload log).

Because I said so. (has "header", no "multi")

File:Dghffg.jpg (delete | talk | history | links | logs) – uploaded by Steel1943 (notify | contribs | uploads | upload log).

Because I said so. (no "header", has "multi")

File:Dghffg.jpg (delete | talk | history | links | logs) – uploaded by Steel1943 (notify | contribs | uploads | upload log).

Because I said so. (has "header" and "multi")

Ffd2 multi yes before "fix"[edit]

File:Foo bar2.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log).

After[edit]

 

File:Foo bar2.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log).

Again[edit]

File:Foo bar2.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log).

Test 1 (no multi)[edit]

File:Foo bar2.jpg[edit]

File:Foo bar2.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log).

Test 2 (multi)[edit]

File:Foo bar2.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log).
File:Foo bar2.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log).

===Is this a header?===
No

Fresh start[edit]

1[edit]

File:Foo bar2.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log).


2[edit]

File:Foo bar2.jpg[edit]

File:Foo bar2.jpg (delete | talk | history | links | logs) – uploaded by Example User (notify | contribs | uploads | upload log).

{{subst:User:Steel1943:ffd2/sandbox|Foo bar2.jpg|multi=yes|Uploader=Example User}}

Rfd relisted[edit]

Template to return link in templates[edit]

{{#ifeq:{{FULLPAGENAME}}|{{{2}}}|

{{#if:{{{3|}}}|[[:{{{2}}}|{{{3}}}]]|[[:{{{2}}}]]}}|
{{#if:{{{3|}}}|[[:{{{1}}}|{{{3}}}]]|[[:{{{1}}}|{{{2}}}]]}}
  • {{{{{|safesubst:}}}#if:{{{2|}}}|[[:{{{1}}}|{{{2}}}]]|[[:{{{1}}}]]}}

Protection level test ... test if protection exists?[edit]

WORK IN PROGRESS