Jump to content

User:Technical 13/Scripts/Gadget-listStyles

From Wikipedia, the free encyclopedia
Browser/skin compatibility table
Browser\Skin Vector MonoBook Modern Cologne Blue
Chrome 29 All pages All pages All pages All pages
FireFox 24 All pages All pages All pages All pages
FireFox 23 All pages All pages All pages All pages
IE 7 Truncates # on left
All pages
Truncates # on left
All pages
Trunc CAT: # on left
Rest overflow
Truncates # on left
Categories only
Opera 12.16 untested untested untested untested
Opera 16 All pages All pages All pages All pages
Safari 5 All pages All pages All pages All pages
Gadget-listStyles
Author(s)Technical 13
StatusStable
UpdatedJanuary 30, 2014
    (10 years ago)
BrowsersAll tested, IE7 with difficulty. See collapsed table above for full compatibility.
SkinsVector, MonoBook, Modern, Cologne Blue
SourceUser:Technical_13/Scripts/Gadget-listStyles.js


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.

[[?title=User_talk:Technical_13/Scripts/Gadget-listStyles&action=edit&section=new&preloadtitle=Bug+Report+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Report a bug |?title=User_talk:Technical_13/Scripts/Gadget-listStyles&action=edit&section=new&preloadtitle=Bug+Report+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Report a bug]] [[?title=User_talk:Technical_13/Scripts/Gadget-listStyles&action=edit&section=new&preloadtitle=Feature+Request+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Request a feature/page |?title=User_talk:Technical_13/Scripts/Gadget-listStyles&action=edit&section=new&preloadtitle=Feature+Request+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D Request a feature/page]]

Using this script

[edit]

On the English Wikipedia

[edit]

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 the other projects of the WMF

[edit]

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.

This is confirmed to not work on the following WMF sites...
  • NONE

Step two

[edit]

Once you have saved the above to your common.js, you will have to WP:BYPASS your cache to see the effects.