User:DumZiBoT/refLinks

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

The idea[edit]

References like these:

  • <ref>[http://www.google.fr]</ref>[1]
  • <ref>http://www.google.fr</ref>[2]

are converted into this:

  • <ref>[http://www.google.fr Google<!-- Bot generated title -->]</ref>[3]

They look like this:

  • The title which is used as the url title is the HTML title from the linked page. (from the <title> tag)
  • newlines, linefeeds, and tabs from titles are converted into a single space to avoid long titles. Extra spaces are also removed.
  • Titles containing ], several consecutive } or ' are handled correctly, converting some of the preceding characters to their html entities (This title enclose brackets [here])
  • When content-type is not text/html (medias, .doc, etc...), I can't automatically find a title, hence I only convert references to <ref>http://lien.org/doc.pdf</ref>.
  • Lengthy titles are arbitrarily truncated to 250 characters. When this happens, "..." is appended to the title.

Features[edit]

  • Reads the titles from PDF files
  • If a dead link is found, it is tagged using {{dead link}}
  • When no <references/> or {{reflist}} is in the page, <references/> is appended.
  • When duplicate references are found (i.e. references having the exact same content) only the first is kept, and a refname is added to the others ( example )

And what about server load?[edit]

The search for pages containing invalid references is made from the last XML dump. DumZiBoT only fetches from the servers pages that needed modifications at the time of the dump. (Some pages are downloaded but eventually do not need changes, because the references were fixed between the dump and the fetch.)

Could you use {{Cite web}} instead of the standard link syntax?[edit]

No. Read this talk page archive for further explanations.

Where do I request DumZiBoT to go through a specific page?[edit]

Nowhere. Just wait: DumZiBoT goes through every page that need a fix whenever a new dump is available.

Online tool[edit]

However, thanks to Dispenser, you can manually run DumZiBot's script on a page[dead link] or a modified script which makes more assumptions about references and formatting.

Where should I grumble report a problem?[edit]

Does DumZiBoT still make any edits?[edit]

No, DumZiBoT has not edited since June 2009.