Fandom Developers Wiki
Advertisement

GlobalFileUsage allows to show the file usage at other languages.

Installation

Usage

The config options are:

lang
list of languages. If interlanguage wikis have a different subdomains, they can be specified after each language code and a colon :. For example: ['bg','cs','de','en','es'] or ['bg:unique-subdomain','cs','de','en','es:another-subdomain']
auto_show
if true the usage table is generated immediately after load the page. For public script false value recommended.
hide_on_delete
if true, script will disabled at delete page.
hide_on_move
if true, script will disabled at move page.

For example:

window.globalFileUsageConfig = {
    'lang': ['bg','cs','de','en','es','fa','fi','fr','hu','it','ja','ru','pt-br','sv','tr','uk','zh'],
    'auto_show': false
}
Text above can be found here (edit)
Advertisement