[Systems] wiki LocalSettings.php gremlins
Bernie Innocenti
bernie at codewiz.org
Thu Apr 21 11:56:49 EDT 2011
On Thu, 2011-04-21 at 11:51 -0400, Frederick Grose wrote:
> --- LocalSettings1.php 2011-04-21 11:46:50.000000000 -0400
> (back-edited to create diff)
> +++ LocalSettings.php 2011-04-21 11:42:49.000000000 -0400
> @@ -241,14 +241,16 @@
> require_once( "$IP/extensions/TitleBlacklist/TitleBlacklist.php" );
>
> # bernie: helps fight vandals
> -include_once('$IP/extensions/CheckUser/CheckUser.php');
> +# 21 April 2011 fgrose: updated to remove '$IP/' prefix
> +include_once('extensions/CheckUser/CheckUser.php');
>
> # bernie: also help fight vandals
> include_once('includes/DatabaseFunctions.php');
> include_once("$IP/extensions/bad-behavior/bad-behavior-mediawiki.php");
>
> # bernie: requested by FGrose: http://bugs.sugarlabs.org/ticket/580
> -include_once('$IP/extensions/ImageMap/ImageMap.php');
> +# 21 April 2011 fgrose: updated to remove '$IP/' prefix
> +include_once('extensions/ImageMap/ImageMap.php');
>
> # 23-July-2010 fgrose
> $wgVectorUseIconWatch = true;
>
> This was needed to fix the loss of ImageMap functionality in the last
> day or two.
I wonder why it helps... $IP should be always initialized to the
installation prefix of MediaWiki.
But anyway, thanks for fixing this.
--
_ // Bernie Innocenti
\X/ http://codewiz.org
More information about the Systems
mailing list