{"id":15017712,"url":"https://github.com/professionalwiki/simplebatchupload","last_synced_at":"2025-04-05T23:11:05.310Z","repository":{"id":39869332,"uuid":"60479622","full_name":"ProfessionalWiki/SimpleBatchUpload","owner":"ProfessionalWiki","description":"Allows for basic, no-frills uploading of multiple files","archived":false,"fork":false,"pushed_at":"2025-02-24T12:10:54.000Z","size":216,"stargazers_count":22,"open_issues_count":8,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-29T22:09:24.643Z","etag":null,"topics":["batchupload","file-upload","mediawiki","mediawiki-extension","upload"],"latest_commit_sha":null,"homepage":"https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProfessionalWiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"JeroenDeDauw","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2016-06-05T20:28:07.000Z","updated_at":"2025-02-24T12:10:58.000Z","dependencies_parsed_at":"2023-02-09T11:47:26.331Z","dependency_job_id":"d17bdb85-9c03-4922-8bb7-084cb700e609","html_url":"https://github.com/ProfessionalWiki/SimpleBatchUpload","commit_stats":{"total_commits":159,"total_committers":17,"mean_commits":9.352941176470589,"dds":0.7672955974842768,"last_synced_commit":"a221f68df71ff01b0a6521bd5bcec1fdb8a0a514"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FSimpleBatchUpload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FSimpleBatchUpload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FSimpleBatchUpload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FSimpleBatchUpload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProfessionalWiki","download_url":"https://codeload.github.com/ProfessionalWiki/SimpleBatchUpload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411235,"owners_count":20934653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["batchupload","file-upload","mediawiki","mediawiki-extension","upload"],"created_at":"2024-09-24T19:50:53.273Z","updated_at":"2025-04-05T23:11:05.288Z","avatar_url":"https://github.com/ProfessionalWiki.png","language":"PHP","funding_links":["https://github.com/sponsors/JeroenDeDauw"],"categories":[],"sub_categories":[],"readme":"# SimpleBatchUpload\n\n[![GitHub Workflow Status](https://github.com/ProfessionalWiki/SimpleBatchUpload/actions/workflows/ci.yml/badge.svg)](https://github.com/ProfessionalWiki/SimpleBatchUpload/actions?query=workflow%3ACI)\n[![Latest Stable Version](https://poser.pugx.org/mediawiki/simple-batch-upload/v/stable)](https://packagist.org/packages/mediawiki/simple-batch-upload)\n[![Packagist download count](https://poser.pugx.org/mediawiki/simple-batch-upload/downloads)](https://packagist.org/packages/mediawiki/simple-batch-upload)\n\nThe [SimpleBatchUpload][mw-simple-batch-upload] extension provides basic,\nno-frills uploading of multiple files to MediaWiki.\n\nIt is maintained by [Professional.Wiki](https://professional.wiki/).\n[Contact us](https://professional.wiki/en/contact) for commercial support or development work.\n\n## Requirements\n\n- PHP 8.0 or later\n- MediaWiki 1.35 or later\n\n## Installation\n\n### Composer\n```sh\nCOMPOSER=composer.local.json composer require --no-update mediawiki/simple-batch-upload:^2.0\n```\n```sh\ncomposer update mediawiki/simple-batch-upload --no-dev -o\n```\n\n### Manual installation\n\n[Download](https://github.com/ProfessionalWiki/SimpleBatchUpload/releases) and place the files in a directory called `SimpleBatchUpload` in your `extensions/` folder.\n\n\nEnable the extension by adding the following to your LocalSettings.php:\n```php\nwfLoadExtension( 'SimpleBatchUpload' );\n```\n\n**Note:** To use the extension the user needs the [`writeapi`][writeapi] right. This is the\ndefault MediaWiki setting for registered users, but it may have been changed\nduring the configuration of the wiki.\n\n## Usage\n\nThere are four ways to upload files using this extension:\n* Go to _Special:BatchUpload_ to get a plain upload page\n* Go to _Special:BatchUpload/Foo_ to get an upload page that sets `{{Foo}}` as\n  the wikitext of the uploaded file's page\n* Add `{{#batchupload:}}` to any wikipage to get a simple upload button\n* Add `{{#batchupload:Foo|Bar|Baz}}` to any wikipage to get an upload button\n  that sets `{{Foo|Bar|Baz}}` as the wikitext of the uploaded file's page  \n\n## Customization\n\nIt is possible to specify dedicated parameter sets for the upload of specific\nfile types by editing the _MediaWiki:Simplebatchupload-parameters_ page. Each\nline of that page is considered as one set of parameters.\n\nAvailable parameters are:\n * Name of template to be stored as text on initial upload\n * Upload comment\n * Title line of the Special:BatchUpload page\n\nParameters should be separated by pipes (|).\n\nThe line to be used is selected by appending the name of the template as the\nsubpage to the URL of the Special:BatchUpload page.\n\n__Example:__\n\nConsider the parameter line\n```\nPics | These pics were uploaded using [[mw:Extension:SimpleBatchUpload{{!}}SimpleBatchUpload]] | Upload some pics!\n```\n\n* This can be selected by going to _Special:BatchUpload/Pics_.\n* The title of this page will be _Upload some pics!_.\n* The comment for the upload will be _These pics were uploaded using [[mw:Extension:SimpleBatchUpload{{!}}SimpleBatchUpload]]_.\n* If a file with that name is uploaded for the first time it will have `{{Pics}}` as wikitext.\n\n## Configuration\n\nAvailable configuration options:\n\n* `$wgSimpleBatchUploadMaxFilesPerBatch` - Array defining the maximum number of\nfiles that can be uploaded each time depending on the user group. \u003cbr\u003e Default:\n``` php\n$wgSimpleBatchUploadMaxFilesPerBatch = [\n\t'*' =\u003e 1000,\n];\n```\n\n**Note:** Be aware that this is not the right setting to completely block file\nuploads! Users can still use the normal file upload or the MediaWiki API. See\nthe paragraph on user permissions on\n[Configuring file uploads](https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads#Upload_permissions)\non mediawiki.org.\n\n\n## License\n\n[GNU General Public License 2.0][license] or later\n\n[license]: https://www.gnu.org/copyleft/gpl.html\n[mw-simple-batch-upload]: https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload\n[composer]: https://getcomposer.org/\n[writeapi]: https://www.mediawiki.org/wiki/Manual:User_rights#List_of_permissions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofessionalwiki%2Fsimplebatchupload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofessionalwiki%2Fsimplebatchupload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofessionalwiki%2Fsimplebatchupload/lists"}