Operator: Ladsgroup (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 16:05, Tuesday July 8, 2014 (UTC)
Automatic, Supervised, or Manual: Automatic
Programming language(s): python
Source code available: it's based on pywikibot
Function overview: Fixing broken section link or redirect
Links to relevant discussions (where appropriate):
Edit period(s): monthly or once in every two months
Estimated number of pages affected: about several thousands articles
Exclusion compliant (Yes/No): Yes as pywikibot does it by default
Adminbot (Yes/No): No
Already has a bot flag (Yes/No): Yes in here and lots of Wikis
Function details: It makes a list of broken section link or redirect and goes though them and fixes anything that can be done (e.g. name of the section has changed and the bot fixes it) I have ran this in Persian Wikipedia and now and I did 50 edits for test (to get the approval) in Italian Wikipedia as you can see them in here
Best :)
Ladsgroupبحث 16:05, 8 July 2014 (UTC)[reply]
Ladsgroup Do you know if this is similar to what User:FrescoBot does? Have you written the script? -- Magioladitis (talk) 16:49, 8 July 2014 (UTC)[reply]
:)
Ladsgroupبحث 16:55, 8 July 2014 (UTC)[reply]
:)
Ladsgroupبحث 17:09, 9 July 2014 (UTC)[reply]Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. -- Magioladitis (talk) 16:58, 8 July 2014 (UTC)[reply]
Basilicofresco what do you think of this bot? I would like your comment. -- Magioladitis (talk) 17:14, 9 July 2014 (UTC)[reply]
52 edits are done. :)
Ladsgroupبحث 13:33, 11 July 2014 (UTC)[reply]
Trial complete. Ladsgroup please provide link to diffs, comment your edits and report any errors you think were done during the process. -- Magioladitis (talk) 14:27, 11 July 2014 (UTC)[reply]
:)
Ladsgroupبحث 14:34, 11 July 2014 (UTC)[reply]GoingBatty I would also like your opinion on this bot. Thanks, Magioladitis (talk) 14:40, 11 July 2014 (UTC)[reply]
@GoingBatty:Talking technically, It goes through history to find out when was the last time that the invalid section had been seen before it was changed, so it gets two revisions, the last one with the invalid section and the revision after that, and analyzes the differences between them to see what happened and fixes the link if the new section still exists (my next step of development will be tracking down section title changes through history to fix more broken links) and about the edit, that was a stupid mistake in the code, I replaced "#oldsection" with "#newsection" so it changed all of them, and as my bot can't work on page.title() because of redirects but I will find a solution for it :)
Ladsgroupبحث 21:10, 11 July 2014 (UTC)[reply]
:)
Ladsgroupبحث 03:13, 12 July 2014 (UTC)[reply]
@GoingBatty: I checked the second edit. the issue happened because of this edit I can't say what fix would be the best solution, any comments is welcome :)
Ladsgroupبحث 21:16, 13 July 2014 (UTC)[reply]
Dear Magioladitis I pinged you because GoingBatty pinged and asked you to give me another trial period (see above:"Would it be appropriate to ask Ladsgroup to do another 50 edits, once the bot has been fixed?") Best :)
Ladsgroupبحث 23:43, 15 July 2014 (UTC)[reply]
Ladsgroup please provide as a link to diffs and comment your edits. Did you notice any problems? -- Magioladitis (talk) 08:58, 21 July 2014 (UTC)[reply]
Ladsgroup Please also tell us how many edits were reverted after the 2 bot trials, if any. -- Magioladitis (talk) 07:33, 26 July 2014 (UTC)[reply]
For example I think this is inappropriate. -- Magioladitis (talk) 07:34, 26 July 2014 (UTC)[reply]
This created a non working link. Bold/italics should not be added. In fact, bold should not be expected in headers but sometimes it is added by editors not familiar with the Manual of Style. -- Magioladitis (talk) 07:37, 26 July 2014 (UTC)[reply]
Ladsgroup Anchors should not be added. -- Magioladitis (talk)
This is the most worrying. Obviously, the correct section was removed. I found one more like that. -- Magioladitis (talk) 07:46, 26 July 2014 (UTC)[reply]
Ladsgroup there is also something important: You should review your own edits too and revert if there are any problems. -- Magioladitis (talk) 07:47, 26 July 2014 (UTC)[reply]
Now reviewing. Here is the link with the diffs of this run. -- Magioladitis (talk) 07:54, 26 July 2014 (UTC)[reply]
:)
Ladsgroupبحث 14:47, 26 July 2014 (UTC)[reply]@Magioladitis: I reverted the bot edits, Rewrote some parts of code and now it only fixes similar section names (to prevent errors) I run it for about 50 edits and checked about ten of them, they were okay. you can check them (the third run) Best :)
Ladsgroupoverleg 17:36, 1 August 2014 (UTC)[reply]
Here is the link with the diffs of the third run. Everyone who wish to comment please do so. -- Magioladitis (talk) 21:02, 1 August 2014 (UTC)[reply]
@Bgwhite, GoingBatty, Meno25, and Josve05a: I would like your comment of this third series of edits. You all have experience on fixing section links. -- Magioladitis (talk) 21:04, 1 August 2014 (UTC)[reply]
I checked all edits. Much better this time. This one does not look good since the old section still exists in the page or there is something I do not see. -- Magioladitis (talk) 15:41, 4 August 2014 (UTC)[reply]
Ladsgroup there was a single mistake. Can you do anything to fix it? -- Magioladitis (talk) 15:46, 4 August 2014 (UTC)[reply]
:)
Ladsgroupoverleg 17:38, 4 August 2014 (UTC)[reply]
Approved for extended trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. OK! Let's go for the fourth and most probably last round! I start to enjoy this! -- Magioladitis (talk) 20:07, 4 August 2014 (UTC)[reply]
:)
Ladsgroupoverleg 03:52, 6 August 2014 (UTC)[reply]Here is the link with the diffs of the fourth run. Everyone who wish to comment please do so. -- Magioladitis (talk) 10:19, 6 August 2014 (UTC)[reply]
Trial complete. -- Magioladitis (talk) 10:40, 6 August 2014 (UTC)[reply]
I did not spot any errors. -- Magioladitis (talk) 18:00, 20 August 2014 (UTC)[reply]
Approved. -- Magioladitis (talk) 18:02, 20 August 2014 (UTC)[reply]