From: Daniel Friesen Date: Sun, 11 Dec 2011 19:45:15 +0000 (+0000) Subject: Follow up r102210: X-Git-Tag: 1.31.0-rc.0~26076 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=856310a705b7648da1c0cebb67fb13099fd6cbc5;p=lhc%2Fweb%2Fwiklou.git 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 --- diff --git a/maintenance/dev/README b/maintenance/dev/README index d386167bb7..ca47d13654 100644 --- a/maintenance/dev/README +++ b/maintenance/dev/README @@ -1,6 +1,6 @@ maintenance/dev/ scripts can help quickly setup a local MediaWiki for development purposes. -Wikis setup in this way are NOT meant to be publicly available. They use a development database not acceptible for use in production and place a sqlite database in an unsafe location a real wiki should never place it in. +Wikis setup in this way are NOT meant to be publicly available. They use a development database not acceptible for use in production. Place a sqlite database in an unsafe location a real wiki should never place it in. And use predictable default logins for the initial administrator user. Running maintenance/dev/install.sh will download and install a local copy of php 5.4, install a sqlite powered instance of MW for development, and then start up a local webserver to view the wiki. diff --git a/maintenance/dev/includes/router.php b/maintenance/dev/includes/router.php new file mode 100644 index 0000000000..49d0d0818c --- /dev/null +++ b/maintenance/dev/includes/router.php @@ -0,0 +1,78 @@ +