Translation updater bot [Tue, 18 Dec 2012 20:45:29 +0000 (20:45 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Tue, 18 Dec 2012 20:42:54 +0000 (20:42 +0000)]
Merge "(bug 39490) Add caching to InfoAction."
Tyler Anthony Romeo [Mon, 8 Oct 2012 03:47:46 +0000 (23:47 -0400)]
(bug 39490) Add caching to InfoAction.
Added caching to InfoAction. The cache key uses the ID of the
latest revision so it is auto-invalidated when the page is
changed. Also, the cache key is deleted whenever the page is
purged.
Change-Id: I90446b7bcb4517959605aa38eacfada2b785060b
Translation updater bot [Tue, 18 Dec 2012 20:25:49 +0000 (20:25 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I8881e68353fccbbd7c4b8da737045747dc5c1c05
jenkins-bot [Tue, 18 Dec 2012 14:51:57 +0000 (14:51 +0000)]
Merge "(bug 43218) Fixing PHP notice: undefined SERVER_PROTOCOL key"
Dereckson [Tue, 18 Dec 2012 00:31:03 +0000 (01:31 +0100)]
(bug 43218) Fixing PHP notice: undefined SERVER_PROTOCOL key
Change-Id: I1ce7605a7c8503aed37ed9b3e7c3f3c13083db6f
jenkins-bot [Tue, 18 Dec 2012 14:33:24 +0000 (14:33 +0000)]
Merge "Update docs"
Matthew Flaschen [Tue, 18 Dec 2012 08:31:59 +0000 (03:31 -0500)]
Document ResourceLoaderWikiModule::getPages.
Change-Id: Id3b3df20efcec90dfcc7cd496aecbe74e5cd9915
Translation updater bot [Mon, 17 Dec 2012 21:10:24 +0000 (21:10 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I0ad670d4b2dc9410e0b1021c29d79cd209209b78
Reedy [Mon, 17 Dec 2012 20:27:05 +0000 (20:27 +0000)]
Suppress warnings around unlink call
Attempt to shut a lot of noise in production logs
e.g.
1 Warning: unlink(/mnt/thumbs2/wikipedia/commons/thumb/f/f2/Members_only_jacket.jpg/800px-Members_only_jacket.jpg) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /usr/lo
cal/apache/common-local/php-1.21wmf6/includes/filebackend/FSFileBackend.php on line 422
Change-Id: I9e1407c4b11301f468f8e291105955ade9a731d0
jenkins-bot [Mon, 17 Dec 2012 20:16:11 +0000 (20:16 +0000)]
Merge "(bug 43096) Fix querying suppression logs"
jenkins-bot [Mon, 17 Dec 2012 20:09:24 +0000 (20:09 +0000)]
Merge "(bug 43207) Fix regression in API generator=duplicatefiles"
Alex Monk [Sun, 16 Dec 2012 13:28:50 +0000 (13:28 +0000)]
(bug 43096) Fix querying suppression logs
Change-Id: Ia9709ed5f694e07b7544887b49c99db5ed7063df
jenkins-bot [Mon, 17 Dec 2012 19:46:59 +0000 (19:46 +0000)]
Merge "use null rather then false and doc fix"
jenkins-bot [Mon, 17 Dec 2012 19:45:15 +0000 (19:45 +0000)]
Merge "(bug 43177) API: Fix regression in case handling for sha1 params"
jenkins-bot [Mon, 17 Dec 2012 19:38:33 +0000 (19:38 +0000)]
Merge "(bug 43137) Don't return the sha1 of revisions through the API if the content is revdel'd"
Brad Jorsch [Mon, 17 Dec 2012 19:11:47 +0000 (14:11 -0500)]
(bug 43207) Fix regression in API generator=duplicatefiles
Prior to change I745cae7a, generator=duplicatefiles would return all the
files that were duplicates of the passed files. Since then, it will
return only one of the input files if any duplicates are found, possibly
one that doesn't even have duplicates.
The problem is the use of a wrong variable.
Change-Id: I8e8493718ab1f7f5cb6ae718790738a7cf3c72c7
Alex Monk [Fri, 14 Dec 2012 22:33:06 +0000 (22:33 +0000)]
(bug 43137) Don't return the sha1 of revisions through the API if the content is revdel'd
Change-Id: Ic2cad08cdae428d04dbdc31665c531d8a4759cbb
Brad Jorsch [Sun, 16 Dec 2012 22:45:31 +0000 (17:45 -0500)]
(bug 43177) API: Fix regression in case handling for sha1 params
While the change in Ic980fd71 makes sense since MediaWiki stores the
hashes with lowercase letters, historically aisha1 and fasha1 accepted
both upper and lowercase because wfBaseConvert accepts both.
To avoid a backwards compatibility break, let's adjust the code to
explicitly lowercase the input for those parameters. And for good
measure, let's also accept both cases for the corresponding sha1base36
parameters.
Change-Id: I704935193398c722c22a302dc9d23f2c0e2e3e39
Siebrand Mazeland [Mon, 17 Dec 2012 10:23:02 +0000 (11:23 +0100)]
Update docs
Change-Id: I96c04c4ce9384816e120baef3572dfc4fd216b9a
Siebrand Mazeland [Sun, 16 Dec 2012 21:14:01 +0000 (22:14 +0100)]
Fix the little documentation that FormOptions::consumeValue() has
Change-Id: I9a4bfaace4f19ba5e3e8a405118fe1bae3a1696d
Kunal Mehta [Mon, 17 Dec 2012 06:24:11 +0000 (00:24 -0600)]
(bug 42184) Send second variable for large-variable message
Change-Id: Iad4bb0d0ab25248ec6296af4f39401eeb59c306f
jenkins-bot [Mon, 17 Dec 2012 00:04:22 +0000 (00:04 +0000)]
Merge "ResourceLoader: Move safeFilemtime() to ResourceLoaderModule."
Timo Tijhof [Wed, 5 Dec 2012 07:37:48 +0000 (08:37 +0100)]
ResourceLoader: Move safeFilemtime() to ResourceLoaderModule.
This is a useful method not just for inside and sub classes of
ResourceLoaderFileModule (i.e. it could've been useful in
VisualEditor's ResourceLoaderModule class as well)
Also moved up getTargets() to be in the right section (looking at
the file as a whole).
Change-Id: If696ffbdc5aa7f0a51603bcf9d52adab38b9c686
jenkins-bot [Sun, 16 Dec 2012 21:38:27 +0000 (21:38 +0000)]
Merge "applying code conventions and cleanup in mediawiki.special.*"
Translation updater bot [Sun, 16 Dec 2012 20:58:30 +0000 (20:58 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Sun, 16 Dec 2012 20:36:18 +0000 (20:36 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Iecaef86923bb32e102dd69ec12651824565bc3ed
MatmaRex [Sun, 9 Dec 2012 20:08:49 +0000 (21:08 +0100)]
(bug 41342) jquery.suggestions: Call cancel before fetching.
This caused race conditions in the calling code, if it used AJAX
and they completed in different order than they were started.
For example in mediawiki.searchSuggest, when one slowly types
"wikipedia", 9 requests get sent (suggestions for "w", "wi",
"wik", etc.), but they might not necessarily arrive in the same
order, especially on slow (e.g. mobile) connections.
Then you get the race condition effect - suggestions for
"wikipedia" flash briefly and then are replaced by suggestions for
"wik", even though the bolding is correct.
This commit fixes the issue by using a function that was already
present, that calls the callback as well as clearing the internal
timeout, which for some reason wasn't used in this code path.
Change-Id: I880a61e5e45a64bea6d679ed160c4be3da085dfa
jenkins-bot [Sun, 16 Dec 2012 19:13:11 +0000 (19:13 +0000)]
Merge "Remove nocreatetitle"
Amir E. Aharoni [Sun, 16 Dec 2012 17:31:16 +0000 (19:31 +0200)]
Remove nocreatetitle
This message was removed from OutputPage in commit
3801a3cd
and it doesn't appear to be used elsewhere.
Change-Id: Iba5de5ba6f6e699bac5b1e21efd8869006398f1b
MatmaRex [Sun, 16 Dec 2012 14:15:49 +0000 (15:15 +0100)]
applying code conventions and cleanup in mediawiki.special.*
Using standard closures per [[CC/JS]], typos in comments, indentation
inconsistencies, some other minor changes.
Change-Id: I53eef75006d87c8b55d6780d36165317066d1368
mrbluesky [Thu, 13 Dec 2012 21:59:02 +0000 (22:59 +0100)]
(bug 28401) Make RC en RCL honour options for rss/atom
RecentChanges and RecentChangesLinked should link to atom/rss feeds using the same options as specified for the pages themselves. E.g. if somebody is looking at Special:RecentChanges&hideliu=1&namespace=1 the feed(s) should link to Special:RecentChanges&feed=atom&hideliu=1&namespace=1. All options available on RC and RCL are already supported by their feeds, except the maximum number of changes in feeds is bound by $wgFeedLimit.
Change-Id: I8fb00ccd7efdd962a8a42f0bce3eac5177e2cfbd
Brian Wolff [Thu, 13 Dec 2012 22:16:22 +0000 (18:16 -0400)]
Make wfSuppressWarnings kill E_STRICT in PHP 5.4+
Since PHP 5.4+ E_STRICT is now included in E_ALL. Hence
wfSuppressWarnings was not filtering E_STRICT.
There was some complaints on project:support_desk about
timezone warnings popping up. See also bug 43092
Change-Id: Ie1ace158dac1733e6b2b2c1d533004d9bcab8c80
Kaldari [Fri, 14 Dec 2012 23:11:30 +0000 (15:11 -0800)]
Trimming 'addedwatchtext'. The previous text was too long and overly detailed.
Change-Id: If7c5ba8e2a7dd7e6e628118a72f3c4527528e4c4
Aaron Schulz [Fri, 14 Dec 2012 21:18:43 +0000 (13:18 -0800)]
Moved LocalisationCache under /cache.
Change-Id: I54b230376ed682d6a6b7d6fa4fd5ab133c8c8b1b
Pranav Ravichandran [Fri, 27 Apr 2012 04:16:00 +0000 (04:16 +0000)]
(Bug 35987) Clarify change password on Special:ChangeEmail
Continuing Ravichandran's work, I fixed issues raised by IAlex.
Change-Id: Ib8bec70bf0aa451d26971569214b4b13c2abddff
jenkins-bot [Sun, 16 Dec 2012 00:23:29 +0000 (00:23 +0000)]
Merge "drop "@fixed" annotations in CologneBlue skin"
Translation updater bot [Sat, 15 Dec 2012 23:44:58 +0000 (23:44 +0000)]
xLocalisation updates from translatewiki.net.
Change-Id: I1167ecea2f384d226f18dcba864e6ea69c40381d
MatmaRex [Sat, 15 Dec 2012 23:27:23 +0000 (00:27 +0100)]
drop "@fixed" annotations in CologneBlue skin
These were only useful for me when I was refactoring the code,
and are not needed anymore.
Change-Id: I30aca1619817102a412f9d3cf83da8cf52fa62af
raymond [Sat, 15 Dec 2012 22:44:55 +0000 (23:44 +0100)]
Add new message key from I28ef70f7 to maintenane file
Change-Id: I56c3d200ff22b12c395ccfefba9c163f250f6348
jeroendedauw [Thu, 6 Dec 2012 22:36:42 +0000 (23:36 +0100)]
use null rather then false and doc fix
Change-Id: Ifb8798a66d32da36fc8134e2039ec880c0f1dc1a
Amir E. Aharoni [Sat, 15 Dec 2012 17:23:46 +0000 (19:23 +0200)]
Removed commas before 'because'
If I understand correctly, a comma is not needed before because
in these messages. It's possible that I'm wrong, however, so
if you know English punctuation well, please review this.
You can also ask your grammar-sensitive friends.
Change-Id: Ic9c1e42be28ce6d23bdbd15714f1c512a888ed75
jenkins-bot [Sat, 15 Dec 2012 10:01:54 +0000 (10:01 +0000)]
Merge "Add some entries removed in I41f1995d back."
jenkins-bot [Sat, 15 Dec 2012 01:14:53 +0000 (01:14 +0000)]
Merge "(bug 42787) Make import robust against corrupt content."
Aaron Schulz [Sat, 15 Dec 2012 00:06:36 +0000 (16:06 -0800)]
Use $IP instead of relative paths.
Change-Id: Ic49ed466d3974c1640378831f0db61fda89f4e9e
Aaron Schulz [Fri, 14 Dec 2012 22:06:20 +0000 (14:06 -0800)]
Use $IP instead of hard-coded relative path.
Change-Id: I6e631116ca73896527eee7a607204071c1467414
Bsitu [Fri, 14 Dec 2012 22:10:52 +0000 (22:10 +0000)]
Merge "jquery.badge: Add ability to display the number zero."
Timo Tijhof [Fri, 14 Dec 2012 21:13:23 +0000 (22:13 +0100)]
jquery.badge: Add ability to display the number zero.
This is needed by Echo extension.
Follows-up Id5e7cbb1.
Change-Id: I88c5f819c42d9fe1468be6b2cf74413d7d6d6907
Aaron Schulz [Fri, 14 Dec 2012 21:06:39 +0000 (13:06 -0800)]
[LockManager] Moved ScopedLock to its own file.
Change-Id: I7430604d3a23a25e8b82036b022336a73cbbc996
Krinkle [Fri, 14 Dec 2012 21:02:17 +0000 (21:02 +0000)]
Merge "Revert "Adding ability of jQuery badge to display the number zero if requested.""
Krinkle [Fri, 14 Dec 2012 21:02:06 +0000 (21:02 +0000)]
Revert "Adding ability of jQuery badge to display the number zero if requested."
This reverts commit
b170b56f09d1ec5ab5e34e997447546239e008fd
CSteipp [Fri, 14 Dec 2012 20:58:31 +0000 (20:58 +0000)]
Merge "(bug 37714) Use log type in target object when deleting logs of the same type"
Subramanya Sastry [Fri, 14 Dec 2012 20:46:07 +0000 (20:46 +0000)]
Merge "Test a newline-only template parameter"
Translation updater bot [Fri, 14 Dec 2012 20:39:51 +0000 (20:39 +0000)]
Merge "Localisation updates from translatewiki.net."
Gabriel Wicke [Fri, 14 Dec 2012 19:54:55 +0000 (11:54 -0800)]
Test a newline-only template parameter
Change-Id: I99f17767e0aed915e84962a72403ebfb3b1307be
Translation updater bot [Fri, 14 Dec 2012 20:15:55 +0000 (20:15 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I55a9766a29e8bb5513bcb472cad30c4ed979283c
Bsitu [Fri, 14 Dec 2012 20:12:04 +0000 (20:12 +0000)]
Merge "Adding ability of jQuery badge to display the number zero if requested."
jenkins-bot [Fri, 14 Dec 2012 19:48:35 +0000 (19:48 +0000)]
Merge "Changed LoginForm::addNewaccountInternal() to return Status."
Federico Leva [Fri, 14 Dec 2012 17:50:05 +0000 (18:50 +0100)]
Add link to localisation instructions in the installer
The installer didn't give any clue on how to localise MediaWiki,
while localisation is the main "customisation" need for a wiki.
"Localisation" now does have some human-redable sections with pointers.
Change-Id: Ia08eaababcaaf281cae6d8b509cead3a66a62111
jenkins-bot [Fri, 14 Dec 2012 16:35:08 +0000 (16:35 +0000)]
Merge "(minor) Always use getSites() to get sites."
jenkins-bot [Fri, 14 Dec 2012 15:49:53 +0000 (15:49 +0000)]
Merge "Removed references to DB ignoreErrors() function."
jenkins-bot [Fri, 14 Dec 2012 14:55:04 +0000 (14:55 +0000)]
Merge "(bug 42639) Fix API action=options for multiselect prefs"
Daniel Kinzler [Fri, 14 Dec 2012 10:29:28 +0000 (10:29 +0000)]
Merge "(bug 42089) meta=siteinfo should output the default content model"
jenkins-bot [Fri, 14 Dec 2012 02:08:45 +0000 (02:08 +0000)]
Merge "(bug 40679) Set $wgSecureLogin to false for $wgServers with schemes."
Tyler Anthony Romeo [Mon, 8 Oct 2012 04:21:08 +0000 (00:21 -0400)]
(bug 40679) Set $wgSecureLogin to false for $wgServers with schemes.
When $wgServer has a scheme, force $wgSecureLogin to false in order
to stop infinite redirects when trying to go to the login page.
Change-Id: I5792eb1a54c7b6279aad0531cedf9f7b4bf94e6e
Translation updater bot [Thu, 13 Dec 2012 20:12:06 +0000 (20:12 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I3c615ab20c29b64a6302763124df9f976ba0fa91
umherirrender [Thu, 13 Dec 2012 20:05:15 +0000 (21:05 +0100)]
(bug 42089) meta=siteinfo should output the default content model
Adding MWNamespace::getNamespaceContentModel which returns the namespace
content model from the global, if set
Change-Id: Ie012fd0ff846d50cae8081fc32b76900dbcad209
parent5446 [Tue, 7 Aug 2012 14:46:31 +0000 (10:46 -0400)]
Changed LoginForm::addNewaccountInternal() to return Status.
Rather than calling mainLoginForm() and returning false,
the addNewaccountInternal() function now returns a Status
on failure. mainLoginForm() is then called in addNewAccount()
and addNewAccountMailPassword() instead. This allows for
processing of the account creation form without submitting
anything to $wgOut.
Change-Id: I402c6bebcfe276233cc1f9e16efbe55a034b2181
Subramanya Sastry [Thu, 13 Dec 2012 17:13:14 +0000 (17:13 +0000)]
Merge "Test wiki tables with a lot of comments"
daniel [Mon, 10 Dec 2012 11:03:13 +0000 (12:03 +0100)]
Make --wiki work with phpunit.php.
This introduces --wiki as a dummy paramter to the PHPUnit job, so it no
longer complains and errors our. The parameter is already picked up
correctly be Maintenance.php.
I have a wiki family setup with a Wikibase repo and client using the
same install base, and the same LanguageSettings.php. Different
databases etc are triggered based on the request URI or, for maintenance
scripts, by the --wiki paramters.
I can run maintenance scripts etc against the client setup using --wiki
client. But how do I run unit tests against the client setup? If I try:
$ phpunit.php --wiki client
unrecognized option --wiki
$
That's because after Maintenances.inc (correctly) processes the command
line parameters, phpunit also tries to process them - and complains,
because it doesn't know --wiki.
This change introduces --wiki as a dummy parameter to phpunit to work
around this. With this patch applied, I can run unit tests against my
client setup using phpunit.php --wiki client as expected.
Change-Id: I6cf319cdbdf55a541c986838d370aa324994ae78
Gabriel Wicke [Thu, 13 Dec 2012 01:36:53 +0000 (17:36 -0800)]
Test wiki tables with a lot of comments
Change-Id: I222071df9d3a69ea4f0f8eaebc2242e038ff2391
Trevor Parscal [Thu, 13 Dec 2012 00:35:55 +0000 (00:35 +0000)]
Merge "Upstream: Upgrade jQuery JSON from 2.3 to 2.4.0."
Aaron Schulz [Wed, 12 Dec 2012 23:37:21 +0000 (15:37 -0800)]
[JobQueue] Kill ORDER BY in job claim function.
* Although indexed, this slows down for some reason. This started
to waste master CPU time for wmf wikis with hundreds of thousands
of jobs. Given how the DB scans the index, the function still
works correctly without the ORDER BY.
Change-Id: I6ba6cc65d0023de3b9d9df0cfcd6a403289c9848
Reedy [Wed, 12 Dec 2012 21:52:57 +0000 (21:52 +0000)]
Merge "Revert "(bug 29115) Add redirect target value on page info""
Reedy [Wed, 12 Dec 2012 21:51:54 +0000 (21:51 +0000)]
Revert "(bug 29115) Add redirect target value on page info"
This reverts commit
0c6ba8c61d73f995d32e5c8348833ebedd90ea4a
Translation updater bot [Wed, 12 Dec 2012 20:58:44 +0000 (20:58 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I1b38848d117f1d4c376bbe35a7394b8172ebf8f5
Daniel Kinzler [Wed, 12 Dec 2012 20:14:18 +0000 (20:14 +0000)]
Merge "Fixed SiteArray serialization"
Timo Tijhof [Wed, 12 Dec 2012 20:13:03 +0000 (21:13 +0100)]
Upstream: Upgrade jQuery JSON from 2.3 to 2.4.0.
* http://code.google.com/p/jquery-json/downloads/list
Change-Id: I882f232063d320370451003631c6fa369f08059f
Kaldari [Wed, 12 Dec 2012 01:09:47 +0000 (17:09 -0800)]
Adding ability of jQuery badge to display the number zero if requested.
This is needed by Echo extension.
Change-Id: Id5e7cbb1aacbad1624474a6d9fac9b95cd1bc275
Alex Monk [Sat, 13 Oct 2012 13:52:49 +0000 (14:52 +0100)]
(bug 37714) Use log type in target object when deleting logs of the same type
Change-Id: I8d721ef5784df624dc0de57adcdf75a4bc3fb604
jenkins-bot [Wed, 12 Dec 2012 19:05:03 +0000 (19:05 +0000)]
Merge "(bug 42832) Fixed cookie security when not wpStickHTTPS."
jeroendedauw [Wed, 12 Dec 2012 19:00:03 +0000 (20:00 +0100)]
Fixed SiteArray serialization
Change-Id: I9844236b8720d96f99aef788ab023c522f993045
jenkins-bot [Wed, 12 Dec 2012 18:35:05 +0000 (18:35 +0000)]
Merge "(bug 42211) Fix the display of some user rights log entries"
Tyler Anthony Romeo [Fri, 7 Dec 2012 19:54:20 +0000 (14:54 -0500)]
(bug 42832) Fixed cookie security when not wpStickHTTPS.
When a user goes to a secure login page, but does not
want to stick to HTTPS, reset the session so that all
session cookies are not secure otherwise the session
won't be setup on HTTP.
Change-Id: I54ba02b723442f6d8b585f0f86a572b56be06596
daniel [Wed, 12 Dec 2012 14:13:23 +0000 (15:13 +0100)]
(minor) Always use getSites() to get sites.
Change-Id: If6acf458a762a3de6096f35f231d50ba59ed3256
Daniel Kinzler [Wed, 12 Dec 2012 13:25:48 +0000 (13:25 +0000)]
Merge "(Bug 42616) Remove extra newline from redirect wikitext"
daniel [Wed, 12 Dec 2012 11:47:40 +0000 (12:47 +0100)]
(bug 42787) Make import robust against corrupt content.
This catches serialization exceptions caused by corrupt or mis-reported
non-text content.
Change-Id: I28ef70f716b1aade1b837ca480c49b1826fa9e26
lupo [Fri, 16 Nov 2012 12:52:55 +0000 (13:52 +0100)]
(bug 41146) DatabaseOracle no more rely on mbstring
DatabaseOracle class has been using mb_check_encoding which might not
always be available. We now rely on the StringUtils::isUtf8() method
implemented by I4cf4dfe2.
Change-Id: I5a9ffa23e3e738e4886d61e85974b0af25058308
Antoine Musso [Fri, 16 Nov 2012 12:47:10 +0000 (13:47 +0100)]
abstract utf8 validation fallback
Language class had a code snippet to verify whether a text is valid
UTF-8 though that could not be used from another place. The snippet use
mb_check_encoding() and fallback to some regex whenever mbstring is not
available.
* introduce StringUtils::isUtf8() which is mostly code moved out of the
language class.
* Enhance regex readability by using an expanded regex (//x)
* Made the regex to recognize longer sequences
* Add some unit tests to the mbstring and the PHP native implementation
* An optional second parameter can be passed to isUtf8() to force the
use of our PHP implementation. This is used for unit testing.
Change-Id: I4cf4dfe2eb02f046db1726f4654ba649e01419f2
daniel [Mon, 10 Dec 2012 10:59:02 +0000 (11:59 +0100)]
(minor) use wfDebugLog consistently.
ExternalStoreDB used a mixture of wfDebug() and wfDebugLog().
Change-Id: Ifea99cce5accd01bce85b9d877a8d8fc5ddbd98a
jan [Mon, 22 Oct 2012 09:00:15 +0000 (11:00 +0200)]
(bug 24620) Add types and test for LogFormatter
This change adds types to LogFormatter like "msg" so log values
(parameters for the log message) can be formated as e.g. a message in
user or content language.
This change adds tests for LogFormatter, too. Tested are the normal log
params, the log params with type and the output of the comment.
This change repairs the changes I6a56c204 and I7218a173
Change-Id: Ief3665056b3bb613ff709821306017ee7967c444
Translation updater bot [Tue, 11 Dec 2012 22:57:52 +0000 (22:57 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Tue, 11 Dec 2012 22:41:56 +0000 (22:41 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I381b6e39f31bfea58a55241342c8401750e0c04d
Aaron Schulz [Tue, 11 Dec 2012 22:29:33 +0000 (14:29 -0800)]
[Upload] Improvements to async stash uploading.
* Added a "stage" field to the status info. This lets clients detect
if the process failed to even start much more quickly.
* Actually unset the status from $_SESSION if set to false.
Change-Id: I29703f14625b1b10e6413db27a3964324b4679e6
Aaron Schulz [Tue, 11 Dec 2012 19:24:12 +0000 (11:24 -0800)]
Removed references to DB ignoreErrors() function.
Change-Id: I9441d897d45bca189c17b8bcca4ea7b3469af8b0
Reedy [Tue, 11 Dec 2012 17:03:11 +0000 (17:03 +0000)]
Merge "messsage -> message"
Alex Monk [Tue, 11 Dec 2012 16:57:56 +0000 (16:57 +0000)]
messsage -> message
There were some other occurances in the Qqq messages, I have fixed those on translatewiki.
Change-Id: I2b1b34c9fe3cf24ed9086673c71c75486189fa78
daniel [Tue, 11 Dec 2012 11:57:37 +0000 (12:57 +0100)]
(bug 42948) $wiki parameter for getRevisionText().
Revision::getRevisionText should take wiki identifier, to allow for the loading
of revision blobs from another wiki's database. This is passed through to
ExternalStoreDB, so it uses the correct database connection.
Change-Id: I14a7ebb8aa31a4e50735db9c28ff8d2759cd872c
ArielGlenn [Tue, 11 Dec 2012 08:20:51 +0000 (08:20 +0000)]
Merge "[JobQueue] Pushed stats down to job queue subclasses."
Aaron Schulz [Tue, 11 Dec 2012 07:48:59 +0000 (23:48 -0800)]
Fixed backwards return value in
55592f37f4ebf8f257ce5595d9c354016cdf0a47.
Change-Id: Ie6c80324c5a6c9f14bb7be076b38405012dc91af