Skip to content

Commit

Permalink
Allow adding core and additional Mediawiki skins. (enterprisemediawik…
Browse files Browse the repository at this point in the history
  • Loading branch information
djflux authored and Greg Rundlett committed Nov 19, 2018
1 parent 7cd5f6a commit c498abb
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions src/roles/mediawiki/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,43 +77,9 @@
ignoreSubmodules = all
#
# SKINS
#
# FIXME #819: Add skins in Meza(Core|Local)Extensions.yml
- name: Ensure Vector skin installed
become: yes
become_user: "meza-ansible"
git:
repo: https://gerrit.wikimedia.org/r/p/mediawiki/core.git
dest: "{{ m_mediawiki }}"
version: "{{ mediawiki_version }}"
track_submodules: no
recursive: no
umask: "0002"
tags:
- latest
- mediawiki-core
- name: Ensure MediaWiki core ignores submodules
blockinfile:
path: "{{ m_mediawiki }}/.git/config"
block: |
[diff]
ignoreSubmodules = all
tags:
- mediawiki-core

# create symlink to core for short urls
# tag it latest, so that the symlink gets created whenever core is downloaded
- name: Create symlink to core, to enable short urls
file:
src: "{{ m_mediawiki }}"
dest: "{{ m_htdocs }}/w"
state: link
tags:
- latest
#
# EXTENSIONS AND SKINS
#
# Allow adding core and additional Mediawiki skins. (#997)
- name: Set variable holding list of core skins
include_vars:
file: "{{ m_config_core }}/MezaCoreSkins.yml"
Expand Down

0 comments on commit c498abb

Please sign in to comment.