* Set the keys to PURGED on purge. We already only treat array values
in cache is valid. This means that if a process reads the file, it
caches in the meantime, and then the process tries to cache the file,
the stale version will not be cached.
Change-Id: I7eb7b4529f8cea44b0d68c9149db4bcf100ac9d2
* Use Linker::linkKnown() for links to revisions, we know that the page exists and other classes might be false since they might be old revisions
* Escape the result of Language::userTimeAndDate(), just in case
* Rewrote some code to do early return instead of nested if()'s
* Define variables only when they will actually be used
Change-Id: Ie1f16029020f980abba35d6322b89c95326f107b
With this the position of the login link in the right corner is not
changed with $wgUseCombindedLoginLink = false;
Gerrit has also first "register" and than "log in" in the corner.
Change-Id: I8d1000cf53ab792b3f69438004e5ae181acba645
This avoids a query per title (due to Title::exist) in ApiQueryInfo.
The 3 minimum fields are always selected in ApiPageSet
Change-Id: Ic4876f947357d84a2f37bec60db3ccd44fe236ac
* If PHPUnit converts warnings to exceptions, any I/O warnings can throw
exceptions which leave locksHeld in an inconsistent state, breaking the
__destruct() function. This commits reorders the variable update slightly.
Change-Id: I5deac811e7b4d0bc71f3d4096b8d72711904a444
* Previously mediawiki.language.data depended on mediawiki.language,
making any module using langauge data having to explicitly define
it as a dependency. This is not good. We should abstract the data
generation part and for the users of the module.
mediawiki.language should take care of having the required data.
* So, reversing the dependency so that mediawiki.language depends on
mediawiki.language.data. Then a simple dependency declaration with
"mediawiki.language" is enough to have associated data available.
This supersedes change set I810fb0a5
Change-Id: Iede836bb3e2fd700cb7c58caeebe9ec2e0043dfb
Autoblocks triggered latest block log entry being displayed, which was
naturally the wrong one, since autoblocks are not put into a block log.
Change-Id: Ic08880c18a778d5294bb934c764a70dbd7800b70
Patch set 4:
* Use params() instead of rawParams() because there is no need for raw.
* Specify processing explicitely.
Change-Id: If5f1c26f221bdb060b5944ef5e3cdb64d76154e3
* Made getMulti() only return keys for items that exists.
* Made add() return false if the item already exist.
* Made replace() return false it the item does not already exist.
Change-Id: Idb9d9843ace0c81f71abfc22b90e30eb33d7579d