Jump to content

OniGalore:Current events: Difference between revisions

making "external link review" into its own section, though it is a WIP at the moment
m (→‎General wiki work: adding mention of categorizing character images too; giving samples of decent class articles)
(making "external link review" into its own section, though it is a WIP at the moment)
Line 16: Line 16:
*Look at the list of [[:Category:Flagged articles|flagged articles]] and see if there's anything you can help out with. There are a number of articles which need to be updated or finished.
*Look at the list of [[:Category:Flagged articles|flagged articles]] and see if there's anything you can help out with. There are a number of articles which need to be updated or finished.
*Just browse [[Special:Wantedpages]], and pick an interesting topic to write about!
*Just browse [[Special:Wantedpages]], and pick an interesting topic to write about!
*Images hosted on other domains should be localized (uploaded to this wiki, and the external links changed to point to our local copies) to protect against the external sites going down. As a secondary priority we should also copy over images that are currently hosted on other subdomains of oni2.net; though these are less likely to go away, there is no way for the subdomain owner to know whether their images are being linked to.
*Review [[Special:LinkSearch|external links]] looking for pages and files that have gone down, and replace them with Internet Archive links or alternatives. Though it would need to be heavily adapted in order to actually function on our wiki, Wikipedia uses [[metawikipedia:InternetArchiveBot|InternetArchiveBot]] to automatically replace dead URLs with snapshots from the Archive that come from the time period the URL was added. Going back in time like that prevents a later snapshot from being pulled which might just be a 404 page. We might be able to learn some tricks from IABot's code, or the MediaWiki API that it employs (e.g., it seems that MW can [https://www.mediawiki.org/wiki/API:Revisions return the revision] that certain content was added to a page).
*Categorize our [[:Category:Media|images]] of the different enemy classes and characters into the appropriate sub-categories of [[:Category:Factions]] and [[:Category:Characters]]. The classes that still need pictures to be categorized under them are the Syndicate's [[:Category:Strikers|Strikers]], [[:Category:Elite Strikers|Elite Strikers]], and [[:Category:Tankers|Tankers]], and the TCTF's [[:Category:Cops|Cops]], [[:Category:Troopers|Troopers]], [[:Category:SWAT Troopers|SWAT Troopers]], [[:Category:Black Ops|Black Ops]] and [[:Category:SWAT Black Ops|SWAT Black Ops]], and under the WCG category we need to tag pictures of [[:Category:Mercenary Snipers|Mercenary Snipers]], [[:Category:Thugs|Thugs]], [[:Category:Civilians|Civilians]], [[:Category:Scientists|Scientists]], and [[:Category:Security Guards|Security Guards]].
*Categorize our [[:Category:Media|images]] of the different enemy classes and characters into the appropriate sub-categories of [[:Category:Factions]] and [[:Category:Characters]]. The classes that still need pictures to be categorized under them are the Syndicate's [[:Category:Strikers|Strikers]], [[:Category:Elite Strikers|Elite Strikers]], and [[:Category:Tankers|Tankers]], and the TCTF's [[:Category:Cops|Cops]], [[:Category:Troopers|Troopers]], [[:Category:SWAT Troopers|SWAT Troopers]], [[:Category:Black Ops|Black Ops]] and [[:Category:SWAT Black Ops|SWAT Black Ops]], and under the WCG category we need to tag pictures of [[:Category:Mercenary Snipers|Mercenary Snipers]], [[:Category:Thugs|Thugs]], [[:Category:Civilians|Civilians]], [[:Category:Scientists|Scientists]], and [[:Category:Security Guards|Security Guards]].
*Most of the classes also have no articles about them, such as [[Elite Striker]], [[Mercenary Sniper]], [[TCTF Trooper]], [[TCTF SWAT Trooper]], [[TCTF Black Ops]], [[TCTF SWAT Black Ops]], [[Scientist]], [[Civilian]], and [[Security Guard]]. These should be modeled on the existing articles in the [[:Category:Factions|Factions]] category, like [[Fury]] and [[TCTF Cop]].
*Most of the classes also have no articles about them, such as [[Elite Striker]], [[Mercenary Sniper]], [[TCTF Trooper]], [[TCTF SWAT Trooper]], [[TCTF Black Ops]], [[TCTF SWAT Black Ops]], [[Scientist]], [[Civilian]], and [[Security Guard]]. These should be modeled on the existing articles in the [[:Category:Factions|Factions]] category, like [[Fury]] and [[TCTF Cop]].
==External link review==
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 I am implementing 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: every day, a script written by Alloc dumps MW's external links table to [http://wiki.oni2.net/w/extlinks.csv this location]. I will regularly be running a script which walks through the table and looks for URLs that return [[wikipedia:List_of_Japanese_Latin_alphabetic_abbreviations#N|NG]] codes like 404. It will also detect other problems (details to come). Reports generated by the script will be uploaded to (URL to come) for any editors to read and act upon.
*In most cases, fixing an NG link will mean finding the desired web page in the [http://www.archive.org Internet Archive] and linking to that archived page instead.
*This still leaves the sometimes tedious process of finding a valid Archive link yourself. We might be able to learn some tricks from Wikipedia's [[metawikipedia:InternetArchiveBot|InternetArchiveBot]]. Though it would need to be heavily adapted in order to actually function on our wiki, it knows how to automatically replace dead URLs with snapshots from the Archive that come from the actual time period that the URL was added. Going back in time like that prevents a later snapshot from being pulled which might just be a 404 page. IABot is able to "date" URLs because the MediaWiki API can [https://www.mediawiki.org/wiki/API:Revisions return the revision] where some given text content was added to a page.
*In some cases, an NG link will not be recoverable and should be surrounded in nowiki tags [http://wiki.oni2.net/w/index.php?title=User_talk:Bobbysoon/Animation_Discussion&curid=4347&diff=26212&oldid=16377 like this] to remove it from the external links table, so that it stops showing up in the reports.
*One other issue the script will highlight is "external internal links", which occur when someone puts the full URL to another page on this same wiki, like <nowiki>[http://wiki.oni2.net/OniGalore:Current events this]</nowiki> instead of <nowiki>[[OniGalore:Current events|this]]</nowiki>.
**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 plug the edit ID into the Special:Permalink page, [[Special:Permalink/7685|like this]], and you're done.
**Sometimes you need to link to a diff between two versions of a page. As of our current version of MW, there is no "wikified" way to express this -- though it was added in [[User:Iritscen/WikiFuture#1.23|v1.23]]. So in this case, you really do need to use the syntax which I used above under the "nowiki" point to show a sample edit.
*Images hosted on other domains should be localized (uploaded to this wiki, and the external links changed to point to our local copies) to protect against the external sites going down. As a secondary priority we should also copy over images that are currently hosted on other subdomains of oni2.net; though these are less likely to go away, there is no way for the subdomain owner to know whether their images are being linked to if they suddenly get the urge to do some spring cleaning on their account.


==PlayStation 2 port==
==PlayStation 2 port==