|
|
Line 22: |
Line 22: |
|
| |
|
| ==External link review== | | ==External link review== |
| Help us fight against [[wikt:linkrot|link rot]] by correcting bad links that have been found by our automated script.<br /> | | Help us fight against [[wikt:linkrot|link rot]] by correcting bad links that have been found by our automated script. To learn the details of how to fix bad links, see the [[ValExtLinks|script's documentation]]. |
| | |
| The report on bad links is found '''[http://iritscen.oni2.net/val/ValExtLinks%20report.htm HERE]''' and is currently refreshed daily at 13:00 GMT. | | The report on bad links is found '''[http://iritscen.oni2.net/val/ValExtLinks%20report.htm HERE]''' and is currently refreshed daily at 13:00 GMT. |
|
| |
|
| ===How to fix bad links===
| | Current link problem count: About 240 bad links and 300 redirections. |
| *In most cases, fixing an [[wp:List_of_Japanese_Latin_alphabetic_abbreviations#N|"NG"]] link will mean finding the desired web page in the [http://www.archive.org Internet Archive] and linking to that archived page instead. In some cases, an "NG" link will not be recoverable and should be surrounded in nowiki tags [[Special:Diff/16377/26212|like this]] to prevent it from showing up in future reports.
| |
| *A link marked as "RD" is redirecting us to a new page. The new page should be evaluated, and if it has the content we intended to link to then we should update the link to point to the new location.
| |
| *A link marked as "IW" is an external link that could be an [[Help:Editing#Interwiki_links|interwiki link]]. Interwiki links are shorter and more resistant to rot. The suggested interwiki link markup will be given in the report. For Wikipedia, you can add a language code in order to link to a page in a specific language, e.g. <nowiki>[[wp:de:Test]]</nowiki>.
| |
| *A link marked as "EI" is an external link to a page on our own wiki that could simply be an [[Help:Editing#Intrawiki_links|intrawiki link]].
| |
| **Sometimes an "external internal" may seem to be necessary; for instance you may wish to link to a specific version of a page, which used to require putting the full URL, [http://wiki.oni2.net/w/index.php?title=Oni&oldid=7685 like this]. In fact, there's no need to link to any page at all, as the "ID" of an edit, like the one you see in that sample URL, is unique wiki-wide. All you need to do is supply the revision ID to the special Permalink page like this — [[Special:Permalink/7685]] — and you're done.
| |
| **Sometimes you need to link to a diff between two revisions of a page, or between two different pages. In this case you plug the old and new revision numbers into the special Diff page like this — [[Special:Diff/21491/21492]] (no need for page names as the revision IDs are unique, as explained above).
| |
| *Some links simply have to be written the way that they are, and some return error codes but actually work fine. These links can be listed in the [http://iritscen.oni2.net/val/exceptions.txt exceptions file] in order to hide them in future reports. Contact Iritscen to have new exceptions added to this list.
| |
| | |
| ===Background===
| |
| While MediaWiki makes it easy to find bad links to pages on our own wiki, marking them in red and providing tools like Wantedpages, there is no automatic check of external links. MediaWiki compiles all these links into a table, but it does not ping the URLs to see if they give any response. The most you are allowed to do is [[Special:LinkSearch|search]] through the links table, and even that isn't implemented well. Over the years, many links on our wiki have gone dead as the Web has changed and various file hosts have gone out of business.
| |
| | |
| So [[User:Iritscen|Iritscen]] has implemented an automated solution that will help us catch these problems more easily; a human hand will still be needed to fix the problems. Here's how it works: a couple times a day, a script written by [[User:Admin|Alloc]] dumps the wiki's external links table to [http://wiki.oni2.net/w/extlinks.csv this location]. Iritscen's Validate External Links script then walks through the table and looks for URLs that return problematic codes like 404. It will also detect other problems in the future. The script and related files are found [http://websvn.chrilly.net/listing.php?repname=Oni2&path=%2FValidate+External+Links%2F here].
| |
| | |
| ===Coming features===
| |
| *It seems that many external links no longer display the content that they were intended to display. In many cases, web sites are silently redirecting the user to their main page without using the appropriate code that indicates the content was not found. Only visual inspections of the pages can catch these issues. Once we have dealt with the low-hanging fruit of pages that return "NG" codes, the screenshot feature in the script will be activated, which will allow us to easily confirm if the "OK" links (and snapshots from the Internet Archive) are actually loading the intended page.
| |
|
| |
|
| ==PlayStation 2 port== | | ==PlayStation 2 port== |