Skip to content

Commit 3f8e359

Browse files
authored
Remove SMW dirty hack from Dockerfile (#578)
With the unified composer autoloader, wfLoadExtension('SemanticMediaWiki') works properly. The sed hack that replaced it with enableSemantics() in installedExtensions.txt is no longer needed.
1 parent 64a5011 commit 3f8e359

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ RUN php /tmp/extensions-skins.php "/tmp/contents.yaml"
1313
ENV MW_MAINTENANCE_CIRRUSSEARCH_UPDATECONFIG=2 \
1414
MW_MAINTENANCE_CIRRUSSEARCH_FORCEINDEX=2
1515

16-
# Dirty hack for Semantic MediaWiki
17-
RUN set -x; \
18-
sed -i "s/#wfLoadExtension('SemanticMediaWiki');/#enableSemantics('localhost');/g" $MW_ORIGIN_FILES/installedExtensions.txt
19-
2016
# Maintenance scripts for specific extensions
2117
COPY cirrus-search-maintenance.sh _sources/scripts/maintenance-scripts/
2218
COPY getSMWSettings.php _sources/canasta/

0 commit comments

Comments
 (0)