I have many images to upload, so the web-based method is too slow.
I'm hoping I can do the work with a shellscript instead. (It's dozens of times faster to use the unix system and a good text editor to generate a list of filenames and content for the corresponding webpages, than it is to upload things one by one.)
Is there a standalone script to do this, or should I write one, based on the includes/SpecialUpload.php file?
Dan E. Kelley, Associate Professor phone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:Dan.Kelley@Dal.CA Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html
Dan Kelley wrote:
I have many images to upload, so the web-based method is too slow.
I'm hoping I can do the work with a shellscript instead. (It's dozens of times faster to use the unix system and a good text editor to generate a list of filenames and content for the corresponding webpages, than it is to upload things one by one.)
http://sourceforge.net/projects/pywikipediabot
-- brion vibber (brion @ pobox.com)
My users find the "Go" button (monobook) confusing, probably because the title above that box is "search". In most cases, the "Search" button is what folks want.
Q: is there a way to get rid of this "Go" button, or at least to make the default action after pressing "return" be to do a "search", instead of a "go"?
PS. I did some grepping in the .php files but didn't see where this was controlled. Plus, if there is a flag that I can set, rather than hacking the .php files, then I'd like to do that, so that every time I upgrade I don't have to re-hack the source.
Dan E. Kelley, Associate Professor phone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:Dan.Kelley@Dal.CA Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html
Dan Kelley wrote:
Q: is there a way to get rid of this "Go" button, or at least to make the default action after pressing "return" be to do a "search", instead of a "go"?
PS. I did some grepping in the .php files but didn't see where this was controlled. Plus, if there is a flag that I can set, rather than hacking the .php files, then I'd like to do that, so that every time I upgrade I don't have to re-hack the source.
There's no option, you'll have to go through and remove it. You'll be looking for things like this in Skin*.php: '<input type="submit" name="go" value="' . wfMsg ('go') . '" /> '
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org