https://github.com/danmichaelo/mediawiki-vagrant-docker
A very basic MediaWiki setup that can be spun up quickly for testing
https://github.com/danmichaelo/mediawiki-vagrant-docker
Last synced: 13 days ago
JSON representation
A very basic MediaWiki setup that can be spun up quickly for testing
- Host: GitHub
- URL: https://github.com/danmichaelo/mediawiki-vagrant-docker
- Owner: danmichaelo
- License: agpl-3.0
- Created: 2015-08-22T20:31:55.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-22T21:03:10.000Z (almost 11 years ago)
- Last Synced: 2026-03-02T02:30:38.199Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 297 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Run `vagrant up` to spin up a MediaWiki installation at http://192.168.33.159 .
The Docker image uses the
[blackwinter/mediawiki-testwiki](https://github.com/blackwinter/mediawiki-testwiki) base image.
Note: This is for testing only, this is *not a secure installation*!
Testing mwclient:
```python
from mwclient import Site
site = Site('192.168.33.159', path='/')
site.login('MW-Test', 'mw_test')
site.upload(open('test.jpg', 'rb', 'test.jpg')
page = site.pages['Test']
page.save('[[File:Test.jpg|thumb]]')
```
(CC-0 test image from https://commons.wikimedia.org/wiki/File:Coach_accident_(3467942971).jpg, Llyfrgell Genedlaethol Cymru / The National Library of Wales from Wales)
to create http://192.168.33.159/index.php?title=Test