Inline Templates | ||||
|
![]() | Disambiguation | |||
|
Say, could we use a shorter name, like Template:Amblink, Template:Disamb-link, or something like that? — Chris53516 ( Talk) 20:50, 4 December 2006 (UTC)
There is a glitch with this template when used with italics - see Wikipedia:Village pump (technical)#dn tag misbehaviour again. DuncanHill ( talk) 11:00, 27 May 2008 (UTC)
{{editprotected}}
Currently sorting redirects by placing redirect templates.
Wish to add {{
R from other template}} to {{
Ambiguous link}}. --
OlEnglish (
Talk) 18:06, 26 March 2009 (UTC)
{{
Editprotected}}
This template is <includeonly>-hiding itself from view on its own page. No need for that, since it does not produce barfy code without parameters. Editors should not have to wade thru the docs just to find out what it looks like. —
SMcCandlish
Talk⇒ ʕ(Õلō)ˀ
Contribs. 21:35, 27 January 2010 (UTC)
This message is to inform people monitoring this talk page that there is an "editprotected" request involving this and several other templates at Template talk:! cymru.lass (hit me up)⁄ (background check) 20:21, 28 December 2010 (UTC)
I've made a modification in the sandbox that prevents this template from being substituted, in that it cleanly substitutes to itself as a transcluded template. I see no problems or drawbacks to this, but I've never applied this before in a live template. Two minor flaws: the parameter value "¬" is not supported (treated like an undefined parameter), and that numbered parameters are turned into explicit numbered parameters, i.e.{{subst:dn|Foo}} → {{dn | 1=Foo | date=June 2010}}
(the date is filled in automagically if omitted).
Both flaws could largely be fixed, but paid for with slightly more boilerplate template code and using a string manipulation template. For this particular usage it's probably not worth it.
Any objections or comments? Amalthea 10:36, 29 June 2011 (UTC)
{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates]]</includeonly>|}}
?
Debresser (
talk) 13:43, 29 June 2011 (UTC)
|substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
is used, which is even shorter than the code I mentioned before. Why is Amalthea's code better?
Debresser (
talk) 15:38, 29 June 2011 (UTC)
{{
subst:Cleanup|reason=eggs and ham|date=June 2011}}
it makes the subst put {{
Cleanup|reason=eggs and ham|date=June 2011}}
. In other words it actually does the desubst (in effect).
Rich
Farmbrough, 15:49, 29 June 2011 (UTC).Btw, that category you added yesterday to {{ Fix}}, what does that do? And why do I see it on templates like documentation pages? Debresser ( talk) 16:24, 29 June 2011 (UTC)
The documentation states: "If a date is not added, a bot will do so later." Could the bot also date {{ dn}}, or change it to {{ Disambiguation needed}} and then date it? Also, could someone change the documentation so that "bot" links to the specific bot instead of Wikipedia:BOT? Thanks! GoingBatty ( talk) 00:54, 30 June 2011 (UTC)
I would like to propose that the use of unnamed parameter 1, that is, the format {{
Disambiguation needed|Article|date=MONTH YEAR}}
, be deprecated, and the documentation changed to recommend only the use of the format [[Article]]{{
Disambiguation needed|date=MONTH YEAR}}
. Likewise, unnamed parameter 2 would also be deprecated. Use of the first format makes the use of automated tools to assist in disambiguation much more difficult, as most of these tools are searching for a bracketed link to "Article", not for a template parameter. Also, when a correct link is found, it is much easier simply to replace the offending link and delete the entire stretch between {{ and }} than to extract the link information from the template (especially in the two-parameter form), format that as a link to the correct article, then delete what is left of the template. Consistent use of the second format would make life easier for editors, without affecting readers in any way. I am not suggesting that the template itself be changed at this point, only the documentation, to discourage use of these parameters. --
R'n'B (
call me Russ) 16:30, 30 June 2011 (UTC)
\{\{\s*(DN_TAGS)\|([^{|}[\]<=>]+(\|[^{|}[\]=]*)?)((\|\s*[^{|}=]*\s*=[^{|}]*|)+)\}\}
and is replaced with [[\2]]{{\1\4}}
. —
Dispenser 22:40, 30 August 2011 (UTC)Currently this template links to
Wikipedia:WikiProject Disambiguation/Fixing links which is whelming for new users. So I look at it and see most of the steps are unnecessary if Dab solver is used. For the reminding steps I've implemented an editintro feature. The resulting wikilink look like [[tools:~dispenser/cgi-bin/dab_solver.py?page={{FULLPAGENAMEE}}&editintro=Template:Disambiguation needed/editintro]]
. Since this is unlike the reset of the fix template, I suggest adding a
pencil next to the link. —
Dispenser 23:31, 30 August 2011 (UTC)
line-height:
property can be adjusted so surrounding text is unaffected, but we probably don't want it anyway. 5) The Usability Team studies and Wikia both noted the textural edit links are not effective and have redesigned them as "Call to action" buttons. —
Dispenser 22:42, 4 September 2011 (UTC)![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Its been a month without discussion so I'm filling the editprotection request to copy the sandbox to the main template and get things moving again. The most instructive parts of Wikipedia:WikiProject Disambiguation/Fixing links were added to Template:Disambiguation needed/editintro, making a link to it a bit pointless. A tracking tag was added which can help us measure click, conversion rates, etc. Looking forward, we may want to investigate using {{ button}} as something that's eye-catching to recruit newbies. — Dispenser 02:54, 8 October 2011 (UTC)
url=
. —
Dispenser 18:28, 10 October 2011 (UTC)
I cancelled out the " {{editprotected}}" - clearly it's not a simple uncontroversial edit, discussion is ongoing, and there's plenty of folks here who can edit it; if you need a specific edit on the protected page - with consensus - please re-request. Thanks. Chzz ► 02:31, 14 October 2011 (UTC)
I have implemented the sandbox code. — Martin ( MSGJ · talk) 09:54, 27 October 2011 (UTC)
It seems to me there ought to be a template to use for links that don't point to a disambiguation page, in order to indicate that it might not point to the correct article.
An example would be a link to a person's name, but the editor who added the link didn't check whether there is more than one person with that name. In some cases there may be no disambiguation page for the name, but the possibility that the linked-to page actually is the intended person cannot be ruled out. There also may or may not be an article for the person who is actually intended.
Is there an accepted way of dealing with this situation, or should we create a new template by which to tag such links? — Smjg ( talk) 16:54, 22 January 2012 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
At Template:Disambiguation needed/sandbox I have standardized this template in accord with other WT:INLINE#Standardizations. The pencil icon was removed as no other inline template uses icons, its presence interferes with the link hoverbox, and its presence is confusing whether or not the user identifies it as a pencil. Instead, I kept the dab solver link and added a dab project policy link, similar to other 2-link inline templates like "dubious - discuss". Discussion above showed only one editor strongly favoring the pencil icon, but amenable to the word "fix" instead, with two other editors recognizing the standardization needs for language like "fix", so this change has the presumption of former consensus. Please consider or comment on the recommendation to replace this template with the current draft at the sandbox. (Incidentally, I'm not sure of why this page is still full-protected unlike most other inlines; no guidance at WP:HRT requires that, and semiprotection may be better.) JJB 18:37, 11 June 2012 (UTC)
text
, link-title
, post-text
and so on, which gives the same effect without reinventing anything. If that's sufficient I'll sync.
Chris Cunningham (user:thumperward) (
talk) 08:47, 12 June 2012 (UTC)Thanks Chris. I don't know what the concerns amount to in the edit summary you linked. I am comfortable with sync to either your version or mine. The editor who closed {{ fix}} may have a comment but it appears those concerns were not recognized by anyone else. JJB 18:25, 21 June 2012 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Link still points to toolserver.org, which was shut down. Please change {{fullurl:tools:~dispenser/cgi-bin/dab_solver.py|page={{FULLPAGENAMEE}}&editintro=Template:Disambiguation_needed/editintro&client=Template:Dn}}
to http://dispenser.homenet.org/~dispenser/cgi-bin/dab_solver.py?page={{FULLPAGENAME}}&commonfixes=on
(or if you know a better way to form the link, change it to that).
ekips
39 04:57, 14 December 2014 (UTC)
{{FULLPAGENAMEE}}
with an extra E at the end is needed to encode characters for url's. At
Wikipedia:Village pump (technical)/Archive 132#What redirects links here I suggested http://dispenser.homenet.org/~dispenser/cgi-bin/dab_solver.py?page={{FULLPAGENAMEE}}&editintro=Template:Disambiguation_needed/editintro&client=Template:Dn
to be similar to the old url. editintro=Template:Disambiguation_needed/editintro
displays
Template:Disambiguation needed/editintro at the top. I don't know whether client=Template:Dn
does something.
PrimeHunter (
talk) 12:29, 14 December 2014 (UTC) Done
R'n'B (
call me Russ) 12:50, 14 December 2014 (UTC)
I propose changing the text displayed by this template from "Disambiguation needed" to "Ambiguous link." Saying something is ambiguous is clearer and more straightforward than saying it "needs disambiguation". We don't tell our kids that their rooms need to be un-dirtied. Please comment. -- R'n'B ( call me Russ) 16:55, 13 February 2016 (UTC)
I propose to have a parameter added so that a topic can be added, with tags including the topic also added to a category for fixes needed within that topic. For example, so that {{disambiguation needed|topic=math}} would add the page to a Category:Articles with math terms needing disambiguation. The parameter would need to be set up so that a missing or nonsense term would have no effect. Likely categories would include math, physics, anatomy, placenames (possibly further divided into placenames in likely countries like the U.S., France, Poland, Serbia, Ukraine, Russia, India, Pakistan, China, Japan, etc.), and, of course footballers. If anyone has the template skills to do this, let me know. Cheers! bd2412 T 23:03, 21 March 2017 (UTC)
Has the link been moved or replaced so it can be appropriately repaired in this template? It appears to be affecting the DAB notification talk message template as well. — RedSoxFan274 (talk ~contribs) 22:15, 24 August 2017 (UTC)
@ RedSoxFan274: try this link [2]. Plantdrew ( talk) 23:38, 24 August 2017 (UTC)
Equate |Date= to |date=.
Why selfish? I have a sticking shift key, and it's a pain to have to check and sometimes to correct the field after posting. Narky Blert ( talk) 23:12, 14 January 2018 (UTC)
Inline Templates | ||||
|
![]() | Disambiguation | |||
|
Say, could we use a shorter name, like Template:Amblink, Template:Disamb-link, or something like that? — Chris53516 ( Talk) 20:50, 4 December 2006 (UTC)
There is a glitch with this template when used with italics - see Wikipedia:Village pump (technical)#dn tag misbehaviour again. DuncanHill ( talk) 11:00, 27 May 2008 (UTC)
{{editprotected}}
Currently sorting redirects by placing redirect templates.
Wish to add {{
R from other template}} to {{
Ambiguous link}}. --
OlEnglish (
Talk) 18:06, 26 March 2009 (UTC)
{{
Editprotected}}
This template is <includeonly>-hiding itself from view on its own page. No need for that, since it does not produce barfy code without parameters. Editors should not have to wade thru the docs just to find out what it looks like. —
SMcCandlish
Talk⇒ ʕ(Õلō)ˀ
Contribs. 21:35, 27 January 2010 (UTC)
This message is to inform people monitoring this talk page that there is an "editprotected" request involving this and several other templates at Template talk:! cymru.lass (hit me up)⁄ (background check) 20:21, 28 December 2010 (UTC)
I've made a modification in the sandbox that prevents this template from being substituted, in that it cleanly substitutes to itself as a transcluded template. I see no problems or drawbacks to this, but I've never applied this before in a live template. Two minor flaws: the parameter value "¬" is not supported (treated like an undefined parameter), and that numbered parameters are turned into explicit numbered parameters, i.e.{{subst:dn|Foo}} → {{dn | 1=Foo | date=June 2010}}
(the date is filled in automagically if omitted).
Both flaws could largely be fixed, but paid for with slightly more boilerplate template code and using a string manipulation template. For this particular usage it's probably not worth it.
Any objections or comments? Amalthea 10:36, 29 June 2011 (UTC)
{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>[[Category:Pages with incorrectly substituted templates]]</includeonly>|}}
?
Debresser (
talk) 13:43, 29 June 2011 (UTC)
|substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
is used, which is even shorter than the code I mentioned before. Why is Amalthea's code better?
Debresser (
talk) 15:38, 29 June 2011 (UTC)
{{
subst:Cleanup|reason=eggs and ham|date=June 2011}}
it makes the subst put {{
Cleanup|reason=eggs and ham|date=June 2011}}
. In other words it actually does the desubst (in effect).
Rich
Farmbrough, 15:49, 29 June 2011 (UTC).Btw, that category you added yesterday to {{ Fix}}, what does that do? And why do I see it on templates like documentation pages? Debresser ( talk) 16:24, 29 June 2011 (UTC)
The documentation states: "If a date is not added, a bot will do so later." Could the bot also date {{ dn}}, or change it to {{ Disambiguation needed}} and then date it? Also, could someone change the documentation so that "bot" links to the specific bot instead of Wikipedia:BOT? Thanks! GoingBatty ( talk) 00:54, 30 June 2011 (UTC)
I would like to propose that the use of unnamed parameter 1, that is, the format {{
Disambiguation needed|Article|date=MONTH YEAR}}
, be deprecated, and the documentation changed to recommend only the use of the format [[Article]]{{
Disambiguation needed|date=MONTH YEAR}}
. Likewise, unnamed parameter 2 would also be deprecated. Use of the first format makes the use of automated tools to assist in disambiguation much more difficult, as most of these tools are searching for a bracketed link to "Article", not for a template parameter. Also, when a correct link is found, it is much easier simply to replace the offending link and delete the entire stretch between {{ and }} than to extract the link information from the template (especially in the two-parameter form), format that as a link to the correct article, then delete what is left of the template. Consistent use of the second format would make life easier for editors, without affecting readers in any way. I am not suggesting that the template itself be changed at this point, only the documentation, to discourage use of these parameters. --
R'n'B (
call me Russ) 16:30, 30 June 2011 (UTC)
\{\{\s*(DN_TAGS)\|([^{|}[\]<=>]+(\|[^{|}[\]=]*)?)((\|\s*[^{|}=]*\s*=[^{|}]*|)+)\}\}
and is replaced with [[\2]]{{\1\4}}
. —
Dispenser 22:40, 30 August 2011 (UTC)Currently this template links to
Wikipedia:WikiProject Disambiguation/Fixing links which is whelming for new users. So I look at it and see most of the steps are unnecessary if Dab solver is used. For the reminding steps I've implemented an editintro feature. The resulting wikilink look like [[tools:~dispenser/cgi-bin/dab_solver.py?page={{FULLPAGENAMEE}}&editintro=Template:Disambiguation needed/editintro]]
. Since this is unlike the reset of the fix template, I suggest adding a
pencil next to the link. —
Dispenser 23:31, 30 August 2011 (UTC)
line-height:
property can be adjusted so surrounding text is unaffected, but we probably don't want it anyway. 5) The Usability Team studies and Wikia both noted the textural edit links are not effective and have redesigned them as "Call to action" buttons. —
Dispenser 22:42, 4 September 2011 (UTC)![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Its been a month without discussion so I'm filling the editprotection request to copy the sandbox to the main template and get things moving again. The most instructive parts of Wikipedia:WikiProject Disambiguation/Fixing links were added to Template:Disambiguation needed/editintro, making a link to it a bit pointless. A tracking tag was added which can help us measure click, conversion rates, etc. Looking forward, we may want to investigate using {{ button}} as something that's eye-catching to recruit newbies. — Dispenser 02:54, 8 October 2011 (UTC)
url=
. —
Dispenser 18:28, 10 October 2011 (UTC)
I cancelled out the " {{editprotected}}" - clearly it's not a simple uncontroversial edit, discussion is ongoing, and there's plenty of folks here who can edit it; if you need a specific edit on the protected page - with consensus - please re-request. Thanks. Chzz ► 02:31, 14 October 2011 (UTC)
I have implemented the sandbox code. — Martin ( MSGJ · talk) 09:54, 27 October 2011 (UTC)
It seems to me there ought to be a template to use for links that don't point to a disambiguation page, in order to indicate that it might not point to the correct article.
An example would be a link to a person's name, but the editor who added the link didn't check whether there is more than one person with that name. In some cases there may be no disambiguation page for the name, but the possibility that the linked-to page actually is the intended person cannot be ruled out. There also may or may not be an article for the person who is actually intended.
Is there an accepted way of dealing with this situation, or should we create a new template by which to tag such links? — Smjg ( talk) 16:54, 22 January 2012 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
At Template:Disambiguation needed/sandbox I have standardized this template in accord with other WT:INLINE#Standardizations. The pencil icon was removed as no other inline template uses icons, its presence interferes with the link hoverbox, and its presence is confusing whether or not the user identifies it as a pencil. Instead, I kept the dab solver link and added a dab project policy link, similar to other 2-link inline templates like "dubious - discuss". Discussion above showed only one editor strongly favoring the pencil icon, but amenable to the word "fix" instead, with two other editors recognizing the standardization needs for language like "fix", so this change has the presumption of former consensus. Please consider or comment on the recommendation to replace this template with the current draft at the sandbox. (Incidentally, I'm not sure of why this page is still full-protected unlike most other inlines; no guidance at WP:HRT requires that, and semiprotection may be better.) JJB 18:37, 11 June 2012 (UTC)
text
, link-title
, post-text
and so on, which gives the same effect without reinventing anything. If that's sufficient I'll sync.
Chris Cunningham (user:thumperward) (
talk) 08:47, 12 June 2012 (UTC)Thanks Chris. I don't know what the concerns amount to in the edit summary you linked. I am comfortable with sync to either your version or mine. The editor who closed {{ fix}} may have a comment but it appears those concerns were not recognized by anyone else. JJB 18:25, 21 June 2012 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Link still points to toolserver.org, which was shut down. Please change {{fullurl:tools:~dispenser/cgi-bin/dab_solver.py|page={{FULLPAGENAMEE}}&editintro=Template:Disambiguation_needed/editintro&client=Template:Dn}}
to http://dispenser.homenet.org/~dispenser/cgi-bin/dab_solver.py?page={{FULLPAGENAME}}&commonfixes=on
(or if you know a better way to form the link, change it to that).
ekips
39 04:57, 14 December 2014 (UTC)
{{FULLPAGENAMEE}}
with an extra E at the end is needed to encode characters for url's. At
Wikipedia:Village pump (technical)/Archive 132#What redirects links here I suggested http://dispenser.homenet.org/~dispenser/cgi-bin/dab_solver.py?page={{FULLPAGENAMEE}}&editintro=Template:Disambiguation_needed/editintro&client=Template:Dn
to be similar to the old url. editintro=Template:Disambiguation_needed/editintro
displays
Template:Disambiguation needed/editintro at the top. I don't know whether client=Template:Dn
does something.
PrimeHunter (
talk) 12:29, 14 December 2014 (UTC) Done
R'n'B (
call me Russ) 12:50, 14 December 2014 (UTC)
I propose changing the text displayed by this template from "Disambiguation needed" to "Ambiguous link." Saying something is ambiguous is clearer and more straightforward than saying it "needs disambiguation". We don't tell our kids that their rooms need to be un-dirtied. Please comment. -- R'n'B ( call me Russ) 16:55, 13 February 2016 (UTC)
I propose to have a parameter added so that a topic can be added, with tags including the topic also added to a category for fixes needed within that topic. For example, so that {{disambiguation needed|topic=math}} would add the page to a Category:Articles with math terms needing disambiguation. The parameter would need to be set up so that a missing or nonsense term would have no effect. Likely categories would include math, physics, anatomy, placenames (possibly further divided into placenames in likely countries like the U.S., France, Poland, Serbia, Ukraine, Russia, India, Pakistan, China, Japan, etc.), and, of course footballers. If anyone has the template skills to do this, let me know. Cheers! bd2412 T 23:03, 21 March 2017 (UTC)
Has the link been moved or replaced so it can be appropriately repaired in this template? It appears to be affecting the DAB notification talk message template as well. — RedSoxFan274 (talk ~contribs) 22:15, 24 August 2017 (UTC)
@ RedSoxFan274: try this link [2]. Plantdrew ( talk) 23:38, 24 August 2017 (UTC)
Equate |Date= to |date=.
Why selfish? I have a sticking shift key, and it's a pain to have to check and sometimes to correct the field after posting. Narky Blert ( talk) 23:12, 14 January 2018 (UTC)