Board Thread:Support Requests - Getting Technical/@comment-11291792-20150502150454/@comment-452-20150502164842

The HTML source of drop-downs can be edited with javascript. But I mentioned, the MediaWiki pages are irrelevant: the HTML source of the drop-downs does not reference the MediaWiki pages the server uses to populate the drop-downs.

I knew what the block time/reason page was, because I've edited them myself, but I have no idea what those last 4 are.

For example, "MediaWiki:Ipboptions" populates this element:  - as you can see, there is no relation between them.


 * I can give you a general case script which you can customise for any dropdown
 * Or, I can give you a custom script for each dropdown, but I would need to know which pages the drop-downs are located on.

Edit: Here is a sample script which will replace the block duration dropdown: $(function {	myBlockLengths = {		"warning":"1 sec",		"an hour":"1 hour",		"a day":"1 day",		"a week":"1 week",		"a month":"1 month",		"Other time":"other"	}	$("#mw-input-wpExpiry").empty;	for(i in myBlockLengths) $("#mw-input-wpExpiry").append(''+i+' '); });