Alexandre Emsenhuber
afd8ac8fb7
Improve documentation of maintenance scripts.
...
Change-Id: I768abad1ad4642263519d39c50c88437aed47e15
2012-09-07 22:03:56 +02:00
Daniel Friesen
ccbf3af00b
Followup ac8b7d54f8 fix broken php detection
...
Change-Id: Id78f14c220bbaa21b78c0c669a324f6169b3109d
2012-08-05 22:56:16 -07:00
Platonides
ac8b7d54f8
Improve detection of php binary.
...
- Add php binary and a program which might
be set as $PHP.
- Check for the correct php version.
The break shell builtin is not too commonly used,
but should beperfectly safe to use, since it's specified by POSIX
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#break
Change-Id: Iefbe991426f0e9a7178363a30b613f57110e1953
2012-08-04 10:29:23 +02:00
Daniel Friesen
975acd11b2
Security paranoia, reject requests to router.php that aren't from the cli-server sapi.
2012-03-20 22:58:34 +00:00
Daniel Friesen
a776efbdfe
Add missing delimiters to the regexp in maintenace/dev/'s router.
2012-02-15 19:33:13 +00:00
Daniel Friesen
c6a11daac9
Follow up r105821, as usual, commit the files I forgot to svn add
2011-12-11 19:49:16 +00:00
Daniel Friesen
856310a705
Follow up r102210:
...
- Update maintenance/dev/ to install php inside ~/.mediawiki/php instead of ~/.mwphp
- Tweak README a bit
- Move the router.php into an includes along with two helper .sh files to cut out some of the repetition
2011-12-11 19:45:15 +00:00
Daniel Friesen
ef47f1c0e4
Followup r103678; Add a comment.
2011-12-03 23:19:34 +00:00
Daniel Friesen
471c997505
Update maintenance/dev/'s router, add handling for things like /wiki/File:Foo.png which end up with a SCRIPT_NAME but not SCRIPT_FILENAME.
2011-11-24 09:50:22 +00:00
Daniel Friesen
750eac7e41
Modify maintenance/dev/ router code to fix the bug where post data gets discarded and you can't login inside the dev environment.
2011-11-24 08:41:57 +00:00
Daniel Friesen
84af5352ab
Incorporate a router into our maintenance/dev/ code to better handle the variety of file types we support.
2011-11-19 14:14:57 +00:00
Daniel Friesen
f03373cf1e
Allow for installation of php in ~/.mwphp and don't die if maintenance/dev/data already existsy
2011-11-06 23:49:16 +00:00
Daniel Friesen
92b5c31075
Followup r102201, quote all variables to guard against paths with spaces in them.
2011-11-06 23:13:36 +00:00
Daniel Friesen
9e25a8e32e
Commit maintenance/dev/ a set of bash scripts that can quickly download php 5.4, install it in an isolated area, install a quick development copy of MediaWiki, and then start up a local webserver.
2011-11-06 22:50:32 +00:00