Skip to content

Commit

Permalink
Better paths, fix ParserFunctions (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
GAsplund committed Aug 9, 2024
1 parent d17ca02 commit 37db86f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mediawiki/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN git checkout 4ff9d24

# Install ParserFunctions for MediaWiki 1.39
WORKDIR /tmp
RUN curl -L https://extdist.wmflabs.org/dist/extensions/ParserFunctions-REL1_39-027c595.tar.gz -o ParserFunctions.tar.gz
RUN curl -L https://extdist.wmflabs.org/dist/extensions/ParserFunctions-REL1_39-7fa883d.tar.gz -o ParserFunctions.tar.gz
RUN tar -xzf ParserFunctions.tar.gz -C /var/www/html/extensions
WORKDIR /var/www/html

Expand All @@ -42,3 +42,4 @@ WORKDIR /var/www/html/skins/Citizen
RUN git checkout 9caf91a

COPY ./LocalSettings.php /var/www/html/
WORKDIR /var/www/html
2 changes: 2 additions & 0 deletions mediawiki/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
## The URL path to static resources (images, scripts, etc.)
$wgResourceBasePath = $wgScriptPath;

$wgArticlePath = "/wiki/$1";

## The URL paths to the logo. Make sure you change this from the default,
## or else you'll overwrite your logo when you upgrade!
$wgLogos = [
Expand Down

0 comments on commit 37db86f

Please sign in to comment.