User:SoledadKabocha/linkclassifier

''This has been superseded by User:SoledadKabocha/linkclassifier2. See that page for changes. This script has been redirected to User:SoledadKabocha/linkclassifier2.js via an importScript call, so it will continue to work, but you should update your user skin to import the new script directly.''

User:SoledadKabocha/linkclassifier.js is a copy of User:Anomie/linkclassifier.js, modified to call the function defined at  with the argument   (if they exist) once it is finished processing all links. markBlockedPlus uses this feature to ensure that it executes only after linkclassifier has finished.

If you wish to install my version of linkclassifier, please include both  and   in the "Linkback" comment. (TODO: Reevaluate this; Anomie may not be happy about people linking back to his script if they're not using his original version. I ought to ask him sooner or later. I myself don't particuarly care about linkbacks anyway)

Additional classes
Additional classes are supported corresponding to the following categories:
 * : Category:All accuracy disputes
 * : Category:Articles sourced by IMDb and subcats thereof
 * : Category:BLP articles lacking sources and subcats thereof
 * : Category:All unreferenced BLPs
 * : Categories applied by CheMoBot
 * : Category:Pages with broken reference names, Category:Pages with incorrect ref formatting, Category:Pages with missing references list, Category:Articles with incorrect citation syntax
 * : Category:Wikipedia articles needing cleanup after translation
 * : Category:All articles needing copy edit
 * : Subcategories of Category:Articles with incorrect citation syntax
 * : Category:All dead-end pages, Category:All articles with too few wikilinks, Category:All articles covered by WikiProject Wikify
 * : Category:All articles with dead external links, Category:All articles with broken or outdated citations
 * : Category:Redirects for discussion (be aware that the  class no longer includes this category)
 * : Category:Disambiguation categories
 * : Category:Disambiguation pages in need of cleanup, Category:Disambiguation pages in need of being split, Category:Disambiguation pages to be converted to broad concept articles, Category:Incomplete disambiguation and subcats
 * : Category:All articles needing expert attention
 * : Category:Articles with invalid ISBNs, Category:Articles with invalid ISSNs, Category:Pages with ISBN errors (the last of these is intentionally also in )
 * : Category:Pages with script errors (may be renamed in the future to distinguish it better from )
 * : Category:All articles needing coordinates
 * : The enwiki (not commons) categories from User:Anomie/unattributed-image-finder.js, with "images" changed to "files" where necessary
 * : Category:All articles lacking in-text citations
 * : Category:All NPOV disputes
 * : Category:Articles with obsolete information, Category:Wikipedia articles in need of updating and subcats
 * : Category:Articles needing POV-check and subcats
 * : Category:Printworthy redirects and subcats
 * : Category:All articles with a promotional tone
 * : Category:Cross-namespace redirects and the related "Redirects to (foo) namespace" categories
 * : Category:Redirects from plurals, Category:Redirects to plurals
 * : Category:Redirects from incomplete disambiguations
 * : Category:Redirects to list entries (also in  pending further consideration)
 * : Category:Redirects with possibilities and most subcategories thereof
 * : Category:Redirects to sections (category is not used very consistently; see discussion)
 * : Category:Articles citing retracted publications
 * : Category:Wikipedia articles needing rewrite and subcats
 * : Category:Wikipedia soft redirects and all subcategories thereof except Category:Wikipedia soft redirected categories, which is already handled in
 * : Category:Articles with disproportional geographic scope, Category:Articles with limited geographic scope, Category:Vague or ambiguous geographic scope, subcats of these, and "(country name)-centric" categories
 * : Category:Articles needing more viewpoints and subcats
 * : Category:Articles slanted towards recent events and subcats, Category:Articles lacking historical information
 * : Category:Pages containing omitted template arguments, Category:Pages where expansion depth is exceeded, Category:Pages where node count is exceeded, Category:Pages where post-expand include size is exceeded, Category:Template loop warnings
 * : Category:Candidates for undeletion
 * : Category:Transwiki cleanup
 * : Category:All articles with topics of unclear notability
 * : Category:Wikipedia doppelganger accounts
 * : Category:Compromised accounts (not always useful because the user/talk pages may not exist; this functionality is better handled by another script)
 * : Category:Wikipedia contact role accounts, Category:Wikipedia maintenance scripts

On-demand mode
The on-demand mode (enabled via ) has been changed so that it no longer requires the user to manually add code to the common.js/skin.js to display the portlet link.

The text of the portlet link can be configured via  (default is linkclassifier ). Its location can be configured via  (the default   puts it near the "Move" link;   would put it in the "Toolbox" section of the sidebar).

Uncategorized pages
If a non-redirect page or redirect target is uncategorized, the link will be given the class. Known issue: This currently has many false positives and rare false negatives (I suspect the API is working off an outdated database version or is buggy in some other way, or I'm hitting API parameter limits for some tricky reason). As of 19:54, 24 August 2014 (UTC), this will only be enabled if you manually set  in your user skin.

If a redirect itself (not its target) is uncategorized, the link will be given the class. (This seems to work more reliably than the above and so is enabled regardless of .)