Operator: JJMC89 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:05, Friday, January 29, 2016 ( UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): AutoWikiBrowser
Source code available: AWB
Function overview: Replace {{Lc1|
with {{Lc|cfd2=y|
for all transclusions of {{
Lc1}}.
Links to relevant discussions (where appropriate): WP:Bot requests#Request for bot to replace a string of code in applicable pages ( permalink)
Edit period(s): One time run
Estimated number of pages affected: 3162
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): No
Function details: Replace {{Lc1|
with {{Lc|cfd2=y|
for all transclusions of {{
Lc1}} to facilitate {{
Lc1}} being merged into {{
Lc}} as requested by
Steel1943.
Forgive me, but what does this really accomplish? Usually there's a WP:TFD before we merge templates. If {{ lc1}} is already a convenience wrapper around {{ lc}}/{{ lx}}, why do we need to get rid of it? — Earwig talk 02:29, 1 February 2016 (UTC) reply
|cfd2=
hack for {{
lx}}? If you wanted, we could then replace {{
lc1}} with {{
lc}} in old transclusions and delete it, but it's not strictly necessary. I must be missing something. —
Earwig
talk 08:11, 1 February 2016 (UTC)
reply
cfd2=
" parameter since it "was" there, so whoever implemented it originally in {{
Lx1}} (now merged into {{
Lx}}) may have seen a need for it. But yes, from what I saw, every transclusion of {{
Lc1}} that exists was created by substitutions of {{
Cfd2}} (thus why I named the parameter "cfd2
".) However, the parameter could not just be removed wholesale since it does more than just creates the monobook formatting: As you stated, it also
hides the link at the beginning to the "nominated" page. It seems that {{
Lc1}} was set up this way since {{
Cfd2}} already has a hard-coded link to the nominated page that is not part of {{
Lc1}}, so making a link appear again would be redundant: Fixing this issue without using a parameter trigger in {{
Lx}} as far as I can tell, would require manually removing the custom page link from all 3000+ pages since I don't think there is any possible "true/false" string that could catch and remove those links ("remove" since suppressing the cfd2
parameter in full would make the redundant page link appear.)
Steel1943 (
talk) 12:28, 1 February 2016 (UTC)
reply
cfd2
parameter from both {{
Lx}} and {{
Lc}}. (I would actually be okay if that parameter is completely removed: I created the parameter since my intent was to merge the templates, not change them.)
Steel1943 (
talk) 19:25, 1 February 2016 (UTC)
replySomeone mentioned a merge. Is there an actual WP:TFD around somewhere where this discussion took place? I don't feel comfortable approving this request, or even a trial, without some sort of clear consensus for this task. -- slakr\ talk / 04:53, 6 February 2016 (UTC) reply
cfd2
parameter) is if the community would not be bothered with every daily
WP:CFD subpage that exists prior to the change having the name of the nominated page listed and linked twice. I would be okay with this, especially since then the {{
Lc}} template could then be better utilized for other related CFD templates (such as {{
Cfm2}}, {{
Cfr2}}, etc) since they seem to currently not be built with any type of "Lc" template in them. With that being said, we should probably move this discussion elsewhere, possibly at
Template talk:Cfd2 or
Wikipedia talk:Categories for discussion since this discussion mainly pertains exclusively to {{
Lc1}}'s usage in that template.
Steel1943 (
talk) 19:44, 9 February 2016 (UTC)
reply
Withdrawn by operator. Please file a new
bot request if a solution is agreed upon. —
JJMC89 (
T·
C) 23:07, 13 February 2016 (UTC)
reply
Operator: JJMC89 ( talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 23:05, Friday, January 29, 2016 ( UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): AutoWikiBrowser
Source code available: AWB
Function overview: Replace {{Lc1|
with {{Lc|cfd2=y|
for all transclusions of {{
Lc1}}.
Links to relevant discussions (where appropriate): WP:Bot requests#Request for bot to replace a string of code in applicable pages ( permalink)
Edit period(s): One time run
Estimated number of pages affected: 3162
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): No
Function details: Replace {{Lc1|
with {{Lc|cfd2=y|
for all transclusions of {{
Lc1}} to facilitate {{
Lc1}} being merged into {{
Lc}} as requested by
Steel1943.
Forgive me, but what does this really accomplish? Usually there's a WP:TFD before we merge templates. If {{ lc1}} is already a convenience wrapper around {{ lc}}/{{ lx}}, why do we need to get rid of it? — Earwig talk 02:29, 1 February 2016 (UTC) reply
|cfd2=
hack for {{
lx}}? If you wanted, we could then replace {{
lc1}} with {{
lc}} in old transclusions and delete it, but it's not strictly necessary. I must be missing something. —
Earwig
talk 08:11, 1 February 2016 (UTC)
reply
cfd2=
" parameter since it "was" there, so whoever implemented it originally in {{
Lx1}} (now merged into {{
Lx}}) may have seen a need for it. But yes, from what I saw, every transclusion of {{
Lc1}} that exists was created by substitutions of {{
Cfd2}} (thus why I named the parameter "cfd2
".) However, the parameter could not just be removed wholesale since it does more than just creates the monobook formatting: As you stated, it also
hides the link at the beginning to the "nominated" page. It seems that {{
Lc1}} was set up this way since {{
Cfd2}} already has a hard-coded link to the nominated page that is not part of {{
Lc1}}, so making a link appear again would be redundant: Fixing this issue without using a parameter trigger in {{
Lx}} as far as I can tell, would require manually removing the custom page link from all 3000+ pages since I don't think there is any possible "true/false" string that could catch and remove those links ("remove" since suppressing the cfd2
parameter in full would make the redundant page link appear.)
Steel1943 (
talk) 12:28, 1 February 2016 (UTC)
reply
cfd2
parameter from both {{
Lx}} and {{
Lc}}. (I would actually be okay if that parameter is completely removed: I created the parameter since my intent was to merge the templates, not change them.)
Steel1943 (
talk) 19:25, 1 February 2016 (UTC)
replySomeone mentioned a merge. Is there an actual WP:TFD around somewhere where this discussion took place? I don't feel comfortable approving this request, or even a trial, without some sort of clear consensus for this task. -- slakr\ talk / 04:53, 6 February 2016 (UTC) reply
cfd2
parameter) is if the community would not be bothered with every daily
WP:CFD subpage that exists prior to the change having the name of the nominated page listed and linked twice. I would be okay with this, especially since then the {{
Lc}} template could then be better utilized for other related CFD templates (such as {{
Cfm2}}, {{
Cfr2}}, etc) since they seem to currently not be built with any type of "Lc" template in them. With that being said, we should probably move this discussion elsewhere, possibly at
Template talk:Cfd2 or
Wikipedia talk:Categories for discussion since this discussion mainly pertains exclusively to {{
Lc1}}'s usage in that template.
Steel1943 (
talk) 19:44, 9 February 2016 (UTC)
reply
Withdrawn by operator. Please file a new
bot request if a solution is agreed upon. —
JJMC89 (
T·
C) 23:07, 13 February 2016 (UTC)
reply