For consistency of the interface, don't do expensive checks on page view.

Change-Id: I4dfda5e286d5d78965469410f39504a211624dee
(bug 1) doc for SiteConfiguration

SiteConfiguration was lacking some basic example and a very basic
introduction.

Change-Id: I306f7427ca17b0e271784f4a3e959ca8848dabea
Merge "Localisation updates from http://translatewiki.net."
(bug 36839) Use mb_check_encoding() if available.

This is not a real fix for the cause of the bug (which is a
pcre.recursion_limit that is far too low), but I do wonder
about the efficiency of using a regexp to test for valid
UTF-8 encoding. After all the regexp has to be compiled first
into a state machine.

Patch set 2: Php unit test for Language.checkTitleEncoding
Patch set 3: benchmark
Patch set 4: add benchmark for non-capturing subgroup in regexp, and
since that's faster than a capturing subgroup, use it in
checkTitleEncoding() in the regexp branch.
Patch set 5: use Tim's suggestion (once-only pattern) in the regexp
branch. Also add to benchmark.

Change-Id: I551f096921d4c9c57cbcb091b80ab5970ca86a9b
Merge "(bug 36839) Use mb_check_encoding() if available."
Merge "(bug 37194) remove obsoletes *.deps.php"
cleanup EditWatchlist a bit

* set fields explict in select statement
* get database connection only, if there is anything to do
* store often used object in local var

Change-Id: I41325ee0fdd935e48e2539668dfa0a46ff04af51
PHP >= 5.4.0 started taking advantage of $limit optimization of wfDebugBacktrace(),
which we weren't treating right.

* $limit in wfDebugBacktrace() is the number of returned frames,
we thus need to take into account the wfDebugBacktrace() frame, which
is sliced from debug_backtrace().

* wfGetCaller() needs to add a level for itself.

* MWDebug::warning() was logging itself as the warning issuer,
which is useless (the call a few lines before was right, though)
MWDebugTest.php changed accordingly.

* Removed double call to wfGetCaller( $callerOffset + 1 )

* Documented the meaning of wfGetCaller() parameter

* Added unit test

Change-Id: Ief50f4c810bad8b03bb2bf9dc6d945d9acb29851
Merge "Revision::getTitle produce rev_id IS NULL query"
Merge "cleanup EditWatchlist a bit"
Set the status code to 500 on exceptions.

Should fix bug 37140, scripts served through
action=raw failing due to being served a html
error page.
As well as such as giving a better behavior
such as for search engines.
This could affect IE users by showing them
smart errors instead of the content, though.

Change-Id: I5d680fe10db6d61d91e898323bd5fb755a07135d
(bug 35264) Wrong type used for <ns> in export.xsd

Change-Id: I6d5a399d3fde4d70a8814c4f8d107765c8e3da96
Merge "Show revdel links instead of checkboxes on pages where there is no multiple log entry revdel form."
reverse text/sha1 output in export to match xsd

Change-Id: I84588e3d9692ee9eb7411b1e391abfc6c9ee89bf
Localisation updates from http://translatewiki.net.

Change-Id: I5dc83c468e542fccded921064326e2e2f2d4135f
Add BackupDumper to the tests AutoLoader and kill the
register globals include vulnerability added in 8ba9856.

Change-Id: If7fa6d76c91daa44aa53e80ac39be4860a763723
The 4th Database::select() parameter is the function name.
The ORDER BY should be at $options.
This was throwing errors in PHP 5.4 due to the array being
converted to a string down at Database.php:862

Fixes 50ee1d2

Change-Id: Ifb0fc70144242f25fc916fb8d380ed3e2d334fb9
Merge "The 4th Database::select() parameter is the function name. The ORDER BY should be at $options. This was throwing errors in PHP 5.4 due to the array being converted to a string down at Database.php:862"
Fix for Ibe3e88fa (a12ce17c): Moved WikiPage::getDeletionUpdates() near WikiPage::doDeleteUpdates().

Please group related methods instead of adding new at the bottom along with deprecated ones. Thanks.

Change-Id: Ie08500de8226e33d5fe4c8a2a95c6a23a550e6d1
Merge "Add BackupDumper to the tests AutoLoader and kill the register globals include vulnerability added in 8ba9856."