MediaWiki:UploadForm.js/Documentation
second occurence replaced and removed outdated instructions. Please do not write something that is available as a gadget into your monobook.js
← Older revision
Revision as of 12:52, 31 March 2013
Line 140:
Line 140:
=== Make the form always use [[#Basic mode|basic mode]] ===
=== Make the form always use [[#Basic mode|basic mode]] ===
−
Users on an "autoconfirmed" account may force the script to always use its [[#Basic mode|basic mode]], which has the old form layout. To do so, add the following line to [[Special:Mypage/monobook.js|your monobook.js]] (or other user script file; if you're using e.g. the "modern" skin, you'd place this into [[Special:Mypage/modern.js|modern.js]], and if you're using the Classic skin, this goes into [[Special:Mypage/standard.js|standard.js]]):
+
Users on an "autoconfirmed" account may force the script to always use its [[#Basic mode|basic mode]], which has the old form layout. To do so, go to [[Special:Preferences#mw-prefsection-gadgets|preferences page]], click on the "Gadgets" tab and then disable the entry "{{MediaWiki:Gadget-ImprovedUploadForm}}".
−
−
var UploadForm_forcebasic = true;
−
−
−
There is also a preference setting in [[Special:Preferences|your preferences]] to do this without having to edit your user script file at all. On the [[Special:Preferences|preferences page]], click on the "Gadgets" tab and then enable the entry "{{MediaWiki:Gadget-OldUploadForm}}".
=== Set the field heights ===
=== Set the field heights ===