Revision as of 18:19, 4 February 2008 editJtir (talk | contribs)4,773 edits ce; link; widen the banner so the text does not wrap (on my display, anyway)← Previous edit | Revision as of 21:40, 4 February 2008 edit undoNicDumZ (talk | contribs)Extended confirmed users983 edits mmh, better with a smaller width. Btw this is the standard alert message style from fr: :þNext edit → | ||
Line 28: | Line 28: | ||
== Hey, you forgot some links ! == | == Hey, you forgot some links ! == | ||
<table class="plainlinks ambox" style=" width: |
<table class="plainlinks ambox" style=" width: 80%; margin: 13px auto; border-collapse: collapse; background: #d9eaf6; border: 1px solid #4682b4; border-left: 10px solid #4682b4;"> | ||
<tr> | <tr> | ||
<td style="padding: 0.25em 0.5em;" width="65px" valign="middle">]</td> | <td style="padding: 0.25em 0.5em;" width="65px" valign="middle">]</td> |
Revision as of 21:40, 4 February 2008
What is DumZiBoT doing?
He is converting bare external links in references into named external links.
Here are some examples of his work: , , and here is what he is doing now.
He usually runs every time that a new XML dump is available.
His owner is NicDumZ.
The idea
References like these:
<ref></ref>
<ref>http://www.google.fr</ref>
are converted into this:
<ref></ref>
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, .pdf, .doc, etc...), I can't automatically find a title, hence I only convert references to<ref>http://lien.org/doc.pdf</ref>
.
Hey, you forgot some links !
If a link is unchanged after an edit by DumZiBoT, please check that you can access the linked page. If you think that a particular link was ignored by DumZiBoT because it's particular, please poke me. |
Some links may not be changed, even after DumZiBoT's run. These things may have occurred :
- The HTML linked page has no title (rare, but happens).
- DumZiBoT got an HTTP error while trying to get the page (see 4xx Client Error and 5xx Client Error). The link may be invalid, the page may not be available anymore, or may be protected. These links should be removed, but chances are that the error is temporary : That's why I do not remove these links on the basis of a single try ! Also, some pages, such as Google cache links, and Google books pages, give bots a 401/403 error although they're available.
- Either the link or the html title is blacklisted.
Blacklists
- Link blacklist : for now, only JSTOR links are ignored, since for non-registered users JSTOR gives the message: "JSTOR: Accessing JSTOR". Please contact me if you think that a particular domain should get blacklisted
- Title blacklist : Based on an original idea from Dispenser, I exclude links containing register, sign up, 404 not found, and so on.
And what about server load ?
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.)
Where should I grumble report a problem ?
- User Talk:NicDumZ, and not elsewhere =)