Commit graph

16 commits

Author SHA1 Message Date
MZMcBride
627ccbcd7b Minor code comment tweaks for spelling and consistency
Change-Id: I51391f45d0f81e4245ccc0e435a71ccd5b0e3ca3
2014-11-08 14:07:19 -05:00
Southparkfan
96e0ed45a8 Add executable rights for executable (bash) files
I hope these are the last ones.

Change-Id: I281531d8f90932b2cb4a8a99554d4b80607fbaee
2014-10-30 19:05:43 +00:00
rillke
c31fbf073e Unify the spelling of MIME in documentation
Writing MIME as written in Wikipedia and some documentation clean up.

Change-Id: I9dfc36d2bf55d72d9374c4075bd6d45eef0415a4
2014-08-07 23:38:45 +02:00
jenkins-bot
05b8af8b91 Merge "shell script fix using shellcheck lint" 2014-06-17 14:18:23 +00:00
Siebrand Mazeland
f2f31fadc7 Update formatting in maintenance/ (2/4)
Change-Id: I2b791d3bff0de464b6bdaaeae0622c065389c31c
2014-04-23 20:08:42 +02:00
Kartik Mistry
e10082c62b shell script fix using shellcheck lint
* shellcheck script used: https://github.com/koalaman/shellcheck
* includes/php.sh: Use $(..) instead of deprecated `..`.

Change-Id: Ie1dfff97b548aca75d76c762b74f8fcab84d46fb
2014-04-01 18:19:06 +05:30
Timo Tijhof
beb1c4a0ec phpcs: More require/include is not a function
Follows-up I1343872de7, Ia533aedf63 and I2df2f80b81.

Also updated usage in text in documentation and the
installer LocalSettingsGenerator.

Most of them were handled by this regex:
- find: (require|include|require_once|include_once)\s*\(\s*(.+?)\s*\)\s*;$
- replace: $1 $2;

Change-Id: I6b38aad9a5149c9c43ce18bd8edbab14b8ce43fa
2013-05-21 23:26:28 +02:00
umherirrender
b114f5e1c1 Fixed some spacing in maintenance folder
Added spaces before if, foreach
Added some braces for one line statements

Change-Id: I9657f72996358f8c1c154cea1ea97970d973723c
2013-04-18 20:48:44 +02:00
Ori Livneh
6c163ad265 (Bug 37957) Replace php_sapi_name() with PHP_SAPI
The PHP_SAPI constant has been available since PHP 4.2.0. It's more
concise to use the constant and has less overhead than a function call.

Furthermore, PHP_SAPI rhymes with "happy", whereas "php_sapi_name"
rhymes with "lame". QED, etc.

Change-Id: Ie8c121cb8fcef50536af8d3f66723b458f0bf9af
2013-02-04 12:50:45 -08:00
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