Cannabis Ruderalis

Content deleted Content added
MSGJ (talk | contribs)
MSGJ (talk | contribs)
Line 162: Line 162:
**[[Template:LatinNameDisambig]] 0
**[[Template:LatinNameDisambig]] 0
**[[Template:SpeciesLatinNameDisambig]] 6
**[[Template:SpeciesLatinNameDisambig]] 6
* [[Template:Station disambiguation]] 1506
**[[Template:Station dab]] 0
}}
}}

Revision as of 20:53, 2 November 2020

Plain DISAMBIG magic word

@Evad37: I just had a look over this module's code, and it seems to be missing the case when a user specifies a plain __DISAMBIG__ magic word without using a template. I'm not sure how many disambiguation pages actually do this, but it's probably worth putting it in. Best — Mr. Stradivarius ♪ talk ♪ 04:23, 20 October 2020 (UTC)[reply]

About 7 pages according to this search, most of which already have a disambiguation template. But yeah, probably still worth checking for it. - Evad37 [talk] 23:16, 20 October 2020 (UTC)[reply]
 Done - Evad37 [talk] 22:47, 25 October 2020 (UTC)[reply]
Thanks! Mr. Stradivarius ♪ talk ♪ 11:59, 29 October 2020 (UTC)[reply]

Not working?

  • {{#invoke:Disambiguation|isDisambiguationPage|Abbas Kola}} → yes
    Abbas Kola is a dab-page
  • {{#invoke:Disambiguation|isDisambiguationPage|Kamenitsa}} → yes
    Kamenitsa is a dab-page
  • {{#invoke:Disambiguation|isDisambiguationPage|List of schools in Ireland}} → yes
    List of schools in Ireland is a dab-page

— Martin (MSGJ · talk) 22:37, 21 October 2020 (UTC)[reply]

@Evad37: can any improvement be made here? — Martin (MSGJ · talk) 20:05, 25 October 2020 (UTC)[reply]
 Fixed, was missing the {{geodis}} and {{schooldis}} templates - Evad37 [talk] 22:47, 25 October 2020 (UTC)[reply]
Thanks! I'll do a bit more testing, then look to implement this module in the class mask template — Martin (MSGJ · talk) 12:46, 26 October 2020 (UTC)[reply]

Found another few:

  • {{#invoke:Disambiguation|isDisambiguationPage|K7}} → yes
    K7 is a dab-page
  • {{#invoke:Disambiguation|isDisambiguationPage|2600}} → yes
    2600 is a dab-page
  • {{#invoke:Disambiguation|isDisambiguationPage|Lost Battalion}} → yes
    Lost Battalion is a dab-page

— Martin (MSGJ · talk) 18:14, 26 October 2020 (UTC)[reply]

I tried to add {{mil-unit-dis}} to the module and failed miserably. Please can someone help with this? — Martin (MSGJ · talk) 12:11, 29 October 2020 (UTC)[reply]

Sandbox:
  • 2600 -> yes (numberdis)
  • K7 -> yes (Letter-Number Combination Disambiguation)
  • Lost Battalion -> yes (mil-unit-dis).
Something to do with the pattern looking for dashes earlier in the list? --Izno (talk) 15:47, 29 October 2020 (UTC)[reply]
(Maybe. Moving mil-unit-dis doesn't fix it. --Izno (talk) 15:50, 29 October 2020 (UTC))[reply]
The dashes need escaping with %, which I have now done — Martin (MSGJ · talk)

Set index article

A set index article is not a dab page, but I think it might be useful to be able to detect them, whether with this module or a different one — Martin (MSGJ · talk) 18:13, 26 October 2020 (UTC)[reply]

  • {{#invoke:Disambiguation|isDisambiguationPage|War of independence}}
    War of independence is a set index article

Tracking

Category:Disambiguation pages not detected by Module:Disambiguation lists 0 pages which are tagged with {{WikiProject Disambiguation}} but whose subject pages are not detected as being dab pages by this module. They consist of:

— Martin (MSGJ · talk) 12:04, 27 October 2020 (UTC)[reply]

Methodology

There are 32 templates in Category:Disambiguation message boxes. Each one may have several redirects (e.g. Template:Place name disambiguation has 7). That is a lot of possibilities to check for, and there is nothing to stop editors creating a new template (or redirect) at any time. Is there any better approach we could take? — Martin (MSGJ · talk) 12:32, 27 October 2020 (UTC)[reply]

We could have a bot update a list of disambiguation templates, I suppose. — Mr. Stradivarius ♪ talk ♪ 12:01, 29 October 2020 (UTC)[reply]
It might also help if I look to see which redirects are not being used much and take them to RfD. By the way, could you help me with the request above? — Martin (MSGJ · talk) 12:12, 29 October 2020 (UTC)[reply]

Templates

Leave a Reply