Last modified: 2009-08-23 22:31:49 UTC
I have added the option to protect/unprotect images that are imported using the script. The entire page can be viewed here: http://pastebin.modevia.com/150 I have attached a patch against the latest SVN trunk.
Created attachment 4302 [details] Patch File
My ordering was off in the first patch, please look at version 2: http://pastebin.modevia.com/151 One other thing, is that you must specify an existing mediawiki user for this to work correctly.
Created attachment 4303 [details] Patch File - Version 2
any updates on this?
Created attachment 5208 [details] Patch for 1.13.0
The validation of input looks a bit shaky: $restrictions['move'] = $options['protect'];
What kind of validation are you looking for? I would really like to see this get committed to the source code.
this was added in r47964.