User:WikiCleanerBot#T21

{{bot|NicoV|status=approved}}

{{WPCleaner}}

{{Userboxside|My userboxes|

{{Wikipedia:WPCleaner/Userbox}}

}}

Account used by NicoV when using WPCleaner in bot mode. This account has the bot flag.

If you think the bot has made a mistake during an edit, please contact the bot operator directly, rather than simply reverting its edit (it's a bot, it will probably apply the same modification again in the future, and it's not going to be tired of doing so...).

Tasks

class="wikitable" width="100%"
width="50px" | Taskwidth="100px" | StatusDescriptionwidth="120px" | Frequency
Task 1

| {{approved}}

| {{Anchor|T1}}

Analyze dump files to update [https://en.wikipedia.org/wiki/Special:PrefixIndex?prefix=CHECKWIKI%2FWPC&namespace=4 Wikipedia:CHECKWIKI/WPC xxx dump], Wikipedia:WikiProject Check Wikipedia/ISBN errors‎, and Wikipedia:WikiProject Check Wikipedia/ISSN errors‎.

Other tasks have been grouped with this task. They can be performed before the dump analysis:

  • Fix some {{CW|2}}: Tags with incorrect syntax (task 5)
  • Fix some {{CW|7}}: Headings all start with three "=" (task 19)
  • Fix some {{CW|16}}: Unicode control character (task 5), see FAQ
  • Fix some {{CW|17}}: Category duplication (task 5)
  • Fix some {{CW|25}}: Heading hierarchy (task 19)
  • Fix some {{CW|46}}: Square brackets without correct beginning (task 3)
  • Fix some {{CW|61}}: Reference before punctuation (task 20)
  • Fix some {{CW|83}}: Heading start with three "=" and later with level two (task 19)
  • Fix some {{CW|85}}: Tag without content (task 5)
  • Fix some {{CW|88}}: DEFAULTSORT with a blank at first position (task 5)
  • Fix some {{CW|90}}: Internal link written as an external link (task 5)
  • Fix some {{CW|91}}: Interwiki link written as an external link (task 5)
  • Fix some {{CW|92}}: Headline double (task 16)
  • Fix some {{CW|513}}: Internal link in external link (task 17)
  • Fix some {{CW|534}}: bogus image options (task 22)

or after the dump analysis:

  • Fix some {{CW|2}}: Tags with incorrect syntax (task 5)
  • Fix some {{CW|7}}: Headings all start with three "=" (task 19)
  • Fix some {{CW|16}}: Unicode control character (task 5), see FAQ
  • Fix some {{CW|17}}: Category duplication (task 5)
  • Fix some {{CW|25}}: Heading hierarchy (task 19)
  • Fix some {{CW|83}}: Heading start with three "=" and later with level two (task 19)
  • Fix some {{CW|92}}: Headline double (task 16)
  • Fix some {{CW|106}}: ISSN with incorrect syntax (task 2)
  • Fix some {{CW|513}}: Internal link in external link (task 17)
  • Fix some {{CW|543}}: Pipe in external link (task 4)
  • Fix some {{CW|548}}: Punctuation in link (task 12)
  • Fix some {{CW|549}}: Split link (task 13)
  • Fix some {{CW|550}}: Link without text (task 14)
  • Fix some {{CW|551}}: Empty line (task 15)
  • Fix some {{CW|553}}: {{tag|nowiki|v}} after internal link (task 18)
  • Fix some {{CW|557}}: Missing whitespace before a link (task 21).
  • Fix some {{CW|558}}: Duplicated references (task 23).
  • Fix some {{CW|565}}: {{tag|nowiki|v}} tag between bold/italic (task 24).
  • Fix some {{CW|567}}: Non-numeric formatnum arguments (task 26).
  • Fix some {{CW|569}}: Non-breaking space in template parameter name (task 27).

Some other edits can also be performed with non-cosmetic edits:

| Twice a month

Task 2

| {{approved}}

| {{Anchor|T2}}

Fix some {{CW|106}}: ISSN with incorrect syntax

| Twice a month

Task 3

| {{approved}}

| {{Anchor|T3}}

Fix some {{CW|46}}: Square brackets without correct beginning

| Twice a month

Task 4

| {{approved}}

| {{Anchor|T4}}

Fix some {{CW|543}}: Pipe in external link

| Twice a month

Task 5

| {{approved}}

| {{Anchor|T5}}

Fix various WP:WCW errors:

  • Some {{CW|2}}: Tags with incorrect syntax
  • Some {{CW|16}}: Unicode control character, see FAQ
  • Some {{CW|17}}: Category duplication
  • Some {{CW|85}}: Tag without content
  • Some {{CW|88}}: DEFAULTSORT with a blank at first position
  • Some {{CW|90}}: Internal link written as an external link
  • Some {{CW|91}}: Interwiki link written as an external link

| Twice a month

Task 6

| {{approved}}

| {{Anchor|T6}}

Fix {{CW|1}} (Template contains useless word Template:). As this is a cosmetic edit, it's only done alongside other approved tasks.

| With other tasks

Task 7

| {{approved}}

| {{Anchor|T7}}

Fix Special:LintErrors/missing-end-tag: {{CW|532}} (missing end tag) and {{CW|540}} (missing end bold/italic).

| Twice a month

Task 8

| {{approved}}

| {{Anchor|T8}}

Fix {{CW|64}} (Link equal to link text). As this is a cosmetic edit, it's only done alongside other approved tasks.

| With other tasks

Task 9

| {{approved}}

| {{Anchor|T9}}

Fix {{CW|48}} (Title linked in text). As this is a cosmetic edit, it's only done alongside other approved tasks.

| With other tasks

Task 10

| {{approved}}

| {{Anchor|T10}}

Fix Special:LintErrors/misnested-tag: {{CW|539}} (misnested tag).

| Twice a month

Task 11

| {{approved}}

| {{Anchor|T11}}

Fix {{CW|547}} (empty list item). As this is a cosmetic edit, it's only done alongside other approved tasks.

| With other tasks

Task 12

| {{approved}}

| {{Anchor|T12}}

Fix {{CW|548}} (punctuation in link).

| Twice a month

Task 13

| {{approved}}

| {{Anchor|T13}}

Fix {{CW|549}} (split link).

| Twice a month

Task 14

| {{approved}}

| {{Anchor|T14}}

Fix {{CW|550}} (link without text).

| Twice a month

Task 15

| {{approved}}

| {{Anchor|T15}}

Fix {{CW|551}} (empty line).

| Twice a month

Task 16

| {{approved}}

| {{Anchor|T16}}

Fix {{CW|92}} (headline double). Namespaces: main and file.

| Twice a month

Task 17

| {{approved}}

| {{Anchor|T17}}

Fix Special:LintErrors/wikilink-in-extlink: {{CW|513}} (internal link in external link).

| Twice a month

Task 18

| {{approved}}

| {{Anchor|T18}}

Fix {{CW|553}} ({{tag|nowiki|v}} tag after internal link).

| Twice a month

Task 19

| {{approved}}

| {{Anchor|T19}}

Fix various WP:WCW errors related to headings hierarchy:

  • Fix {{CW|7}} (headings all start with three "=")
  • Fix {{CW|19}} (heading starts with one "=")
  • Fix {{CW|25}} (heading hierarchy)
  • Fix {{CW|83}} (heading start with three "=" and later with level two)

| Twice a month

Task 20

| {{approved}}

| {{Anchor|T20}}

Fix {{CW|61}} (reference before punctuation). This follows the Manual of Style, especially the Punctuation and footnotes section.

The automatic modification can be prevented by adding a HTML comment (<!-- -->) between the reference and the punctuation.

| Twice a month

Task 21

| {{approved}}

| {{Anchor|T21}}

Fix {{CW|557}} (missing whitespace before a link).

| Twice a month

Task 22

| {{approved}}

| {{Anchor|T22}}

Fix Special:LintErrors/bogus-image-options: {{CW|534}} (bogus image options).

| Twice a month

Task 23

| {{approved}}

| {{Anchor|T23}}

Fix {{CW|558}} (duplicated reference).

| Twice a month

Task 24

| {{approved}}

| {{Anchor|T24}}

Fix {{CW|565}} ({{tag|nowiki|v}} tag between bold/italic).

| Twice a month

Task 25

| {{approved}}

| {{Anchor|T25}}

Fix {{CW|555}} ({{tag|nowiki|v}} tag in text). As this is a cosmetic edit, it's only done alongside other approved tasks.

| With other tasks

Task 26

| {{approved}}

| {{Anchor|T26}}

Fix {{CW|567}} (non-numeric formatnum arguments).

| Twice a month

Task 27

| {{approved}}

| {{Anchor|T27}}

Fix {{CW|569}} (non-breaking space in template parameter name).

| Twice a month

[[WP:WCW|Check Wiki errors]]

width="100%" class="wikitable"

! colspan=21 scope=col | Errors from Check Wiki project handled by WikiCleanerBot (dump analysis)

scope=row | 001-020

| style="background-color:yellow;" | 001

| style="background-color:lightgreen;" | 002

| style="background-color:beige;" | 003

| style="background-color:beige;" | 004

| style="background-color:beige;" | 005

| 006

| style="background-color:lightgreen;" | 007

| style="background-color:beige;" | 008

| style="background-color:beige;" | 009

| 010

| style="background-color:black;" | 011

| 012

| style="background-color:beige;" | 013

| style="background-color:beige;" | 014

| style="background-color:beige;" | 015

| style="background-color:lightgreen;" | 016

| style="background-color:lightgreen;" | 017

| style="background-color:black;" | 018

| style="background-color:beige;" | 019

| style="background-color:beige;" | 020

scope=row | 021-040

| style="background-color:black;" | 021

| style="background-color:black;" | 022

| style="background-color:beige;" | 023

| style="background-color:beige;" | 024

| style="background-color:lightgreen;" | 025

| style="background-color:beige;" | 026

| style="background-color:black;" | 027

| style="background-color:beige;" | 028

| style="background-color:beige;" | 029

| 030

| 031

| 032

| style="background-color:black;" | 033

| 034

| 035

| 036

| 037

| style="background-color:beige;" | 038

| 039

| 040

scope=row | 041-060

| style="background-color:black;" | 041

| style="background-color:beige;" | 042

| 043

| 044

| 045

| style="background-color:lightgreen;" | 046

| 047

| style="background-color:yellow;" | 048

| 049

| style="background-color:black;" | 050

| 051

| 052

| 053

| style="background-color:beige;" | 054

| style="background-color:beige;" | 055

| style="background-color:black;" | 056

| 057

| 058

| 059

| 060

scope=row | 061-080

| style="background-color:lightgreen;" | 061

| 062

| 063

| style="background-color:yellow;" | 064

| 065

| 066

| style="background-color:black;" | 067

| style="background-color:black;" | 068

| style="background-color:beige;" | 069

| style="background-color:beige;" | 070

| style="background-color:beige;" | 071

| style="background-color:beige;" | 072

| style="background-color:beige;" | 073

| 074

| style="background-color:black;" | 075

| 076

| style="background-color:black;" | 077

| 078

| 079

| 080

scope=row | 081-100

| style="background-color:black;" | 081

| style="background-color:black;" | 082

| style="background-color:lightgreen;" | 083

| style="background-color:black;" | 084

| style="background-color:lightgreen;" | 085

| 086

| style="background-color:black;" | 087

| style="background-color:lightgreen;" | 088

| 089

| style="background-color:lightgreen;" | 090

| style="background-color:lightgreen;" | 091

| style="background-color:lightgreen;" | 092

| 093

| 094

| 095

| 096

| 097

| style="background-color:beige;" | 098

| style="background-color:beige;" | 099

| style="background-color:beige;" | 100

scope=row | 101-120

| style="background-color:beige;" | 101

| style="background-color:beige;" | 102

| style="background-color:beige;" | 103

| style="background-color:beige;" | 104

| style="background-color:beige;" | 105

| style="background-color:lightgreen;" | 106

| style="background-color:beige;" | 107

| style="background-color:beige;" | 108

| style="background-color:beige;" | 109

| style="background-color:black;" | 110

| style="background-color:beige;" | 111

| 112

| 113

| || || || || || ||

scope=row | 501-520

| style="background-color:darkgrey;" | 501

| 502 || 503

| style="background-color:beige;" | 504

| 505 || 506 || 507 || 508 || 509 || 510 || 511 || 512

| style="background-color:lightgreen;" | 513

| 514 || 515 || 516 || 517 || 518 || 519 || 520

scope=row | 521-540

| 521 || 522 || 523 || 524 || 525

| style="background-color:beige;" | 526

| 527 || 528 || 529 || 530 || 531

| style="background-color:lightgreen;" | 532

| 533

| style="background-color:lightgreen;" | 534

| 535 || 536 || 537 || 538

| style="background-color:lightgreen;" | 539

| style="background-color:lightgreen;" | 540

scope=row | 541-560

| 541 || 542

| style="background-color:lightgreen;" | 543

| 544 || 545 || 546

| style="background-color:yellow;" | 547

| style="background-color:lightgreen;" | 548

| style="background-color:lightgreen;" | 549

| style="background-color:lightgreen;" | 550

| style="background-color:lightgreen;" | 551

| style="background-color:beige;" | 552

| style="background-color:lightgreen;" | 553

| style="background-color:beige;" | 554

| style="background-color:yellow;" | 555

| style="background-color:darkgrey;" | 556

| style="background-color:lightgreen;" | 557

| style="background-color:lightgreen;" | 558

| 559

| style="background-color:beige;" | 560

scope=row | 561-580

| 561

| style="background-color:beige;" | 562

| 563 || 564

| style="background-color:lightgreen;" | 565

| 566

| style="background-color:lightgreen;" | 567

| 568

| style="background-color:lightgreen;" | 569

| style="background-color:beige;" | 570

| style="background-color:beige;" | 571

| || || || || || || || ||

colspan=21 | {{Legend0|lightgreen|Authorized}} - {{Legend0|yellow|Only as a cosmetic fix}} - {{Legend0|beige|Dump analysis performed}} - {{Legend0|darkgrey|Dump analysis unnecessary}} - {{Legend0|black|Irrelevant for en.WP}}

Technical information

This bot is using WPCleaner to perform its edits. Tasks are defined by scripts, which can be found in [https://github.com/WPCleaner/wpcleaner/tree/master/WikipediaCleaner/resources/tasks/enwiki this folder in GitHub]. The main scripts that are run by WikiCleanerBot are:

  • [https://github.com/WPCleaner/wpcleaner/blob/master/WikipediaCleaner/resources/tasks/enwiki/ListCheckWiki.txt ListCheckWiki]: this is the main script, it orchestrates Task 1 and other tasks.
  • It fixes some of the errors reported by [https://checkwiki.toolforge.org/cgi-bin/checkwiki.cgi?project=enwiki&view=all CheckWiki project] (subscript [https://github.com/WPCleaner/wpcleaner/blob/master/WikipediaCleaner/resources/tasks/enwiki/ListCheckWiki_Before.txt ListCheckWiki_Before])
  • It analyzes the last dump file to produce [https://en.wikipedia.org/wiki/Special:PrefixIndex?prefix=CHECKWIKI%2FWPC&namespace=4 Wikipedia:CHECKWIKI/WPC list of errors for different problems] (subscript [https://github.com/WPCleaner/wpcleaner/blob/master/WikipediaCleaner/resources/tasks/enwiki/ListCheckWiki_List.txt ListCheckWiki_List])
  • It fixes some of the errors reported by the dump analysis (subscript [https://github.com/WPCleaner/wpcleaner/blob/master/WikipediaCleaner/resources/tasks/enwiki/ListCheckWiki_After.txt ListCheckWiki_After])
  • It generates a list of problems with ISBN and ISSN (subscript [https://github.com/WPCleaner/wpcleaner/blob/master/WikipediaCleaner/resources/tasks/enwiki/ISBN_ISSN.txt ISBN_ISSN])

Category:Wikipedia bots with Java source code published