Commit 3a61b33d authored by rgaudin's avatar rgaudin
Browse files

Using a packaged mediawiki with extensions

add_mw_extension script uses mediawiki API
mediawiki API does not exposes deprecated extensions
deprecation is based on latest mediawiki available
At this time, we are une 1.31 while latest is 1.32
so API does not respond for MwEmbedSupport extension
parent 317093d3
2.0-rc6
* JSON Exports's properties and sub-properties saved in a fixed order
* Failed process raises failed dialog properly [regression]
* Fixed Mediawiki/Parsoid [regression]
2.0-rc5
* Domain tld changed to .hotstop (was .lan)
......
......@@ -90,7 +90,7 @@
- name: download mediawiki
get_url:
url: http://download.kiwix.org/dev/mediawiki-1.31.0-rc.0.tar.gz
url: http://download.kiwix.org/dev/mediawiki-1.31.0-rc.0__with-extensions.tar.gz
dest: /tmp/mediawiki.tar.gz
tags: setup
......@@ -150,35 +150,6 @@
chdir: "{{ mediawiki_root }}"
tags: setup
- name: download add_mw_extension script
copy:
src: add_mw_extension.py
dest: /usr/local/bin/add_mw_extension
mode: 0755
tags: setup
- name: install mediawiki extension
command: /usr/local/bin/add_mw_extension {{ item }} REL1_31 {{ mediawiki_root }}
with_items:
- Nuke
- Scribunto
- UploadWizard
- TitleKey
- TitleBlacklist
- MwEmbedSupport
- TimedMediaHandler
- wikihiero
- Math
- timeline
- Echo
- MobileFrontend
- Thanks
- VisualEditor
- EventLogging
- GuidedTour
- GeoData
tags: setup
- name: download composer
get_url:
url: http://download.kiwix.org/dev/composer_1.6.5.phar
......@@ -197,17 +168,6 @@
chdir: "{{ mediawiki_root }}"
tags: setup
- name: download MetaDescriptionTag extension
unarchive:
src: https://github.com/kolzchut/mediawiki-extensions-MetaDescriptionTag/archive/master.zip
dest: "{{ mediawiki_root }}/extensions/"
remote_src: yes
tags: setup
- name: move MetaDescriptionTag
command: mv {{ mediawiki_root }}/extensions/mediawiki-extensions-MetaDescriptionTag-master {{ mediawiki_root }}/extensions/MetaDescriptionTag
tags: setup
- name: clean Math extensions
command: make -C extensions/Math/{{ item }} clean all
args:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment