Topic on Project:Support desk

Wanted Templates is showing non templates?

12
203.185.197.46 (talkcontribs)

I have imported wikipedia using importDump.php. I have been looking over some of the missing templates via Special:WantedTemplates. the problem is that I am limited to 1000 templates and most of the templates that are now showing are not templates at all. According to wikipedia they are using Template as a magic word (https://en.wikipedia.org/wiki/Template:SHORTDESC). EG


Template:SHORTDESC:Township in Minnesota, United States‏‎ (870 links)

Template:SHORTDESC:Village in Illinois, United States‏‎ (838 links)

Template:SHORTDESC:City in :Template:Country data Iowa, United States‏‎ (828 links)

Template:SHORTDESC:Township in Michigan, United States‏‎ (554 links)

Template:SHORTDESC:City in Kansas, United States‏‎ (500 links)

Template:SHORTDESC:Civil township in Michigan, United States‏‎ (477 links)

Template:SHORTDESC:Town in Indiana, United States‏‎ (411 links)

Template:SHORTDESC:City in Kentucky, United States‏‎ (398 links)

Template:SHORTDESC:City in Minnesota, United States‏‎ (383 links)

Template:SHORTDESC:City in Georgia, United States‏‎ (377 links)

Template:SHORTDESC:Town in Maine, United States‏‎ (351 links)


Is there a way to make Special:WantedTemplates ignore Template:SHORTDESC so I can view the real missing templates?

DannyS712 (talkcontribs)

It shouldn't be used as a template, but when it is you can create {{SHORTDESC}} to remove it from the wanted templates

203.185.197.46 (talkcontribs)

Thanks for your reply. I tried creating a blank template (Template:SHORTDESC:) and I also copied wikipedias Template:SHORTDESC template (https://en.wikipedia.org/wiki/Template:SHORTDESC)


Unfortunately it is still showing up as missing templates :(

DannyS712 (talkcontribs)

Is the link showing as a redlink or a blue link (i.e. does the linker know it exists yet)? It should go away when it next refreshes

203.185.197.46 (talkcontribs)

"Template:SHORTDESC:Town in Massachusetts, United States"

"(201 links)" shows up as blue


Definitely is being cached I have updateSpecialPages.php running on a 2 minute cronjob

203.185.197.46 (talkcontribs)

What I meant to say is that Special:WantedTemplates is being updated and not cached old links

203.185.197.46 (talkcontribs)

"Template:SHORTDESC:Town in Massachusetts, United States" shows up as red

"(201 links)" shows up as blue

Ciencia Al Poder (talkcontribs)

If "Template:SHORTDESC" shows up as red, then you haven't created that template. I think you can't create an empty page, you may need to write some content to it. You can simply add <nowiki></nowiki> to it which won't output anything

203.185.197.46 (talkcontribs)

I have added <nowiki>%lt;/nowiki> to Template:SHORTDESC and to Template:SHORTDESC:


All of the links are still showing up as red.

Ciencia Al Poder (talkcontribs)

Sorry, I didn't notice my comment was mangled. Check again. It's nowiki tags

203.185.197.46 (talkcontribs)
AhmadF.Cheema (talkcontribs)

Template:SHORTDESC:Township in Minnesota, United States‏‎ and Template:SHORTDESC:Village in Illinois, United States etc. aren't actually templates. The only template is Template:SHORTDESC.

Regarding your problem, try running RunJobs.php too. Maybe that'd help?

Reply to "Wanted Templates is showing non templates?"