User:Espyo/Pikan

Pikan is a Javascript script I made for Pikipedia, now ported to Inkipedia. The name is short for "Pikipedia analyzer", and it creates a new button on the editing interface that, when pressed, runs an analyzer that reports problems with the page. For more information, see here; the analyzer works the same way here as it does on Pikipedia, except it checks different things, listed below. The core of the analyzer is hosted on Pikipedia, and it's checking a list of rules hosted on Inkipedia, here.

Problem

 * Finds any instance of "Wikia".
 * Finds incorrect spellings of "GamePad" and "Nunchuk".

Policy

 * Warns about game names that are not italicized.
 * Finds "Splatoon" with a lowercase s.
 * Finds a species name (Inkling, Octoling, etc.) with a lowercase initial letter.
 * Finds buttons being written with text instead of with button.

Questions

 * Finds mentions of "you" outside of guides.
 * Finds tampering of fonts, &lt;p&gt; tags, and black font color in CSS, which are a sign of Wikia visual editor leftovers.
 * Finds gendered nouns, which could be replaced with "they" or "it".
 * Finds "(NA)", "(EUOC)", etc., and recommends using Template:NA, Template:EUOC, and Template:NAEUOC instead.

Style

 * Finds double empty lines.
 * Finds redundant "Template:" prefixes when calling templates.
 * Finds "Image:" and suggests "File:".
 * Finds empty lines at the start of the page.
 * Suggests adding an empty line before section headers.
 * Suggests splitting images and text if they're found on the same line.
 * Finds trailing spaces.
 * Finds double spaces.
 * Finds file names with underscores, where spaces work better.
 * Finds page links with underscores, where spaces work better.
 * Finds links in the format A|A and suggests A.
 * Finds links in the format A|AB and suggests AB.

Changelog
This changelog will only cover the Inkipedia module. For the core module's changelog, see here.


 * 1.0.0 (September 28, 2015):
 * Initial version.
 * 1.1.0 (October 12, 2015):
 * Made it ignore the unitalicized "Splatoon" if it's a part of "Splatoon Global Testfire" or "Splatoon Testfire".
 * Made it suggest Template:NA, Template:EUOC, and Template:NAEUOC.
 * Made it suggest "File:" instead of "Image:".
 * Made it suggest the removal of empty lines at the top of the page.
 * Made it suggest adding an empty line before a section header.
 * Made it split the text when there's an image and text in the same line.
 * 1.2.0 (November 23, 2015):
 * Added Inkipedia module's name and version. These should show up on the tooltip of the [?] button.
 * 1.3.0 (November 03, 2017):
 * Added support for "Splatoon 2" italicization and lowercase recognition.