Guild Wars 2 Wiki:Bots

From Guild Wars 2 Wiki
Jump to navigationJump to search

A bot account is a special user account which has been flagged so that its edits are hidden by default on Special:RecentChanges and Special:Watchlist (visibility can be toggled with the "Show bots" option). These accounts are used to run bot scripts, programs that automate the process of performing repetitive edits across multiple pages.

While it is possible for normal users to run automated editing scripts/programs without a bot account, this is generally discouraged due to the potential for disruption, since the edits cannot be hidden from RC; this disruption is compounded if a script malfunctions.

If a bot account is observed to be malfunctioning, it is usually possible to halt the bot by posting on its talk page.

Currently active bots[edit]

for a system-generated list of all bots, see Special:Listusers/bot

Bot tasks[edit]

Requests that have been declined and accepted tasks that have been successfully completed are eventually archived at /Resolved tasks, however they should first be posted on this page for visibility.

Requests and discussion[edit]

List requests for bot tasks below. Be as specific as possible about the actions necessary to perform the task.
  • I added a qty parameter to Template: Contains. I'm not sure how doable this is, but replace occurances of {{contains|xyz}} (abc) with {{contains|xyz|qty=abc}}. --BuffsEverywhere (talk) 20:45, 11 September 2022 (UTC)
Related: Template talk:Contains#Adding a quantity parameter. Nightsky (talk) 22:01, 11 September 2022 (UTC)
  • Add (skin) to the skin parameter in the infobox for the following pages (query): {{#ask: [[Has skin::+]][[Has skin.Has context::!Skin]]|limit=500}}
Note this query may not show all the pages that need updating while the wiki is populating semantic values. --BuffsEverywhere (talk) 20:25, 25 September 2022 (UTC)
Starting on this now. —Kvothe (talk) 19:35, 26 September 2022 (UTC)
Done. 550 pages edited. (Check query again before moving to archive.) —Kvothe (talk) 20:17, 26 September 2022 (UTC)
Edited another 53 pages. —Kvothe (talk) 11:42, 27 September 2022 (UTC)
Edited another 353 pages. —Kvothe (talk) 19:18, 27 September 2022 (UTC)
Counted them roughly, around 800 armor infoboxes and more than 2000 weapon infoboxes are still setting the skin parameter to a non-skin page. --Tolkyria (talk) 17:54, 28 September 2022 (UTC)
Edited another 3302 pages. A second pair of eyes checking if this is done would be appreciated. —Kvothe (talk) 00:28, 2 October 2022 (UTC)
There are 0 query results currently. Other than that, difficult to tell without the wiki behaving propperly; short of processing all pages oneself i suppose. Nightsky (talk) 21:33, 3 October 2022 (UTC)
I can't bother right now to count them again. Unlike SMW, a pure DPL query should always work. I wrote down a small DPL code to check all infoboxes, run through offset = 0...4500 for armor infoboxes and 0...5500 for weapon infoboxes in 500-steps. Unfortunately, it also triggers on equipment pages without a skin set, but I guess the bot should ignore these. Edit: Changed the result logic, infoboxes without skin are excluded now.
| uses = Template:Armor infobox
| include = {Armor infobox}:skin
| format = ,²{#if:²{#dpl:title=,¦uses=Template:Skin infobox¦resultsheader=yes¦count=1}²¦¦\n#[[%TITLE%]]}²,
| offset = 0
| ordermethod = title
Hopefully, after checking all these pages we are done with this task. --Tolkyria (talk) 21:52, 3 October 2022 (UTC)
Weapon infobox returned results with offset 6000 too. Edited 813 pages, skipped 52 pages with multiple skins. —Kvothe (talk) 13:04, 4 October 2022 (UTC)
  • Add (skin) to the skin parameter in the back item infobox for the pages listed on Tolkyria/Sandbox.
Starting now. —Kvothe (talk) 20:48, 26 September 2022 (UTC)
1Yes Done. 195 pages edited. —Kvothe (talk) 21:09, 26 September 2022 (UTC)
  • Update acqusition section to use {{gathered from}} on Ventari's weapons and armor. -Chieftain AlexUser Chieftain Alex sig.png 17:46, 13 October 2022 (UTC)
1Yes Done. -Chieftain AlexUser Chieftain Alex sig.png 17:46, 13 October 2022 (UTC)
1Yes Done, 45 pages edited. -Chieftain AlexUser Chieftain Alex sig.png 18:36, 6 November 2022 (UTC)
  • Create redirects for new LWS1 achievement names. -Chieftain AlexUser Chieftain Alex sig.png 23:51, 16 November 2022 (UTC)
Ended up reviewing where the page parameter had been specified first which took a while.
1Yes Done. 166 pages edited in total (85 new redirects, 81 existing redirects) - manually reviewed afterwards, caught a few weird ones. 63 pages didn't need editing as already existed. -Chieftain AlexUser Chieftain Alex sig.png 12:08, 19 November 2022 (UTC)