This website requires JavaScript.
Explore
Help
Register
Sign In
wikimedia
/
mediawiki-extensions-VisualEditor
Watch
1
Star
0
Fork
You've already forked mediawiki-extensions-VisualEditor
0
mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced
2024-11-25 06:46:26 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
710da1547b
mediawiki-extensions-Visual...
/
modules
/
ve-mw
/
tests
/
browser
/
upload.rb
4 lines
47 B
Ruby
Raw
Normal View
History
Unescape
Escape
[BrowserTest] Move the screenshot uploading to a gem * The methods from upload.rb are moved to a newly created gem: https://rubygems.org/gems/commons_upload * upload.rb is changed to simply call the method from the Gem. * Gemfile is updated accordingly. Bug: T89718 Change-Id: I229fbcd1b8c3cb03885947509aef27f0ae583a1c
2015-02-19 10:24:28 +00:00
require
'commons_upload'
[BrowserTest] Added support for uploading the language screenshots To use this script: *Create an environment variable MEDIAWIKI_API_UPLOAD_URL having API URL of the site where the images are to be uploaded. (Eg: http://commons.wikimedia.beta.wmflabs.org/wiki/api.php) *LANGUAGE_SCREENSHOT_CODE environment variable should be set. Run the upload script by: bundle exec ruby upload.rb Bug: 62737 Change-Id: I1937aa5f02e3bf587ac65d8d11c3ebbb8b1d0528
2014-07-08 20:02:08 +00:00
[BrowserTest] Move the screenshot uploading to a gem * The methods from upload.rb are moved to a newly created gem: https://rubygems.org/gems/commons_upload * upload.rb is changed to simply call the method from the Gem. * Gemfile is updated accordingly. Bug: T89718 Change-Id: I229fbcd1b8c3cb03885947509aef27f0ae583a1c
2015-02-19 10:24:28 +00:00
CommonsUpload
.
images
Reference in a new issue
Copy permalink