Wikipedia:Bots/Requests for approval/SimplexityBot

This is an old revision of this page, as edited by Xaosflux (talk | contribs) at 12:47, 7 February 2018 (:{{BotApproved}} Task approved. ~~~~). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Operator: Simplexity22 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 21:52, Thursday, February 1, 2018 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): AWB

Source code available:

Function overview: Removes direct wikilinks to the same article.

Links to relevant discussions (where appropriate): All edits would be minor visual fixes, and this task has been approved in the past (e.g. Wikipedia:Bots/Requests for approval/MenoBot 4, checkwiki error 48), so I don't think discussion is necessary.

Edit period(s): Approximately once per month.

Estimated number of pages affected: 4000 initially, 100–200 per month thereafter.

Namespace(s): Mainspace

Exclusion compliant (Yes/No): Yes

Function details: Removes direct wikilinks (i.e. not including redirects) to the same article, using this list. Such links do not function, and appear bold inadvertently or improperly. Links that would already be bold (e.g. '''[[Link]]''' or <b>[[Link]]</b>) would be skipped, except in cases where the text would remain bold as a parameter of a template. Cases where the link is immediately preceded by ''' or <b> would be skipped.

  • On the article Word, [[word]] → word.
    • (regex: (?<!(?i)<b>(?-i)|''')\[\[(%%fullpagename%%)]] → $1)
  • Also on Word, [[word|text]] → text.
    • (regex: (?<!(?i)<b>(?-i)|''')\[\[%%fullpagename%%\|(.+?)]] → $1)

Discussion

So for example, on 10K this page will be skipped? — xaosflux Talk 18:24, 2 February 2018 (UTC)[reply]
@Xaosflux: Yes, that would be skipped. I've updated the wording above to be more clear. Simplexity22 (talk) 22:03, 2 February 2018 (UTC)[reply]
  Approved for trial (40 edits or 15 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete.xaosflux Talk 19:55, 3 February 2018 (UTC)[reply]
  Trial complete. Simplexity22 (talk) 21:49, 3 February 2018 (UTC)[reply]
@Simplexity22: Please update User:SimplexityBot with a description of the task. There are lots of ways to do this, any of them are OK. (Some examples: User:EarwigBot, User:MadmanBot, User:Fluxbot. (don't want to PING them) — xaosflux Talk 04:37, 7 February 2018 (UTC)[reply]
@Xaosflux: Done. Simplexity22 (talk) 05:16, 7 February 2018 (UTC)[reply]
  Approved. Task approved. — xaosflux Talk 12:47, 7 February 2018 (UTC)[reply]