lhc/web/wiklou.git
11 years agoFix spelling in nan date formats
Niklas Laxström [Sat, 15 Sep 2012 16:55:02 +0000 (16:55 +0000)]
Fix spelling in nan date formats

http://translatewiki.net/wiki/Thread:Portal_talk:Nan/Misspelt_word_in_date_format

Re-apply after overwrite by translation updated bot

Change-Id: Iec7678afbb4ccdaa43430891e35d58c740f107d5

11 years agoMerge "Less wild whitespace"
jenkins-bot [Mon, 10 Dec 2012 15:12:49 +0000 (15:12 +0000)]
Merge "Less wild whitespace"

11 years agoMerge "Fix incorrect documentation for Language::getFormattedNsText()"
jenkins-bot [Mon, 10 Dec 2012 14:51:25 +0000 (14:51 +0000)]
Merge "Fix incorrect documentation for Language::getFormattedNsText()"

11 years agoMerge "Fix check to see if element is there already."
Daniel Kinzler [Mon, 10 Dec 2012 14:10:08 +0000 (14:10 +0000)]
Merge "Fix check to see if element is there already."

11 years agoFix incorrect documentation for Language::getFormattedNsText()
Siebrand Mazeland [Mon, 10 Dec 2012 10:53:03 +0000 (11:53 +0100)]
Fix incorrect documentation for Language::getFormattedNsText()

Change-Id: I16e9deaa5c962f177dee83785ac5142d4681b75f

11 years agoMerge "Revert "(bug 24620) Add types to LogFormatter""
Reedy [Mon, 10 Dec 2012 01:25:48 +0000 (01:25 +0000)]
Merge "Revert "(bug 24620) Add types to LogFormatter""

11 years agoMerge "Revert "(bug 24620) Add tests for LogFormatter""
Reedy [Mon, 10 Dec 2012 01:25:40 +0000 (01:25 +0000)]
Merge "Revert "(bug 24620) Add tests for LogFormatter""

11 years agoRevert "(bug 24620) Add types to LogFormatter"
Siebrand [Mon, 10 Dec 2012 01:24:21 +0000 (01:24 +0000)]
Revert "(bug 24620) Add types to LogFormatter"

This breaks extensions because of changing protected methods to public (LogFormatter::getMessageParameters() in particular). We need a solid solution. The next 1.21-wmf is being branched tomorrow. Revert is the sanest solution at the moment.

This reverts commit 1c296faf58fe57328c97fff36a57b64c9b8fada7

11 years agoRevert "(bug 24620) Add tests for LogFormatter"
Siebrand [Mon, 10 Dec 2012 01:23:07 +0000 (01:23 +0000)]
Revert "(bug 24620) Add tests for LogFormatter"

As I6a56c204 breaks extensions because of changing protected methods to public, this has to be reverted. We need a solid solution and the next 1.21-wmf is being branched tomorrow. Revert is the sanest solution at the moment.

This reverts commit 888fe0ffb367e9714615e81f2890ec8314219125

11 years agoMerge "Use my full name in the credits"
jenkins-bot [Mon, 10 Dec 2012 00:56:12 +0000 (00:56 +0000)]
Merge "Use my full name in the credits"

11 years agoMerge "test: raise timeout on structure test"
jenkins-bot [Mon, 10 Dec 2012 00:37:49 +0000 (00:37 +0000)]
Merge "test: raise timeout on structure test"

11 years agotest: raise timeout on structure test
Antoine Musso [Mon, 10 Dec 2012 00:27:39 +0000 (01:27 +0100)]
test: raise timeout on structure test

The test testUnitTestFileNamesEndWithTest() does some file I/O which is
kind of slow.

Change-Id: I6792708bda755638e6b98c514f2c015ed094671f

11 years agoUse my full name in the credits
Alex Monk [Mon, 10 Dec 2012 00:02:07 +0000 (00:02 +0000)]
Use my full name in the credits

Change-Id: I3c366bc5ad98d47849556008f8204123a4356dac

11 years ago(bug 24620) Add tests for LogFormatter
jan [Wed, 31 Oct 2012 19:24:47 +0000 (20:24 +0100)]
(bug 24620) Add tests for LogFormatter

This change adds tests for LogFormatter. Tested are the normal log
params, the log params with type and the output of the comment.

Change-Id: I7218a1738c97db1d888605cecdfbffe21ca00fbf

11 years agoMerge "ORM: pass some __METHOD__ to database functions"
jenkins-bot [Sun, 9 Dec 2012 23:57:32 +0000 (23:57 +0000)]
Merge "ORM: pass some __METHOD__ to database functions"

11 years ago(bug 24620) Add types to LogFormatter
jan [Mon, 22 Oct 2012 09:00:15 +0000 (11:00 +0200)]
(bug 24620) Add types to LogFormatter

This change adds types to LogFormatter like "msg" so log values
(paramaters for the log message) can be formated as e.g. a message in
user or content language.

If you want to add another type feel free to suggest it in your review.

Change-Id: I6a56c2041bcbce292cff485e706db02305aab01c

11 years agoMerge "(Bug 38439) Attempt on fixing the suicidal LangObjCache"
Siebrand [Sun, 9 Dec 2012 23:42:34 +0000 (23:42 +0000)]
Merge "(Bug 38439) Attempt on fixing the suicidal LangObjCache"

11 years agoMerge "Genderize Special:Preferences"
jenkins-bot [Sun, 9 Dec 2012 23:28:47 +0000 (23:28 +0000)]
Merge "Genderize Special:Preferences"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 9 Dec 2012 20:06:59 +0000 (20:06 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Id7a882a6e7c4915b47594fdcb3afaada84e2f2a6

11 years agoMerge "Set wgWellFormedXml for LinkerTest::testUserLink"
jenkins-bot [Sun, 9 Dec 2012 19:54:08 +0000 (19:54 +0000)]
Merge "Set wgWellFormedXml for LinkerTest::testUserLink"

11 years agoMerge "Set wgHtml5/wgWellFormedXml for XmlTests"
jenkins-bot [Sun, 9 Dec 2012 16:35:19 +0000 (16:35 +0000)]
Merge "Set wgHtml5/wgWellFormedXml for XmlTests"

11 years agoORM: pass some __METHOD__ to database functions
umherirrender [Fri, 23 Nov 2012 14:29:46 +0000 (15:29 +0100)]
ORM: pass some __METHOD__ to database functions

Change-Id: Ic76f88fe682118a097964e4011678ef4ad69113b

11 years agoSet wgWellFormedXml for LinkerTest::testUserLink
umherirrender [Sun, 9 Dec 2012 10:56:45 +0000 (11:56 +0100)]
Set wgWellFormedXml for LinkerTest::testUserLink

Change-Id: I9ab370e2f23e0134741680ff620e8bb552496868

11 years agoSet wgHtml5/wgWellFormedXml for XmlTests
umherirrender [Sun, 9 Dec 2012 10:47:03 +0000 (11:47 +0100)]
Set wgHtml5/wgWellFormedXml for XmlTests

Change-Id: I3cab843bad9461098cf3c6b574fb767c3267ab14

11 years agoFix SanitizerTest for wikis with wgUseTidy = true;
umherirrender [Sun, 9 Dec 2012 10:03:03 +0000 (11:03 +0100)]
Fix SanitizerTest for wikis with wgUseTidy = true;

testRemovehtmltagsOnHtml5Tags needs wgUseTidy = false;

3) SanitizerTest::testRemovehtmltagsOnHtml5Tags with data set #2
('time', false)

Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<time></time>
-'
+'<time>'

Change-Id: Ib7e156293e2efae053b055e40393e442719eb5bd

11 years agoMerge "ParserOutput::addLanguageLink needs a string"
IAlex [Sun, 9 Dec 2012 09:52:05 +0000 (09:52 +0000)]
Merge "ParserOutput::addLanguageLink needs a string"

11 years agoMerge "Tidy up some unbalanced returns in methods"
IAlex [Sun, 9 Dec 2012 09:48:40 +0000 (09:48 +0000)]
Merge "Tidy up some unbalanced returns in methods"

11 years agoMerge "Remove static method from interface"
IAlex [Sun, 9 Dec 2012 09:39:12 +0000 (09:39 +0000)]
Merge "Remove static method from interface"

11 years agoMerge "Adding missing @group Database to unit tests"
IAlex [Sun, 9 Dec 2012 09:37:32 +0000 (09:37 +0000)]
Merge "Adding missing @group Database to unit tests"

11 years agoMerge "Remove unreachable lines"
jenkins-bot [Sun, 9 Dec 2012 09:30:10 +0000 (09:30 +0000)]
Merge "Remove unreachable lines"

11 years agoAdding missing @group Database to unit tests
umherirrender [Sun, 9 Dec 2012 09:27:56 +0000 (10:27 +0100)]
Adding missing @group Database to unit tests

Reasons:
* Signature parsing
* GenderCache
* Using TestUser class (inside ApiTestCase)

Change-Id: Iea4e9f9cafaa3afe7da8b922644061d3d575afe3

11 years agoMerge "[JobQueue] Make doIsEmpty return bool in all cases."
jenkins-bot [Sun, 9 Dec 2012 09:25:33 +0000 (09:25 +0000)]
Merge "[JobQueue] Make doIsEmpty return bool in all cases."

11 years ago[JobQueue] Make doIsEmpty return bool in all cases.
Reedy [Sun, 9 Dec 2012 02:40:33 +0000 (02:40 +0000)]
[JobQueue] Make doIsEmpty return bool in all cases.

Change-Id: Ic42f426ef3d13bd0726955fe29b7e7c3d0cae152

11 years agoMerge "Add numerous missing @throws to method documentation"
IAlex [Sun, 9 Dec 2012 07:52:43 +0000 (07:52 +0000)]
Merge "Add numerous missing @throws to method documentation"

11 years agoMerge "Fixup a couple of uses of return values of functions that return void"
IAlex [Sun, 9 Dec 2012 07:44:43 +0000 (07:44 +0000)]
Merge "Fixup a couple of uses of return values of functions that return void"

11 years agoFixup a couple of uses of return values of functions that return void
Reedy [Sun, 9 Dec 2012 03:16:14 +0000 (03:16 +0000)]
Fixup a couple of uses of return values of functions that return void

Change-Id: I7c8f08c5b436cb3209fd98b9479a50abe223cccc

11 years agoAdd numerous missing @throws to method documentation
Reedy [Sun, 9 Dec 2012 03:09:48 +0000 (03:09 +0000)]
Add numerous missing @throws to method documentation

Change-Id: Iba868e82a75fef7c7d011bc5be192bf059d037c0

11 years agoTidy up some unbalanced returns in methods
Reedy [Sun, 9 Dec 2012 02:59:04 +0000 (02:59 +0000)]
Tidy up some unbalanced returns in methods

Leave a TODO

Change-Id: Ic49ac8630650b341aafb3c17abd22f3a07805d27

11 years agoRemove unreachable lines
Reedy [Sun, 9 Dec 2012 02:37:10 +0000 (02:37 +0000)]
Remove unreachable lines

Change-Id: Ie7ec14f4ce65bc87b0cd49ec9266c394770ee7c4

11 years agoMove insertUpdateRow call before return applyPatch to make it reachable
Reedy [Sun, 9 Dec 2012 02:33:51 +0000 (02:33 +0000)]
Move insertUpdateRow call before return applyPatch to make it reachable

This might not be quite right... We might want to cache the result of apply patch, insert the row and then return the result...

Change-Id: Ie6a1bb16d2912ad43aa8fd45b2bf10a8bf8652ae

11 years agoFix condition for the entries with a null model.
daniel [Sat, 8 Dec 2012 21:09:30 +0000 (22:09 +0100)]
Fix condition for the entries with a null model.

A null model means ‘guess from page name’.

Change-Id: I63e80761e46cc7707e9c862e2e50a950c1766aa4

11 years agoThe error message should refer to $wgContentHandlerUseDB
Platonides [Sat, 8 Dec 2012 21:04:50 +0000 (22:04 +0100)]
The error message should refer to $wgContentHandlerUseDB

Change-Id: I81bc50e6949cecdc7f3d7e0b89f54464b4a146c7

11 years agoMerge "Remove broken test."
jenkins-bot [Sat, 8 Dec 2012 18:54:01 +0000 (18:54 +0000)]
Merge "Remove broken test."

11 years agoRemove broken test.
jeroendedauw [Fri, 7 Dec 2012 18:42:13 +0000 (19:42 +0100)]
Remove broken test.

Calling the method does not raise an exception but a notice (depending on settings).
PHPUnit just happens to turn this into an exception. The test thus breaks if PHPUnit
does not do this, which apparently happens in some cases and caused bug 41491

Change-Id: I9d14fd875c70c8b3d164c0b8a4fa2667c5769682

11 years agoFix check to see if element is there already.
jeroendedauw [Sat, 8 Dec 2012 18:13:44 +0000 (19:13 +0100)]
Fix check to see if element is there already.

PHP docs disagree with reality when it comes to return type of offsetGet, so switching to offsetExists.

Issue spotted by Brad Jorsch

Change-Id: I4ce1651d4ed681ab55cf297090ee963b64584bbf

11 years agoMerge "prefix debug log when they end up in the main log"
IAlex [Sat, 8 Dec 2012 15:08:46 +0000 (15:08 +0000)]
Merge "prefix debug log when they end up in the main log"

11 years agoMerge "(bug 38897) Fix unhandled exception when visiting e.g. MediaWiki:Somemessage/0"
IAlex [Sat, 8 Dec 2012 14:44:43 +0000 (14:44 +0000)]
Merge "(bug 38897) Fix unhandled exception when visiting e.g. MediaWiki:Somemessage/0"

11 years agoMerge "Replace deprecated Title::userIsWatching()"
IAlex [Sat, 8 Dec 2012 14:40:55 +0000 (14:40 +0000)]
Merge "Replace deprecated Title::userIsWatching()"

11 years agoMerge "worthwhile tests in testTitleObjectStringConversion"
IAlex [Sat, 8 Dec 2012 14:37:31 +0000 (14:37 +0000)]
Merge "worthwhile tests in testTitleObjectStringConversion"

11 years agoMerge "Memory setting for djvutext is now a constant"
IAlex [Sat, 8 Dec 2012 14:20:27 +0000 (14:20 +0000)]
Merge "Memory setting for djvutext is now a constant"

11 years agoMerge "Use MWNamespace method instead of binary arithmetic"
IAlex [Sat, 8 Dec 2012 14:13:04 +0000 (14:13 +0000)]
Merge "Use MWNamespace method instead of binary arithmetic"

11 years agoMerge "Allow SQL queries with long field list to wrap"
jenkins-bot [Sat, 8 Dec 2012 13:54:26 +0000 (13:54 +0000)]
Merge "Allow SQL queries with long field list to wrap"

11 years agoMerge "mediawiki.Uri.test: Clean up"
jenkins-bot [Sat, 8 Dec 2012 13:16:31 +0000 (13:16 +0000)]
Merge "mediawiki.Uri.test: Clean up"

11 years agoMerge "(bug 40585) Don't drop 'step="any"' in HTML input fields."
jenkins-bot [Sat, 8 Dec 2012 12:47:07 +0000 (12:47 +0000)]
Merge "(bug 40585) Don't drop 'step="any"' in HTML input fields."

11 years agoAllow SQL queries with long field list to wrap
Niklas Laxström [Sat, 8 Dec 2012 12:12:34 +0000 (12:12 +0000)]
Allow SQL queries with long field list to wrap

Change-Id: I7ed64a246455a7f2c48e7e120d45d1ebeb929584

11 years agoUse MWNamespace method instead of binary arithmetic
umherirrender [Sat, 8 Dec 2012 11:09:15 +0000 (12:09 +0100)]
Use MWNamespace method instead of binary arithmetic

"& ~1" or "| 1" are not easy to read

Change-Id: I08ff92669d32f3663ea58e98d8c49f0a54dfeca4

11 years agoMemory setting for djvutext is now a constant
Dereckson [Fri, 7 Dec 2012 21:00:41 +0000 (22:00 +0100)]
Memory setting for djvutext is now a constant

This is a follow-up for change Ia735e1b7.
See also bug 42466.

Change-Id: I67d8ae9000713c349c7506e9a77d350c89992400

11 years agoMerge "Adding fragment support to SpecialPage::getTitleFor()"
Bsitu [Fri, 7 Dec 2012 22:40:26 +0000 (22:40 +0000)]
Merge "Adding fragment support to SpecialPage::getTitleFor()"

11 years agomediawiki.Uri.test: Clean up
Timo Tijhof [Sun, 2 Dec 2012 04:23:08 +0000 (05:23 +0100)]
mediawiki.Uri.test: Clean up

* Grouped assertions together by logical test unit (method names).
* Re-ordered (constructor, properties, methods, special cases).

Change-Id: Ia8de947278cdf469859062af47e1333c7a9f827b

11 years agoMerge "hideDeprecated( 'CategoryPage::getAutosummary' )"
jenkins-bot [Fri, 7 Dec 2012 22:13:00 +0000 (22:13 +0000)]
Merge "hideDeprecated( 'CategoryPage::getAutosummary' )"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Fri, 7 Dec 2012 22:01:49 +0000 (22:01 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "parse argument for message 'ago' in MWTimestamp::getHumanTimestamp"
Nikerabbit [Fri, 7 Dec 2012 21:55:33 +0000 (21:55 +0000)]
Merge "parse argument for message 'ago' in MWTimestamp::getHumanTimestamp"

11 years agoLess wild whitespace
Niklas Laxström [Fri, 7 Dec 2012 21:44:53 +0000 (21:44 +0000)]
Less wild whitespace

Change-Id: I3048b23b50aa284b3471dfb8033122c913909b01

11 years agohideDeprecated( 'CategoryPage::getAutosummary' )
Platonides [Fri, 7 Dec 2012 21:43:02 +0000 (22:43 +0100)]
hideDeprecated( 'CategoryPage::getAutosummary' )

check-vars correctly detects the call to CategoryPage::getAutosummary as
deprecated by coming from Article::getAutosummary but needs an explicit
hideDeprecated() to not complain about it.

Change-Id: I8a51a3041cc4cab592c5e37862efb69b538821a0

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 7 Dec 2012 21:35:35 +0000 (21:35 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ieb8805eb3bdd1dfadbcacb1ef86a51610e1155f8

11 years agoMerge "Preferences: Use explicit string as returnto param"
jenkins-bot [Fri, 7 Dec 2012 21:32:31 +0000 (21:32 +0000)]
Merge "Preferences: Use explicit string as returnto param"

11 years agoUse JobQueueGroup::singleton()
Platonides [Fri, 7 Dec 2012 19:30:45 +0000 (20:30 +0100)]
Use JobQueueGroup::singleton()

Replaces usages of the deprecated pop() and insert()/insertBatch()
methods of Job class.

Change-Id: I5572c9e31a14bd660d7e3b9aa7792d0be9a26103

11 years ago(bug 40585) Don't drop 'step="any"' in HTML input fields.
Tim Landscheidt [Thu, 29 Nov 2012 12:12:35 +0000 (12:12 +0000)]
(bug 40585) Don't drop 'step="any"' in HTML input fields.

The default value for "step" is "1" which effectively bans any decimal
number from being entered into an 'type="number"' field and makes
HTMLFloatField unusable.

Change-Id: I103fd4047814a7fb0dfdc174f36badd5b660b7a4

11 years agoReplace deprecated Title::userIsWatching()
Platonides [Fri, 7 Dec 2012 18:33:34 +0000 (19:33 +0100)]
Replace deprecated Title::userIsWatching()

Change-Id: I74203e4ed51be6fe72414d1a0b95b8370aaf0720

11 years ago(bug 38897) Fix unhandled exception when visiting e.g. MediaWiki:Somemessage/0
Max Semenik [Thu, 22 Nov 2012 00:39:54 +0000 (04:39 +0400)]
(bug 38897) Fix unhandled exception when visiting e.g. MediaWiki:Somemessage/0

Change-Id: I9876e4fb21c2a1a3a0a14bff05633c7aef6a3fd3

11 years agoMerge "Remove code duplication"
jenkins-bot [Fri, 7 Dec 2012 17:57:15 +0000 (17:57 +0000)]
Merge "Remove code duplication"

11 years agoMerge "Leave some FIXME comments for Bug 36911 - Division by zero"
jenkins-bot [Fri, 7 Dec 2012 17:55:39 +0000 (17:55 +0000)]
Merge "Leave some FIXME comments for Bug 36911 - Division by zero"

11 years agoMerge "Add the required call to the parent setUp to DiffHistoryBlobTest::setUp()"
jenkins-bot [Fri, 7 Dec 2012 17:49:41 +0000 (17:49 +0000)]
Merge "Add the required call to the parent setUp to DiffHistoryBlobTest::setUp()"

11 years agoMerge "Fix method declaration in UploadFromStash"
jenkins-bot [Fri, 7 Dec 2012 17:40:48 +0000 (17:40 +0000)]
Merge "Fix method declaration in UploadFromStash"

11 years agoMerge "Make sure MaintenanceFixup's shutdown is simulated"
jenkins-bot [Fri, 7 Dec 2012 17:29:14 +0000 (17:29 +0000)]
Merge "Make sure MaintenanceFixup's shutdown is simulated"

11 years agoPreferences: Use explicit string as returnto param
umherirrender [Fri, 7 Dec 2012 16:41:00 +0000 (17:41 +0100)]
Preferences: Use explicit string as returnto param

Change-Id: I783ced55d5f811d55b4c26300890a386bcf55da1

11 years agoMerge "Reset $mConvRuleTitle before every language conversion run"
jenkins-bot [Fri, 7 Dec 2012 16:16:40 +0000 (16:16 +0000)]
Merge "Reset $mConvRuleTitle before every language conversion run"

11 years agoMake sure MaintenanceFixup's shutdown is simulated
Brad Jorsch [Fri, 7 Dec 2012 16:08:15 +0000 (11:08 -0500)]
Make sure MaintenanceFixup's shutdown is simulated

Previously, MaintenanceTest created a MaintenanceFixup in setUp and
relied on each test to call MaintenanceFixup's simulateShutdown instead
of making sure this was called in tearDown. Change Iee1261e7 broke this
by introducing a meta-test in a parent class.

Fixing that also allows us to not have to special-case failed tests.

Change-Id: I67c8615dd94734bb55ca48aac0c66298accbe0b4

11 years agoMerge "Also pass $doxygenInputFilter as parameter instead of global."
Platonides [Fri, 7 Dec 2012 15:54:23 +0000 (15:54 +0000)]
Merge "Also pass $doxygenInputFilter as parameter instead of global."

11 years agoprefix debug log when they end up in the main log
Antoine Musso [Fri, 7 Dec 2012 15:50:58 +0000 (16:50 +0100)]
prefix debug log when they end up in the main log

Whenever we use wfDebugLog( "group", "message" ); and "group" is not
also set in $wfDebugLogGroups, the group information is lost. By
prefixing the message with the group name, it makes it obvious where the
message comes from.

Example output:

...
[EventLogging] wgEventLoggingSchemaIndexUri has not been configured.
[EventLogging] EventLogging requires memcached, and no memcached[...]
Fully initialised
Profiler::instance called without $wgProfiler['class'] set[...]
Connected to database 0 at
MessageGroups::init-nocache
SQL ERROR (ignored): no such table: revtag_type
MessageGroups::loadGroupDefinitions-end
[ContentHandler] Created handler for wikitext: WikitextContentHandler
[ContentHandler] Created handler for javascript: JavaScriptContentHandler
...

Change-Id: Id75401bec516b5111cd1e3d4a9b29843953ce12b

11 years agoReset $mConvRuleTitle before every language conversion run
Liangent [Tue, 25 Sep 2012 17:45:54 +0000 (01:45 +0800)]
Reset $mConvRuleTitle before every language conversion run

When conversion is run more than once, and manual title conversion is
only used in some of them, the result of title conversion is incorrectly
applied to all output after where it's really used.

In the past nothing has been broken because the converter is run for at
most one page (so at most one page title) in one request but this is not
true anymore when parser tests come.

Change-Id: Id689feaeff93acb859f7ba8d2aec0d7dbb5d1b6c

11 years agoworthwhile tests in testTitleObjectStringConversion
Antoine Musso [Fri, 7 Dec 2012 15:39:39 +0000 (16:39 +0100)]
worthwhile tests in testTitleObjectStringConversion

The previous tests were not reflecting their comment, I have tweaked the
assertions a bit to actually test something that reflect the comments.

Change-Id: Ie1764ee1a218ead0169958704ba8625ab8d56445

11 years agoMerge "[JobQueue] Added __METHOD__ to delete() call."
Demon [Fri, 7 Dec 2012 12:37:11 +0000 (12:37 +0000)]
Merge "[JobQueue] Added __METHOD__ to delete() call."

11 years agoParserOutput::addLanguageLink needs a string
umherirrender [Fri, 7 Dec 2012 11:33:47 +0000 (12:33 +0100)]
ParserOutput::addLanguageLink needs a string

The Parser passed a string, not a Title object to that method, doing
this in the test also

Change-Id: I05d195c1dc3cd2366795334f81601007240d9f33

11 years agoparse argument for message 'ago' in MWTimestamp::getHumanTimestamp
umherirrender [Fri, 7 Dec 2012 11:28:17 +0000 (12:28 +0100)]
parse argument for message 'ago' in MWTimestamp::getHumanTimestamp

Change-Id: I8ec8052f949313f5a3bcef2b9e668d139d7cbf6d

11 years agoMerge changes Ic85d486d,I95bfb886
Hashar [Fri, 7 Dec 2012 10:51:16 +0000 (10:51 +0000)]
Merge changes Ic85d486d,I95bfb886

* changes:
  Rename JavascriptContentTest to JavaScriptContentTest
  Use the canonical class name: s/JavascriptContent/JavaScriptContent/

11 years agoMerge "(bug 42226) failure in sites tests"
Hashar [Fri, 7 Dec 2012 10:43:28 +0000 (10:43 +0000)]
Merge "(bug 42226) failure in sites tests"

11 years ago(bug 42226) failure in sites tests
jeroendedauw [Thu, 6 Dec 2012 22:34:23 +0000 (23:34 +0100)]
(bug 42226) failure in sites tests

MediaWikiSiteTest::testRemove got a duplicate key error.

Change-Id: I7a40fe50b757e4162b7ccf1655d872cbd2c51f5d

11 years agoFix method declaration in UploadFromStash
umherirrender [Fri, 7 Dec 2012 08:18:41 +0000 (09:18 +0100)]
Fix method declaration in UploadFromStash

1) UploadStashTest::testValidRequest
Declaration of UploadFromStash::stashFile() should be compatible with
that of UploadBase::stashFile()

Change-Id: If94ab8b718e23b50a1b67ba0fac3ea24926d5950

11 years agoMerge "[JobQueue] Added a sanity check to catch ack() breakage."
Kaldari [Fri, 7 Dec 2012 05:14:01 +0000 (05:14 +0000)]
Merge "[JobQueue] Added a sanity check to catch ack() breakage."

11 years ago[JobQueue] Added a sanity check to catch ack() breakage.
Aaron Schulz [Fri, 7 Dec 2012 03:30:25 +0000 (19:30 -0800)]
[JobQueue] Added a sanity check to catch ack() breakage.

* Also make sure the "id" field is set even if broken
  subclasses do not set it as the base class does.

Change-Id: I2f617187e225df6c1b02b4062c835cd6581c5d99

11 years agoRemove code duplication
Reedy [Fri, 7 Dec 2012 01:11:38 +0000 (01:11 +0000)]
Remove code duplication

Remove trailing whitespace

Change-Id: I31b381c45ccc1631bd17c4d62a1cc1985a4770ba

11 years agoMerge "[FileBackend] Removed obsolete "allowStale" parameter."
Brion VIBBER [Fri, 7 Dec 2012 00:08:20 +0000 (00:08 +0000)]
Merge "[FileBackend] Removed obsolete "allowStale" parameter."

11 years agoLeave some FIXME comments for Bug 36911 - Division by zero
Reedy [Thu, 6 Dec 2012 23:59:18 +0000 (23:59 +0000)]
Leave some FIXME comments for Bug 36911 - Division by zero

Change-Id: I994c482cad1d195cf29d18f7ccf1d8816b1e7330

11 years ago[JobQueue] Added __METHOD__ to delete() call.
Aaron Schulz [Thu, 6 Dec 2012 23:41:31 +0000 (15:41 -0800)]
[JobQueue] Added __METHOD__ to delete() call.

Change-Id: If2644e2d0ef12b6ad68b7229f1e60a3d50fc139d

11 years agoMerge "Register WikitextContentTest in the test autoloader."
Hashar [Thu, 6 Dec 2012 23:19:01 +0000 (23:19 +0000)]
Merge "Register WikitextContentTest in the test autoloader."

11 years agoMerge "Add missing wfProfileOut()"
Hashar [Thu, 6 Dec 2012 23:16:18 +0000 (23:16 +0000)]
Merge "Add missing wfProfileOut()"

11 years agoMerge "[JobQueue] Reduced the change of deadlocks in recycleStaleJobs()."
Demon [Thu, 6 Dec 2012 22:45:30 +0000 (22:45 +0000)]
Merge "[JobQueue] Reduced the change of deadlocks in recycleStaleJobs()."

11 years agoAlso pass $doxygenInputFilter as parameter instead of global.
Platonides [Thu, 6 Dec 2012 22:29:44 +0000 (23:29 +0100)]
Also pass $doxygenInputFilter as parameter instead of global.

Change-Id: I63fa0125576c4694f63d271f9824d783869f25d1

11 years agoRename JavascriptContentTest to JavaScriptContentTest
Platonides [Thu, 6 Dec 2012 22:13:10 +0000 (23:13 +0100)]
Rename JavascriptContentTest to JavaScriptContentTest

Better match the original class name.

Change-Id: Ic85d486d55c2bc58189e5d5b411d296e872fc577