mw wiki file upload
Releasev0.35.0 · cfeceb67
mw wiki file upload FILE [flags]Upload a local file using a saved profile or explicit wiki credentials. Use –text-file for the initial file description and license wikitext. New versions preserve the existing description. Replacing a file requires –replace; other upload warnings require –ignore-warnings.
Guide: mw help guides wiki files
Options
Section titled “Options”Global options
Section titled “Global options”Examples
Section titled “Examples”# Upload a video with a description and licensemw wiki file upload demo.webm --wiki commons.wikimedia.org --profile wikimedia/addshore --text-file description.wiki# Upload a new version under the same wiki filenamemw wiki file upload demo.webm --wiki commons.wikimedia.org --profile wikimedia/addshore --filename 'Demo.webm' --replace --comment 'Refresh walkthrough'See also
Section titled “See also”Page views: —Sessions: —