aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Fallback.php
Commit message (Collapse)AuthorAgeFilesLines
* Kill mbstring fallbacksMax Semenik2016-04-061-172/+0
| | | | | | | | In the age when we require PHP 5.5, pretending that mbstring emulation is not slow and silly is silly. Bug: T129435 Change-Id: Ic8235c9da9a926df63ec7388900c44eab454eebe
* Convert all array() syntax to []Kunal Mehta2016-02-171-2/+2
| | | | | | | | | | Per wikitech-l consensus: https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html Notes: * Disabled CallTimePassByReference due to false positives (T127163) Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
* Cleanup some docs (includes/*.php)umherirrender2014-07-241-2/+2
| | | | | | | | | | - Swap "$variable type" to "type $variable" - Added missing types - Fixed spacing inside docs - Makes beginning of @param/@return/@var/@throws in capital - Changed some types to match the more common spelling Change-Id: I783e4dbfe5f6f98b32b9a03ccf6439e13e132bcc
* Remove Fallback::iconv()Kevin Israel2014-07-211-22/+0
| | | | | | | | | | | | | | | The iconv fallback is, for the most part, a remnant of PHP 4 support. Though iconv was not enabled by default in PHP 4, it is in PHP 5. This is the case even for Windows builds, which use GNU libiconv. As for the major Linux distributions: * Debian, CentOS, Ubuntu -> always enabled * Fedora, Slackware -> .so in the same package, enabled by default * Arch -> .so in the same package, disabled by default * openSUSE -> separate package Change-Id: Ie1112a5742646a0e1f951e188480c23851859320
* Fixed some @params documentation (includes/*)umherirrender2014-04-221-15/+15
| | | | | | | | | Swapped some "$var type" to "type $var" or added missing types before the $var. Changed some other types to match the more common spelling. Makes beginning of some text in captial. Also added some missing @param. Change-Id: I0056b4a8df243cfc0c5f25378de48f7a35170aca
* Fixed spacing in files direct in includes folderumherirrender2013-04-211-14/+14
| | | | | | | Added spaces before if, foreach Added some braces for one line statements Change-Id: Ibb8dd102db045522d12ff939075ba7420d95ab6b
* Fixed @param tags to conform with Doxygen format.Tyler Anthony Romeo2013-03-111-4/+4
| | | | | | | | | | | Doxygen expects parameter types to come before the parameter name in @param tags. Used a quick regex to switch everything around where possible. This only fixes cases where a primitve variable (or a primitive followed by other types) is the variable type. Other cases will need to be fixed manually. Change-Id: Ic59fd20856eb0489d70f3469a56ebce0efb3db13
* fix some spacingumherirrender2013-03-071-1/+0
| | | | | | | | Added/removed spaces around logical/arithmetic operator Reduced multiple empty lines to one empty line Removed wrong tabs before comments at end of line Removed too many spaces in assigments Change-Id: I2bba4e72f9b5f88c53324d7b70e6042f1aad8f6b
* Remove fallback for PHP installs < v5.3.2 as that is now an install requirementlwelling2012-12-101-18/+0
| | | | | | The native stream_resolve_include_path can now be used exclusively Change-Id: I891fe9e08f5257614dbc966e725c9810423108a5
* Added missing GPLv2 headers in some places.Alexandre Emsenhuber2012-05-141-1/+3
| | | | | | Also made file/class documentation more consistent. Change-Id: Iaebd4e253ff3b35b568e9b394231a5691445ac95
* Trim trailing whitespaceSam Reed2011-09-041-21/+32
| | | | | | | | | Add/tweak/update documentation Simplify some boolean returns Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/96260
* And even more documentationSam Reed2011-05-281-3/+9
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/89061
* * (bug 28511) Use [] syntax instead of {} for string offset accessAlexandre Emsenhuber2011-04-171-3/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86251
* Move the include_path finding code to Fallback class.Platonides2011-02-261-1/+18
| | | | | | | Checking availability when calling, as only UserMailer uses it. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/82869
* Fix r79494: Don't prefix functions now that they're in their own classX!2011-01-041-8/+8
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/79546
* Followup to r79463: Move fallback functions to new Fallback classX!2011-01-021-0/+177
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/79494