Skip to content

Commit

Permalink
updates mediawiki version
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Aug 2, 2024
1 parent 58d492f commit a7ffa8d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions profiwiki/profiwiki_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(
self,
prefix: str = "pw",
smw_version="4.1.3",
mw_version="1.39.7",
mw_version="1.39.8",
port: int = 9079,
):
"""
Expand Down Expand Up @@ -206,7 +206,7 @@ def patch(self, pwc: ProfiWikiContainer):
pwc.log_action(f"patching {ls_file.name}")
pwc.dc.container.copy_from(ls_path, ls_file.name)
patch = Patch(file_path=ls_file.name)
lines = f"""// modified by profiwiki
lines = f"""// modified by profiwiki
// use WikiEditor e.g. for MsUpload
wfLoadExtension( 'WikiEditor' );
# make this an intranet - comment out if you want this to be a public wiki
Expand All @@ -219,7 +219,7 @@ def patch(self, pwc: ProfiWikiContainer):
# WF 2015-01-20
# allow string functions - needed for Template:Link
$wgPFEnableStringFunctions=true;
// allow raw HTML
// allow raw HTML
$wgRawHtml = true;
// allow images
$wgAllowImageTag=true;
Expand Down Expand Up @@ -251,7 +251,7 @@ def patch(self, pwc: ProfiWikiContainer):
$wgPdfEmbed['width'] = 800;
//Default height for the PDF object container.
$wgPdfEmbed['height'] = 1090;
//Allow user the usage of the tag
//Allow user the usage of the tag
$wgGroupPermissions['*']['embed_pdf'] = true;
// config parameters for MsUpload
// https://www.mediawiki.org/wiki/Extension:MsUpload
Expand Down Expand Up @@ -371,8 +371,8 @@ def apache_config(self, mwApp: DockerApplication) -> str:
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
# Mediawiki installations
ProxyPass / http://localhost:{config.port}/
# Mediawiki installations
ProxyPass / http://localhost:{config.port}/
ProxyPassReverse / http://localhost:{config.port}/
</VirtualHost>"""
return apache_config

0 comments on commit a7ffa8d

Please sign in to comment.