MediaWiki talk:Gadget-dropdown-menus.js

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Changes Required[edit]

The original code can be found at wikipedia:User:Haza-w/cactions.js. To fully bring the code to UESP, you also need to copy cactions.css and cactions-languages.js.

Currently, the following changes are required:

Bugs
  • mwsvr assignment is the wrong way around. Change it to read: mwsvr: wgServer.indexOf('secure.wikimedia.org') == -1 ? null : wgServer.split('://')[1],
  • SUL menu shows on non-MediaWiki servers. Change that line to read: mwsvr? ['c-u-sul', 'http://toolserver.org/~vvv/sulutil.php?user='+uname] :[] , (with appropriate spacing)
UESP-specific
  • CSS and languages links need to be updated. Look for the lines containing "import" and adjust those links accordingly.
  • Re-enable Edit Count function by removing the mwsvr? and :[] from the c-u-editcount line and pointing to Special:EditCount, using the Contribs line above it as a template.

These instructions may be modified by any user, as needed for future maintenance. Robin Hood  (talk) 21:03, 26 May 2015 (UTC)