Bartosz Dziewoński [Tue, 15 Dec 2015 18:10:56 +0000 (19:10 +0100)]
Tweak wording for 'passwordreset-emailsentemail', 'passwordreset-emailsentusername'
I think "registered" is primarily used for registering an account.
Email address can be associated, or maybe just saved. (It can also be
confirmed, which is a different thing.)
Change-Id: Ie44c2e1e12e37213efbdee11b18b543e468b51cf
jenkins-bot [Tue, 15 Dec 2015 16:48:57 +0000 (16:48 +0000)]
Merge "mw.ForeignStructuredUpload.BookletLayout: Option 4: Add RTL images"
Prateek Saxena [Tue, 15 Dec 2015 16:25:48 +0000 (21:55 +0530)]
mw.ForeignStructuredUpload.BookletLayout: Option 4: Add RTL images
Change-Id: I06c207aa89b85cfa5994fa9be8fa6bc623d739d7
jenkins-bot [Tue, 15 Dec 2015 16:32:40 +0000 (16:32 +0000)]
Merge "mediawiki.Upload.BookletLayout: If the user can't upload, don't show them the form"
jenkins-bot [Tue, 15 Dec 2015 16:31:15 +0000 (16:31 +0000)]
Merge "mediawiki.api.user: New module, factored out of mediawiki.user"
Bartosz Dziewoński [Thu, 22 Oct 2015 19:25:32 +0000 (21:25 +0200)]
mediawiki.Upload.BookletLayout: If the user can't upload, don't show them the form
Second attempt. First, reverted one: I6f68122b5399f4b8766825c752e964478ae7563d.
To improve in the future:
* Use a better error message when not all logged-in users can upload
Bug: T115866
Change-Id: I1ac083fd491c7445240b4fd9f7b3badacb2d2d37
Bartosz Dziewoński [Tue, 8 Dec 2015 15:23:13 +0000 (16:23 +0100)]
mediawiki.api.user: New module, factored out of mediawiki.user
The convenient getUserInfo() function can now be used with mw.ForeignApi.
Bug: T117868
Change-Id: Ic0b5fe3812723bf51a5cf6600437c480dc5abb8f
Bartosz Dziewoński [Tue, 15 Dec 2015 16:10:07 +0000 (17:10 +0100)]
mw.ForeignStructuredUpload: Add '{{Uncategorized}}' template if no categories given
This is not configurable at the moment. It probably should be, but
that can be done later.
Bug: T121268
Change-Id: I8de33a69979eff5dba13f82959011c44a92339e1
jenkins-bot [Tue, 15 Dec 2015 15:36:19 +0000 (15:36 +0000)]
Merge "mw.ForeignStructuredUpload.BookletLayout: Option 2: Image improvements"
jenkins-bot [Tue, 15 Dec 2015 15:34:02 +0000 (15:34 +0000)]
Merge "mw.ForeignStructuredUpload.BookletLayout: Option 4: Image improvements"
Prateek Saxena [Tue, 15 Dec 2015 13:14:58 +0000 (18:44 +0530)]
mw.ForeignStructuredUpload.BookletLayout: Option 2: Image improvements
Correctly aligned PNGs. Added SVGs.
Alternating the position of the icons was distracting. Moved all to
the right.
Change-Id: Ic14da2c6408ab15416dab1ebd1397507d0950b33
Prateek Saxena [Tue, 15 Dec 2015 11:03:20 +0000 (16:33 +0530)]
mw.ForeignStructuredUpload.BookletLayout: Option 4: Image improvements
Add higher quality PNGs. Also added SVGs, and now using the
.background-image-svg() mixing to use SVGs.
Change-Id: I8d8fbf8e58b4ef5d9956731c8b85d5db07b3f5ed
jenkins-bot [Tue, 15 Dec 2015 15:14:17 +0000 (15:14 +0000)]
Merge "mw.ForeignStructuredUpload.BookletLayout: A/B test of 4 different interfaces"
jenkins-bot [Tue, 15 Dec 2015 12:35:28 +0000 (12:35 +0000)]
Merge "Follow-up
23cfe1bba: harmonize image embedding CSS"
Aaron Schulz [Tue, 15 Dec 2015 04:15:23 +0000 (04:15 +0000)]
Merge "Avoid "CAS updated failed" errors on Special:Preferences double post"
jenkins-bot [Tue, 15 Dec 2015 02:56:12 +0000 (02:56 +0000)]
Merge "Remove redundant 'type' attributes from style and script tags"
Aaron Schulz [Sun, 13 Dec 2015 04:35:22 +0000 (20:35 -0800)]
Avoid "CAS updated failed" errors on Special:Preferences double post
* This does the same thing ApiOptions does to avoid these errors.
A new getInstanceForUpdate() method is now in the User class to
simplify this pattern.
* Avoid overriding $user in ApiOptions for code readability.
* Fixed IDEA errors around Preferences::getFormObject() return type.
Bug: T95839
Change-Id: If2385b7486c043bd70d7031ff35e37dfb079a4d2
Bartosz Dziewoński [Fri, 11 Dec 2015 02:31:55 +0000 (03:31 +0100)]
mw.ForeignStructuredUpload.BookletLayout: A/B test of 4 different interfaces
It turns out that people click the checkbox affirming that they are
they author of the file and that they release it under CC BY-SA even
when neither of those is true. So we're trying some interfaces that
require a modicum of thought rather than just a click on "I agree".
Option 1: The form we have right now, with a single checkbox.
Option 2: Four checkboxes, each with a label explaining one facet of
the requirements (own work; no pictures of copyrighted work;
educational/useful; irrevocably released as CC BY-SA).
Option 3: Some Yes/No questions structured so that 'Yes' is not
always the right answer to continue uploading.
Option 4: Longer introduction before a single checkbox (as in option
1), with examples of good and unacceptable content.
As only logged in users are able to upload files, we're able to bucket
them into four groups by user ID number. When the user completes a
file upload, the bucket number is saved server-side in a change tag by
the companion patch I90cb12c505b2581f36113ec6b4f7bf732f0971b7 (we could
match the user IDs cross-wiki by username, but that sounds painful).
For testing and debugging, add '?uploadbucket=N' to the URL to force
given interface option to appear. Any completed upload won't count
towards the bucket.
Note that for expediency, the tested options all assume uploads to
'shared' repository (that is, Wikimedia Commons). The winner's
messages will be tweaked to work with 'local' and other targets too.
This patch DOES NOT ENABLE THE TEST yet, it just implements the options.
Enabling it on specific wikis can be done via config:
* $wgForeignUploadTestEnabled = true/false (defaults to 'false')
Whether the test is running.
* $wgForeignUploadTestDefault = 1/2/3/4 (defaults to '1')
Interface to use when the test is not running (and for anons).
Bug: T120867
Bug: T121021
Change-Id: I557056b867c6a55ef2c9af321eb48893312632a3
Roan Kattouw [Mon, 14 Dec 2015 23:58:41 +0000 (15:58 -0800)]
Follow-up
23cfe1bba: harmonize image embedding CSS
23cfe1bba changed ResourceLoaderImageModule::getCssDeclarations(),
but contrary to the documentation did not synchronize it with
mediawiki.mixins.less. This commit does that.
This commit brings the -o-linear-gradient rule back (this time with
a comment that explains why it's there), and removes the
-webkit-linear-gradient rules from mediawiki.mixins.less
and CSS code that copypasted it.
Change-Id: Ia7e9738d90919248748e6968192bf02e420cddd0
jenkins-bot [Mon, 14 Dec 2015 22:54:18 +0000 (22:54 +0000)]
Merge "Add release notes for removed function and class"
Translation updater bot [Mon, 14 Dec 2015 20:44:21 +0000 (21:44 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I00c9fee4c2b38f8e4cee9ee40343615cfdc772c1
jenkins-bot [Mon, 14 Dec 2015 20:30:13 +0000 (20:30 +0000)]
Merge "Add case-changing magic words to mw.jqueryMsg"
jenkins-bot [Mon, 14 Dec 2015 20:21:01 +0000 (20:21 +0000)]
Merge "mw.Upload.Dialog: Make the dialog higher (600px)"
jenkins-bot [Mon, 14 Dec 2015 20:18:35 +0000 (20:18 +0000)]
Merge "Special:Preferences Remove red box in email and changed confirm error to warning"
Bartosz Dziewoński [Mon, 14 Dec 2015 19:54:04 +0000 (20:54 +0100)]
mw.Upload.Dialog: Make the dialog higher (600px)
Avoids a scrollbar for option 4 of the A/B test from T120867.
300px was woefully insufficient for the second step, anyway.
Change-Id: Id9704565457af6a66186f03bbc9c2c57d09f2330
umherirrender [Mon, 14 Dec 2015 19:03:47 +0000 (20:03 +0100)]
Add release notes for removed function and class
* Skin::getNamespaceNotice: I7567582924757b97b94f757170bc67b18e4ca089
* wfIsConfiguredProxy: I3c1e1d00b93320cde9b39c183174e7a495f03854
* wfDebugTimer: I7b6516f82344f98aaec04bc3af3c208b63169a77
* wfIsTrustedProxy: I86439a772e036dcd5ebdd8b16010c7bacfd9463b
* wfGetIP: I3b8f4b034e23a56f586993549cc5460b28bf6fa7
* MWHookException: I9cf80f2b701d6db8a6cfe884e4fd15d4e0482dda
Change-Id: Ib5359ee50e42f68e8d1985476c5c2d8146a2d8d5
Krzysztof Zbudniewek [Sun, 13 Dec 2015 00:56:47 +0000 (01:56 +0100)]
Special:Preferences Remove red box in email and changed confirm error to warning
As @matmarex suggested I used the same colors for warning as in shared.css for .warningbox
Bug: T58611
Change-Id: Icba7787db4cc77ee793b9637c60b5977d28dc8cf
Scimonster [Mon, 14 Dec 2015 16:56:26 +0000 (18:56 +0200)]
Add case-changing magic words to mw.jqueryMsg
Add the lc, uc, lcfirst, and ucfirst magic words.
Task done as part of GCI15.
Bug: T46495
Change-Id: I246b878ff4e8ef4cf49fe1859ee6c5d33d373b30
Paladox [Fri, 25 Sep 2015 17:28:43 +0000 (18:28 +0100)]
registration: When converting, place 'namemsg' under 'name'
Currently when converting from PHP to extension.json, 'namemsg' isn't
underneath 'name', it is halfway down instead.
Change-Id: I1be42a818bda6908643702cc5f7c959d2d2fdfba
jenkins-bot [Mon, 14 Dec 2015 16:33:14 +0000 (16:33 +0000)]
Merge "Fix HHVM RepoAuthorative mode again"
Reedy [Mon, 14 Dec 2015 13:28:29 +0000 (13:28 +0000)]
Fix HHVM RepoAuthorative mode again
Change-Id: I0fe75797ebe1c8c22be603a62102bd25bce29f49
Bartosz Dziewoński [Mon, 14 Dec 2015 15:15:48 +0000 (16:15 +0100)]
SpecialChangeEmail: Remove dead code (whole 'mediawiki.special.changeemail' module)
It stopped working after
6b9a1c6d5b96dd55b05b9db5d4ab864973b7ff8f
accidentally changed the 'id' of the text input this was validating.
It seems that all browsers these days have some validation for 'email'
fields, so this isn't very useful, and the styling of the notice looks
pretty jarring with the current 'ooui'-style form.
Change-Id: Ifa3103c9c9369654ea1cd4b064a67454b8694bf0
jenkins-bot [Mon, 14 Dec 2015 06:59:24 +0000 (06:59 +0000)]
Merge "Move PSR-3 support check right after autoloader setup"
jenkins-bot [Mon, 14 Dec 2015 06:21:03 +0000 (06:21 +0000)]
Merge "Work around APCu memory corruption bug"
Gergő Tisza [Mon, 26 Oct 2015 02:00:24 +0000 (19:00 -0700)]
Move PSR-3 support check right after autoloader setup
This ensures that, in case "composer install" has not been run,
the user will see the error message about setting up dependencies
(as opposed a plain "Class not found" error because some other
dependency was used first).
Change-Id: Ib6026123770d21cc9f8960a1de361c8178b1b044
Ori Livneh [Sun, 13 Dec 2015 06:09:32 +0000 (22:09 -0800)]
Work around APCu memory corruption bug
APCu's object serialization causes memory corruption when apc.serializer is set
to 'default' (see https://github.com/krakjoe/apcu/issues/38). We can work
around this bug by falling back to the pre-I4b2cf17155 behavior of
APCBagOStuff, which is not to trust apc_store() with anything other than
strings and integers, and instead serialize everything in user-space PHP code.
Bug: T120267
Change-Id: If34a1d959e2700792514b372af52919940222d83
Brian Wolff [Mon, 14 Dec 2015 04:25:51 +0000 (23:25 -0500)]
Fix missing semi-colon:   ->  
The error is most noticable when transcluding {{Special:Contributions}}
Follows up
43c770c9543.
Change-Id: I67e44e6c655ff31dcc1c3a4716b63e3e91411a07
jenkins-bot [Mon, 14 Dec 2015 01:46:19 +0000 (01:46 +0000)]
Merge "resourceloader: Remove obsolete msg_resource database table"
jenkins-bot [Mon, 14 Dec 2015 01:41:50 +0000 (01:41 +0000)]
Merge "resourceloader: Remove obsolete msg_resource_links table"
Timo Tijhof [Wed, 9 Dec 2015 21:29:59 +0000 (21:29 +0000)]
resourceloader: Remove obsolete msg_resource database table
No longer used as of
5d5b269e0e63641f3.
Change-Id: Ieb8448185cf39aa396e902e025e673f0886ac3c3
Timo Tijhof [Fri, 6 Nov 2015 23:43:44 +0000 (23:43 +0000)]
resourceloader: Remove obsolete msg_resource_links table
No longer used as of Ia9131f570.
Change-Id: If009e2620e59002e127d21b90a96bdd29e5d2a9d
Adam Roses Wight [Mon, 14 Dec 2015 01:20:41 +0000 (17:20 -0800)]
Fix case of wfWikiID calls
Change-Id: I1f980962dd2d0b2f05b14e506f679e21e3d67334
jenkins-bot [Mon, 14 Dec 2015 01:14:53 +0000 (01:14 +0000)]
Merge "DefaultSettings.php: Use .invalid as invalid e-mail address (RFC 2606)"
jenkins-bot [Mon, 14 Dec 2015 01:08:12 +0000 (01:08 +0000)]
Merge "SpecialPagesWithProp: Use 'combobox' field and convert to OOUI"
jenkins-bot [Mon, 14 Dec 2015 01:01:43 +0000 (01:01 +0000)]
Merge "Add error checking for file argument"
cenarium [Sat, 21 Nov 2015 12:24:17 +0000 (13:24 +0100)]
Add user and previous rev to HistoryRevisionTools, and user to DiffRevisionTools
The next revision in the page history isn't necessarily the previous
revision (due to selective undeletions, history merges, etc). This
passes the next revision to HistoryRevisionTools so extensions can check
if needed. Also, it passes the user to this hook and DiffRevisionTools
to avoid use of wgUser or having to retrieve context.
Change-Id: Ibc68f19040eebe3614e07f753f26bbfd376ae28d
jenkins-bot [Mon, 14 Dec 2015 00:34:54 +0000 (00:34 +0000)]
Merge "Remove uncalled Skin::getNamespaceNotice"
jenkins-bot [Mon, 14 Dec 2015 00:34:50 +0000 (00:34 +0000)]
Merge "Call Skin::setRelevantUser on Special:UserRights"
jenkins-bot [Mon, 14 Dec 2015 00:29:27 +0000 (00:29 +0000)]
Merge "PHP 7 compatibility: Fix variable interpolation in ImageGalleryBase.php"
jenkins-bot [Mon, 14 Dec 2015 00:29:23 +0000 (00:29 +0000)]
Merge "PHP 7 compatibility: Fix variable interpolation in RevisionDeleter.php"
jenkins-bot [Mon, 14 Dec 2015 00:29:18 +0000 (00:29 +0000)]
Merge "Adjust datetime in email confirmation email"
jenkins-bot [Mon, 14 Dec 2015 00:24:46 +0000 (00:24 +0000)]
Merge "Remove dead code about nlinks from Special:Wantedpages"
jenkins-bot [Mon, 14 Dec 2015 00:22:51 +0000 (00:22 +0000)]
Merge "Comment out getSubpagesForPrefixSearch of Special:Tags"
jenkins-bot [Mon, 14 Dec 2015 00:21:27 +0000 (00:21 +0000)]
Merge "Remove INSERT value for page_counter variable"
jenkins-bot [Mon, 14 Dec 2015 00:21:23 +0000 (00:21 +0000)]
Merge "Set Language in SpecialSearchTest.php"
jenkins-bot [Mon, 14 Dec 2015 00:13:12 +0000 (00:13 +0000)]
Merge "Move inline $wgStatsdMetricPrefix default to DefaultSettings.php"
jenkins-bot [Mon, 14 Dec 2015 00:05:34 +0000 (00:05 +0000)]
Merge "Check User::getId() in makeTestEdits.php"
jenkins-bot [Mon, 14 Dec 2015 00:04:47 +0000 (00:04 +0000)]
Merge "Cleanup test jobs better"
jenkins-bot [Sun, 13 Dec 2015 23:03:14 +0000 (23:03 +0000)]
Merge "Fix some MWExceptionHandler IDEA errors"
jenkins-bot [Sun, 13 Dec 2015 22:57:22 +0000 (22:57 +0000)]
Merge "Remove wrong usage documentation in comments"
Ori Livneh [Sun, 13 Dec 2015 22:00:00 +0000 (14:00 -0800)]
Remove wfIsConfiguredProxy(), deprecated since 1.24
No usage:
https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+wfisconfiguredproxy&type=Code&ref=searchresults
Change-Id: I3c1e1d00b93320cde9b39c183174e7a495f03854
Ori Livneh [Sun, 13 Dec 2015 21:57:58 +0000 (13:57 -0800)]
Remove wfDebugTimer(), deprecated in 1.25
No remaining usage:
https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+wfDebugTimer&type=Code&ref=searchresults
Change-Id: I7b6516f82344f98aaec04bc3af3c208b63169a77
Ori Livneh [Sun, 13 Dec 2015 21:56:56 +0000 (13:56 -0800)]
Remove wfIsTrustedProxy(), deprecated since 1.24
No usage outside of core:
https://github.com/search?utf8=%E2%9C%93&q=%40wikimedia+wfIsTrustedProxy&type=Code&ref=searchresults
Change-Id: I86439a772e036dcd5ebdd8b16010c7bacfd9463b
Ori Livneh [Sun, 13 Dec 2015 21:55:10 +0000 (13:55 -0800)]
Remove wfGetIP(), deprecated since 1.19
No remaining usage:
https://github.com/search?q=%40wikimedia+wfGetIP&type=Code&utf8=%E2%9C%93
Change-Id: I3b8f4b034e23a56f586993549cc5460b28bf6fa7
jenkins-bot [Sun, 13 Dec 2015 21:58:52 +0000 (21:58 +0000)]
Merge "Localization: Gave each special page its own message"
Translation updater bot [Sun, 13 Dec 2015 20:50:56 +0000 (21:50 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I4b63c322843e9dd706a4b2bdd343b0dae72e2b61
jenkins-bot [Sun, 13 Dec 2015 20:35:58 +0000 (20:35 +0000)]
Merge "No prefix suggestion of special and media namespace on special pages"
Amir E. Aharoni [Sun, 13 Dec 2015 19:21:35 +0000 (21:21 +0200)]
Fix spelling in EXIF message: seperated -> separated
Change-Id: Ib97a0e756868f965f25a27bd707e315c8a9b4b65
umherirrender [Sun, 13 Dec 2015 17:39:14 +0000 (18:39 +0100)]
No prefix suggestion of special and media namespace on special pages
As mention in comments of I71f77c3001a12d75b901807c20115cead9c64e93 the
added prefix suggestion can get called recursive.
Avoid this by disable prefix suggestion for media and special namespace,
because a special page cannot be used on that special pages.
Follows I71f77c3001a12d75b901807c20115cead9c64e93
Change-Id: I8978e3bd0783f62bc25b32a0fdaa90361abefcf3
Albert221 [Sun, 13 Dec 2015 13:34:28 +0000 (14:34 +0100)]
Localization: Gave each special page its own message
Bug: T45502
Change-Id: I847c8b294d7e4596b229ad6180764c43c42af1e2
Jesús Martínez Novo [Sun, 13 Dec 2015 15:08:25 +0000 (16:08 +0100)]
Remove wrong usage documentation in comments
The --fix parameter was removed in
f991d9cf777e but documentation
in comments wasn't updated. Other scripts don't maintain usage
parameters in comments, probably because the --help should already
output them, so let's remove them here also to avoid confusion.
Change-Id: Ia4c9479ffeaeb11083168678cd6a2aa29c897f84
Aaron Schulz [Sun, 13 Dec 2015 12:26:01 +0000 (04:26 -0800)]
Fix some MWExceptionHandler IDEA errors
Change-Id: I98b5aa4f29107185b2279ce4caf05ffe80fcd6b0
Reedy [Mon, 30 Nov 2015 19:10:36 +0000 (19:10 +0000)]
Add various point release release notes to HISTORY.
Change-Id: I4dcdc48110875be5abe82dfd6ba6bb74b5dfb810
jenkins-bot [Sun, 13 Dec 2015 04:18:59 +0000 (04:18 +0000)]
Merge "Support all values for exif PhotometricInterpretation"
Translation updater bot [Sat, 12 Dec 2015 21:09:35 +0000 (22:09 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic45999ff91e8cd96762877d238faee909a50e63c
jenkins-bot [Sat, 12 Dec 2015 17:22:12 +0000 (17:22 +0000)]
Merge "Fixed Special:PasswordReset message"
mhutti1 [Thu, 10 Dec 2015 23:07:20 +0000 (00:07 +0100)]
Fixed Special:PasswordReset message
The message now varies depening on whether the user supplied an email
or username.
Bug: T118851
Change-Id: I6eb33e2409c391aa37ed8fe1196727c2e907719d
Yuri Astrakhan [Fri, 11 Dec 2015 22:45:14 +0000 (01:45 +0300)]
Fixed incorrect size for api result
Added a unit test to highlight the problem
Change-Id: I5d4bcb755bd3686a92e7b111946a49892699729f
jenkins-bot [Sat, 12 Dec 2015 11:25:37 +0000 (11:25 +0000)]
Merge "Resolve code invoking Title::newFromURL"
Albert221 [Fri, 11 Dec 2015 21:50:55 +0000 (22:50 +0100)]
Resolve code invoking Title::newFromURL
Bug: T65424
Change-Id: I6c97245faccd8b34557eb3be4150867fd9b37992
jenkins-bot [Sat, 12 Dec 2015 02:42:06 +0000 (02:42 +0000)]
Merge "Make query pages not accept offset > 10000 in miser mode"
jenkins-bot [Sat, 12 Dec 2015 01:59:07 +0000 (01:59 +0000)]
Merge "Update grunt-jscs to 2.5.0"
Aaron Schulz [Sat, 12 Dec 2015 00:40:35 +0000 (16:40 -0800)]
Rename getSquidURLs() => getCdnUrls()
Change-Id: I433acc7990a5fcefd0d2ff5b14ba33dec0424706
Aaron Schulz [Fri, 11 Dec 2015 23:45:05 +0000 (15:45 -0800)]
Cleanup test jobs better
Change-Id: Id89bb6e9056485b51c66569a57cb91bdf9d2d91f
Aaron Schulz [Fri, 11 Dec 2015 23:29:23 +0000 (15:29 -0800)]
Check User::getId() in makeTestEdits.php
Change-Id: If803f1aea144f91dadf70e1a41d6834a2fd1d66e
jenkins-bot [Fri, 11 Dec 2015 23:20:14 +0000 (23:20 +0000)]
Merge "Use GAID_FOR_UPDATE for getArticleID() in LinksUpdate"
Aaron Schulz [Fri, 11 Dec 2015 13:17:51 +0000 (05:17 -0800)]
Use GAID_FOR_UPDATE for getArticleID() in LinksUpdate
Bug: T121228
Change-Id: I33addea4261d58cc93ab739621481065eb9c908d
Translation updater bot [Fri, 11 Dec 2015 22:15:54 +0000 (23:15 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Ibbe6f84d2fce2bf7ff1be575a598de265322ded3
jenkins-bot [Fri, 11 Dec 2015 21:55:59 +0000 (21:55 +0000)]
Merge "Add script to generate random test edits for a user"
jenkins-bot [Fri, 11 Dec 2015 21:51:23 +0000 (21:51 +0000)]
Merge "Make redis JobQueueConnectionError mention the host"
Aaron Schulz [Tue, 8 Dec 2015 21:35:34 +0000 (13:35 -0800)]
Add script to generate random test edits for a user
Change-Id: Ieb079196aa8b70c8df52d791cd3a49242ebfb1e7
Aaron Schulz [Fri, 11 Dec 2015 02:34:21 +0000 (18:34 -0800)]
Make redis JobQueueConnectionError mention the host
Change-Id: I00a43265a65de9c9fa58b7046770d754b7d27815
Aaron Schulz [Fri, 11 Dec 2015 13:21:06 +0000 (05:21 -0800)]
Improve addNewAccountMailPassword() docs
Change-Id: Iade04a33f2dafa8c289df25d9f86fa1607f799b9
jenkins-bot [Fri, 11 Dec 2015 18:40:40 +0000 (18:40 +0000)]
Merge "Localisation: Gave each special page its own message"
PranavK [Fri, 11 Dec 2015 12:12:03 +0000 (17:42 +0530)]
Localisation: Gave each special page its own message
Bug: T45502
Change-Id: I6d41c2174a67bc9b231b6fc6209677fb84692cc5
Aaron Schulz [Thu, 10 Dec 2015 19:29:31 +0000 (11:29 -0800)]
Remove wfForeignMemcKey() usage from JobQueueRedis::getQueueKey()
This class should manage the escaping it uses, rather than use some
random BagOStuff that has nothing to do with the job queue.
Change-Id: Ie716dc4a3429754a99c5f0670555e5e049b61aa1
Aaron Schulz [Fri, 11 Dec 2015 01:13:48 +0000 (17:13 -0800)]
Remove JobQueue::setTestingPrefix() hack
The tests are only run on dev install and only touch the
null queue anyway.
Change-Id: I441a2a4605a9e2984142485b022dd524ff819360
Aaron Schulz [Fri, 11 Dec 2015 00:35:02 +0000 (16:35 -0800)]
Fix bad regex in
6fe2f48df
Change-Id: I51d136a491111b7c980ddb13fff74bf4a63b15ad
Aaron Schulz [Thu, 12 Nov 2015 00:10:29 +0000 (16:10 -0800)]
Add per-partition JobQueueRedis aggregation
* Track queues with non-abandoned jobs per partition server.
The s-queuesWithJobs key can easily be queried to see which
queues need to have periodic tasks run (or for debugging).
* This is requirement for the redis jobchron service to be able to
avoid hitting N=(no. types X no. wikis) queues for periodic tasks
when only a tiny fraction of those actually have any jobs. For WMF,
there are over 30K queues, most of them empty, so doing that can help
lower redis-server CPU (or at least make jobchron more responsive).
* This also allows for jobchron to manage the aggregator by taking the
per-server aggregator sets and merging them. This scales much better
as there are only a modest number of these daemons (18 for WMF) but
vastly more web thread pushing jobs. This cuts down on the connections
to the active aggregator server (the one with the hash table).
* Use Lua unpack() more for stylistic consistency.
Change-Id: I1549f0edc78cc4004dd887b475dec4c0ebd306c6
jenkins-bot [Thu, 10 Dec 2015 23:12:04 +0000 (23:12 +0000)]
Merge "Timing::measure(): handle missing marks better"