Uwe Brauer wrote:
> Sorry for the ignorance but is "$IP to be understood
> literally or is an abbrev for the IP direction of the machine
> where wiki is running.
Literally. There's a variable called $IP which will hold the path to the
root of the mediawiki install.
> I think I know whats going on (at least partially).
>
> The LocalSettings.php file contains
> require_once("SpecialTexbox.php");
>
> (I don't know why this in I suppose it has to do with
> turning the latex support on.)
>
> In any case in mediawiki 1.9 SpecialTexbox.php is in the
> *include* directory.
>
> And indeed no typo, I copied the include directory from 1.9
> to 1.16 (making the upgrade most likely useless.) But then
> the update _"worked_"
>
> So I either
>
> - could just copy the SpecialTexbox.php to the include
> directory of 1.16
>
> - or comment out that line in LocalSettings.php
>
> Any suggestions what is better?
>
> Uwe Brauer
That file shouldn't be there. As you can see [1] it doesn't belong to
mediawiki 1.9 Looks like an extension wrongly placed inside the includes
folder.
I would move it to extensions and do
require_once("$IP/extensions/SpecialTexbox.php"); or just remove that line.
And yes, removing the includes folder and placing there the 1.16 one is
in order (do not overwrite the old includes with the new files, that
leads to a folder with a mix of new files and -theoretically unused- old
files, which can bite you later).
1-
http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_9/phase3/includes/
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l