Template:Make backlinks/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:Make backlinks.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Make backlinks.

Description

This is a potentially more efficient workaround than {{Notorphan}}. mw:Extension:RandomSelection and mw:Extension:RandomImage don't make backlinks to each possible page, making them wind up on Special:UnusedFiles.

Ideally, the extensions would have an option to do this automatically, but until they do...

This template calls a Lua module to strip away the tags, making backlinks kept in an invisible div. If the options are File:A, File:B, and File:C; links to pages File:A, File:B, and File:C are made on the page containing {{Make backlinks}}.

Usage

<noinclude>{{Make backlinks}}</noinclude>

{{Show RandomSelection options}} can be used instead to show the options too. In fact, this is just a wrapper around that template.