X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;ds=sidebyside;f=mw-setup-script;fp=mw-setup-script;h=40b5cfaf952ae30e0799f1e5ec15866b5f61aeef;hb=588d277988efb692ae76ed500ebd3727db386461;hp=12f0c45316fef8397baa22ca00f48cf55c209616;hpb=f28733f4fdf50cb629fb461b6c4039b564bbd5b0;p=mediawiki-setup diff --git a/mw-setup-script b/mw-setup-script index 12f0c45..40b5cfa 100755 --- a/mw-setup-script +++ b/mw-setup-script @@ -40,7 +40,7 @@ mw-ext () { mw-clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/$ext if [[ -e $mw/ext/$ext/extension.json ]]; then # new style extension. remove old style declaration - sed -i '#^require_once( "\\\$IP/extensions/\$ext/\$ext\.php" );#d' $mwc + sed -i --follow-symlinks '#^require_once( "\\\$IP/extensions/\$ext/\$ext\.php" );#d' $mwc teeu $mwc < # -sed -i "/\\\$wgGroupPermissions\\['\\*'\\]\\['createaccount'\\] = false;/d" $mwc +sed -i --follow-symlinks "/\\\$wgGroupPermissions\\['\\*'\\]\\['createaccount'\\] = false;/d" $mwc # # # get repo