dev

This script/stylesheet is for PERSONAL use only!

You are free to install this script/stylesheet for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:ImportJS, MediaWiki:Common.js, MediaWiki:Common.css, MediaWiki:Fandomdesktop.js, MediaWiki:Fandomdesktop.css, or MediaWiki:FandomMobile.css), as it would violate Fandom's Terms of Use.
(See the customization policy)

MoreDropdown is a script that adds a number of dropdowns to the page. It provides the following on article pages:

On a userpage, it provides the following:

On an article page, it is placed near the contributions button. You will see it as "More" with an arrow next to it.

Installation

Customization

There are 2 menu ID's which you can use to append more dropdown elements.

Here is an example of adding a extra menu element:

mw.hook('dev.MoreDropdown.loaded').add(function($dropdown) {
	$dropdown.append(
	   "<li><a href=\"/wiki/Special:Undelete/" + mw.config.get('wgPageName') + "\">Undelete</a></li>"
	);
});

The example shown above is not at all the limits of customization. You can put add any type of function you wish. You can also remove elements to your taste based off their ID.

Main ID list

md-subpages
Subpages
md-purge
Purge
md-page-logs-dropdown
Page logs
md-latest-diff
Latest edit diff
md-del-revisions
Deleted revisions
md-block
(User profile only) Block/unblock
md-nuke
(User profile only) Nuke

User dropdown list

user-md-logs-dropdown
User logs
user-md-contribs
User contributions
user-md-del-contribs
Deleted contributions
user-md-uploads
Uploads
user-md-abuselog
Abuse log

Changelog

See also

Text above can be found here (edit)