Commit 7b25a967 authored by Mhurd's avatar Mhurd
Browse files

WIP extra php settings

parent 382ba579
......@@ -11,9 +11,27 @@ freshinstallwithwebextensions:
# CREATE_EVENT_URL = "http://localhost:8080/w/index.php?title=Special:UserLogin&returnto=Special:CreateEventRegistration"
define LOCAL_SETTINGS_STRING
# EventLogging
wfLoadExtension( 'EventLogging' );
$$wgEventLoggingBaseUri = '/beacon/event';
$$wgEventLoggingServiceUri = '/beacon/intake-analytics';
endef
export LOCAL_SETTINGS_STRING
.PHONY: addstringtolocalsettings
addstringtolocalsettings:
echo "$$LOCAL_SETTINGS_STRING" >> "./mediawiki-docker-make/mediawiki/LocalSettings.php";
.PHONY: appendfilecontentstolocalsettings
appendfilecontentstolocalsettings:
cat ./extralocalsettings.txt >> "./mediawiki-docker-make/mediawiki/LocalSettings.php";
.PHONY: continueinstallation
continueinstallation:
make freshinstall skipopenspecialversionpage=true;
# make appendfilecontentstolocalsettings;
# make addstringtolocalsettings;
make useminervaneueskin;
make applyextension extensionDirectory=MobileFrontend extensionRepoURL=https://gerrit.wikimedia.org/r/mediawiki/extensions/MobileFrontend wfLoadExtension=MobileFrontend;
@echo -e "\nOpening '$(special_version_url)'.\nLog in using 'Admin' and 'dockerpass' if needed.\n";
......
# EventLogging from file
wfLoadExtension( 'EventLogging' );
$wgEventLoggingBaseUri = '/beacon/event';
$wgEventLoggingServiceUri = '/beacon/intake-analytics';
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment