Andrew Harris [Sun, 13 Dec 2015 19:02:38 +0000 (15:32 -0330)]
Change documentation of formatTimePeriod
Currently, the function formatTimePeriod does not have a very descriptive
documentation and has a TODO tag on it to change the documentation
Change the documentation to be more descriptive and remove the TODO
Change-Id: Idde711f1d3d6cbe0ecab0c3b49c68a4876d9e8b2
jdlrobson [Thu, 13 Oct 2016 16:17:08 +0000 (09:17 -0700)]
Enable APISandbox code on mobile
It's a special page and only uses mobile vetted code
so completely fine to load this on mobile
That said the visual display needs a lot of work but that
can be remedied in a follow up.
Bug: T148049
Change-Id: I2a8424e7c348bd5283aba99d1a81bb259d7e54c5
Brad Jorsch [Thu, 13 Oct 2016 16:53:31 +0000 (12:53 -0400)]
Avoid blowing up inside Parser::extensionSubstitution() when PP limits are exceeded
The most critical one is if the marker name is bad, since that causes
StripState to throw an exception since I798d31af. But we may as well
check the other expand calls in this function too to avoid outputting
broken wikitext.
Bug: T136401
Change-Id: I1cb353d74f9a46168055e1abeb22cf569fe9354a
Ed Sanders [Thu, 13 Oct 2016 16:54:14 +0000 (09:54 -0700)]
Add self to credits (Ed Sanders)
Change-Id: Ia72f0702651fda95449ec08b18b2bca98e047a69
Aaron Schulz [Thu, 13 Oct 2016 08:15:12 +0000 (01:15 -0700)]
Fix WANObjectCache doc typo
Change-Id: I74ef6598d86bdf43ae35f776878cfbb8e9695907
Petr Pchelko [Wed, 12 Oct 2016 21:20:29 +0000 (14:20 -0700)]
ApiPurge: Set the triggering user for the LinksUpdate
Even if the API call was done anonymously, we still have the IP
address to set as a triggering user. This is needed in the EventBus
since the LinksUpdate job triggers a page-properties-change event
and we need information about the performer for each page-related
event.
Bug: T147516
Bug: T147977
Change-Id: Idc6efc894698606ba528f4bd67658267ed250862
Aaron Schulz [Thu, 13 Oct 2016 01:14:03 +0000 (18:14 -0700)]
Make TransactionProfiler::setSilenced() calls handle nesting
Change-Id: I6511a72a0fb921468a8a19ceb4d0a8ae669aa6e4
jenkins-bot [Thu, 13 Oct 2016 00:59:01 +0000 (00:59 +0000)]
Merge "Balancer: remove unnecessary extra argument"
jenkins-bot [Thu, 13 Oct 2016 00:01:34 +0000 (00:01 +0000)]
Merge "TitleWidget: Take 'known' status into account when deciding page existence"
C. Scott Ananian [Wed, 12 Oct 2016 23:56:51 +0000 (16:56 -0700)]
Balancer: remove unnecessary extra argument
The full HTML5 spec clones element attributes when they are added to
the ActiveFormattingElements list, so that when an element on that
list is later cloned and reinserted the attributes are the *original*
attributes, not reflecting any changes which embedded JavaScript
in an inline <script> block may have made to them since the element
was pushed.
However, the PHP implementation doesn't run any JavaScript so there's
no way the attributes could change during balancing and there is
thus no reason to keep extra copies of the attributes around.
Change-Id: I89647aeb90c64701d77e862ea9e3d22b19bbdedc
jenkins-bot [Wed, 12 Oct 2016 23:48:14 +0000 (23:48 +0000)]
Merge "Remove ContentHandler::deprecated()"
jenkins-bot [Wed, 12 Oct 2016 23:46:43 +0000 (23:46 +0000)]
Merge "Make Article::getContent() emit deprecation warnings"
Reedy [Sat, 8 Oct 2016 12:30:16 +0000 (13:30 +0100)]
Remove ContentHandler::deprecated()
Now unused, replaced with wfDeprecated() calls specifically
Bug: T145728
Change-Id: Id269bcd2958f23ecbc7f4f06a8c3ab5873c53117
Aaron Schulz [Wed, 12 Oct 2016 22:15:15 +0000 (15:15 -0700)]
Remove deprecated ObjectCache::newAccelerator method
Change-Id: I2be2afe3f2bba830aea4e985005adb72f0e45a82
Paladox [Wed, 12 Oct 2016 15:22:20 +0000 (16:22 +0100)]
Add patch to migrate rc_ip field to varbinary(40)
This makes it match tables.sql, as it was modified previously but no
related database patch was made.
Bug: T117854
Change-Id: I239e7ee4d97fcc3cb96c98dc53d9371883aaf4fb
jenkins-bot [Wed, 12 Oct 2016 20:36:22 +0000 (20:36 +0000)]
Merge "Adding SITENAME to search box placeholder"
jenkins-bot [Wed, 12 Oct 2016 19:34:42 +0000 (19:34 +0000)]
Merge "Make SessionBackend::save() update the user post-send"
Aaron Schulz [Sun, 11 Sep 2016 19:52:11 +0000 (12:52 -0700)]
Make SessionBackend::save() update the user post-send
Bug: T92357
Change-Id: Id4f4991aca1ceeb74b59e980f09863041246a4fc
jenkins-bot [Wed, 12 Oct 2016 18:05:42 +0000 (18:05 +0000)]
Merge "Balancer: Add a bunch of phpdoc and 2 fixmes"
jenkins-bot [Wed, 12 Oct 2016 16:49:35 +0000 (16:49 +0000)]
Merge "Call parent::__construct() in MysqlBase AFTER transferring specific parameters"
Alex Monk [Wed, 12 Oct 2016 01:04:06 +0000 (02:04 +0100)]
TitleWidget: Take 'known' status into account when deciding page existence
Bug: T72123
Change-Id: Id00215946a9a1927967e8af7f321862e89261c51
jenkins-bot [Wed, 12 Oct 2016 15:50:21 +0000 (15:50 +0000)]
Merge "GallerySlideshow: Add tooltip on toggle thumbnails icon"
jenkins-bot [Wed, 12 Oct 2016 15:26:12 +0000 (15:26 +0000)]
Merge "GallerySlideshow: Keep alt attribute of images"
jenkins-bot [Wed, 12 Oct 2016 14:57:10 +0000 (14:57 +0000)]
Merge "Improve Doxygen template used by mwdocgen.php"
Jan Drewniak [Wed, 12 Oct 2016 12:47:15 +0000 (14:47 +0200)]
Adding SITENAME to search box placeholder
Changing the search box placeholder from just reading
"Search" to "Search {{SITENAME}}".
This label is more explicit. It is also consistent
with the MobileFrontend search box placeholder.
Bug: T144640
Change-Id: I67a21f1e13c6326aede90b19bc68410df48a8aa0
Prateek Saxena [Wed, 12 Oct 2016 07:39:11 +0000 (13:09 +0530)]
GallerySlideshow: Keep alt attribute of images
Change-Id: Ia7fe913ab64b2796316588ba51ebe52e144d739f
Volker E [Thu, 29 Sep 2016 06:56:43 +0000 (23:56 -0700)]
commonPrint: Remove overqualified selectors & `!important` where applicable
Removing overqualified CSS selectors and use of `important` where
applicable (CSSLint). Also deleting obsolete `a.sortheader` rule.
Bug: T136459
Change-Id: I2ed1c7188c96d6205ee03dc46a2a90130c8d120a
Prateek Saxena [Wed, 12 Oct 2016 06:50:31 +0000 (12:20 +0530)]
GallerySlideshow: Add tooltip on toggle thumbnails icon
Bug: T140593
Change-Id: Iec5a4bcbce5383bf3b657f6ed4134ff15820b2d6
jenkins-bot [Tue, 11 Oct 2016 23:18:45 +0000 (23:18 +0000)]
Merge "Guard Database::explicitTrxActive() against returning false while in begin()"
Reedy [Tue, 11 Oct 2016 21:29:04 +0000 (22:29 +0100)]
Call parent::__construct() in MysqlBase AFTER transferring specific parameters
Bug: T147852
Change-Id: Id07bb38efb6a9a3b4f4f7e07c0a2c6a74bb1b58d
jenkins-bot [Tue, 11 Oct 2016 20:44:34 +0000 (20:44 +0000)]
Merge "Convert LanguageConverter to using getLocalServerObjectCache()"
Aaron Schulz [Thu, 29 Sep 2016 02:58:57 +0000 (19:58 -0700)]
Convert LanguageConverter to using getLocalServerObjectCache()
Change-Id: I7bfcc389ef0266299d887a3520ab9581ef9aa9be
jenkins-bot [Tue, 11 Oct 2016 20:14:55 +0000 (20:14 +0000)]
Merge "objectcache: Fix test coverage"
L10n-bot [Tue, 11 Oct 2016 20:13:18 +0000 (20:13 +0000)]
Merge "Localisation updates from https://translatewiki.net."
jenkins-bot [Tue, 11 Oct 2016 20:07:12 +0000 (20:07 +0000)]
Merge "Call resetChildProcessServices() in ForkController"
Translation updater bot [Tue, 11 Oct 2016 20:05:20 +0000 (22:05 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Icce45da0b102dcf69d4f421b7fb42f71cf0ecbb2
jenkins-bot [Tue, 11 Oct 2016 20:02:04 +0000 (20:02 +0000)]
Merge "Make server index validity checks in LoadBalancer actually work"
Aaron Schulz [Tue, 11 Oct 2016 19:17:12 +0000 (12:17 -0700)]
Call resetChildProcessServices() in ForkController
Use this instead of bogus destroyInstance() call to LBFactory.
Change-Id: Iaf62925c0b3bf364dbaca8160f9c5bbfd97670ab
Aaron Schulz [Sun, 9 Oct 2016 17:47:49 +0000 (10:47 -0700)]
Guard Database::explicitTrxActive() against returning false while in begin()
This can happen in the special case of the srvCache using callbacks
triggered by getApproximateLagStatus(). Treat the transaction as
explicit until begin() finishes to avoid this since it can cause
transaction nesting errors if caller thinks its OK to commit when
startAtomic() is still in progress.
Bug: T147697
Change-Id: If1c0f14f6a72cbcbee365afab8ee5a0872e746c8
Timo Tijhof [Tue, 11 Oct 2016 19:47:53 +0000 (21:47 +0200)]
objectcache: Fix test coverage
Follows-up
24200e8,
37df4f8. Test coverage still broken.
> Trying to @cover not existing method
> "WANObjectCache::getMultitWithSetCallback".
Change-Id: Ie4c9a998ea352f93f3c7dcdea25ea5c017ffbab5
Stanislav Malyshev [Tue, 11 Oct 2016 19:13:10 +0000 (12:13 -0700)]
Call destroy method that actually exists instead of one that doesn't anymore.
Bug: T147881
Change-Id: Idac48d3c022af60409df37f2b1fcf82af814bdfa
Kunal Mehta [Tue, 11 Oct 2016 18:27:06 +0000 (11:27 -0700)]
Balancer: Add a bunch of phpdoc and 2 fixmes
Change-Id: I0596c73cc87ec609d75aa4d8b241c2377bc4f9b1
Volker E [Wed, 28 Sep 2016 01:20:40 +0000 (18:20 -0700)]
Remove outdated deprecated .mw-ui-primary class
Removing outdated `.mw-ui-primary` button class, that was deprecated
more than two years ago.
Change-Id: I0f9be4dec4aea83d182e919add1ef8495b293907
jenkins-bot [Tue, 11 Oct 2016 17:44:28 +0000 (17:44 +0000)]
Merge "API: Add a 'known' property when missing-but-known titles are output"
Fomafix [Sun, 9 Oct 2016 17:48:14 +0000 (19:48 +0200)]
Update weblinks in comments from HTTP to HTTPS
Use HTTPS instead of HTTP where the HTTP link is a redirect to the HTTPS link.
Change-Id: I06d9e043730accc4ae71b927e0f8229f0fc3b340
jenkins-bot [Tue, 11 Oct 2016 17:04:59 +0000 (17:04 +0000)]
Merge "Ignore defineProperty() failures in mw.log.deprecate"
jenkins-bot [Tue, 11 Oct 2016 16:27:54 +0000 (16:27 +0000)]
Merge "API: Remove deprecated response values from action=login"
jenkins-bot [Tue, 11 Oct 2016 16:27:52 +0000 (16:27 +0000)]
Merge "Tweak fullscreen styles for API sandbox"
jenkins-bot [Tue, 11 Oct 2016 16:24:47 +0000 (16:24 +0000)]
Merge "Preserve font size in ApiSandbox when going fullscreen"
Brad Jorsch [Mon, 15 Aug 2016 18:27:40 +0000 (14:27 -0400)]
API: Add a 'known' property when missing-but-known titles are output
For example file pages from foreign repos, MediaWiki-namespace messages
that haven't been locally customized, and titles manipulated with the
'TitleIsAlwaysKnown' hook.
This allows clients to be able to display such titles as bluelinks
rather than redlinks.
This also has ApiPageSet populate LinkCache to make later checks of
->exists() and ->isKnown() more efficient.
Bug: T141963
Change-Id: Idbdfd2896c0ce9425ededd7cb4b60eda89ba7ef5
Ed Sanders [Wed, 7 Sep 2016 03:09:26 +0000 (20:09 -0700)]
Tweak fullscreen styles for API sandbox
Change-Id: I69ae300c00931d6a4fff3920645b2c6ff6708284
jenkins-bot [Tue, 11 Oct 2016 16:07:29 +0000 (16:07 +0000)]
Merge "Use <a> instead of <a href="#"> for JavaScript click events"
jenkins-bot [Tue, 11 Oct 2016 16:01:33 +0000 (16:01 +0000)]
Merge "mediawiki.UI: Document explicitly about deprecated .mw-ui-constructive"
Fomafix [Mon, 16 Jun 2014 08:30:17 +0000 (08:30 +0000)]
Use <a> instead of <a href="#"> for JavaScript click events
* No status line with URL and "#".
* No new tab on middle click.
a { cursor: pointer; } ensures to have a pointer as mouse cursor on hover.
tabindex="0" ensures to have a normal tab order.
role="button" according to
https://www.mediawiki.org/wiki/Accessibility_guide_for_developers
Change-Id: I5903901752ffb52e778f3582c7da0f820dc305c8
jenkins-bot [Tue, 11 Oct 2016 15:31:49 +0000 (15:31 +0000)]
Merge "SECURITY: quote booleans as string (not integer) in DatabaseMysqlBase"
Gergő Tisza [Thu, 6 Oct 2016 17:39:08 +0000 (17:39 +0000)]
SECURITY: quote booleans as string (not integer) in DatabaseMysqlBase
Comparing a string column to 0 will produce spurious matches, and it is easy
to get a false value in unexpected places. Comparing an int column to '0'
does not seem to cause any problems.
Bug: T147537
Change-Id: I5ad547de509b3417b5937be6bdda9befb8aed8b6
jenkins-bot [Tue, 11 Oct 2016 06:35:11 +0000 (06:35 +0000)]
Merge "Fix the name of the Livvi-Karelian to fully Latin alphabet"
jenkins-bot [Tue, 11 Oct 2016 03:22:19 +0000 (03:22 +0000)]
Merge "TemplatesOnThisPage: The second paramter in rawElement is attributes, not content"
Volker E [Tue, 11 Oct 2016 03:17:14 +0000 (20:17 -0700)]
mediawiki.UI: Document explicitly about deprecated .mw-ui-constructive
Changing documentation in mediawiki.UI anchors about deprecated
`.mw-ui-constructive` class.
Bug: T146923
Change-Id: If3686c7c9c071fa708ae1deb82aa465a1f390175
Amir Sarabadani [Mon, 10 Oct 2016 18:37:36 +0000 (22:07 +0330)]
TemplatesOnThisPage: The second paramter in rawElement is attributes, not content
With proper typehinting this wouldn't have happened
Bug: T147789
Change-Id: I19ef9388acfd9159304b8141c54ce1ead27d0791
Volker E [Sun, 9 Oct 2016 21:37:52 +0000 (14:37 -0700)]
mediawiki.UI: Align .mw-ui-input appearance to design spec/OOjs UI
Aligning `.mw-ui-input` appearance to design specification
https://phabricator.wikimedia.org/M101 and implementation in OOjs UI.
Also improving `transition`, simplifying placeholder Less mixin and
adding W3C Selectors Level 4 `:placeholder-shown` pseudo-class.
Change-Id: I3e3299b3d8ff9b3ee58498e2e4dd2f2424ccde05
Timo Tijhof [Mon, 10 Oct 2016 23:25:10 +0000 (01:25 +0200)]
objectcache: Fix test coverage
Follows-up
24200e88d2. This broke the test coverage build.
Change-Id: Ied93e8ce280accc842418069883ef60cd4e08441
Bartosz Dziewoński [Fri, 30 Sep 2016 15:37:07 +0000 (17:37 +0200)]
Ignore defineProperty() failures in mw.log.deprecate
This reverts
159dbdc06f214f3fed3f86808312012cf2099e4f.
Bug: T145570
Change-Id: I9ed4cf7b379116f33cfcaee3de053739f9b25b7e
jenkins-bot [Mon, 10 Oct 2016 21:40:32 +0000 (21:40 +0000)]
Merge "Password reset link is shown when no reset options are available"
L10n-bot [Mon, 10 Oct 2016 20:03:59 +0000 (20:03 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Mon, 10 Oct 2016 19:56:42 +0000 (21:56 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I4b1051030a6e64aa32277789581fd315b4613383
Timo Tijhof [Mon, 12 Sep 2016 20:52:10 +0000 (13:52 -0700)]
resourceloader: Don't cache stale responses in mw.loader.store
Follows-up
6fa1e56. This is already fixed for http caches by
shortening the Cache-Control max-age in case of a version mismatch.
However the client still cached it blindly in mw.loader.store.
Resolve this by communicating to the client what version of the module
was exported. The client can then compare this version to the version
it originally requested and decide not to cache it.
Adopt the module key format (name@version) from mw.loader.store
in mw.loader.implement() as well.
Bug: T117587
Change-Id: I1a7c44d0222893afefac20bef507bdd1a1a87ecd
jenkins-bot [Mon, 10 Oct 2016 15:05:34 +0000 (15:05 +0000)]
Merge "Livvi-Karelian MediaWiki core messages to release notes."
Amire80 [Mon, 10 Oct 2016 12:13:38 +0000 (15:13 +0300)]
Fix the name of the Livvi-Karelian to fully Latin alphabet
The letter "k" was for some reason written in the Cyrillic alphabet.
Everywhere else in the Wp/olo incubator it is written with the Latin
letter "k", so this must be a mistake.
Change-Id: I51eb44b4cdb6014aafb7e6b4e5a725434b86e877
Translation updater bot [Sun, 9 Oct 2016 19:57:17 +0000 (21:57 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Idc6b39df30547833253c0fa8df768eec4a1ad823
MarcoAurelio [Sun, 9 Oct 2016 17:43:43 +0000 (17:43 +0000)]
Livvi-Karelian MediaWiki core messages to release notes.
Bug: T146744
Change-Id: I8fe6377512dbc6e01ee4866c440e6d416abaf288
andymw [Sun, 9 Oct 2016 05:53:24 +0000 (22:53 -0700)]
Display both subject and talk subpages for Special:MovePage
Editors were only able to see current page subpages, not subpages of
the corresponding talk page (if there is one). Consolidate display
routine in showSubpagesList. Conditionally show as needed
Adds 'movesubpagetalktext' to en.json for description of second
bulleted list.
Bug: T140026
Change-Id: Id5bb52411ab8249eda180b13aef7d8884064b5db
jenkins-bot [Sun, 9 Oct 2016 00:15:45 +0000 (00:15 +0000)]
Merge "Replace false for null in sourceFile() call"
jenkins-bot [Sat, 8 Oct 2016 23:22:57 +0000 (23:22 +0000)]
Merge "Do not normalise external links to special pages"
jenkins-bot [Sat, 8 Oct 2016 23:21:33 +0000 (23:21 +0000)]
Merge "mw.widgets.DateTimeInputWidget: Simplify code for hiding reused $input when infusing"
Stanislav Malyshev [Sat, 8 Oct 2016 00:02:45 +0000 (17:02 -0700)]
Disable reportDupes for unit tests
Bug: T147697
Change-Id: Ibd5901767be0d12d2aa50a4fc48b117711e6cf98
Amir Sarabadani [Sat, 8 Oct 2016 22:52:52 +0000 (02:22 +0330)]
Do not normalise external links to special pages
Bug: T147685
Change-Id: I0ec004b3f7194696eaca9541d336b061602e36df
jenkins-bot [Sat, 8 Oct 2016 18:34:48 +0000 (18:34 +0000)]
Merge "Revert noindex-category change from change I233ce58fd82a1dbc57b3ab58ce669b23a5781b57"
zppix1 [Fri, 23 Sep 2016 14:28:59 +0000 (09:28 -0500)]
Revert noindex-category change from change I233ce58fd82a1dbc57b3ab58ce669b23a5781b57
Bug: T146446
Change-Id: Ibe781441d999b00b1157aaebd69f37dddde1579f
Brian Wolff [Sat, 8 Oct 2016 18:18:06 +0000 (18:18 +0000)]
Fix merging of class attribute on edit page textbox
Follow up to
2c688cfb11ea6cee0e975ed35fc8e503ea
Bug: T147701
Change-Id: I48a03ffefb575470804dc4ef54bdf321e6f55dc3
Bartosz Dziewoński [Sat, 8 Oct 2016 17:33:21 +0000 (19:33 +0200)]
mw.widgets.DateTimeInputWidget: Simplify code for hiding reused $input when infusing
This is the standard solution, used also in OO.ui.DropdownInputWidget.
Change-Id: I42993bfade56b0461d4dd1a65fb110d605f1acf2
jenkins-bot [Sat, 8 Oct 2016 16:32:45 +0000 (16:32 +0000)]
Merge "Convert WatchedItemQueryService to using getConnectionRef()"
jenkins-bot [Sat, 8 Oct 2016 15:04:03 +0000 (15:04 +0000)]
Merge "Make WikiPage::prepareTextForEdit() emit deprecation warnings"
Reedy [Sat, 8 Oct 2016 12:28:38 +0000 (13:28 +0100)]
Make Article::getContent() emit deprecation warnings
Bug: T145729
Change-Id: I35b619cfc0c1548deb8805b4aacd3477dec0d1f7
umherirrender [Sat, 8 Oct 2016 09:39:49 +0000 (11:39 +0200)]
Fix syntax in doc/hooks.txt
Follow up: I10293be4581140c3edf0e4b538b04b31cb6f5730
Change-Id: Ia3a38ad46a0cd7f8c87ebb2af57131285cc1e6bf
jenkins-bot [Sat, 8 Oct 2016 01:54:35 +0000 (01:54 +0000)]
Merge "LoadMonitor: Avoid "host not replicating?" log messages by checking "is static""
Aaron Schulz [Fri, 7 Oct 2016 22:05:22 +0000 (15:05 -0700)]
LoadMonitor: Avoid "host not replicating?" log messages by checking "is static"
Change-Id: I59c47038505558b141385ea48cb62461163adb37
Aaron Schulz [Thu, 6 Oct 2016 17:11:17 +0000 (10:11 -0700)]
Convert WatchedItemQueryService to using getConnectionRef()
Change-Id: I3dfe959d057d59a7d01c74a8f701cda0110dad2f
jenkins-bot [Fri, 7 Oct 2016 22:56:21 +0000 (22:56 +0000)]
Merge "Documentation link changes"
Translation updater bot [Fri, 7 Oct 2016 20:44:10 +0000 (22:44 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I1ac25d16154c4ff1c3ad811d4fa2b217d7408ebc
zppix1 [Fri, 7 Oct 2016 15:30:10 +0000 (10:30 -0500)]
Documentation link changes
* Adds Special:MyLanguage to the links that support it.
Bug: T147650
Change-Id: Ie117466c83b120bd5b60388f29edcd3baf9c6eec
Aaron Schulz [Fri, 7 Oct 2016 17:59:59 +0000 (10:59 -0700)]
Fix some LBFactory return type docs
Change-Id: Ie283c5bf6ca8c67be9c116b0a7065b0844cb76da
Gergő Tisza [Fri, 7 Oct 2016 04:38:24 +0000 (04:38 +0000)]
API: Remove deprecated response values from action=login
Re-apply
23e5cdb after temporarily reverting in
fda4d48 due to bot breakage.
Bug: T121527
Change-Id: Ia89719d8bbebb7446b9c41cc9f29ecf26c75839b
jenkins-bot [Fri, 7 Oct 2016 04:36:45 +0000 (04:36 +0000)]
Merge "API: Add hooks for ApiQueryBase's query and row-processing"
Brad Jorsch [Wed, 14 Sep 2016 18:22:35 +0000 (14:22 -0400)]
API: Add hooks for ApiQueryBase's query and row-processing
This will allow extensions to inject into the query to implement
"xxshow" parameters, and to add additional properties to the output
data for "xxprop" parameters.
Also, call these new hooks from ApiQueryRevisions, ApiQueryAllRevisions,
ApiQueryUserContributions, and ApiQueryRecentChanges since I701e8e19 is
going to be wanting them.
Bug: T143614
Bug: T143616
Change-Id: Id6b42c7f2eb53a6f659d0d61383287f41d96ca00
Aaron Schulz [Thu, 6 Oct 2016 16:52:17 +0000 (09:52 -0700)]
Minor LoadBalancer cleanups
* Close the master connection in safeWaitForMasterPos() if created.
* Remove unnecessary reuseConnection() calls.
* Add DOMAIN_ANY constant for readability.
Change-Id: I9e64a7405e0eedc50e7b93d05d65cf00d5544a77
Reedy [Fri, 7 Oct 2016 00:12:31 +0000 (01:12 +0100)]
Replace false for null in sourceFile() call
Bug: T147609
Change-Id: I79f556efbe9e75919c4d59beca621d7f8ac54bb8
Reedy [Thu, 6 Oct 2016 14:20:00 +0000 (15:20 +0100)]
Deprecate EditFilterMerged hook, final ContentHandler replaced hook
Bug: T145728
Bug: T147391
Change-Id: I9b9acb43b7ec081dc8c6f8e918ae60a317fa6bb7
Reedy [Thu, 6 Oct 2016 23:27:34 +0000 (00:27 +0100)]
Deprecation of 2 more ContentHandler hooks
ArticleInsertComplete, ArticleSaveComplete
Bug: T145728
Bug: T147388
Bug: T147390
Change-Id: Ib861d3ee72bdaecfd91b7e719bc8054789ccd489
jenkins-bot [Thu, 6 Oct 2016 23:04:44 +0000 (23:04 +0000)]
Merge "Make DatabaseMysqlBase use connLogger for connection errors"