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 window.LinkClassifierChainedFunc
with the argument window.LinkClassifierChainedFuncArg
(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 [[User:Anomie/linkclassifier.js]]
and [[User:SoledadKabocha/linkclassifier.js]]
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
editAdditional classes are supported corresponding to the following categories:
accuracydispute
: Category:All accuracy disputesblp-sourceimdb
: Category:Articles sourced by IMDb and subcats thereofblp-sources
: Category:BLP articles lacking sources and subcats thereofblp-unreferenced
: Category:All unreferenced BLPschemobot
: Categories applied by CheMoBotciteerror
: Category:Pages with broken reference names, Category:Pages with incorrect ref formatting, Category:Pages with missing references list, Category:Articles with incorrect citation syntaxcleanup-translation
: Category:Wikipedia articles needing cleanup after translationcopyedit
: Category:All articles needing copy editcs1luaerror
: Subcategories of Category:Articles with incorrect citation syntaxdeadend
: Category:All dead-end pages, Category:All articles with too few wikilinks, Category:All articles covered by WikiProject Wikifydeadextlink
: Category:All articles with dead external links, Category:All articles with broken or outdated citationsdeletion-rfd
: Category:Redirects for discussion (be aware that thedeletion
class no longer includes this category)disambiguation-cats
: Category:Disambiguation categoriesdisambiguation-cleanup
: 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 subcatsexpert-attention
: Category:All articles needing expert attentioninvalidisbn
: Category:Articles with invalid ISBNs, Category:Articles with invalid ISSNs, Category:Pages with ISBN errors (the last of these is intentionally also incs1luaerror
)luaerror
: Category:Pages with script errors (may be renamed in the future to distinguish it better fromcs1luaerror
)need-coord
: Category:All articles needing coordinatesno-attrib-reqd-media
: The enwiki (not commons) categories from User:Anomie/unattributed-image-finder.js, with "images" changed to "files" where necessarynofootnotes
: Category:All articles lacking in-text citationsnpovdispute
: Category:All NPOV disputesoutofdate
: Category:Articles with obsolete information, Category:Wikipedia articles in need of updating and subcatspovcheck
: Category:Articles needing POV-check and subcatsprintworthy
: Category:Printworthy redirects and subcatspromotional-tone
: Category:All articles with a promotional toneredirect-crossnamespace
: Category:Cross-namespace redirects and the related "Redirects to (foo) namespace" categoriesredirect-grammaticalnumber
: Category:Redirects from plurals, Category:Redirects to pluralsredirect-incompletedab
: Category:Redirects from incomplete disambiguationsredirect-listentry
: Category:Redirects to list entries (also inredirect-possibilities
pending further consideration)redirect-possibilities
: Category:Redirects with possibilities and most subcategories thereofredirect-section
: Category:Redirects to sections (category is not used very consistently; see discussion)retracted-pub
: Category:Articles citing retracted publicationsrewrite
: Category:Wikipedia articles needing rewrite and subcatssoft-redirect
: Category:Wikipedia soft redirects and all subcategories thereof except Category:Wikipedia soft redirected categories, which is already handled insoft-redirect-cats
systemicbias-geo
: 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" categoriessystemicbias-other
: Category:Articles needing more viewpoints and subcatssystemicbias-time
: Category:Articles slanted towards recent events and subcats, Category:Articles lacking historical informationtemplate-error
: 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 warningstempundelete
: Category:Candidates for undeletiontranswiki-cleanup
: Category:Transwiki cleanupunclear-notability
: Category:All articles with topics of unclear notabilityuser-altaccount
: Category:Wikipedia doppelganger accountsuser-compromised-block
: Category:Compromised accounts (not always useful because the user/talk pages may not exist; this functionality is better handled by another script)user-special-block
: Category:Wikipedia contact role accounts, Category:Wikipedia maintenance scripts
On-demand mode
editThe on-demand mode (enabled via window.LinkClassifierOnDemand=true
) 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 window.LinkClassifierOnDemandText
(default is linkclassifier). Its location can be configured via window.LinkClassifierOnDemandLoc
(the default p-cactions
puts it near the "Move" link; p-tb
would put it in the "Toolbox" section of the sidebar).
Uncategorized pages
editIf a non-redirect page or redirect target is uncategorized, the link will be given the class uncategorized
. 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 window.LinkClassifierReallyEnableUncategorized = true;
in your user skin.
If a redirect itself (not its target) is uncategorized, the link will be given the class redir-uncategorized
. (This seems to work more reliably than the above and so is enabled regardless of window.LinkClassifierReallyEnableUncategorized
.)
See also
editFor all other information on the linkclassifier functionality, see User:Anomie/linkclassifier.