User:FrescoBot/Details#Broken links
Here are some details and links about FrescoBot major tasks. If you have any doubt or suggestion you can contact me at User talk:Basilicofresco.
=Syntax=
Task 2 and Task 7: it a lot of syntax wikilink and links, included non-trivial spacing links. is the exceptions list. It category links and image links. I wish to use a more informative edit summary, but as you can see these regex fix a pretty large number of different syntax/spacing problems: this approach helps to keep as low as possible the number of edits. If you wonder why it is so important to clean syntax on Wikipedia take a look at Wikipedia:WikiProject Check Wikipedia.
=Broken links=
Task 3 and Task 4: the bot checks and tries to fix broken links to sections. It looks for case mismatch and spelling variations. This is an important task because even a simple case mismatch can break a section wikilink and these broken links will appear blue and not red. Please note that case mismatches do not break the section wikilink only with Internet Explorer.
=Link specificity=
With Task 12 the bot tries to improve, where possible without human intervention, the link specificity. Actually it is just enforcing Wikipedia:Manual of Style/Linking#Link specificity, Wikipedia:Manual of Style/Linking#Link clarity and intuitiveness in piped links.
Gallery problems
{{see also|Wikipedia:Bots/Requests for approval/FrescoBot 13}}
{{see also|Help:Gallery tag|Wikipedia:Uploading images}}
FrescoBot is fixing several problems also within image galleries. As usual I try to fix in one single edit many different problems.
- Syntax issues
- images inserted in the gallery with standard markup using square brackets (eg. [http://commons.wikimedia.org/w/index.php?title=Category:Josef_Arnold_der_Ältere&diff=prev&oldid=206995564], [http://commons.wikimedia.org/w/index.php?title=Category:Maasvlakte_2&diff=prev&oldid=206983687])
- nonexistent parameters like thumb, left, right, upright, size, etc.
File:Imagename.jpg|left|Description
-->File:Imagename.jpg|Description
([http://commons.wikimedia.org/w/index.php?title=Category:Falkenstein_(Upper_Palatinate)&diff=prev&oldid=206983145 example]) - empty and completely redundant gallery tags like
-->...
([http://commons.wikimedia.org/w/index.php?title=Category:Anton_Romako&diff=prev&oldid=206993807 example])... - multiple pipe characters after the filename [http://commons.wikimedia.org/w/index.php?title=Butterfly&diff=prev&oldid=206391560]
- missing pipe character after the filename [http://commons.wikimedia.org/w/index.php?title=Stamp&diff=prev&oldid=206664991]
- captions as image parameters and therefore not visible [http://commons.wikimedia.org/w/index.php?title=Richard_Armitage&diff=prev&oldid=206676974]
- categories mistakenly inserted in dummy galleries [http://commons.wikimedia.org/w/index.php?title=Category:Bezirk_Krems-Land&diff=prev&oldid=206993730]
- HTML tags problems
- tags not closed [http://commons.wikimedia.org/w/index.php?title=Justicia&diff=prev&oldid=206388091] [http://commons.wikimedia.org/w/index.php?title=Indigenous_peoples_of_the_Americas&diff=prev&oldid=206388801]
- pointless br tags at the end of the line [http://commons.wikimedia.org/w/index.php?title=Thelymitra_aristata&diff=prev&oldid=206389681]
- center tags without any content [http://commons.wikimedia.org/w/index.php?title=Piazze_di_Padova&diff=prev&oldid=206393445]
- center tags around galleries in packed mode [http://commons.wikimedia.org/w/index.php?title=Ciudad_Guatemala&diff=206393179&oldid=179507810]
- closing tags without the open tag [http://commons.wikimedia.org/w/index.php?title=Julia_Margaret_Cameron&diff=prev&oldid=206388996] [http://commons.wikimedia.org/w/index.php?title=Aabyhøj&diff=prev&oldid=207676540]
- other less common problems with tags
- Dummy caption: it will blank common dummy captions (eg. Add caption here) [http://commons.wikimedia.org/w/index.php?title=Australian_Shepherd_puppies&diff=prev&oldid=206389988] [http://commons.wikimedia.org/w/index.php?title=2007_United_Kingdom_floods&diff=prev&oldid=207619925]
- Duplicate images in the same gallery with the same description [http://commons.wikimedia.org/w/index.php?title=AMX-10_RC&diff=prev&oldid=207676003], [http://commons.wikimedia.org/w/index.php?title=Abraxas_sylvata&diff=prev&oldid=207677807]
- Nonexistent images
- lines without any valid image name (like [http://commons.wikimedia.org/w/index.php?title=George_Sand&diff=next&oldid=172410347], [http://commons.wikimedia.org/w/index.php?title=Bhuvankrishna&diff=prev&oldid=206388166], [http://commons.wikimedia.org/w/index.php?title=19th_Century_photography_in_Brazil&diff=prev&oldid=207591030])
- before removing any suspect invalid image the bot will check for the existence of the file [http://commons.wikimedia.org/w/index.php?title=Category:Joseph_Mulenga_Chipimo&diff=prev&oldid=207478096]
- if the file apparently does not exist then it will try to fix some common mistakes like a missing/extra | at the end/beginning of the filename [http://commons.wikimedia.org/w/index.php?title=Water_tower&diff=prev&oldid=206390081] [http://commons.wikimedia.org/w/index.php?title=Brick&diff=206391776&oldid=183557077]
- Invisibile characters
- invisible LTR (U+200E) and RTL (U+200F) marks in the filename area (completely useless) [http://commons.wikimedia.org/w/index.php?title=File:Platon-Confucius-Aristote.jpg&diff=prev&oldid=207682253]
- other invisible control characters (from U+2027 to U+202F) in the filename area (completely useless)
- unexpanded special strings
- unexpanded user signatures (3 or more tildes within the galleries) [https://commons.wikimedia.org/w/index.php?title=50e_anniversaire_du_film_La_grande_vadrouille_à_Meursault_-_Scène_du_gâteau_d'anniversaire_et_des_chaises_musicales&diff=prev&oldid=206389213]
- unexpanded magic words [http://commons.wikimedia.org/w/index.php?title=Warczewiczella_discolor&diff=prev&oldid=206394342]