Le dimanche 12 octobre 2008 à 23:12 +0000, mediawiki-l-request@lists.wikimedia.org a écrit :
From: Brion Vibber brion@wikimedia.org Subject: Re: [Mediawiki-l] announcing umw: bash script to backup/update mediawiki from svn
You can find it at http://karastathis.org/index.php/Umw
Nothing there.
Sorry I changed something, it's http://nsk.karastathis.org/index.php/Umw now
AGPL and a big page on a simple bash script that any decent bash coder could write in their sleep?
There isn't even anything special about it... It doesn't even use any sane defaults when things aren't specified in the config, so the config file itself is far more verbose than it needs to be. Something fancier could go as far as to use AdminSettings.php (perhaps written in php like the rest of mw?), but this makes you write mysql login data in a third spot.
The script doesn't even handle release versions of MediaWiki. So you're stuck with cryptic svn revisions which likely are for trunk. The script itself is almost 90 lines, but only runs 5 simple already existing commands that anyone could run by hand without being AGPL restricted. And while the script does do backups, it doesn't give the user a single clue on how to fix something if something is broken.
So rather, this script hinders users rather than helps. True, it's simple... But if someone doesn't know enough about handling MediaWiki from the cli that they need this script to help them, then they are going to have issues restoring the wiki if something breaks. And because they've been using the script rather than learning how to handle mw on the cli, they are going to have even more issues than if they did everything by hand.
~Daniel Friesen (Dantman, Nadir-Seen-Fire) ~Profile/Portfolio: http://nadir-seen-fire.com -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --The ElectronicMe project (http://electronic-me.org) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) --Animepedia (http://anime.wikia.com) --Narutopedia (http://naruto.wikia.com)
nsk wrote:
Le dimanche 12 octobre 2008 à 23:12 +0000, mediawiki-l-request@lists.wikimedia.org a écrit :
From: Brion Vibber brion@wikimedia.org Subject: Re: [Mediawiki-l] announcing umw: bash script to backup/update mediawiki from svn
You can find it at http://karastathis.org/index.php/Umw
Nothing there.
Sorry I changed something, it's http://nsk.karastathis.org/index.php/Umw now
mediawiki-l@lists.wikimedia.org