Dr0ptp4kt has uploaded a new change for review. https://gerrit.wikimedia.org/r/82030
Change subject: README updates about useful globals for Wikipedia Zero. ...................................................................... README updates about useful globals for Wikipedia Zero. Change-Id: Iaacf7d403bcd047d13f443fdb6da3fe040917b35 --- M README 1 file changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroRatedMobileAccess refs/changes/30/82030/1 diff --git a/README b/README index ddedb86..0227fa4 100644 --- a/README +++ b/README @@ -81,6 +81,13 @@ variable should be set to true only on Meta-Wiki, as it controls whether a page save hook will be set on Zero: namespace configuration entry saves. +Additionally, you may need to set the following variable and update MediaWiki permissions: + +$wgGroupPermissions['zeroadmin']['zero-edit'] = true; + +Where this is set varies by installation. + +http[s]://<host>[:port]/wiki/Special:UserRights is used for adding or removing perms. == Testing == @@ -96,6 +103,9 @@ You may also need to add an X-Device header, or explicitly test with ?useformat=mobile +For mobile device autodetection, $IP/extensions/MobileFrontend/MobileFrontend.php can be +updated. Set the variable named $wgMFAutodetectMobileView to true instead of false. + You will need to create a Zero: namespaced configuration entry to match the X-CS header that you add using 'Modify Headers'. -- To view, visit https://gerrit.wikimedia.org/r/82030 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iaacf7d403bcd047d13f443fdb6da3fe040917b35 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ZeroRatedMobileAccess Gerrit-Branch: master Gerrit-Owner: Dr0ptp4kt <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
