User:FrescoBot/Details

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Bot details

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.

Link fixing[edit]

FrescoBot fixes some types of broken links.

  • Images from the Geograph British Isles project contain very often broken links like "63716" (eg. [1]). These links should point to other images from the same project. FrescoBot finds the right filename and fixes the link. Eg.
    [[63716]] --> [[:File:Gravelly Bottom Road - geograph.org.uk - 63716.jpg|63716]] (example)
  • The bot finds and tries to fix broken section wikilinks. It is important to note that even a simple case mismatch can break a section wikilink and these broken links will appear blue and not red. Case mismatches do not break the section wikilink only with Internet Explorer.

Link syntax[edit]

Invalid characters[edit]

Some characters are not allowed within page names but are present in few wikilinks and categories and cause problems. For example the misplaced invisible character U+200E (Left-to-right mark) inside links and categories creates problems with several tools.

External links[edit]

  • [HTTP://www.google.it link] --> [http://www.google.it link] = link --> link
  • [http://http://www.google.it link] --> [http://www.google.it link] = link --> link
  • [http:www.google.it link] --> [http://www.google.it link] = [http:www.google.it link] --> link
  • [http:/www.google.it link] --> [http://www.google.it link] = [http:/www.google.it link] --> link
  • [http:///www.google.it link] --> [http://www.google.it link] = link --> link
  • [[http://www.google.it link]] --> [http://www.google.it link] = [link] --> link
  • [[http://www.google.it link] --> [http://www.google.it link] = [link --> link
  • [http:://www.google.it link] --> [http://www.google.it link] = [http:://www.google.it link] --> link
  • [http//www.google.it link] --> [http://www.google.it link] = [http//www.google.it link] --> link
  • [http//www.google.it|link] --> [http://www.google.it link] = [http//www.google.it|link] --> link
  • [http//www.google.it"link"] --> [http://www.google.it "link"] = [http//www.google.it"link"] --> "link"
  • something[http://www.google.it link] --> something [http://www.google.it link] = somethinglink --> something link
  • [http://www.google.it link]something --> [http://www.google.it link] something = linksomething--> link something
  • few other very rare variants - (manually assisted)
  • [http://images.google.com/imgres?imgurl=http://habitant.org/images/stignatius.jpg&imgrefurl=http://habitant.org/houghton/fcgenealogy.htm&h=287&w=320&sz=29&hl=en&start=33&um=1&tbnid=ibPawlbIEskUcM:&tbnh=106&tbnw=118&prev=/images%3Fq%3DHoughton%2BMI%26start%3D20%26ndsp%3D20%26svnum%3D10%26um%3D1%26hl%3Den%26sa%3DN Flat Broke Blues Band Photo Album] --> [http://www.flatbrokebluesband.com/photos.php Flat Broke Blues Band Photo Album] = Flat Broke Blues Band Photo Album --> Flat Broke Blues Band Photo Album
  • [http://images.google.com/imgres?imgurl=http://habitant.org/images/stignatius.jpg&imgrefurl=http://habitant.org/houghton/fcgenealogy.htm&h=287&w=320&sz=29&hl=en&start=33&um=1&tbnid=ibPawlbIEskUcM:&tbnh=106&tbnw=118&prev=/images%3Fq%3DHoughton%2BMI%26start%3D20%26ndsp%3D20%26svnum%3D10%26um%3D1%26hl%3Den%26sa%3DN Google Image Result for http://www.flatbrokebluesband.com/photos.php<!-- Bot generated title -->] --> [http://www.flatbrokebluesband.com/photos.php] = Google Image Result for http://www.flatbrokebluesband.com/photos.php --> [2]
  • [http://www.pappappero.com/photos.php. description] --> [http://www.pappappero.com/photos.php description]
  • some common url encoding problems (eg. [ ] " characters)

Wikilinks[edit]

  • [[Brahin (meteorite|Brahin]] --> [[Brahin (meteorite)|Brahin]]
  • [[Sonar||sidescan sonar]] --> [[Sonar|sidescan sonar]] = |sidescan sonar --> sidescan sonar
  • [['''''sonar''''']] --> '''''[[sonar]]''''' = '''''sonar''''' --> sonar
  • [['''sonar''']] --> '''[[sonar]]''' = '''sonar''' --> sonar
  • [[''sonar'']] --> ''[[sonar]]'' = ''sonar'' --> sonar
  • [["sonar"]] --> "[[sonar]]" = "sonar" --> "sonar" - I will avoid the few (24 on en.wiki) exceptions, eg. "Them"
  • [[(sonar)]] --> ([[sonar]]) = (sonar) --> (sonar) - I will avoid the few (28 on en.wiki) exceptions, eg. (not adam)
  • [['sonar']] --> '[[sonar]]' = 'sonar' --> 'sonar' - I will avoid the few (1 on en.wiki) exceptions, eg. 'Hours'
  • [[sonar,]] --> [[sonar]], = sonar, --> sonar, - I will avoid the few (1 on en.wiki) exceptions, eg. Alors voilà,
  • something[[sonar]] --> something [[sonar]] = somethingsonar --> something sonar
  • something[[ sonar]] --> something [[sonar]] = something sonar --> something sonar
  • [[1992-1998]] --> [[1992]]-[[1998]]
  • [[1992-98]] --> [[1992]]-[[1998|98]]
  • other less common problems

Fake external links[edit]

A "fake external link" is an internal link inserted with the external link markup. It is important to use the proper wiki markup for the internal links: broken links appear red, WhatLinksHere works, etc. See: Commons:Village_pump/Copyright/Archive/2012/06#Conversion of fake external links within attribution or source.

  • [http://commons.wikimedia.org/wiki/Image:Granada_-_Mapa_municipal.svg] --> [[:Image:Granada - Mapa municipal.svg]]
  • [http://commons.wikimedia.org/wiki/Main_Page Wikimedia Commons] --> [[Main Page|Wikimedia Commons]]

Link specificity[edit]

Link specificity means to link to the article on the most specific topic appropriate to the context from which you link. In order to preserve a good link clarity and intuitiveness it is important to avoid links like these:

  • [[Maps of Azerbaijan|Maps]] of [[Azerbaijan]], use instead [[Maps of Azerbaijan]] ("maps" link lacks of intuitiveness and Azerbaijan is less specific)
  • [[Loire River|Loire]] River, use instead [[Loire River]] ("Loire" link lacks of intuitiveness: is it about Loire region or Loire river? There is no reason to use a pipe link.)
  • Canton of [[Canton of Fribourg|Fribourg]], use instead [[Canton of Fribourg]] (as above)

File moving[edit]

FrescoBot sometimes will move filenames with technical problems, conforming to the renaming guideline and to the community consensus.