I've got just one or two more small notes that might help people out (might want to add them to the readme as well):
A very useful little trick on linux (heck, this would probably work in cygwin as well) for using the environment variable is to cd into the root of your MediaWiki install and run: export MW_INSTALL_PATH=$PWD This sets the install path to your current location. For those who have multiple wiki with different file roots the trick of cd'ing into the one you want to run scripts for running that short command and then running whatever script you want that trick is amazingly helpful. And, for those like me who actually symlink their LocalSettings.php to a completely different location if you are running 1.12 or below you'll want to run your maintenance scripts with an argument like this: --conf=$PWD/LocalSettings.php Just like in the last trick the $PWD helps shorten any command you'd be using into a generic one simply by going to your wiki root and letting the $PWD handle the location of everything. ^_^ Brilliantly enough starting in 1.13 commandLine.inc catches onto the existence of MW_INSTALL_PATH for when it needs to find the location of LocalSettings.php and thus that argument isn't needed anymore. Don't worry about AdminSettings.php that is looked for after LocalSettings.php and normally LocalSettings.php sets the $IP and MW will look for $IP/AdminSettings.php so that works out using --conf= alone, you don't need to bother with an --aconf= argument. ~Daniel Friesen(Dantman, Nadir-Seen-Fire) of: -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --The ElectronicMe project (http://electronic-me.org) --Games-G.P.S. (http://ggps.org) -And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) --Animepedia (http://anime.wikia.com) --Narutopedia (http://naruto.wikia.com) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Semediawiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
