Jump to content

User:Technical 13/Scripts/Gadget-listStyles

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Technical 13 (talk | contribs) at 16:10, 16 September 2013 (Basic instructions to start with.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

This script adds a link that will change the bulleted lists found on Special:WhatLinksHere results, Special:Contributions pages, History pages, and Categories from the bullet image to a numbered list.

Using this script

On the English Wikipedia

This script can be imported to your global .js page by adding:

importScript( 'User:Technical 13/Scripts/Gadget-listStyles.js' );// [[User:Technical 13/Scripts/Gadget-listStyles]]

On other WMF projects

This script should also work on other projects of the Wikimedia Foundation. Simply add:

mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Technical 13/Scripts/Gadget-listStyles.js&action=raw&ctype=text/javascript' );//[[User:Technical 13/enwpScripts]]

...to your common.js page on that site.