User talk:Lucas Werkmeister/addStatementCountsToCategories.js

From Meta, a Wikimedia project coordination wiki

A user script that shows the number of statements of the linked item for all pages and subcategories in a category. It was originally requested by User:Ainali on the Wikidata Telegram group; since then, others have reportedly found it useful as well.

To use the script on a wiki, add the following to your common.js on that wiki:

mw.loader.load( '//meta.wikimedia.org/w/index.php?title=User:Lucas_Werkmeister/addStatementCountsToCategories.js&action=raw&ctype=text/javascript' );

To use the script on all wikis, add that line to your global.js on Meta-Wiki instead. It should work on any Wikimedia wiki.

Compare also: