Abrir menu principal

UESPWiki β

UESPWiki:Bot Requests

Archive 1

This page can be used to request that one of the wiki's bots do something. Please click here to add a new request. All members of the community are welcome to make requests or comment on existing requests.

Some general guidelines for bot requests are:

  • The task should involve a large number of changes that would take a human an inordinate amount of time, or would be highly prone to errors.
  • The task should be non-controversial. If a member of the community is likely to object to the change, please bring it up on the Portal Comunitário first.

Our Bots and What They're Good At

  • HotnBOThered (HnB): HnB is based on a wiki editing framework and therefore is adaptable to a wide range of tasks. Many of its current tasks devolve into using a list of pages (typically defined by a Category, What Links Here, or user-specified) and replacing text such as links or template calls on those pages. While replacing data tends to be its main focus, it can also do information gathering, page moves/deletion/protection, and virtually anything else an editor can do on the wiki. HnB's ability to pull game data is still somewhat limited.

Click here to make a new request

Online Place Summary

Hi there, I was wondering if I could get a run through Category:Online-Places to make sure every page is using exactly and only the correct parameters of {{Online Place Summary}}. I've encountered numerous instances where the template is using clearable=, which was removed from the template early on, and does not have discoverable=, completion= or level=. I would suggest every instance be defaulted with these parameters (ideally in this order), including as blanks if they are not defined at all:

{{Online Place Summary

Any additional parameters (addabove, addbelow, lorepage, etc) should only be present if used, and removed otherwise; clearable= should be removed anyway, as it does not exist. skipmap=y should only be present if mapname is defined, otherwise it should be mapname=none and no skipmap. (skipmap is used so mapname can be defined and #saved without being shown, rather than when no mapname exists.) It would also be useful if all parameters were in the order specified in the /doc Parameters list for consistency, but that's more for my ease-of-use rather than of general benefit.

Edit: Just remembered that level/discoverable/completion are not needed for buildings or services. That's types Store, Marketplace, Bank, Inn, Stable, Barracks, Home, Chapel, Shrine, Ship, Temple, and things like that. Zones and Subzones also do not need discoverable/completion. 23:43, 1 August 2014 (GMT)

Thanks! --Enodoc (talk) 23:36, 1 August 2014 (GMT)

Just a quick clarification: should mapname always be set to "none" if it's currently blank or doesn't exist? Robin Hood  (talk) 02:00, 2 August 2014 (GMT)
Also, as I'm going through the data and the template itself, I'm noticing some other oddness. Anything with a marker_id is automatically added to the discoverable category, but only on some is the discoverable parameter filled in. This leads to locations like Bloodthorn Lair showing the Discoverable box, while others like Tormented Spire don't. Should I be doing anything in these cases?
Lastly, just based on how the template parameters are being used, I'm coming up with the following for a list of building/service types that don't need the level/completion/discoverable parameters: Artifact Gate, Bank, Barracks, Border Keep, Chapel, Dungeon, Guildhall, Home, Inn, Island, Marketplace, Outpost, Scroll Temple, Ship, Shrine, Stable, Store, Tower, Town Hall, Windmill. Is there anything in that list that I should not remove the parameters from? (Feel free to just edit this message and delete any where the parameters should be kept.) Robin Hood  (talk) 03:42, 2 August 2014 (GMT)
Overall, despite all the different rules, this is actually a moderately easy request, and most of it is designed already. Once I hear back from you, it should only take a few minutes tomorrow to tweak things and then I'll be able to run this. Robin Hood  (talk) 03:42, 2 August 2014 (GMT)
Yes to mapname being "none" if blank or missing.
Anything with a defined marker_id could be set to discoverable=Yes (Bloodthorn Lair, on that note, is a load of tosh, as it doesn't have an icon and isn't discoverable). [Note that the same does not apply for a defined marker_icon.]
That list looks good, although you can take off Island, as the only entry there seems to be comparable to an undiscoverable location rather than a building. The only "Dungeon" is Dragonstar Arena, and once we find out more about it that type will probably change anyway, so you can leave the parameters on that one. You can also add Keep to the list, as I don't think Keeps benefit from those parameters either. I changed the only Tower to a Fort, as Forts includes all PvE Towers, Keeps etc. I didn't know we had any Town Halls or Windmills, but I agree that they don't need them by default. So here's the list again: Artifact Gate, Bank, Barracks, Border Keep, Chapel, Guildhall, Home, Inn, Keep, Marketplace, Outpost, Scroll Temple, Ship, Shrine, Stable, Store, Town Hall, Windmill.
Thanks! --Enodoc (talk) 13:43, 2 August 2014 (GMT)
One keep, Rahni'Za had its discoverable parameter set to "Yes". Most had clearable set to "No", and the few remaining were blank. I'll ignore those and remove the parameters. It should be starting momentarily. Robin Hood  (talk) 19:19, 2 August 2014 (GMT)
I fixed Rahni'Za, it's actually a Fort. ("Keep" is only for the PvP objectives, "Fort" is for everything else). --Enodoc (talk) 19:25, 2 August 2014 (GMT)
Darn it I hate thinking of things after the fact. But sometimes you need the fact before you remember the things; anyway, here are those things:
  • Zones do not need zone
  • If somewhere has settlement but not location, entering location as blank breaks the settlement entry (fixable either by removing |location= again, or setting location equal to settlement [with links, as settlement is autolinked])
  • If somewhere has marker_icon, it does not need marker_id
Sorry about that :P --Enodoc (talk) 19:49, 2 August 2014 (GMT)
It's the nature of bot runs to have things like this happen. :) I'll make the changes and re-run shortly. Robin Hood  (talk) 19:54, 2 August 2014 (GMT)

() A brief false start where I tweaked the logic for mapname and goofed, but on random checks, everything looks good now. If anything else comes up, let me know. Robin Hood  (talk) 20:16, 2 August 2014 (GMT)

That's great, thanks! --Enodoc (talk) 21:26, 2 August 2014 (GMT)

Morrowind Redirects

For some reason, we don't have redirects for Morrowind plants (e.g. Morrowind:Hackle-Lo). Would it be practical to have a bot go through and create them? The plant names are all on the ingredients pages ("plant" parameter of {{Ingredient Summary}}). A lot of plants have the same name as the ingredient already (Morrowind:Heather etc). One exception to this request is Morrowind:Draggle Tail, which will need to become a disambig or full article since it has two ingredients. —Legoless (talk) 02:59, 31 August 2014 (GMT)

This should be relatively straight-forward, though I'd have the bot exclude Draggle-Tail altogether and just let a human do that one. For those cases where the page exists, should I just skip them or should I add a "(plant)" disambiguator? I guess it depends if you want the redirects to include a Morrowind-Plants category. And speaking of what to include, how does the following look for the page content? Is there anything else I should add?
<pre style="display:inline-block; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">#REDIRECT [[ingredient page]] [[Category:Morrowind-Plants]] [[Category:Redirects to Broader Subjects]]
I should be able to do this tomorrow. Robin Hood  (talk) 05:30, 31 August 2014 (GMT)
I'd say just skip the pages that already exist. Page content looks good. —Legoless (talk) 14:49, 31 August 2014 (GMT)
Category should be Morrowind-Flora, per other games. Silence is GoldenBreak the Silence 15:33, 31 August 2014 (GMT)
Okay, bot's done. There weren't actually that many to create. Robin Hood  (talk) 19:43, 1 September 2014 (GMT)

Template Removal/Change

Hi there, I was wondering if I could get a run through Online:Provisioning Ingredients/deprecated and Online:Recipes/deprecated to remove the calls to {{Item Link}}. It was expected that the old items would remain in the database with a different internal type, but that appears to not be the case, meaning the links are now completely redundant. It would be good if, instead, the {{ESO Quality Color}} template could be added so that the items retain their intended colour. Bold formatting will also need to be added so items keep their intended style.

For Recipes, this would mean:

  • {{Item Link|item|id|level|quality}} {{Item Link|(Recipe)|id|quality}}'''{{ESO Quality Color|quality|item}}''' (example)
  • {{Item Link|item|id|quality}}'''{{ESO Quality Color|quality|item}}'''

For Ingredients, this would mean:

  • {{fc|black|{{Item Link|id|item}}}}'''item'''
  • {{ESO Quality Color|quality|{{Item Link|id|item}}}}'''{{ESO Quality Color|quality|item}}'''

I may not have explained this in the best possible way, so please ask if you need any clarification. Thanks! --Enodoc (talk) 12:19, 6 June 2015 (UTC)

It might be good to hold off on this, in case we can get those items back in the database. —Legoless (talk) 13:39, 6 June 2015 (UTC)
Enodoc: your explanation was perfect. The examples really make it clear...examples are always good! Per Legoless, though, I'll hold off on it until we're sure. Robin Hood  (talk) 18:06, 6 June 2015 (UTC)


Could a bot go through and add {{LE}}s to the Online:Contraband entries? —Legoless (talk) 17:40, 15 July 2015 (UTC)

So, {{LE|Abecean Whale Buckle Wax}}, for example? Do I need to create redirects as well? Robin Hood  (talk) 20:27, 15 July 2015 (UTC)
That's correct. I don't think redirects are necessary. —Legoless (talk) 20:50, 15 July 2015 (UTC)
Okay, all done. Robin Hood  (talk) 04:40, 16 July 2015 (UTC)

Online Update

Hi there, I was wondering if I could get a run through Category:Online-Sets to add the new template {{Online Update}} (a wrapper of {{Cleanup}}). Some of the sets are changed during each major update, and it would be worth having a marker on them to make sure they are checked after each update is released. This is based on Jeancey's suggestion on the Community Portal. The format is {{Online Update|update=#}}, where # is the number of the most recent update. The current update is 7, and some set pages have not been changed since December, so {{Online Update|update=5}} would be the safest to add to the pages. Thanks! --Enodoc (talk) 18:52, 31 August 2015 (UTC)

That should be easy enough. I'll just wait a bit in case there are any objections or other thoughts, but if not, I'll run the job tomorrow. Robin Hood  (talk) 19:52, 31 August 2015 (UTC)
Okay, done! Robin Hood  (talk) 22:13, 1 September 2015 (UTC)


There have been some new set pages that haven't had the template added, but I don't know how many or which ones. Would it be possible to get a rerun of this job to add the template to those sets that are missing it? Since this was last run in September, it would probably be safe to add {{Online Update|update=7}} to these ones, rather than update=5. There may be some that are fully up-to-date, but we might as well play it safe. (Those pages that already have {{Online Update}} with any update= value don't need to be changed at all.) Thanks! --Enodoc (talk) 09:47, 10 February 2016 (UTC)

Done. Robin Hood  (talk) 19:56, 10 February 2016 (UTC)

Link change: Orsinium (city) → Orsinium

We're going to be moving the page Orsinium (city) to Orsinium, so please could we have a bot run through all links to Online:Orsinium (city) to change them to Online:Orsinium? Thanks! --Enodoc (talk) 01:05, 5 January 2016 (UTC)

Done. I didn't touch talk pages this time, since the only references I saw were in regards to moving the page, and wouldn't really have made sense to change. Also, the bot is inherently stupid, and doesn't know to optimize links like {{Lore Link|Orsinium|Orsinium}}, so those can either be done by hand or at some point, I can set up a bot job to optimize Lore Links (and maybe other templates) with redundant text. Robin Hood  (talk) 19:15, 5 January 2016 (UTC)
That is something I'm perfectly fine doing when I get back home, since most of those were because of me. :) Jeancey (talk) 19:29, 5 January 2016 (UTC)
Yeah, sure...you're just worried the bot'll get ahead of you again. :Þ Robin Hood  (talk) 19:34, 5 January 2016 (UTC)
I think I'm like 4-5k ahead at this point. Unless someone wants to add a new template to every NPC page, I think I'll be fine :) Jeancey (talk) 19:43, 5 January 2016 (UTC)

List generation: Place pages with self-defined categories

I was wondering if it would be possible to get a run through Category:Online-Places to get a list of all pages (recursive to subcategories, excluding redirects) which define their own categories; ie, they have [[Category: ... ]] on them somewhere outside of the templates. For example, Grethel's Vigil has [[Category:Online-Places-Camps]] defined at the bottom. Thanks! --Enodoc (talk) 01:19, 5 January 2016 (UTC)

There's the results of a quick test run on User:HotnBOThered/Results right now, which'll get you started. The real run is underway and will be properly formatted (oops) with the full set of results. That should take about 5 more minutes or so. Robin Hood  (talk) 19:31, 5 January 2016 (UTC)
That's great, thanks! I've copied the list out, so you're free to do whatever needs to be done with that page. --Enodoc (talk) 23:53, 5 January 2016 (UTC)

Magicka on Dead NPC Pages

Seeing as there was no opposition to the idea of including the Magicka values from the CS/CK for dead NPCs in this discussion, I was wondering if a bot could add the values from the game data to these articles and replace the other values that are currently there, if any. Summarizing the current status of these articles, for the majority of the Skyrim and Dragonborn dead NPC pages (respective categories here and here), no Magicka value is listed or the Magicka is stated to be 0. For the Oblivion and Shivering dead NPC pages (respective categories here and here), there seems to be a bit more variation. Some pages list the correct value from the CS while others simply document the Magicka for the character as being "N/A". Finally, the Morrowind and Bloodmoon pages (respective categories here and here) already list the value from the game data for the Magicka of these dead characters. However, I do believe there are a few articles here and there in these two namespaces that may not list the Magicka or document it as "N/A". So if the bot could also go through these categories as well, that would be helpful though not as important as the other categories in question. I could do those "by hand" if need be.

If you need lists of the articles that need Magicka values added and those that need Magicka values replaced instead of just the lists from the category pages, just let me know and I'll start working on one as soon as I can. Thanks in advance! Forfeit (talk) 00:35, 16 January 2016 (UTC)

Just wanted to respond to this to say that I've seen it and haven't forgotten about it. I haven't much been up to programming lately, so it may be a little while before this gets done. If you haven't seen any activity on this in the next week or so, though, feel free to message me just to make sure I haven't forgotten about it altogether. :) Robin Hood  (talk) 19:40, 17 January 2016 (UTC)
I've started looking into this, but calculating this stuff is different for each game, and there's a lot of roadblocks to getting it done on my end, since my system is no longer setup the way it was when I did the Dragonborn NPCs. Long story short, this is going to take quite a while. Robin Hood  (talk) 00:13, 26 January 2016 (UTC)
Would it just be simpler to do it by hand then? There's really not that many articles to check and edit so I can't imagine it taking too long to complete. If it's going to take a while and a lot of effort to write the bot's code for the job, it sort of defeats much of the purpose of using the bot anyways. Forfeit (talk) 00:50, 26 January 2016 (UTC)
I don't remember how Magicka is determined in Oblivion and Morrowind off-hand. If it's easy enough to do there, by all means, go ahead and do those ones by-hand and I'll focus on the Skyrim ones, which are fairly complex to calculate. Robin Hood  (talk) 02:22, 26 January 2016 (UTC)
I added the Magicka values for all the dead people in Morrowind, Bloodmoon, Oblivion, and Shivering who were missing them. It seems the common practice on all NPC pages is just to use what's called "Magicka Raw" in Morrowind and "NPC Magicka" in Oblivion on the CSList NPC entries after verifying that those values matched what was currently on the pages of multiple living characters. Similarly, the "Magicka" entry on the CSList pages for Skyrim NPC entries seems to match the values on the NPC pages in that namespace. I don't know if this will help you at all, but thought I'd mention it. Forfeit (talk) 04:03, 26 January 2016 (UTC)
Well, isn't that just freakin' handy! I recall there being some minor differences in how we did them in Dragonborn, but let's go with what's listed in CSList for now. Unfortunately, I don't have direct access to that in the CSList database (it's calculated by the CSList program itself), so we're still going to have to do them by hand, but even for as many as there are in Skyrim, that's still gonna be way faster than the programming I'd need to do. I'm off for the night, but I'll have a go at them tomorrow. Robin Hood  (talk) 05:07, 26 January 2016 (UTC)
Now that I've gotten into it, I remember the problem with the CSList formulas: they're wrong in some cases when the level is based on the PC's level. Thankfully, there aren't a lot of those. I've done 2/3 of the Skyrim ones. I'll do the rest, and the Dragonborn ones, tomorrow. I don't think you can help on those, cuz from the little I looked, the CSList doesn't give fixed-level magicka for dead characters, and the variable-level stuff might be wrong. Robin Hood  (talk) 03:48, 27 January 2016 (UTC)

() Okay, we're done! And now I have a whole new dead NPCs project to do, apparently. :-/ Robin Hood  (talk) 22:16, 27 January 2016 (UTC)

List generation: Cleanup pages mentioning Update 6

Would it be possible to get a run through Category:Online Pages Needing Cleanup specifically looking for pages which mention "Update 6" or "1.6.5" in the Cleanup template call? For example, Vampirism and Assault have this specific cleanup message on them. Thanks! --Enodoc (talk) 11:06, 8 February 2016 (UTC)

Done and on the bot's results page. I also had a look at {{Online Skill Summary}} templates for anything where update= was less than 6. There were none with a number specifically less than 6, but a dozen or so had no update number listed at all, so I added those to the page in case you want to check those out. Robin Hood  (talk) 22:02, 9 February 2016 (UTC)
Great, thanks! I've got the list out, so you can clean that page when you're ready. --Enodoc (talk) 00:24, 10 February 2016 (UTC)

lst transclusion: Contraband

Could I get a run through Category:Online-Contraband to change the value entries to use the new #lst sections that I created on Contraband?

Before -- After
"30 [[File:ON-icon-Gold.png|link=]]" -- "{{#lst:Online:Contraband|normal}}"
"100 [[File:ON-icon-Gold.png|link=]]" -- "{{#lst:Online:Contraband|fine}}"
"250 [[File:ON-icon-Gold.png|link=]]" -- "{{#lst:Online:Contraband|superior}}"
"750 [[File:ON-icon-Gold.png|link=]]" -- "{{#lst:Online:Contraband|epic}}"

An example can be seen here.

Alternatively, we could use {{Save Named Values}} on the Contraband page instead; do you know which would be more efficient? Thanks! --Enodoc (talk) 11:14, 8 February 2016 (UTC)

Would a template be better for contraband items? You put in the icon, name, desc and level and it formats it, makes the color and the price. It would just sort of condense what we have now, make it easier for a layman to edit, possibly. Jeancey (talk) 17:46, 8 February 2016 (UTC)
Possibly, as that would address both quality-based aspects directly. But if we ever wanted to add {{Item Link}}s to Contraband, which may be useful if people want to access the full database details, we'd end up nesting a template inside a template... I will create said template, and see how it looks. --Enodoc (talk) 11:29, 9 February 2016 (UTC)
Template created and implemented on Contraband Q. Seems to look ok and work fine, so I'll change this bot request to template implementation. To avoid confusion I'll start a new subsection for it. --Enodoc (talk) 13:40, 9 February 2016 (UTC)

Template implementation: ESO Contraband Item

Could we get a run through Category:Online-Contraband please, to implement the new template {{ESO Contraband Item}}? Template syntax is

{{ESO Contraband Item|icon|name|description|(tags)|quality=quality}}

The template includes table structure formatting (like Book Normal) so any row defines after the first |- can be removed. Contraband Q is the primary example page, but since that also includes aspects for after Thieves Guild launch, I also made the changes on Contraband Z so a direct diff can be seen.

In summary:- Table header change:


Table entry change:

|icon||'''{{ESO Quality Color|qual|{{LE|name}}}}'''||desc||data-sort-value=112|100 [[File:ON-icon-Gold.png|link=]]
{{ESO Contraband Item|icon|name|desc|quality=qual}}

Thanks! --Enodoc (talk) 13:40, 9 February 2016 (UTC)

Okay, this has been done now. You'll want to check it, but at a glance, it appears to have gotten everything. On a template note, would it work to start the template with |- instead of ending it with one? I think that way, you could eliminate the one after the header entirely. Robin Hood  (talk) 23:21, 9 February 2016 (UTC)
I checked a couple of pages, and it seems to have come out okay. Thanks! I actually tried that setup with |- above rather than below and it didn't work properly. I'm sure I could figure out what went wrong, but I thought in the short term it would just be easier to copy the way Book Normal does it, instead of working out the error. It was probably just an incorrect number of linebreaks, so I can always go back and look again some time.    ;)   --Enodoc (talk) 00:30, 10 February 2016 (UTC)

Contraband tags and #lst sectioning

Hey there, would it be possible to get a run through the Contraband pages to add the missing entries (primarily tags) to the {{ESO Contraband Item}} templates, as found in this this table ? (There's also wikitext and csv formats if they're easier for the bot to read.) "Value" to "Quality" equivalence is on the Contraband page.

Once the tags are in, would it be possible for the bot to enclose each template in #lst sections? So for tags "Magic Curiosities, Scrivener Supplies", you would have <section begin=MagicCuriosities /><section begin=ScrivenerSupplies /> above the template, and <section end=MagicCuriosities /><section end=ScrivenerSupplies /> below it. An example of this setup can be seen on Contraband Q, and some of the discussion can be seen at Online talk:Contraband.

Thanks! --Enodoc (talk) 13:23, 20 March 2016 (UTC)

So, you're saying I need to get off my butt, stop playing Bloons Monkey City, and actually do something? :) The CSV is probably the easiest to work with, but there's a slight problem with it, so I just e-mailed Dave. I can probably make do with one of the others for now, though. I'll get to work on it.
Should I be adding items that aren't there at all? For example, the very first item, "A Forge-Mother's Wisdom," 1st Edition, doesn't appear anywhere in the Contraband pages. Robin Hood  (talk) 20:25, 21 March 2016 (UTC)
I just added a vn parameter, so you can go ahead and add any missing items, and stick vn=1 at the end of them so people know they need to be confirmed in-game. Just to note that the csv version didn't directly include the itemId, so here's another csv link with that on. Thanks! --Enodoc (talk) 09:47, 22 March 2016 (UTC)
I was going to ask if you wanted that. What about quality? Should that go on too? Robin Hood  (talk) 15:45, 22 March 2016 (UTC)
Ah yeah, I couldn't remember if quality was an available field for dumpMinedItems. If it is, then that would be quicker than using value, since the template doesn't actually use value. Basically, anything you can get that's in the {{ESO Contraband Item}} parameters would be great  :) Thanks! --Enodoc (talk) 15:59, 22 March 2016 (UTC)
Okay, I'll get to work on it. Technically, I already got started yesterday, but I got side-tracked making a better CSV reader. :) Robin Hood  (talk) 18:18, 22 March 2016 (UTC)
Going slowly, cuz I keep getting distracted, but I did notice one anomaly today that I wanted to ask about. I have one item that has the same name, but two different entries, the Crystal Wine Decanter.
Description Value Tags Quality ID
A stoppered wine decanter of fine crystal. 100 Drinkware Fine 189778
A beautiful wine decanter of cut glass crystal, in the shape of a snowy owl taking flight. 250 Drinkware, Statues Superior 197746
I wanted to run it by you in case this is an indication that I'm doing something wrong, like looking at items I shouldn't be or whatever. Thanks! Robin Hood  (talk) 07:38, 24 March 2016 (UTC)
That seems to be theoretically fine; I don't think you're doing anything wrong, just an anomalous entry. Add them both, and we can leave it to whoever is verifying whether they both actually exist or not. --Enodoc (talk) 09:27, 24 March 2016 (UTC)

() Okay, the bot's doing its thing. When it's done, it'll post a bunch of things on the Results page. The items in the first table will need to be reviewed to make sure that no text has been removed that we'd want to keep (e.g., templates, notes about the item, that sort of thing). The two sections after that are mostly "just in case". The renamed items will have attempted to copy the icons/description to the new name, where appropriate, so I've noted them in case I made any incorrect assumptions about items that should be treated the same. The removed items simply don't appear in the current list, so if we want them kept in the tables, we'd have to edit the older versions and copy the data back into the table.

Lastly, since there are now two items that start with numbers, I re-enabled the "Numeric" option in the top menu for the Contraband pages. Robin Hood  (talk) 03:29, 26 March 2016 (UTC)

That's great, thanks! --Enodoc (talk) 11:17, 26 March 2016 (UTC)
Sorry for the header row changes. That was what was on Contraband Q, so I just followed the pattern everywhere, figuring that's what you wanted.
I'll keep the code around, so we can use it again whenever the next update comes out. I've already made improvements on it so there won't be as much to check next time. Robin Hood  (talk) 15:53, 26 March 2016 (UTC)