lhc/web/wiklou.git
10 years agoFix variable name in comments
Niklas Laxström [Sun, 24 Nov 2013 10:03:38 +0000 (10:03 +0000)]
Fix variable name in comments

Change-Id: I2fbe47f7843c40b2806ba40b031a6047715db5f3

10 years agoMerge "Call parent::setUp() in DiffHistoryBlobTest before marking skipped tests"
jenkins-bot [Sun, 24 Nov 2013 09:40:01 +0000 (09:40 +0000)]
Merge "Call parent::setUp() in DiffHistoryBlobTest before marking skipped tests"

10 years agoMerge "Remove leading underscore from methods _getResponse*"
jenkins-bot [Sun, 24 Nov 2013 03:20:23 +0000 (03:20 +0000)]
Merge "Remove leading underscore from methods _getResponse*"

10 years agoRemove leading underscore from methods _getResponse*
Siebrand Mazeland [Sat, 23 Nov 2013 18:31:00 +0000 (19:31 +0100)]
Remove leading underscore from methods _getResponse*

Resolves CodeSniffer warning PSR2.Methods.MethodDeclaration.Underscore

Change-Id: I6cf0fccb47a7e1070999ee510b4d3e0112c41cea

10 years agoCall parent::setUp() in DiffHistoryBlobTest before marking skipped tests
aude [Sun, 24 Nov 2013 00:20:46 +0000 (01:20 +0100)]
Call parent::setUp() in DiffHistoryBlobTest before marking skipped tests

Jenkins skips these tests because xdiff is unavailable. The tests get
marked as skipped, out of order and before the error reporting setup.

Things are left in an inconsistent state when running *all* the tests together,
and interferes with later error handling (including PHPUnit_Framework_Error)
in other tests.

The gate-and-submit and other jobs are split into multiple jobs,
and for some reason does not trigger this issue.

This will probably fix bug 57488.

Bug: 57488
Change-Id: Ie1a213e912b5858b43956fc35cf00226636f2093

10 years agoMerge "Add @group medium to ApiUploadTest"
jenkins-bot [Sat, 23 Nov 2013 22:18:07 +0000 (22:18 +0000)]
Merge "Add @group medium to ApiUploadTest"

10 years agoMerge "Let maintenance class start with a upper case letter"
jenkins-bot [Sat, 23 Nov 2013 22:09:49 +0000 (22:09 +0000)]
Merge "Let maintenance class start with a upper case letter"

10 years agoMerge changes I6d95c1b3,I780070e0
jenkins-bot [Sat, 23 Nov 2013 22:07:46 +0000 (22:07 +0000)]
Merge changes I6d95c1b3,I780070e0

* changes:
  Break long lines in file repo files
  Update formatting of file repo classes

10 years agoLet maintenance class start with a upper case letter
umherirrender [Sat, 23 Nov 2013 21:53:29 +0000 (22:53 +0100)]
Let maintenance class start with a upper case letter

the case of a class is not a argument for php, but upper case letters
are recommend.

Change-Id: Ibc9169b238ee3f73021e8f73188c3e5b5f1d36a3

10 years agoAdd @group medium to ApiUploadTest
aude [Sat, 23 Nov 2013 21:53:23 +0000 (22:53 +0100)]
Add @group medium to ApiUploadTest

api tests require either @group medium or @group large

Change-Id: Iea65c4856579690de234a2a8c01669b282a265f3

10 years agoBreak long lines in file repo files
Siebrand Mazeland [Sat, 23 Nov 2013 20:54:48 +0000 (21:54 +0100)]
Break long lines in file repo files

Change-Id: I6d95c1b3e14a947a92127efa681007baaeab89ba

10 years agoMerge "Add missing return value"
jenkins-bot [Sat, 23 Nov 2013 20:48:50 +0000 (20:48 +0000)]
Merge "Add missing return value"

10 years agoMerge "Fix various type and reference issues"
jenkins-bot [Sat, 23 Nov 2013 20:46:36 +0000 (20:46 +0000)]
Merge "Fix various type and reference issues"

10 years agoMerge "Remove 'prefsnologin' message, don't use 'watchnologin' where inappropriate"
jenkins-bot [Sat, 23 Nov 2013 20:31:35 +0000 (20:31 +0000)]
Merge "Remove 'prefsnologin' message, don't use 'watchnologin' where inappropriate"

10 years agoMerge "EnhancedChangesList: Add missing </td></tr>"
jenkins-bot [Sat, 23 Nov 2013 20:25:25 +0000 (20:25 +0000)]
Merge "EnhancedChangesList: Add missing </td></tr>"

10 years agoAdd missing return value
Siebrand Mazeland [Sat, 23 Nov 2013 18:55:46 +0000 (19:55 +0100)]
Add missing return value

According to the documentation, the return value should be a Status.

Change-Id: Ib4c9730b50ef95ed1f0659f61554d7f442a017de

10 years agoMerge "Add .mw-editsection-like class, behavior same as .mw-editsection"
jenkins-bot [Sat, 23 Nov 2013 20:13:27 +0000 (20:13 +0000)]
Merge "Add .mw-editsection-like class, behavior same as .mw-editsection"

10 years agoMerge "Fix default value of domain select box in templates"
Platonides [Sat, 23 Nov 2013 20:12:51 +0000 (20:12 +0000)]
Merge "Fix default value of domain select box in templates"

10 years agoUpdate formatting of file repo classes
Siebrand Mazeland [Sat, 23 Nov 2013 20:00:11 +0000 (21:00 +0100)]
Update formatting of file repo classes

Change-Id: I780070e07352d84d7cda7628994b28b04e8a1ebf

10 years agoFix various type and reference issues
Siebrand Mazeland [Sat, 23 Nov 2013 18:48:43 +0000 (19:48 +0100)]
Fix various type and reference issues

Change-Id: Iced174d9f94faf80c5fa21e15fa6c81b6d8fa21c

10 years agoMerge "Use square brackets instead of curly braces for char of a string"
jenkins-bot [Sat, 23 Nov 2013 19:41:33 +0000 (19:41 +0000)]
Merge "Use square brackets instead of curly braces for char of a string"

10 years agoMerge "Add missing type hint for $autoSync"
jenkins-bot [Sat, 23 Nov 2013 19:39:50 +0000 (19:39 +0000)]
Merge "Add missing type hint for $autoSync"

10 years agoMerge "Add missing wfProfileOut()s"
jenkins-bot [Sat, 23 Nov 2013 19:31:40 +0000 (19:31 +0000)]
Merge "Add missing wfProfileOut()s"

10 years agoAdd missing type hint for $autoSync
Siebrand Mazeland [Sat, 23 Nov 2013 19:30:39 +0000 (20:30 +0100)]
Add missing type hint for $autoSync

Change-Id: I63deed0b2b9b6fc29f67c0b522987df156f685fa

10 years agoMerge "Replace usage of deprecated getRootUrl() method"
jenkins-bot [Sat, 23 Nov 2013 19:30:07 +0000 (19:30 +0000)]
Merge "Replace usage of deprecated getRootUrl() method"

10 years agoMerge "Update documentation of file backend classes"
jenkins-bot [Sat, 23 Nov 2013 19:26:14 +0000 (19:26 +0000)]
Merge "Update documentation of file backend classes"

10 years agoMerge "Update formatting of file backend classes"
jenkins-bot [Sat, 23 Nov 2013 19:17:07 +0000 (19:17 +0000)]
Merge "Update formatting of file backend classes"

10 years agoMerge "Kill 'newmessageslink' and 'newmessagesdifflink' messages"
jenkins-bot [Sat, 23 Nov 2013 19:14:30 +0000 (19:14 +0000)]
Merge "Kill 'newmessageslink' and 'newmessagesdifflink' messages"

10 years agoRename $wgServerSetting to $serverSetting
Platonides [Sat, 23 Nov 2013 18:41:20 +0000 (19:41 +0100)]
Rename $wgServerSetting to $serverSetting

It's the setting for $wgServer, but let's not confuse humans
and tools by using the convention for globals.

Change-Id: I38c82d363f588648f11d0a0ab3e264e25553493e

10 years agoReplace usage of deprecated getRootUrl() method
Platonides [Sat, 23 Nov 2013 18:32:13 +0000 (19:32 +0100)]
Replace usage of deprecated getRootUrl() method

Follow-up change 85344 (d94d29a9)

Change-Id: Ia77d445621b426e159f9c120cb55c7e69b193497

10 years agoUpdate documentation of file backend classes
Siebrand Mazeland [Sat, 23 Nov 2013 18:23:32 +0000 (19:23 +0100)]
Update documentation of file backend classes

Change-Id: I2113aecc53f1b361d9c276113bc0a9f7076cd21c

10 years agoUse square brackets instead of curly braces for char of a string
umherirrender [Sat, 23 Nov 2013 18:22:03 +0000 (19:22 +0100)]
Use square brackets instead of curly braces for char of a string

The use of curly braces is deprecated in php 4.0, so changing it to
square brackets

Change-Id: I807da8c873bb937ee32df75c27d632075bc84be1

10 years agoAdd missing wfProfileOut()s
Platonides [Sat, 23 Nov 2013 18:15:07 +0000 (19:15 +0100)]
Add missing wfProfileOut()s

Change-Id: I072224fdeda25f8fe8a76338e7e767ab4c0619f0

10 years agoUse the class name with capital letter
Platonides [Sat, 23 Nov 2013 17:41:59 +0000 (18:41 +0100)]
Use the class name with capital letter

Change-Id: I97577cb085a47d58fd3de96ab77da68ebe482d6a

10 years agoMerge "Move ExpandTemplates special into core"
jenkins-bot [Sat, 23 Nov 2013 17:02:23 +0000 (17:02 +0000)]
Merge "Move ExpandTemplates special into core"

10 years agoMerge "The static declaration must come after the visibility declartion"
jenkins-bot [Sat, 23 Nov 2013 16:57:44 +0000 (16:57 +0000)]
Merge "The static declaration must come after the visibility declartion"

10 years agoMove ExpandTemplates special into core
UltrasonicNXT [Thu, 21 Nov 2013 19:38:34 +0000 (19:38 +0000)]
Move ExpandTemplates special into core

Very little modification to extension, add some docs, and GNU license as
per the other core extensions. Removed $isNewParser, as it won't be needed
with new versions of MW, and changed the name of POST variables used.
I have not moved across any of the messages except
english, according to the bug report, translatewiki will sort this out.
The expandtemplates message section has also been added to messages.inc.

htmlspecialchars should not be performed on anything, as it will cause it
to render like &lt;root&gt;

Added this change into the 1.23 release notes.

Bug: 28264
Change-Id: I7ef63488dc3ad3885bcf99ff52852e1c6981942b

10 years agoMerge "Use lowercase key words"
jenkins-bot [Sat, 23 Nov 2013 16:19:44 +0000 (16:19 +0000)]
Merge "Use lowercase key words"

10 years agoHtml: Fix a copy-paste error in docs
Bartosz Dziewoński [Sat, 23 Nov 2013 15:31:07 +0000 (16:31 +0100)]
Html: Fix a copy-paste error in docs

Change-Id: I262f27574335cf8f4d72a5bb3a28a77ef402c252

10 years agoUse lowercase key words
umherirrender [Sat, 23 Nov 2013 14:56:42 +0000 (15:56 +0100)]
Use lowercase key words

Change-Id: I57569b7082a0decc8128ecadd8ec5d1a5c327673

10 years agoThe static declaration must come after the visibility declartion
umherirrender [Sat, 23 Nov 2013 13:42:32 +0000 (14:42 +0100)]
The static declaration must come after the visibility declartion

Change-Id: I7f4646a5eb3acc7209b243c82a5a496daf82cf8f

10 years agoMerge "i18n: add a period after "etc""
jenkins-bot [Sat, 23 Nov 2013 12:41:29 +0000 (12:41 +0000)]
Merge "i18n: add a period after "etc""

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 23 Nov 2013 10:46:28 +0000 (10:46 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic27f47711e4bec31f50d0d8714cf5f5f12da4f50

10 years agoi18n: add a period after "etc"
shirayuki [Sat, 23 Nov 2013 10:22:56 +0000 (19:22 +0900)]
i18n: add a period after "etc"

Change-Id: Ibc298d57e53f05dddc4d07380e9da7baa79c3d83

10 years agoMerge "mediawiki.Title: Add 'params' parameter to #getUrl"
jenkins-bot [Sat, 23 Nov 2013 08:46:30 +0000 (08:46 +0000)]
Merge "mediawiki.Title: Add 'params' parameter to #getUrl"

10 years agoMerge "Detect leakage of error_reporting state in tests."
jenkins-bot [Sat, 23 Nov 2013 08:42:03 +0000 (08:42 +0000)]
Merge "Detect leakage of error_reporting state in tests."

10 years agoMake WebRequest::protocol protected as it's used in subclasses in the same file
Reedy [Sat, 23 Nov 2013 01:08:44 +0000 (01:08 +0000)]
Make WebRequest::protocol protected as it's used in subclasses in the same file

Change-Id: If894e9122fa56e957c666c887fb33ed60733ac0e

10 years agoMerge "Use lower memory limits"
jenkins-bot [Fri, 22 Nov 2013 21:34:25 +0000 (21:34 +0000)]
Merge "Use lower memory limits"

10 years agoMerge "Always select ipb_deleted on list=[all]users"
jenkins-bot [Fri, 22 Nov 2013 21:25:17 +0000 (21:25 +0000)]
Merge "Always select ipb_deleted on list=[all]users"

10 years agoUse lower memory limits
ptarjan [Thu, 21 Nov 2013 23:34:20 +0000 (15:34 -0800)]
Use lower memory limits

HHVM is ~5x more memory efficient than php-src and it shouldn't make us
fail this test

Change-Id: I35a69766c42818c222d36e1cf2a7fabe63a4ece5

10 years agoUpdate formatting of file backend classes
Siebrand Mazeland [Fri, 22 Nov 2013 21:17:15 +0000 (22:17 +0100)]
Update formatting of file backend classes

Change-Id: Ie69c324e2f1ea0b8a654adee06ebda494cebd10c

10 years agoMerge "Do not call FileBackendGroup::get() statically"
jenkins-bot [Fri, 22 Nov 2013 20:47:14 +0000 (20:47 +0000)]
Merge "Do not call FileBackendGroup::get() statically"

10 years agoMerge "Set default for $wgExternalStores to empty array"
jenkins-bot [Fri, 22 Nov 2013 20:45:37 +0000 (20:45 +0000)]
Merge "Set default for $wgExternalStores to empty array"

10 years agoMerge "Update comment in DefaultSettings for bug 17180"
jenkins-bot [Fri, 22 Nov 2013 20:29:30 +0000 (20:29 +0000)]
Merge "Update comment in DefaultSettings for bug 17180"

10 years agoDo not call FileBackendGroup::get() statically
Siebrand Mazeland [Fri, 22 Nov 2013 20:25:15 +0000 (21:25 +0100)]
Do not call FileBackendGroup::get() statically

Change-Id: If63ba967177415d2f0e857dba33a09157c401909

10 years agoMerge "Delete fuzz-tester.php"
jenkins-bot [Fri, 22 Nov 2013 20:24:47 +0000 (20:24 +0000)]
Merge "Delete fuzz-tester.php"

10 years agoUpdate comment in DefaultSettings for bug 17180
Emmet Hikory [Thu, 21 Nov 2013 04:56:09 +0000 (13:56 +0900)]
Update comment in DefaultSettings for bug 17180

When a check to disable $wgShowIPinHeader if $wgUseFileCache is
enabled was added to Setup.php (bug 17180), the inline comment
documentation in DefaultSettings.php was not adjusted, and continues
to indicate that users must manually coordinate the values of
$wgShowIPinHeader and $wgUseFileCache.  This patch adjusts the comment
to reflect the current automatic coordination.

Bug: 55723
Change-Id: I8078a3847c9ef2f386702bca5b5272028dc41e31

10 years agoSet default for $wgExternalStores to empty array
Siebrand Mazeland [Fri, 22 Nov 2013 20:18:59 +0000 (21:18 +0100)]
Set default for $wgExternalStores to empty array

Set default for $wgExternalStores to empty array instead of false.
Having it at false, causes type inconsistency.

Change-Id: I9f9b6bef16bd56b5fe27ef30016006b502a63ade

10 years agoMerge "Fix incorrect array type"
jenkins-bot [Fri, 22 Nov 2013 20:17:33 +0000 (20:17 +0000)]
Merge "Fix incorrect array type"

10 years agoFix incorrect array type
Siebrand Mazeland [Fri, 22 Nov 2013 20:11:31 +0000 (21:11 +0100)]
Fix incorrect array type

Change-Id: I92193b46716d78125c8bce0ad9b2b098885b0a37

10 years agoRemove a few stray $wgTitle comments
Chad Horohoe [Fri, 22 Nov 2013 19:59:47 +0000 (11:59 -0800)]
Remove a few stray $wgTitle comments

Change-Id: Idcb9232e641b5f54845408a2a1c1b9fc28f0040b

10 years agoAlways select ipb_deleted on list=[all]users
umherirrender [Fri, 22 Nov 2013 19:30:58 +0000 (20:30 +0100)]
Always select ipb_deleted on list=[all]users

When a user with the hideuser permission is using list=[all]users, a
- Notice: Undefined property: stdClass::$ipb_deleted in
\includes\api\ApiQueryUsers.php on line 172
- Notice: Undefined property: stdClass::$ipb_deleted in
\includes\api\ApiQueryAllUsers.php on line 238
can be raised, because the join on the ipblocks table was not done for
the user.

Change-Id: I25ead34b7905e99c249cb05c9d4940195c8b6263

10 years agoDelete fuzz-tester.php
Chad Horohoe [Tue, 5 Nov 2013 16:11:17 +0000 (08:11 -0800)]
Delete fuzz-tester.php

It is unmaintained, not up to coding standards, and as far as I can tell
not actually used by anyone or anything.

Fuzz testing in and of itself may be useful and if someone is interested
they can write some code that's from this decade.

Change-Id: Iecde41daca95d1655fb8767a1e775cbb732184e9

10 years agoMerge "Remove User::getPageRenderingHash, deprecated since 1.17"
jenkins-bot [Fri, 22 Nov 2013 18:51:42 +0000 (18:51 +0000)]
Merge "Remove User::getPageRenderingHash, deprecated since 1.17"

10 years agoMerge "Honor shortened thumbnail paths in mw.Title.newFromImg()"
jenkins-bot [Fri, 22 Nov 2013 17:47:42 +0000 (17:47 +0000)]
Merge "Honor shortened thumbnail paths in mw.Title.newFromImg()"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 22 Nov 2013 16:56:09 +0000 (16:56 +0000)]
Localisation updates from https://translatewiki.net.

Bug: 57410
Change-Id: Ie0ffd983c4fe64fe48fb6902943b7f4c4667091c

10 years agoHonor shortened thumbnail paths in mw.Title.newFromImg()
rillke [Fri, 22 Nov 2013 16:15:55 +0000 (17:15 +0100)]
Honor shortened thumbnail paths in mw.Title.newFromImg()

Currently mw.Title.newFromImg() fails when the thumbnail path is
shortened.

Cf.
https://git.wikimedia.org/blob/mediawiki%2Fcore.git/1e0bd351b760c2b1d9f5c0e058dc1c3bf9a83d2e/includes%2Ffilerepo%2FFileRepo.php#L1623

Change-Id: I7c166cfaefc1c31f9c378edd98c46f61b9c30aa3

10 years agoMerge "Fix login with temporary password with $wgSecureLogin = true"
MarkAHershberger [Fri, 22 Nov 2013 16:09:07 +0000 (16:09 +0000)]
Merge "Fix login with temporary password with $wgSecureLogin = true"

10 years agoMerge "Revert "Suppress section edit links with action=render""
jenkins-bot [Fri, 22 Nov 2013 16:05:17 +0000 (16:05 +0000)]
Merge "Revert "Suppress section edit links with action=render""

10 years agoKill 'newmessageslink' and 'newmessagesdifflink' messages
Bartosz Dziewoński [Fri, 22 Nov 2013 15:28:18 +0000 (16:28 +0100)]
Kill 'newmessageslink' and 'newmessagesdifflink' messages

Superseded ages ago by 'newmessageslinkplural' and 'newmessagesdifflinkplural'.

Also updated any docs that still referred to them.

Change-Id: Id4d99270acabbd7d72b877a091a6e3015d616826

10 years agoMerge "Change the syntax and non-one count fake values for {{PLURAL: in newmessages*"
jenkins-bot [Fri, 22 Nov 2013 15:17:59 +0000 (15:17 +0000)]
Merge "Change the syntax and non-one count fake values for {{PLURAL: in newmessages*"

10 years agoRevert "Suppress section edit links with action=render"
Brad Jorsch [Fri, 22 Nov 2013 13:51:11 +0000 (08:51 -0500)]
Revert "Suppress section edit links with action=render"

This reverts commit 2248021997324c8694430a3c010b8b81482be0c3.

That revision caused section edit links to be shown on views of old
revisions. See comments there for suggestions on reimplementing it.

Change-Id: Ie65e3de84b44866e4ab1fc222a365cb3a9180ee1

10 years agoFix login with temporary password with $wgSecureLogin = true
Alexandre Emsenhuber [Fri, 22 Nov 2013 09:32:18 +0000 (10:32 +0100)]
Fix login with temporary password with $wgSecureLogin = true

The problem is that FauxRequest sets the protocol to http by default,
thus triggering the redirect when executing Special:UserLogin in the
background to log the user in after having reset his password.

DerivativeRequest is now used instead of FauxRequest so that the
protocol is correctly forwarded, and the redirect will not be
triggered.

Bug: 57289
Change-Id: I252351ff7d446283c9d1ab5f79b5cdbce71b76e0

10 years agoRemove User::getPageRenderingHash, deprecated since 1.17
aude [Fri, 22 Nov 2013 08:17:22 +0000 (08:17 +0000)]
Remove User::getPageRenderingHash, deprecated since 1.17

The function is not used in core or in any extension in git,
and the PageRenderingHash hook in User::getPageRenderingHash
is not used in any extension. (note the hook still exists
in ParserOptions).

Change-Id: Ica27ce3828dd6551e21671ff723427d09c2dcadb

10 years agoRemove deprecated EditPage::spamPage()
Chad Horohoe [Sun, 17 Nov 2013 01:17:14 +0000 (17:17 -0800)]
Remove deprecated EditPage::spamPage()

Has been deprecated since 1.17, no callers anywhere in git that I
could find. One exception: AkismetKlik, which is being fixed in
I8c975f42.

Change-Id: Ie4cf4764e2223f277b8dd09d0ce629c2814e05be

10 years agoMerge "Improving CLDR Plural Rule Evaluator documentation."
jenkins-bot [Fri, 22 Nov 2013 03:38:17 +0000 (03:38 +0000)]
Merge "Improving CLDR Plural Rule Evaluator documentation."

10 years agoImproving CLDR Plural Rule Evaluator documentation.
Dereckson [Fri, 22 Nov 2013 00:42:30 +0000 (01:42 +0100)]
Improving CLDR Plural Rule Evaluator documentation.

Change-Id: Ic6581de7cc69dea7af0bee5596497db509d6b9ba

10 years agoMerge "Avoiding implicit transactions when applying"
jenkins-bot [Fri, 22 Nov 2013 00:47:13 +0000 (00:47 +0000)]
Merge "Avoiding implicit transactions when applying"

10 years agoMerge "Handle CDB errors more gracefully in cdb.php maintenance script"
jenkins-bot [Fri, 22 Nov 2013 00:40:33 +0000 (00:40 +0000)]
Merge "Handle CDB errors more gracefully in cdb.php maintenance script"

10 years agoMerge "Made SqlBagOStuff fully avoid transactions when possible"
jenkins-bot [Fri, 22 Nov 2013 00:38:35 +0000 (00:38 +0000)]
Merge "Made SqlBagOStuff fully avoid transactions when possible"

10 years agoMerge "Truncate super long SQL in DB error log lines (useful for blobs)"
jenkins-bot [Fri, 22 Nov 2013 00:31:50 +0000 (00:31 +0000)]
Merge "Truncate super long SQL in DB error log lines (useful for blobs)"

10 years agoMade SqlBagOStuff fully avoid transactions when possible
Aaron Schulz [Fri, 22 Nov 2013 00:26:24 +0000 (16:26 -0800)]
Made SqlBagOStuff fully avoid transactions when possible

Change-Id: I775d872b522f68462496bbfa685665cc8faf9bf1

10 years agoTruncate super long SQL in DB error log lines (useful for blobs)
Aaron Schulz [Thu, 21 Nov 2013 23:19:43 +0000 (15:19 -0800)]
Truncate super long SQL in DB error log lines (useful for blobs)

Change-Id: Ibb9b9178de80e691406e5c1a7113f0511055d18d

10 years agoAvoiding implicit transactions when applying
Aaron Schulz [Thu, 21 Nov 2013 23:54:02 +0000 (15:54 -0800)]
Avoiding implicit transactions when applying

* Some callers get the DB and flip DBO_TRX off, which does not
  help much if simply connecting to the DB starts a transaction.

Change-Id: I2bc90a1cdeade13ccb546db1183ab08f25156da1

10 years agoHandle CDB errors more gracefully in cdb.php maintenance script
Chad Horohoe [Thu, 21 Nov 2013 23:22:47 +0000 (15:22 -0800)]
Handle CDB errors more gracefully in cdb.php maintenance script

Change-Id: I9be42c909c85cd454fdd10921c8d50d6273252f8

10 years agoChange the syntax and non-one count fake values for {{PLURAL: in newmessages*
Alex Ivanov [Wed, 20 Nov 2013 20:58:45 +0000 (22:58 +0200)]
Change the syntax and non-one count fake values for {{PLURAL: in newmessages*

Change the newmessageslinkplural and newmessagesdifflinkplural syntax and non-one count fake values to 999.

Bug: 42497
Change-Id: I2a4b739314e524c3e70184766bb047cf54707c63

10 years agoMerge "New getHTML() method for QuickTemplate to get the HTML of a template."
jenkins-bot [Thu, 21 Nov 2013 21:53:13 +0000 (21:53 +0000)]
Merge "New getHTML() method for QuickTemplate to get the HTML of a template."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 21 Nov 2013 20:44:37 +0000 (20:44 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I0d719d7e3a431d48a4bf2ff131c8bc89d735c667

10 years agoFixed spacing
umherirrender [Thu, 21 Nov 2013 17:19:44 +0000 (18:19 +0100)]
Fixed spacing

- Removed trailing spaces in comments
- Removed multiple empty lines
- Removed space after object operator

Change-Id: I9fd3256ab490c7cd2034de3fd94e6be6e6d6d8f2

10 years agoReplace inline tab with space
Siebrand Mazeland [Thu, 21 Nov 2013 18:30:01 +0000 (19:30 +0100)]
Replace inline tab with space

Spotted by Umherirrender in
https://gerrit.wikimedia.org/r/#/c/96554/1/includes/diff/DifferenceEngine.php

Change-Id: I363a3299d61e2cfb7c31db9c293a2c7e73fcef44

10 years agoSuppress false positive CodeSniffer warning
Siebrand Mazeland [Wed, 20 Nov 2013 10:22:39 +0000 (11:22 +0100)]
Suppress false positive CodeSniffer warning

Change-Id: Ia76cec9062a944c80f6fa1fbcea517ccf64793e4

10 years agoMerge "Break long lines and formatting updates for includes/db/"
jenkins-bot [Thu, 21 Nov 2013 16:48:47 +0000 (16:48 +0000)]
Merge "Break long lines and formatting updates for includes/db/"

10 years agoMerge "Update formatting on database-related classes"
jenkins-bot [Thu, 21 Nov 2013 16:45:08 +0000 (16:45 +0000)]
Merge "Update formatting on database-related classes"

10 years agoBreak long lines and formatting updates for includes/db/
Siebrand Mazeland [Wed, 20 Nov 2013 10:13:51 +0000 (11:13 +0100)]
Break long lines and formatting updates for includes/db/

Fix all line length related CodeSniffer warnings.

Change-Id: Id0fd8f4c7276185f51489659ee3cd06962fbc16d

10 years agoUpdate formatting on database-related classes
Siebrand Mazeland [Wed, 20 Nov 2013 06:58:22 +0000 (07:58 +0100)]
Update formatting on database-related classes

Change-Id: I91f83e28ae25f80ba9e36c612f1ad050ffa1573c

10 years agoMerge "Localisation updates from https://translatewiki.net."
jenkins-bot [Thu, 21 Nov 2013 13:33:05 +0000 (13:33 +0000)]
Merge "Localisation updates from https://translatewiki.net."

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 21 Nov 2013 13:20:46 +0000 (13:20 +0000)]
Localisation updates from https://translatewiki.net.

Add support for Northern Luri (lrc)

Change-Id: I1eb64c9b27f50b6c2b774b32ad7154f1b1729822

10 years agoMerge "Localisation updates from http://translatewiki.net."
jenkins-bot [Thu, 21 Nov 2013 13:18:40 +0000 (13:18 +0000)]
Merge "Localisation updates from translatewiki.net."

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 21 Nov 2013 12:58:44 +0000 (12:58 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I2d4709635ad428790e6b89833a67d8b7aa13a2f5

10 years agoMerge "Truncate protect reason for whole multibyte characters"
jenkins-bot [Thu, 21 Nov 2013 12:58:21 +0000 (12:58 +0000)]
Merge "Truncate protect reason for whole multibyte characters"