Category talk:Pages using duplicate arguments in template calls

From Guild Wars Wiki
Jump to navigationJump to search

Is it possible to change the sorting of this page to put all User pages under U and Guild pages under G? Or at least view this page without userpages in it? I don't want to go into other people's userspace to fix their templates, and it makes it hard to sift through a long list to find the mainspace articles. Other maintenance categories would benefit from that, as well. Blue Totoro 16:13, 11 February 2018 (UTC)

Try tossing this DPL call in a sandbox:
{{#DPL:
| namespace = 
| category = Pages using duplicate arguments in template calls
}}
(the blank namespace will limit it to Main) - Tanetris (talk) 17:06, 11 February 2018 (UTC)
That's perfect, thank you! Blue Totoro 17:10, 11 February 2018 (UTC)

Overwhelming amount of user pages due to a handful of copy-pasted user templates[edit]

So a lot of these duplicate calls originate from indiscriminately copying a source template's use instructions that inherently include duplicate template calls. Per example, Wynthyst's vanquish tracker template has a duplicate call for E26 and the average user will not understand why it is there. As a result they simply copy the code and fill in both calls as if that's some odd necessity, which results in their page ending up in this category. What can we do about these things retroactively without manually sifting through each and every page to remove any duplicate calls? Or is that the only way to clean this mess? - Infinite - talk 15:54, 26 December 2020 (UTC)

It's definitely something you could bot, it'd probably be doable in autowikibrowser as long as you get the search/replaces right. The hard part will be determining exactly how many templates (and which arguments) have this issue, though we could just iteratively run through the list every time we discover a template/dupe argument combo (the list will shrink each time, which helps). A more complicated bot could make most of these determinations itself, but I fear I'd mess that coding up (someone must have already had this problem before though...). Toraen - talk 16:12, 27 December 2020 (UTC)