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
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
MarkAHershberger [Fri, 22 Nov 2013 16:09:07 +0000 (16:09 +0000)]
Merge "Fix login with temporary password with $wgSecureLogin = true"
jenkins-bot [Fri, 22 Nov 2013 16:05:17 +0000 (16:05 +0000)]
Merge "Revert "Suppress section edit links with action=render""
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*"
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
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
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
jenkins-bot [Fri, 22 Nov 2013 03:38:17 +0000 (03:38 +0000)]
Merge "Improving 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
jenkins-bot [Fri, 22 Nov 2013 00:47:13 +0000 (00:47 +0000)]
Merge "Avoiding implicit transactions when applying"
jenkins-bot [Fri, 22 Nov 2013 00:40:33 +0000 (00:40 +0000)]
Merge "Handle CDB errors more gracefully in cdb.php maintenance script"
jenkins-bot [Fri, 22 Nov 2013 00:38:35 +0000 (00:38 +0000)]
Merge "Made SqlBagOStuff fully avoid transactions when possible"
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)"
Aaron Schulz [Fri, 22 Nov 2013 00:26:24 +0000 (16:26 -0800)]
Made SqlBagOStuff fully avoid transactions when possible
Change-Id: I775d872b522f68462496bbfa685665cc8faf9bf1
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
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
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
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
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."
Translation updater bot [Thu, 21 Nov 2013 20:44:37 +0000 (20:44 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I0d719d7e3a431d48a4bf2ff131c8bc89d735c667
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
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
Siebrand Mazeland [Wed, 20 Nov 2013 10:22:39 +0000 (11:22 +0100)]
Suppress false positive CodeSniffer warning
Change-Id: Ia76cec9062a944c80f6fa1fbcea517ccf64793e4
jenkins-bot [Thu, 21 Nov 2013 16:48:47 +0000 (16:48 +0000)]
Merge "Break long lines and formatting updates for includes/db/"
jenkins-bot [Thu, 21 Nov 2013 16:45:08 +0000 (16:45 +0000)]
Merge "Update formatting on database-related classes"
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
Siebrand Mazeland [Wed, 20 Nov 2013 06:58:22 +0000 (07:58 +0100)]
Update formatting on database-related classes
Change-Id: I91f83e28ae25f80ba9e36c612f1ad050ffa1573c
jenkins-bot [Thu, 21 Nov 2013 13:33:05 +0000 (13:33 +0000)]
Merge "Localisation 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
jenkins-bot [Thu, 21 Nov 2013 13:18:40 +0000 (13:18 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Thu, 21 Nov 2013 12:58:44 +0000 (12:58 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I2d4709635ad428790e6b89833a67d8b7aa13a2f5
jenkins-bot [Thu, 21 Nov 2013 12:58:21 +0000 (12:58 +0000)]
Merge "Truncate protect reason for whole multibyte characters"
Jack Phoenix [Thu, 21 Nov 2013 07:47:39 +0000 (09:47 +0200)]
New getHTML() method for QuickTemplate to get the HTML of a template.
OutputPage's addTemplate() is now a wrapper around QuickTemplate.
This allows more flexible usage of templated HTML, as
required by some third-party extensions.
Change-Id: I943e8e50438c716b7b56d2f908da38a4bf73d9e2
Siebrand Mazeland [Wed, 20 Nov 2013 10:27:05 +0000 (11:27 +0100)]
Remove function calls from for loop test part
Change-Id: If1f8996854889b526fef96cd29a153e0b36e9133
jenkins-bot [Wed, 20 Nov 2013 22:58:01 +0000 (22:58 +0000)]
Merge "Supress native "invalid email" warning on Special:ChangeEmail"
theopolisme [Mon, 18 Nov 2013 23:14:09 +0000 (17:14 -0600)]
Supress native "invalid email" warning on Special:ChangeEmail
To avoid a double "invalid email" warning (one from the browser,
one from updateMailValidityLabel), prevent the browser's "invalid
email" notice from appearing and just run updateMailValidityLabel,
which generates its own notice.
Bug: 40909
Change-Id: Id657c6ce2e72d877510fcf690aef2c548d8cdf1d
jenkins-bot [Wed, 20 Nov 2013 22:22:45 +0000 (22:22 +0000)]
Merge "Update documentation and formatting for includes/deferred/"
jenkins-bot [Wed, 20 Nov 2013 22:21:03 +0000 (22:21 +0000)]
Merge "Added some sanity close() calls to RedisConnectionPool"
jenkins-bot [Wed, 20 Nov 2013 22:10:07 +0000 (22:10 +0000)]
Merge "Update formatting on includes/deferred/"
jenkins-bot [Wed, 20 Nov 2013 21:59:27 +0000 (21:59 +0000)]
Merge "Initialise variables and update documentation"
jenkins-bot [Wed, 20 Nov 2013 21:56:57 +0000 (21:56 +0000)]
Merge "Remove unused private method check()"
jenkins-bot [Wed, 20 Nov 2013 21:52:09 +0000 (21:52 +0000)]
Merge "Abstract declaration must precede visibility declaration"
jenkins-bot [Wed, 20 Nov 2013 21:50:14 +0000 (21:50 +0000)]
Merge "Rename classes DiffOp_* to DiffOp*"
Siebrand Mazeland [Wed, 20 Nov 2013 18:43:39 +0000 (19:43 +0100)]
Update documentation and formatting for includes/deferred/
Change-Id: I56f35be6e549aec13c4fbad5ee6301aa29358031
Aaron Schulz [Tue, 5 Nov 2013 22:18:07 +0000 (14:18 -0800)]
Added some sanity close() calls to RedisConnectionPool
Change-Id: Icd0e249a1524f880c99986c9bea3b891ab9b9ba6
Siebrand Mazeland [Wed, 20 Nov 2013 17:20:36 +0000 (18:20 +0100)]
Update formatting on includes/deferred/
Change-Id: Id3f143eae3781b26dcbc3ba63a566b7a6006c0cc
jenkins-bot [Wed, 20 Nov 2013 21:47:09 +0000 (21:47 +0000)]
Merge "Rename class HWLDF_WordAccumulator to HWLDFWordAccumulator"
jenkins-bot [Wed, 20 Nov 2013 21:45:14 +0000 (21:45 +0000)]
Merge "Break long lines in includes/diff/"
jenkins-bot [Wed, 20 Nov 2013 21:43:17 +0000 (21:43 +0000)]
Merge "Avoid function calls in a for loop test part"
jenkins-bot [Wed, 20 Nov 2013 21:41:31 +0000 (21:41 +0000)]
Merge "Update formatting for includes/diff"
jenkins-bot [Wed, 20 Nov 2013 21:37:59 +0000 (21:37 +0000)]
Merge "Replace deprecated <tt> with <code>"
jenkins-bot [Wed, 20 Nov 2013 21:36:19 +0000 (21:36 +0000)]
Merge "Break long lines in MWDebug class"
jenkins-bot [Wed, 20 Nov 2013 21:34:21 +0000 (21:34 +0000)]
Merge "Remove unneeded uses of else{} in api/"
Translation updater bot [Wed, 20 Nov 2013 21:05:38 +0000 (21:05 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Wed, 20 Nov 2013 21:03:52 +0000 (21:03 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I0eb353cd0cadf0bed7cd17d4c3eb2c7e108f6aa6
jenkins-bot [Wed, 20 Nov 2013 20:57:34 +0000 (20:57 +0000)]
Merge "Add additional information to FileRepo::getInfo"
jenkins-bot [Wed, 20 Nov 2013 20:39:09 +0000 (20:39 +0000)]
Merge "Avoid Database::encodeExpiry, when simple timestamp is given"
Siebrand Mazeland [Wed, 20 Nov 2013 19:57:15 +0000 (20:57 +0100)]
Initialise variables and update documentation
Change-Id: Idb242f65801ee79531c2300cf9fcb5b3929f66ab
Siebrand Mazeland [Wed, 20 Nov 2013 19:41:58 +0000 (20:41 +0100)]
Remove unused private method check()
Change-Id: I29381892be9966b92b99cb3b021cc5a9a4be8a80
Brad Jorsch [Wed, 20 Nov 2013 19:38:49 +0000 (14:38 -0500)]
Add additional information to FileRepo::getInfo
The API's meta=filerepoinfo could use some additional information, most
pressingly a way to determine the MW API endpoint of the associated
repo. Since FileRepo already has scriptDirUrl (to which "/api.php" could
be appended), let's just add that.
And for good measure, we may as well include various other bits of
information that people might find useful.
Change-Id: I6d5aa6cf44ef1d9bdfd9b2f36f184e5fdc0900dd
Siebrand Mazeland [Wed, 20 Nov 2013 19:32:53 +0000 (20:32 +0100)]
Abstract declaration must precede visibility declaration
Change-Id: Ic13646c5a5c5b1f80db58740b207f853c7e25ceb
Siebrand Mazeland [Wed, 20 Nov 2013 19:28:14 +0000 (20:28 +0100)]
Rename classes DiffOp_* to DiffOp*
Part of program to remove underscores from class names. Checked core and
600+ extensions for occurrences. All uses are in core in core are updated
in this patch. No uses in extensions.
Change-Id: I86b8c6f8702e661554c7b794df09892db94a84d1
Siebrand Mazeland [Wed, 20 Nov 2013 19:24:48 +0000 (20:24 +0100)]
Rename class HWLDF_WordAccumulator to HWLDFWordAccumulator
Part of program to remove underscores from class names. Checked core and
600+ extensions for occurrences. All uses are in core in core are updated
in this patch.
Change-Id: Ib3094249ab192db80f1639c5e543ece84c688b9a
Siebrand Mazeland [Wed, 20 Nov 2013 19:22:36 +0000 (20:22 +0100)]
Break long lines in includes/diff/
Change-Id: I778079edb147623f54f6140e11e25120b04c382e
Siebrand Mazeland [Wed, 20 Nov 2013 19:22:26 +0000 (20:22 +0100)]
Avoid function calls in a for loop test part
Change-Id: Ief0976e3d1cd1da7074b1ed6d427153ccc189f18
raymond [Wed, 20 Nov 2013 19:19:31 +0000 (20:19 +0100)]
Ignore new message for translation
It has no translatable content.
Followup to Icd348919377bac77e27018a44e981028a263c6e1
Change-Id: I91defae609e65142ff2d5026c9d7076865536307
Siebrand Mazeland [Wed, 20 Nov 2013 19:11:57 +0000 (20:11 +0100)]
Update formatting for includes/diff
Change-Id: Id032a32ca6ebea3daf5313a05602c5e98603d983
umherirrender [Wed, 20 Nov 2013 19:05:19 +0000 (20:05 +0100)]
Avoid Database::encodeExpiry, when simple timestamp is given
Also remove wfTimestampNow because Database::timestamp will default to
now, when no param is given.
Change-Id: I0b065f4cdf67e1473548e641cf2864b4a2232ef8
jenkins-bot [Wed, 20 Nov 2013 19:04:34 +0000 (19:04 +0000)]
Merge "Add tests for SpecialPage::requireLogin"
umherirrender [Wed, 20 Nov 2013 18:56:42 +0000 (19:56 +0100)]
Truncate protect reason for whole multibyte characters
This avoids broken characters for long comment.
The reason is shown on action=edit for unprivilieged users.
Change-Id: Ie8099f50628d55ff880760721169803ccbb3555c
Siebrand Mazeland [Wed, 20 Nov 2013 18:45:04 +0000 (19:45 +0100)]
Update documentation in HTMLCacheUpdateJob
Change-Id: I2774d5bd400b9a26415a6a93561c02ea0588e448
jenkins-bot [Wed, 20 Nov 2013 18:00:08 +0000 (18:00 +0000)]
Merge "Remove needless leading dash on Main Page interlanguage links"
Siebrand Mazeland [Wed, 20 Nov 2013 16:21:31 +0000 (17:21 +0100)]
Replace deprecated <tt> with <code>
Change-Id: I4d80b2eff87c9ddaa4439c83aea21c73fca0d68c
jenkins-bot [Wed, 20 Nov 2013 14:48:40 +0000 (14:48 +0000)]
Merge "Changing the welcome message after signing up"
mayankmadan [Wed, 20 Nov 2013 07:43:36 +0000 (13:13 +0530)]
Changing the welcome message after signing up
Bug: 57218
Change-Id: I99d15d125edfc4ffc93dbcb7d1be88818f91a135
Siebrand Mazeland [Wed, 20 Nov 2013 14:03:00 +0000 (15:03 +0100)]
Break long lines in MWDebug class
Change-Id: I65a080f8024a79e6e6b4ccc39e457b26d3637cf7
jenkins-bot [Wed, 20 Nov 2013 14:01:50 +0000 (14:01 +0000)]
Merge "Fixed the last section of MediaWiki:SpecialSpecialpages"
mayankmadan [Tue, 19 Nov 2013 20:50:49 +0000 (02:20 +0530)]
Fixed the last section of MediaWiki:SpecialSpecialpages
Bug: 28033
Change-Id: I0539511041672ab3769fc7f23284f8c1dc1e17c7
jenkins-bot [Wed, 20 Nov 2013 12:38:58 +0000 (12:38 +0000)]
Merge "Adding "while logged in" in email notification"
mayankmadan [Tue, 19 Nov 2013 21:05:59 +0000 (02:35 +0530)]
Adding "while logged in" in email notification
Bug: 43368
Change-Id: I017c3b8f10460b15317bcc2e96451dd87057e6b3
jenkins-bot [Wed, 20 Nov 2013 06:36:30 +0000 (06:36 +0000)]
Merge "Fixed "Undefined property: stdClass::$page_namespace" error"
jenkins-bot [Wed, 20 Nov 2013 06:34:55 +0000 (06:34 +0000)]
Merge "Delete maintenance/language/zhtable/trad2simp_supp_unset.manual"
jenkins-bot [Wed, 20 Nov 2013 06:09:56 +0000 (06:09 +0000)]
Merge "Declare visibility of class property in ContentHandler"
jenkins-bot [Wed, 20 Nov 2013 05:45:41 +0000 (05:45 +0000)]
Merge "Cleanup and expand Status tests"
Siebrand Mazeland [Wed, 20 Nov 2013 05:23:48 +0000 (06:23 +0100)]
Update formatting in includes/dao/
Change-Id: Id3cfc68ff463831d7cd3329661619c33d70d7085
Siebrand Mazeland [Wed, 20 Nov 2013 05:21:57 +0000 (06:21 +0100)]
Update formatting and documentation in includes/context/
Change-Id: I8bfdbe8f6d9c325063678e24a9d604f18eb83fc3
jenkins-bot [Wed, 20 Nov 2013 05:13:32 +0000 (05:13 +0000)]
Merge "Update documentation and break long lines"
Siebrand Mazeland [Wed, 20 Nov 2013 05:09:49 +0000 (06:09 +0100)]
Declare visibility of class property in ContentHandler
Make $handlers protected. It's only used in MediaHandler and
ContentHandler.
Change-Id: I2cfc9273d4cf710fbcf01a8e70a93ae64de73579
Siebrand Mazeland [Wed, 20 Nov 2013 04:49:59 +0000 (05:49 +0100)]
Update documentation and break long lines
Also remove some superfluous newlines.
Change-Id: I904d6ddeb976434708d5a22df9e8abd2e6f60a6c
jenkins-bot [Wed, 20 Nov 2013 05:00:44 +0000 (05:00 +0000)]
Merge "shared.css: Start vectorizing common icons"
tholam [Wed, 20 Nov 2013 02:48:58 +0000 (20:48 -0600)]
Update ImagePage to use HiDPI
Changed processResponsiveImages method in Linker class from
protected to public so that it may be used in the ImagePage class.
called the method in the openShowImage method to generate the srcset.
Bug: 56969
Change-Id: I2494ce98ba1a32d5a963b53482929de9abb048fd
This, that and the other [Wed, 20 Nov 2013 02:57:56 +0000 (13:57 +1100)]
Remove needless leading dash on Main Page interlanguage links
Adds a message "interlanguage-link-title-langonly" with contents "$1",
to allow customization of the tooltip in all circumstances.
Bug: 55865
Change-Id: Icd348919377bac77e27018a44e981028a263c6e1
Aaron Schulz [Tue, 19 Nov 2013 23:35:37 +0000 (15:35 -0800)]
Fixed "Undefined property: stdClass::$page_namespace" error
* BacklinkCache::fullResultCache should always have all the columns
* Fixes bug from
a9dc4d943e8f7e7824f31dc7fd1270873f8a9fdb
Change-Id: Ic0042ef6b1ce655bd97814362d95d8b0fe53affa
aude [Tue, 19 Nov 2013 21:37:11 +0000 (22:37 +0100)]
Add tests for SpecialPage::requireLogin
Change-Id: Id9ee08c921a3e109e5175bb7ae807615cb15b8e5
jenkins-bot [Tue, 19 Nov 2013 22:15:26 +0000 (22:15 +0000)]
Merge "Update formatting"
jenkins-bot [Tue, 19 Nov 2013 21:50:44 +0000 (21:50 +0000)]
Merge "Fixed spacing"
jenkins-bot [Tue, 19 Nov 2013 21:40:10 +0000 (21:40 +0000)]
Merge "Remove unused local variable and update documentation"
Siebrand Mazeland [Tue, 19 Nov 2013 21:26:16 +0000 (22:26 +0100)]
Update formatting
Change-Id: Ieee4747cf2401d0d89a497a7637d32348192f481
jenkins-bot [Tue, 19 Nov 2013 21:25:00 +0000 (21:25 +0000)]
Merge "move page_restrictions.pr_id to top in tables.sql"