jenkins-bot [Fri, 10 Feb 2017 00:43:57 +0000 (00:43 +0000)]
Merge "phpunit: Fix OutputPage::__construct warning in SkinTemplateTest"
jenkins-bot [Fri, 10 Feb 2017 00:42:09 +0000 (00:42 +0000)]
Merge "mediawiki.api: Make qunit failure easier to debug"
jenkins-bot [Fri, 10 Feb 2017 00:42:05 +0000 (00:42 +0000)]
Merge "mediawiki.api: Add unit tests for pipe-joining non-string values"
jenkins-bot [Fri, 10 Feb 2017 00:19:03 +0000 (00:19 +0000)]
Merge "Update psr/log to v1.0.2"
jenkins-bot [Thu, 9 Feb 2017 23:44:24 +0000 (23:44 +0000)]
Merge "Updated cssjanus to v1.1.3"
Timo Tijhof [Thu, 9 Feb 2017 20:10:58 +0000 (20:10 +0000)]
mediawiki.api: Make qunit failure easier to debug
Avoid use of assert.ok() when there is clearly a comparison being made.
Previously the result of the comparison was implicit in match() returning
an array with a match instead of null.
Change this to instead extract the value and let QUnit see the comparison.
In case of a failure, the actual and expected values will now be reported.
Change-Id: Ieaea090469efba24f6f5bf44f5c8e238b017275f
Timo Tijhof [Tue, 31 Jan 2017 00:42:23 +0000 (00:42 +0000)]
mediawiki.api: Add unit tests for pipe-joining non-string values
Also document the fact that null/undefined in array values are submitted
to the API as empty string. We may want to change this.
Change-Id: I099b055ba8ddd367b6df2dd8f2997d8c6cd243df
jenkins-bot [Thu, 9 Feb 2017 17:58:03 +0000 (17:58 +0000)]
Merge "Temporary hax to hide cawiki's hacked in search sidebar"
Erik Bernhardson [Thu, 9 Feb 2017 17:17:45 +0000 (09:17 -0800)]
Temporary hax to hide cawiki's hacked in search sidebar
For the sistersearch AB test we will be adding in interwiki results. For
this to work we need to hide the sidebar that cawiki hacked into place
via the searchmenu-new i18n message. This should only be temporary, on
a full rollout the i18n message will be fixed, but for the AB test we
need to leave the sidebar in place for everyone not in the test.
This CSS is only delivered to pages that render the new interwiki
sidebar of results and wont negatively effect users outside the test.
Bug: T149806
Change-Id: I0c86b51222d7ecb68c72c45649e102d8c5589dea
Stephane Bisson [Thu, 22 Dec 2016 14:51:10 +0000 (15:51 +0100)]
RC filters: AJAX and pushState/popState
Selecting/unselecting a filter now refreshes the results list using AJAX.
Also added pushState to update the URL, and popstate handling
to make the back button work.
Bug: T153949
Change-Id: I8c1ec557ccfe4b1d20aaaab3ef0d3182a1993f24
Reedy [Thu, 9 Feb 2017 16:15:13 +0000 (16:15 +0000)]
Update psr/log to v1.0.2
https://github.com/php-fig/log/compare/1.0.0...1.0.2
https://github.com/php-fig/log/releases/tag/1.0.1
https://github.com/php-fig/log/releases/tag/1.0.2
Change-Id: I63bc43ec352d4fe756596cfcb46320e5e02edf7a
Depends-On: I7d4e1d7f61c56fb8951744e0a149b4a3df480e5b
jenkins-bot [Thu, 9 Feb 2017 15:19:33 +0000 (15:19 +0000)]
Merge "mediawiki.Uri: Don't ignore options param when using default uri"
Od1n [Wed, 8 Feb 2017 20:08:28 +0000 (20:08 +0000)]
mediawiki.Uri: Don't ignore options param when using default uri
Bug: T157035
Change-Id: Iae5edf996e4cd6d1dfbbffd6a915ee55d28409d3
jenkins-bot [Thu, 9 Feb 2017 12:26:24 +0000 (12:26 +0000)]
Merge "RC filters: Let the group widget know its own name"
Stephane Bisson [Thu, 9 Feb 2017 11:55:29 +0000 (06:55 -0500)]
RC filters: Let the group widget know its own name
Bug: T156533
Bug: T156215
Change-Id: I21f9df4286208cbe1609b06174066863eb4da6fb
Volker E [Thu, 9 Feb 2017 05:02:48 +0000 (21:02 -0800)]
mw.Upload.BookletLayout: Remove obsolete color value
Removing obsolete `background-color` value after I883c338fca7 and
replacing another color with of WMUI color palette.
Also aligning value with CSS coding guidelines.
Bug: T147019
Change-Id: Ibb337f37f2876d14aec002c59716879e2115fa0e
Chad Horohoe [Wed, 8 Feb 2017 21:29:31 +0000 (13:29 -0800)]
Log a warning when headers were already sent and we can't
Change-Id: Id01f4712e3dd297594e9ed2389ad411be5f553e7
Translation updater bot [Wed, 8 Feb 2017 20:55:23 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I684ff972942f90bf48894e27e25e4c28fd8c1559
James D. Forrester [Tue, 13 Sep 2016 18:24:47 +0000 (11:24 -0700)]
resources: Bump moment.js from 2.8.4 to 2.15.0
Languages and locales now with support:
* aeb-arab
* dv
* fy
* gd
* jv
* kk-cyrl
* ky
* lo
* ms
* pa
* se
* si
* ss
* sw
* te
* zh-hk
Skipped languages because we don't support them in MW:
* ar-ly
* en-ie
* en-nz
* es-do
* fr-ch
* me
* tlh
* tzl
Change-Id: I7f89569c6ee6640d368af1378e84c5a9e725da0d
jenkins-bot [Wed, 8 Feb 2017 19:58:09 +0000 (19:58 +0000)]
Merge "rcfilters: Style fixes and cleanup"
jenkins-bot [Wed, 8 Feb 2017 18:30:18 +0000 (18:30 +0000)]
Merge "Move ILoadBalancer to Rdbms namespace"
Timo Tijhof [Tue, 7 Feb 2017 18:20:28 +0000 (18:20 +0000)]
phpunit: Fix OutputPage::__construct warning in SkinTemplateTest
https://integration.wikimedia.org/ci/job/mediawiki-core-code-coverage/2562/console
> Deprecated: Use of OutputPage::__construct was deprecated in MediaWiki 1.18.
> .. SkinTemplateTest->getMockOutputPage() ..
Change-Id: I7f44ffecc40b9d972839554361660e5b38ce3aef
jenkins-bot [Wed, 8 Feb 2017 08:55:57 +0000 (08:55 +0000)]
Merge "Add GetContentModels hook to allow extensions to enumerate dynamic content models."
jenkins-bot [Wed, 8 Feb 2017 07:46:07 +0000 (07:46 +0000)]
Merge "Chinese Conversion Table Update 2017-1"
Aaron Schulz [Mon, 6 Feb 2017 21:53:13 +0000 (13:53 -0800)]
Move ILoadBalancer to Rdbms namespace
All callers are in core and have been updated.
Other callers can now be switched from LoadBalancer type hints to
ILoadBalancer type hints. Once that migration is done, the classes
implementing it can be moved too.
Change-Id: I6b34099b5816dd8bf9646ed39f7a2d1960e2ed06
jenkins-bot [Wed, 8 Feb 2017 06:12:24 +0000 (06:12 +0000)]
Merge "Move DatabaseDomain to Rdbms namespace"
Reedy [Wed, 8 Feb 2017 02:35:09 +0000 (02:35 +0000)]
Updated cssjanus to v1.1.3
https://github.com/cssjanus/php-cssjanus/releases/tag/v1.1.3
https://github.com/cssjanus/php-cssjanus/compare/v1.1.2...v1.1.3
Depends-On: I59d095b8fbeba1d60de3834bee68c4a524bf4f81
Change-Id: I4b3704e8552d4ea9a05ca67935ce02719d04995e
Volker E [Wed, 8 Feb 2017 00:50:58 +0000 (16:50 -0800)]
Update OOjs UI to v0.19.1
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.19.1
Change-Id: I6ef09c5285f89feee040a894785c02dab728e6ad
jenkins-bot [Wed, 8 Feb 2017 00:11:02 +0000 (00:11 +0000)]
Merge "RCFilters UI: Fix filter list popup width"
Moriel Schottlender [Tue, 7 Feb 2017 23:20:18 +0000 (15:20 -0800)]
RCFilters UI: Fix filter list popup width
Change-Id: Ic4dac749b97b12a121612b1c16188148e33a0959
jenkins-bot [Tue, 7 Feb 2017 23:15:39 +0000 (23:15 +0000)]
Merge "RCFilters UI: Add popup for capsule items"
Moriel Schottlender [Tue, 24 Jan 2017 18:23:27 +0000 (10:23 -0800)]
RCFilters UI: Add popup for capsule items
Change-Id: Icdb5ef84929e5f7bf504e99f6e6987ef4e73ae60
jenkins-bot [Tue, 7 Feb 2017 22:34:43 +0000 (22:34 +0000)]
Merge "Expand RC filters search to include desc and group title"
Stephane Bisson [Tue, 31 Jan 2017 15:41:23 +0000 (10:41 -0500)]
Expand RC filters search to include desc and group title
Bug: T156215
Change-Id: Ieb1c30d8403fcdf2e4d236211affdbb6199f84f6
Aaron Schulz [Mon, 6 Feb 2017 22:32:49 +0000 (14:32 -0800)]
Move DatabaseDomain to Rdbms namespace
Change-Id: Ifb06e792a36b5123ec3596933d0d394711ee5d08
Translation updater bot [Tue, 7 Feb 2017 20:56:12 +0000 (21:56 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I13aec863d647a9c93d80b13a55179cf463ac209f
jenkins-bot [Tue, 7 Feb 2017 18:48:13 +0000 (18:48 +0000)]
Merge "rdbms: Avoid declaration incompatibility IDEA warnings in safeWaitForMasterPos()"
jenkins-bot [Tue, 7 Feb 2017 18:36:10 +0000 (18:36 +0000)]
Merge "PHPUnit autoload file for PhpStorm"
Aaron Schulz [Mon, 6 Feb 2017 21:39:32 +0000 (13:39 -0800)]
rdbms: Avoid declaration incompatibility IDEA warnings in safeWaitForMasterPos()
Change-Id: Id30105889b45c7448d8b095f0340796e577bd76a
Aaron Schulz [Tue, 7 Feb 2017 05:20:39 +0000 (21:20 -0800)]
Move LikeMatch to Rdbms namespace
Change-Id: I0cba263cd02fc5c4bfe8f063f38d1b4be28246b0
jenkins-bot [Tue, 7 Feb 2017 03:46:04 +0000 (03:46 +0000)]
Merge "Add class to diff and history links in Special:Contributions"
Erik Bernhardson [Mon, 6 Feb 2017 22:22:07 +0000 (14:22 -0800)]
The correct method is parse, not parsed
A recent patch updated these two calls to use Message::parsed(),
but it should have used the Message::parse() message.
Change-Id: I5aba40576b89f21d2b1416ca0db0d28d2a088c39
Erik Bernhardson [Mon, 6 Feb 2017 21:58:44 +0000 (13:58 -0800)]
Switch search-interwiki-caption i18n to parsed
A recent refactor of the interwiki sidebar looks to have a small
regression, in that this message used to use ->parsed() but now
uses ->escaped(). Switch back so the interiwki results on beta
render appropriately.
Bug: T149806
Change-Id: I44d0b1cd3bcc0606a0fb14e171d51bec1c310a91
jenkins-bot [Mon, 6 Feb 2017 21:51:18 +0000 (21:51 +0000)]
Merge "Special:JavaScriptTest: send RL errors to the js console"
jenkins-bot [Mon, 6 Feb 2017 21:18:19 +0000 (21:18 +0000)]
Merge "rcfeed: Ensure formatter (and other params) is passed to RCFeedEngine"
Translation updater bot [Mon, 6 Feb 2017 20:55:37 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I3757684001fd0e4ce2a0299ec6b565e869a29aec
jenkins-bot [Mon, 6 Feb 2017 20:32:15 +0000 (20:32 +0000)]
Merge "jquery.suggestions: Correct @return documentation"
jenkins-bot [Mon, 6 Feb 2017 20:14:55 +0000 (20:14 +0000)]
Merge "mediawiki.action.edit.stash.js: Use formatversion=2 for API request"
jenkins-bot [Mon, 6 Feb 2017 20:05:41 +0000 (20:05 +0000)]
Merge "Add flexbox mixin for flex-wrap"
Bartosz Dziewoński [Mon, 6 Feb 2017 20:03:57 +0000 (21:03 +0100)]
jquery.suggestions: Correct @return documentation
Follow-up to
0dca42efb4a1ae7bcd029bf02dbc49a6d7fb57df.
Change-Id: Ia8c17d8169eb875d297b98a30002afb0eaa11233
jenkins-bot [Mon, 6 Feb 2017 19:25:54 +0000 (19:25 +0000)]
Merge "Move LBFactory to Rdbms namespace"
Stephane Bisson [Tue, 31 Jan 2017 16:21:00 +0000 (11:21 -0500)]
Special:JavaScriptTest: send RL errors to the js console
ResourceLoader errors, like invalid dependencies, are
hard to spot and only result in the special page
not finding any tests.
This is not a perfect solution but it would have
saved me a full day of troubleshooting.
Change-Id: I247174f89772b84b4cad31deffb03152921df020
Bartosz Dziewoński [Sat, 17 Dec 2016 03:44:05 +0000 (04:44 +0100)]
jquery.suggestions: Only highlight prefix matches
* jquery.highlightText: Add an option to highlight a prefix only.
* jquery.suggestions: Use the new option.
Bug: T27187
Change-Id: I097f012d2022334bbdb8cb32b256ae978aec57c7
jenkins-bot [Mon, 6 Feb 2017 15:11:28 +0000 (15:11 +0000)]
Merge "Allow wikilinks in "Powersearch-ns""
jenkins-bot [Mon, 6 Feb 2017 11:59:14 +0000 (11:59 +0000)]
Merge "Make 'groups' a data model in the FiltersViewModel"
jenkins-bot [Mon, 6 Feb 2017 02:25:25 +0000 (02:25 +0000)]
Merge "ApiPurge: update description for POST requirement"
Moriel Schottlender [Tue, 31 Jan 2017 01:08:42 +0000 (17:08 -0800)]
Make 'groups' a data model in the FiltersViewModel
Transform the groups Object to a full data model that
handles events, and connect the FilterGroupWidget to
its model for responding to these events.
Bug: T156533
Change-Id: Iebde3138e16bac7f62e8f557e5ce08f41a9535cb
Pmlineditor [Sun, 5 Feb 2017 21:57:35 +0000 (03:27 +0530)]
Allow wikilinks in "Powersearch-ns"
Changed use of escaped() to parse() to allow wikilinks in
MediaWiki:Powersearch-ns. Use case is provided in T157204.
Bug: T157204
Change-Id: Ic2eb28aaf735c31b50f3365176966e2e48091e54
Translation updater bot [Sun, 5 Feb 2017 20:54:50 +0000 (21:54 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I344edbc4a9319465e905d5c042932755f91bc07c
Fomafix [Sun, 5 Feb 2017 20:17:10 +0000 (21:17 +0100)]
mediawiki.action.edit.stash.js: Use formatversion=2 for API request
Change-Id: I537e9fe915dcdc2827d463a9815138aa32e13ae4
Isarra [Sun, 5 Feb 2017 19:16:02 +0000 (19:16 +0000)]
Add flexbox mixin for flex-wrap
Includes browser prefixes for old webkit (safaris, old iOS),
IE10, and ancient firefox
Change-Id: I6d3c82e1d1c526a1e307d9c33c576ae357834cb7
Chiefwei [Mon, 2 Jan 2017 12:38:34 +0000 (20:38 +0800)]
Chinese Conversion Table Update 2017-1
Update the Chinese conversion table routinely to fix bugs reported from
https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82 .
It is only data changes and only works for Chinese WikiProjects.
Change-Id: I7684fc2805f7f2076b974a2136fcbb3e9dd86607
Translation updater bot [Sat, 4 Feb 2017 20:55:13 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: Icc9ce5b1bd8d544288454186dff4e4e963ec2140
Timo Tijhof [Sat, 4 Feb 2017 03:31:44 +0000 (03:31 +0000)]
rcfeed: Ensure formatter (and other params) is passed to RCFeedEngine
Follows-up
39a6e3dc4d. Class-based feeds are always given their parameters
by RCFeed::factory. However because the old getEngine() method insists
on creating its own object, the constructor parameters were not given.
Add it as optional parameter and pass it through there.
This is backwards-compatible still because before the
39a6e3dc4d refactor,
an RCFeedEngine also was not given information about any formatter and it
was the callers responsibility to format the line before calling send().
CentralAuth still uses it this way and that works fine. The core-caller
that expected the construction parameters since
39a6e3dc4d is hereby fixed.
The test couldn't catch this because it constructed the class instance there,
since PHPUnit does not support a mock class that is instantiated by foreign
code, and the parameter is passed there.
Bug: T156996
Bug: T157106
Change-Id: I83433cf57b6e040cdb69f3ad8807a999c4f931a5
Amir Sarabadani [Sat, 4 Feb 2017 02:35:03 +0000 (06:05 +0330)]
Add class to diff and history links in Special:Contributions
Bug: T157178
Change-Id: I4fb26d55a0b7721e430b497440029c6de254dd8f
Ricordisamoa [Sat, 4 Feb 2017 03:19:39 +0000 (04:19 +0100)]
ApiPurge: update description for POST requirement
Follow-up to
eada94090990f9d06a3b512efc1ca7e6eb4bb2f1.
Change-Id: I134e4df9ed478a5989e55a991fb739b9af28ffb9
Aaron Schulz [Thu, 26 Jan 2017 18:27:37 +0000 (10:27 -0800)]
Move LBFactory to Rdbms namespace
Change-Id: I5ae10783228d0252284807c9562bc8e328d4becb
Translation updater bot [Fri, 3 Feb 2017 21:12:11 +0000 (22:12 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I6ce3f477f4a80d15138744b2854202a5d0b9cab5
jenkins-bot [Fri, 3 Feb 2017 19:04:54 +0000 (19:04 +0000)]
Merge "Displaying interwiki results in sidebar"
Jan Drewniak [Wed, 18 Jan 2017 10:27:43 +0000 (11:27 +0100)]
Displaying interwiki results in sidebar
Displays newly designed interwiki search results in the
sidebar of the specialSearch page.
A prototype of this change can be viewed on this labs url:
http://sistersearch.wmflabs.org/w/index.php?title=Special:Search&search=mars
Bug: T149806
Change-Id: I66e4b6a502dae488d105f11cad73e145990c2327
jenkins-bot [Fri, 3 Feb 2017 06:06:26 +0000 (06:06 +0000)]
Merge "Avoid joining against page table when finding a page's oldest revision."
Aaron Schulz [Thu, 2 Feb 2017 22:06:33 +0000 (14:06 -0800)]
Set mCache in the second MessageCache::loadFromDatabase() caller
The member variable is needed in the next lines, which previously
just used the array with "LATEST" set and would be seen as invalid
and discarded next time.
Bug: T157033
Change-Id: I5b84b1ae4a9c7b710ee452c61d7d9d6076ec9e6a
Timo Tijhof [Thu, 2 Feb 2017 20:03:27 +0000 (20:03 +0000)]
rcfeed: FormattedRCFeed constructor should match parent class
I intentionally made the constructor parameter optional in the
new RCFeed class from
39a6e3dc4d84, however it was not optional
in the subclass, which the older classes are now based on top
of.
Bug: T156996
Change-Id: I05b9e15920bc39f27c402b023d1463cfbdd2efb8
jenkins-bot [Thu, 2 Feb 2017 20:15:58 +0000 (20:15 +0000)]
Merge "Move LoadMonitor to Rdbms namespace"
Stanislav Malyshev [Tue, 31 Jan 2017 05:31:30 +0000 (21:31 -0800)]
Add GetContentModels hook to allow extensions to enumerate dynamic content models.
Bug: T155139
Change-Id: Icb41c470dfa4638676eb3ba0e74f437e85acc792
jenkins-bot [Thu, 2 Feb 2017 19:03:52 +0000 (19:03 +0000)]
Merge "Do not linkify the namespace URI in 'uploadscriptednamespace' error message"
Brad Jorsch [Thu, 2 Feb 2017 16:28:57 +0000 (11:28 -0500)]
Add release notes for I5ec8acf
Change-Id: Ifda13a82f831ee273aadab65f0e75ea9ce8998a8
Roan Kattouw [Fri, 27 Jan 2017 08:04:49 +0000 (19:04 +1100)]
rcfilters: Style fixes and cleanup
* Set border-box on FilterGroupWidget and FilterItemWidget to prevent
horizontal scrolling in the filter popup
* Remove unused styles for -invalid-notice and -invalid-filter
* Move styles for FilterCapsuleMultiselectWidget to the right file
* Suppress both bottom and top margin for FieldLayouts in FilterItemWidget
(the only reason a top margin wasn't applied was because the FieldLayout
was a first child, which is somewhat fragile)
Change-Id: I7f08ca6aa13fe6429c7fbe45b3d698c20b8c1275
jenkins-bot [Thu, 2 Feb 2017 02:18:41 +0000 (02:18 +0000)]
Merge "Make last remaining user_groups queries honor $wgDisableUserGroupExpiry"
jenkins-bot [Thu, 2 Feb 2017 00:21:39 +0000 (00:21 +0000)]
Merge "Update OOjs UI to v0.19.0"
This, that and the other [Thu, 2 Feb 2017 00:15:38 +0000 (11:15 +1100)]
Make last remaining user_groups queries honor $wgDisableUserGroupExpiry
Follow-up to I94102ceb00398940965280d8742a2747631dcc87
Change-Id: I62952c42b2f6ee1bed0088e17826e19dfc23471c
Bartosz Dziewoński [Tue, 31 Jan 2017 09:33:44 +0000 (10:33 +0100)]
mediawiki.api: Tweak deprecation logging
Follow-up to
15b5dc5d8eecb5a1784b0b7165a90a81e071d750.
Change-Id: I27ba2fe46086de1251cfd6017a51b736a4dabbf2
Volker E [Wed, 1 Feb 2017 23:30:46 +0000 (15:30 -0800)]
Update OOjs UI to v0.19.0
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.19.0
Change-Id: I56c43ff1b49631d0e4c477a72d3e7cdd9d46c4c9
jenkins-bot [Wed, 1 Feb 2017 21:09:57 +0000 (21:09 +0000)]
Merge "Follow-up
873d3c9ff: make RCFilters widget input use interface directionality"
L10n-bot [Wed, 1 Feb 2017 21:03:19 +0000 (21:03 +0000)]
Merge "Revert "Localisation updates from https://translatewiki.net.""
Raimond Spekking [Wed, 1 Feb 2017 21:02:56 +0000 (21:02 +0000)]
Revert "Localisation updates from https://translatewiki.net."
Overwrites https://gerrit.wikimedia.org/r/#/c/335217/
This reverts commit
01d74c8810901976e8260d5c622b457922487605.
Change-Id: I3b344d8257b0c9dfe81c0f41a017424640f3994b
jenkins-bot [Wed, 1 Feb 2017 21:02:38 +0000 (21:02 +0000)]
Merge "API: Guard more ug_expiry queries with $wgDisableUserGroupExpiry checks"
jenkins-bot [Wed, 1 Feb 2017 20:58:12 +0000 (20:58 +0000)]
Merge "ApiPurge: Require POST"
Translation updater bot [Wed, 1 Feb 2017 20:56:08 +0000 (21:56 +0100)]
Localisation updates from https://translatewiki.net.
Change-Id: I1ff72c3903103266a6a1e71dc66b6663b3218240
Kunal Mehta [Wed, 1 Feb 2017 20:50:06 +0000 (12:50 -0800)]
API: Guard more ug_expiry queries with $wgDisableUserGroupExpiry checks
Change-Id: Ibaafd9dc49b8aebcf0a00a507712baeec8c11e42
jenkins-bot [Wed, 1 Feb 2017 20:42:53 +0000 (20:42 +0000)]
Merge "Prevent use of expiries to circumvent restrictions on removing user groups"
jenkins-bot [Wed, 1 Feb 2017 20:42:48 +0000 (20:42 +0000)]
Merge "Don't try to drop ug_user_group index if it doesn't exist"
Brad Jorsch [Wed, 1 Feb 2017 15:07:02 +0000 (10:07 -0500)]
ApiPurge: Require POST
This change was announced to mediawiki-api-announce on September 14,
2016,[1] and the remaining users were notified on December 28, 2016, and a
reminder was sent on the same day.[2] Time to do this.
[1]: https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-September/000118.html
[2]: https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-December/000124.html
Bug: T145649
Change-Id: I5ec8acfbd2cd705a7b4c81f36786149c3d9cba45
This, that and the other [Wed, 1 Feb 2017 14:57:09 +0000 (01:57 +1100)]
Don't try to drop ug_user_group index if it doesn't exist
This is needed for MySQL only.
Bug: T156901
Change-Id: I351fa1b7ce5a9b1c7b19ecb7d26d8a1f699d88f8
jenkins-bot [Wed, 1 Feb 2017 14:37:50 +0000 (14:37 +0000)]
Merge "UsersMultiselect widget and form field."
daniel [Wed, 1 Feb 2017 11:47:20 +0000 (12:47 +0100)]
Avoid joining against page table when finding a page's oldest revision.
Bug: T156537
Change-Id: Ifd27710cada823318ac3662d3c16323eb9a78839
MarcoAurelio [Wed, 1 Feb 2017 10:20:35 +0000 (11:20 +0100)]
Ib315fc5f to RELEASE-NOTES-1.29
Bug: T155957
Change-Id: I0b2cca66bc16cf05871674a468da778cc0c84f59
jenkins-bot [Wed, 1 Feb 2017 09:02:10 +0000 (09:02 +0000)]
Merge "Amend $namespaces in core for Javanese (jv)"
jenkins-bot [Wed, 1 Feb 2017 04:38:53 +0000 (04:38 +0000)]
Merge "Replace use of &$this"
Timo Tijhof [Fri, 6 Jan 2017 01:27:43 +0000 (17:27 -0800)]
Refactor RCFeed configuration (backwards compatible)
Previously:
* Engines had to be registered in $wgRCEngines.
* The RCFeedEngine classes took no constructor arguments and
were expected to send whatever text is previously formatted
without any information about it. This generic design was
flexible in allowing one to use any formatter with any engine
with minimal configuration and no need for additional classes.
* Each feed configured their destination by setting a 'uri'
option that encodes the name of the engine in PHP as the uri
scheme. Other uri components had to be used for any other
parameters to the engine (host, port, path). While fairly
limited, it was sufficient for the default engines in core.
Changes:
* Allow feed classes to be directly associated with a feed in $wgRCFeeds
via a new 'class' option - without the indirection of 'uri' and
$wgRCEngines. All options are passed to the given class constructor.
This matches the design used elsewhere in MediaWiki. (ObjectCache,
FileRepo, FileBackend, JobQueue, LBFactory, etc.)
This means we no longer enforce a 1:1 mapping of internet protocols
to a specific feed engine, and it allows settings to be passed
without being encoded as a URI neccecarily.
Main use case for this refactor is EventBus (see I7edc4d57fa),
Interestingly, this matches the (then incorrect) documentation
written for $wgRCFeeds in
2961884b43 (which mentions an 'engine'
property that would do the same thing).
* Move the default 'omit' filters and unrestricted 'formatter' handling
to a new FormattedRCFeed class, which remains the default.
* Deprecate RecentChange::getEngine() in favour of RCFeed::factory().
* Document wgRCEngines as "@since 1.22". Follows
2961884b43,
ffc71cb6af.
Change-Id: I8be497c623c5d928762e3d3406a388f4d91add9a