Enable the Cite extension in the MediaWiki config
This is used to create references as footnotes. See https://www.mediawiki.org/wiki/Extension:Cite Closes #124
This commit is contained in:
parent
ef29e60403
commit
2a66ff6146
@ -4,7 +4,7 @@ maintainer_email 'mail@kosmos.org'
|
||||
license 'MIT'
|
||||
description 'Installs/Configures kosmos-mediawiki'
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version '0.2.0'
|
||||
version '0.2.1'
|
||||
|
||||
depends "mediawiki"
|
||||
depends "ark"
|
||||
|
@ -246,6 +246,8 @@ $wgArticlePath = "/$1";
|
||||
"wfLoadExtension( 'Mermaid' );")
|
||||
file.insert_line_if_no_match(/WikiEditor/,
|
||||
"wfLoadExtension( 'WikiEditor' );")
|
||||
file.insert_line_if_no_match(/Cite/,
|
||||
"wfLoadExtension( 'Cite' );")
|
||||
|
||||
if node["mediawiki"]["ldap_enabled"]
|
||||
file.insert_line_if_no_match(/# LDAP config/,
|
||||
|
Loading…
x
Reference in New Issue
Block a user