Template talk:Orfud

(Redirected from Template talk:Orfud/testcases)
Latest comment: 7 years ago by John of Reading in topic Template-protected edit request on 2 November 2016

Code Update

edit

{{editprotected}}

Could a templatey administrator change this

<includeonly>{{subst:</includeonly><includeonly>void|<strong class="error">You forgot to subst this template. Replace {{orfud}} with {{subst:orfud}}</strong>}}{</includeonly><noinclude>{</noinclude>{<noinclude>[[Template:</noinclude>di-orphaned fair use<noinclude>|di-orphaned fair use]]</noinclude>|date={{<includeonly>subst:</includeonly>CURRENTDAY}} {{<includeonly>subst:</includeonly>CURRENTMONTHNAME}} {{<includeonly>subst:</includeonly>CURRENTYEAR}}}}<noinclude>{{pp-template}}[[Category:File deletion template shortcuts]]</noinclude>

to this

<includeonly>{{{{{|safesubst:}}}substchecktop|Orfud|subst={{{subst|}}}}}</includeonly>{{<noinclude>tlp|</noinclude>di-orphaned fair use|<noinclude>2=</noinclude>date={{{{{|safesubst:}}}Date}}}}<includeonly>{{{{{|safesubst:}}}substcheckbottom|subst={{{subst|}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

at Template:Orfud? Thanks. Set Sail For The Seven Seas 192° 28' 45" NET 12:49, 13 September 2010 (UTC)Reply

  Not done at present. Has this been tested in a sandbox? Also, what does the change do? If it merely simplifies the code, my inclination is "If it ain't broke, don't fix it." —  Tivedshambo  (t/c) 21:51, 21 September 2010 (UTC)Reply

A copy of this code can now be found in the sandbox and its effects can be seen at testcases. The template updates include the following changes:

  1. Updating the substitution check code to a more efficient version.
  2. Updating the date parameters to use existing date templates rather than variables, simplifying the code.
  3. Optimising the demo display on the Template:Orfud page to use Template:Tlp, simplifying the code.
  4. Removing the redundant page protection template, which is already included as part of the documentation.
  5. Moving categories to the documentation subpage.

Thanks. Set Sail For The Seven Seas 344° 18' 30" NET 22:57, 21 September 2010 (UTC)Reply

re "Moving categories to the documentation subpage", you have forgotten to create the /doc page with the categories. — Martin (MSGJ · talk) 11:12, 22 September 2010 (UTC)Reply
The documentation page has now been created and can be found here. Thanks. Set Sail For The Seven Seas 204° 9' 15" NET 13:36, 23 September 2010 (UTC)Reply
  Done —  Tivedshambo  (t/c) 06:37, 25 September 2010 (UTC)Reply

Template-protected edit request on 26 March 2016

edit

Please redirect to {{Or-fu-re}} as per this TfD. Note that this will functionally change nothing for this template; the only difference between the two templates is that {{Or-fu-re}} accepts an optional replacement parameter. You will also need to template-protect {{Or-fu-re}} (and preferably {{Orfur}}, the other template considered at the TfD) since this is a high-visibility template. If I'm not mistaken, it's substituted by some fully-automated bots, which was the reason for the original template-protect on this template. ~ RobTalk 13:59, 26 March 2016 (UTC)Reply

@Opabinia regalis: Perhaps you could take a look at this one. ~ RobTalk 16:07, 27 March 2016 (UTC)Reply
  Done The editor who uses the pseudonym "JamesBWatson" (talk) 16:15, 27 March 2016 (UTC)Reply
@JamesBWatson: Thanks. Would you mind also template-protecting the target as requested? This is highly-visible due to the frequent substitution by automated (or semi-automated) editing programs, and vandalism to {{Or-fu-re}} would likely be substituted onto a large number of pages before detected, with no easy way to fix them. ~ RobTalk 16:24, 27 March 2016 (UTC)Reply
@BU Rob13: Sorry, I forgot to do that. Done now, though. The editor who uses the pseudonym "JamesBWatson" (talk) 16:27, 27 March 2016 (UTC)Reply

Template-protected edit request on 2 November 2016

edit

redirect to Template:Di-orphaned fair use to fix double redirect.

Ⓩⓟⓟⓘⓧ (talk) 21:49, 2 November 2016 (UTC)Reply

  Done -- John of Reading (talk) 22:07, 2 November 2016 (UTC)Reply