jenkins-bot [Tue, 16 May 2017 00:21:07 +0000 (00:21 +0000)]
Merge "OutputPage: Remove deprecated addParserOutputNoText, getHeadLinks methods"
jenkins-bot [Tue, 16 May 2017 00:21:03 +0000 (00:21 +0000)]
Merge "Removed deprecated ExtractThumbParameters hook"
jenkins-bot [Mon, 15 May 2017 23:19:24 +0000 (23:19 +0000)]
Merge "EditPage: Preserve &ooui=1 / &ooui=0 from URL after preview"
jenkins-bot [Mon, 15 May 2017 23:12:28 +0000 (23:12 +0000)]
Merge "ParserOptions: Include wrapping class in options hash"
Moriel Schottlender [Mon, 15 May 2017 19:10:07 +0000 (12:10 -0700)]
RCFilters: Actually be consistent when storing 'highlight' state
Saved queries are storing *filter* definitions, not parameters, so
highlight state (dictating whether highlights are enabled) are supposed
to be stored as boolean.
A previous fix that was meant to make sure we store and handle all
*parameters* as strings '0' and '1' was a bit overzealous, and stored
highlight state in saved queries as '1' and '0' too. The current state
then compared that to the filter-state, which produces false/true.
This resulting in saved queries only being matched to the current
state as never true, because the comparison goes by actual obejct
key-values, not symbolic values.
Bug: T165381
Change-Id: Ifdec3a8c058a0e004304e48a857c58639928b36f
Bartosz Dziewoński [Mon, 15 May 2017 18:33:37 +0000 (20:33 +0200)]
EditPage: Preserve &ooui=1 / &ooui=0 from URL after preview
Bug: T165237
Change-Id: Ia546159b45fabb1256f63f888412703ca3eba2e9
jenkins-bot [Mon, 15 May 2017 14:40:36 +0000 (14:40 +0000)]
Merge "RCFilters: Rephrase 'unset' to 'remove' in default option menu"
jenkins-bot [Mon, 15 May 2017 14:33:31 +0000 (14:33 +0000)]
Merge "RCFilters: Always put highlight values in the URL"
jenkins-bot [Mon, 15 May 2017 12:45:55 +0000 (12:45 +0000)]
Merge "RCFilters: Fix getFilterRepresentation to consider '0' as false"
James D. Forrester [Thu, 13 Apr 2017 22:54:44 +0000 (15:54 -0700)]
OutputPage: Remove deprecated addParserOutputNoText, getHeadLinks methods
Change-Id: Idc55e7bb0f7bde8466192a81886f205de60c092c
James D. Forrester [Thu, 13 Apr 2017 22:49:47 +0000 (15:49 -0700)]
Removed deprecated ExtractThumbParameters hook
Depends-On: I827c61a5a340d4f107478174263e4a5d385398f4
Change-Id: I97e820d78d8041c40fb6e553c4081c676602462c
Brad Jorsch [Fri, 12 May 2017 16:28:22 +0000 (12:28 -0400)]
ParserOptions: Include wrapping class in options hash
Avoids polluting the cache when things take advantage of the option.
Bug: T165115
Bug: T165161
Change-Id: I5be25c6de68012df58b6a0cbf92e2f972be2b68a
Translation updater bot [Sun, 14 May 2017 19:54:43 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I4b723b8eac7d7df85781495c396db74ea0021dbc
Moriel Schottlender [Sat, 13 May 2017 18:21:14 +0000 (11:21 -0700)]
RCFilters: Always put highlight values in the URL
Up until now, we only populated highlights in the URL if the item had
a highlight, otherwise it was not in the url at all. However, now that
the system can load defaults from saved queries that can have highlights
themselves, then every time we reload the page (and the system checks
to get defaults merged with the URL query) nothing actively overrides
the default highlight value if it exists.
This meant that if you have a saved query default with any highlights
in it, every time you load the page from the URL it will **also add**
the default highlights that you have saved.
To prevent this, the URL now needs to always populate items with
highlight value, even if that value is null. When we literally ask
for defaults or when we actively load a saved query, that value will
be overridden, but if we have a URL with highlights enabled at all,
the defaults will not override and add a redundany unneeded highlight
just because it existed in your saved query.
Bug: T165231
Change-Id: Ia43b5c777c0b4e238e99818696a3a60dda0daca9
Moriel Schottlender [Sat, 13 May 2017 19:28:38 +0000 (12:28 -0700)]
RCFilters: Fix getFilterRepresentation to consider '0' as false
Because '0' is a string, it's true, but for our purposes, it's
supposed to be false. Thanks JavaScript.
This bug was actually pretty horrific, it meant that when you refresh
the representation is all wrong (all items in the group were considered
true if the group was 'send_unselected_if_any' which meant that most
of those (that are full coverage) 'corrected themselves' to be all-false
which meant you lost filters when refreshing, even though the parameters
appeared in the URL (the url helpfully corrects itself based on the model
but the model was wrong.)
How did this pass unit tests, one might ask. Well, the unit tests were
treating parameter values as numbers, rather than strings, a fact that
is promptly fixed in this commit.
Also, for consistency and proper data validation, all parameters are
now always stored and handled as strings, in the model.
Bug: T165230
Change-Id: I16d8d95be067b3e48e557ef25f8eb6a49736aa4e
Translation updater bot [Sat, 13 May 2017 19:54:02 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia4e0aad6e4f8ee1f1cba85cf72c77d83bffae7f3
jenkins-bot [Sat, 13 May 2017 00:36:43 +0000 (00:36 +0000)]
Merge "resourceloader: Add filename to validateScriptFile cache key"
jenkins-bot [Sat, 13 May 2017 00:32:10 +0000 (00:32 +0000)]
Merge "resourceloader: Simplify validateScriptFile() with getWithSetCallback"
Timo Tijhof [Fri, 12 May 2017 18:05:20 +0000 (19:05 +0100)]
resourceloader: Add filename to validateScriptFile cache key
* Add fileName to cache key to fix T52919. The cached parsed error
message contains the filename, this should be part of the cache
key as otherwise two identical user scripts may report the same
error message, including " on line X of page Y" where Y is whichever
of the two pages first created the cache entry.
* Make the cache key global instead of per-wiki. There is no need
for this to be per-wiki.
Bug: T52919
Change-Id: I6c2718c53be7f6384a6486a4a8718ae7f423d216
jenkins-bot [Fri, 12 May 2017 22:45:23 +0000 (22:45 +0000)]
Merge "ApiQueryRevisions: Don't be so tricky handling rvstartid/rvendid"
Moriel Schottlender [Fri, 12 May 2017 22:37:38 +0000 (15:37 -0700)]
RCFilters: Rephrase 'unset' to 'remove' in default option menu
Bug: T164861
Change-Id: I13174ac6812532fe0537cbba0f649cf330bf0c57
Translation updater bot [Fri, 12 May 2017 20:23:36 +0000 (22:23 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I411ee26a2f6dd7199c42bc3a8e70fde852255ca7
Timo Tijhof [Fri, 12 May 2017 18:03:12 +0000 (19:03 +0100)]
resourceloader: Simplify validateScriptFile() with getWithSetCallback
* Simplify by using early return and getWithSetCallback.
* Add TTL (previously indefinite, now 1 week).
Bug: T52919
Change-Id: Ic95ba392cdb3bcc8081c77d2c2a3240548bed366
Brad Jorsch [Thu, 11 May 2017 22:18:44 +0000 (18:18 -0400)]
ApiQueryRevisions: Don't be so tricky handling rvstartid/rvendid
If someone strangely supplies 0 as an id, the tricky version confuses
that with null and winds up making the DB layer throw an exception. Just
do it more straightforwardly.
Bug: T165100
Change-Id: Id8376d419e7758c0bf92ad50dd7b7ac283a73101
Moriel Schottlender [Tue, 9 May 2017 23:28:40 +0000 (16:28 -0700)]
Refactor filter-specific logic into group models
Make the view model more generic and ready to accept other types
of filtering, like namespaces and tags, by handing off the responsibility
and logic of the parameterizing and filter relationships to the groups.
Change-Id: I9c333719e89088d96d044d72ddb9c39feeeb68ca
Roan Kattouw [Thu, 11 May 2017 01:28:39 +0000 (18:28 -0700)]
RCFilters UI: Add a placeholder to SavedLinksListWidget when it's empty
No longer hide the button when the menu is empty, but instead
show the placeholder item when the *model* is empty.
Bug: T164861
Change-Id: I96e5e375de5f35946663042f6731d7b69e53308b
Roan Kattouw [Thu, 11 May 2017 01:26:42 +0000 (18:26 -0700)]
RCFilters UI: Add tooltip to saved links items
Bug: T164861
Change-Id: Ic7c38c59c53d4d83b959eff36d4b1d198bb654ea
jenkins-bot [Fri, 12 May 2017 13:16:58 +0000 (13:16 +0000)]
Merge "Pager class for filtering by date range"
jenkins-bot [Fri, 12 May 2017 13:16:23 +0000 (13:16 +0000)]
Merge "RCFilters: Treat saved query with multiple spaces as empty"
jenkins-bot [Fri, 12 May 2017 13:15:47 +0000 (13:15 +0000)]
Merge "RCFilters: Actually read/write highlight parameter"
Geoffrey Mon [Mon, 12 Dec 2016 14:23:54 +0000 (09:23 -0500)]
Pager class for filtering by date range
New abstract class RangeChronologicalPager to provide shared date range
filtering capability (with unit tests)
I18n msgs to use as common labels for date range inputs
Expose some ReverseChronologicalParser::getDateCond logic so we can
convert year/month date filters to datestamp date filters
Bug: T120733
Change-Id: I65fdc00368f406f5fa2492600e95e07ce442c165
jenkins-bot [Fri, 12 May 2017 03:18:31 +0000 (03:18 +0000)]
Merge "Add X-Content-Dimensions support to DjVu"
jenkins-bot [Fri, 12 May 2017 02:25:43 +0000 (02:25 +0000)]
Merge "Factor out changetag name validation check"
jenkins-bot [Fri, 12 May 2017 01:07:38 +0000 (01:07 +0000)]
Merge "RCFilters UI: Add down indicator to SavedLinksListWidget button"
jenkins-bot [Fri, 12 May 2017 01:07:34 +0000 (01:07 +0000)]
Merge "RCFilters UI: Don't remove removed saved links twice"
Moriel Schottlender [Fri, 12 May 2017 00:52:45 +0000 (17:52 -0700)]
RCFilters: Treat saved query with multiple spaces as empty
Because it is empty, even if there's multiple spaces. Also, if the
input is invalid and we didn't save the query, don't close the
popup.
Bug: T165113
Change-Id: I30e68b0b90e2a4077fb4068c1462d40b03cbfe8c
Moriel Schottlender [Thu, 11 May 2017 23:24:54 +0000 (16:24 -0700)]
RCFilters: Actually read/write highlight parameter
The highlight parameter enables/disables the highlight view. It was
not properly updated to the URL, and a separate typo made it not update
the model correctly.
Bug: T165107
Change-Id: Ie711d4d08fb3eeffca50c2953016e02e2620f898
jenkins-bot [Thu, 11 May 2017 21:45:45 +0000 (21:45 +0000)]
Merge "Gate option to save RC filters to default false"
jenkins-bot [Thu, 11 May 2017 21:38:03 +0000 (21:38 +0000)]
Merge "mw.Upload.Dialog: Define .static.name"
jenkins-bot [Thu, 11 May 2017 21:36:06 +0000 (21:36 +0000)]
Merge "Check for null before calling a textResults method to (fixes T165091)"
jenkins-bot [Thu, 11 May 2017 21:29:36 +0000 (21:29 +0000)]
Merge "Fix comment typo in MimeMagic.php"
jenkins-bot [Thu, 11 May 2017 21:19:11 +0000 (21:19 +0000)]
Merge "benchmarks: Convert benchmarkHooks to use Benchmarker"
Matthew Flaschen [Thu, 11 May 2017 17:49:23 +0000 (13:49 -0400)]
Gate option to save RC filters to default false
Change-Id: I1c9e382c265a097b5eea07b529ec542a60562307
Umherirrender [Thu, 11 May 2017 20:18:31 +0000 (22:18 +0200)]
Fix comment typo in MimeMagic.php
Change-Id: I6343e773c9b9988683b2b28cbbde8fc71359376f
Mukunda Modell [Thu, 11 May 2017 19:59:12 +0000 (14:59 -0500)]
Check for null before calling a textResults method to (fixes T165091)
Bug: T165091
Change-Id: I6fd23eb5fa04049fd7a44faae76f77fae23f5202
Translation updater bot [Thu, 11 May 2017 19:57:23 +0000 (21:57 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I6d7f1e58cbbc0adbdd159ab7d37f2f22a8fd73d6
Bartosz Dziewoński [Thu, 11 May 2017 18:09:23 +0000 (20:09 +0200)]
mw.Upload.Dialog: Define .static.name
Bug: T164999
Change-Id: I0e5d11bdeac1ea60caaa146041057e7a9faf351c
jenkins-bot [Thu, 11 May 2017 12:10:35 +0000 (12:10 +0000)]
Merge "Handle proxy-based TLS when placed in front of Swift"
Gilles Dubuc [Thu, 11 May 2017 11:12:55 +0000 (13:12 +0200)]
Add X-Content-Dimensions support to DjVu
Bug: T150741
Change-Id: I4a3bae9bf056a7ba332f2f0a330697cdf59b4d04
Roan Kattouw [Thu, 11 May 2017 01:30:45 +0000 (18:30 -0700)]
RCFilters UI: Add down indicator to SavedLinksListWidget button
Bug: T164861
Change-Id: I23c602e9bcfbbe8f39f3e3efc4a5482490699214
Roan Kattouw [Thu, 11 May 2017 01:27:47 +0000 (18:27 -0700)]
RCFilters UI: Don't remove removed saved links twice
The second removal also didn't remove the right thing.
Change-Id: Iab32ae2e19e2b19995b88fbfd2e84a36dbda1bac
jenkins-bot [Wed, 10 May 2017 23:54:58 +0000 (23:54 +0000)]
Merge "Fix usage of $db->nextSequenceValue()"
Brad Jorsch [Tue, 17 Mar 2015 12:46:40 +0000 (08:46 -0400)]
Factor out changetag name validation check
This way it can be called by AbuseFilter without also getting caught in
the "already exists" checks. And possibly it could also be used in the
future to validate input passed to ChangeTags::addTags()
Bug: T92956
Change-Id: Ic5d754323cbfd2c2b54c4df1245767946ebb1821
Mukunda Modell [Wed, 10 May 2017 21:43:21 +0000 (16:43 -0500)]
Check for index to exist before accessing it.
This fixes "Notice: Undefined index: quality ..."
Bug: T164983
Change-Id: If72c40aeaf0ee5727e21f9fe4dac92c12436ce41
Brad Jorsch [Wed, 10 May 2017 21:28:24 +0000 (17:28 -0400)]
Fix usage of $db->nextSequenceValue()
The return value from the method is only suitable for passing to
$db->insert(). To get the inserted ID, you need to call $db->insertId()
even if $db->nextSequenceValue() returned non-null.
Bug: T164900
Change-Id: I6beb6243ccb9425372623307ef23ae6571ce8c0d
jenkins-bot [Wed, 10 May 2017 20:55:19 +0000 (20:55 +0000)]
Merge "Avoid postgres CategoryMembershipChangeTest failures"
Translation updater bot [Wed, 10 May 2017 20:39:39 +0000 (22:39 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Iaaf6784416df518129277b41020f308d951c32b9
Aaron Schulz [Wed, 10 May 2017 02:50:46 +0000 (19:50 -0700)]
Avoid postgres CategoryMembershipChangeTest failures
Strip out the redundant /32 CIDR suffix from the IP.
Bug: T75174
Change-Id: If7738ab46c72babb51d3c306ce749a9ccfe34740
jenkins-bot [Wed, 10 May 2017 18:32:10 +0000 (18:32 +0000)]
Merge "Make LocalPasswordPrimaryAuthenticationProviderTest use TS_MW timestamp conversion"
jenkins-bot [Wed, 10 May 2017 17:25:45 +0000 (17:25 +0000)]
Merge "Fix some postgres test failures"
jenkins-bot [Wed, 10 May 2017 17:19:46 +0000 (17:19 +0000)]
Merge "Make loadWatchedItem() coerce the DB timestamp to TS_MW"
jenkins-bot [Wed, 10 May 2017 17:07:58 +0000 (17:07 +0000)]
Merge "Avoid assuming a user with ID 0 exists in ApiMainTest::testAssert"
jenkins-bot [Wed, 10 May 2017 17:04:22 +0000 (17:04 +0000)]
Merge "OOUI-ificiation of TablePager nav"
Aaron Schulz [Wed, 29 Mar 2017 20:10:17 +0000 (13:10 -0700)]
Handle proxy-based TLS when placed in front of Swift
Force the URL for storage operations to use https if the authentication
URL is already forced to use https. This avoids following an http URL
based on the response of a Swift proxy unaware that a terminator placed
in front of it was used for the authentication.
Bug: T160616
Change-Id: Ia6c8c99ebb38d5828773b2f7aa8cf14ced6bdfde
jenkins-bot [Wed, 10 May 2017 13:40:11 +0000 (13:40 +0000)]
Merge "Add collation for Bashkir (ba)"
Brian Wolff [Fri, 28 Apr 2017 04:52:49 +0000 (04:52 +0000)]
Add collation for Bashkir (ba)
This is based on a numeric uppercase collation. Bashkir characters
will be remapped to the private use area for the purpose of sorting.
Bug: T162823
Change-Id: I65f1af0b57ff6ded7d464e39efd401f178a3519e
Aaron Schulz [Wed, 10 May 2017 02:32:24 +0000 (19:32 -0700)]
Make LocalPasswordPrimaryAuthenticationProviderTest use TS_MW timestamp conversion
Bug: T75174
Change-Id: I217a8e1847a21d54434693fafa7f618ec5840876
Aaron Schulz [Wed, 10 May 2017 02:25:56 +0000 (19:25 -0700)]
Avoid assuming a user with ID 0 exists in ApiMainTest::testAssert
If the load() triggered by User method calls fails, then mId becomes 0
which means there is no "user" right set in getAutomaticGroups().
Bug: T75174
Change-Id: I2d719e4b96c0142e9d408aa2d4f7c5e7a767a754
Aaron Schulz [Wed, 10 May 2017 01:27:28 +0000 (18:27 -0700)]
Fix some postgres test failures
Bug: T75174
Change-Id: If9812ae301f0af84fa012e2e980b92036c1b29b2
Aaron Schulz [Wed, 10 May 2017 01:41:22 +0000 (18:41 -0700)]
Make loadWatchedItem() coerce the DB timestamp to TS_MW
Bug: T75174
Change-Id: Ie72bd17b424ba857d0b4a22227c9cffad0853050
Volker E [Wed, 10 May 2017 01:21:26 +0000 (18:21 -0700)]
Update OOjs UI to v0.21.3
Release notes:
https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.21.3
Change-Id: I53696e023197ae4dd85605d6615e9faceda05398
jenkins-bot [Wed, 10 May 2017 00:32:21 +0000 (00:32 +0000)]
Merge "Add missing addQuotes() to ChangesListSpecialPage"
jenkins-bot [Wed, 10 May 2017 00:29:42 +0000 (00:29 +0000)]
Merge "Make registerTempTableOperation() detect TRUNCATE operations"
Aaron Schulz [Tue, 9 May 2017 23:13:31 +0000 (16:13 -0700)]
Add missing addQuotes() to ChangesListSpecialPage
Bug: T75174
Change-Id: I34a2a3e8661edff68b115e349baddcec0bd14629
Gilles Dubuc [Wed, 26 Apr 2017 12:01:49 +0000 (14:01 +0200)]
Store original media dimensions as additional header
For storage repos that support headers (such as Swift), this will store the original
media dimensions as an extra custom header, X-Content-Dimensions.
The header is formatted to minimize its length when dealing with multipage
documents, by expressing the information as page ranges keyed by dimensions.
Example for a multipage documents with some pages of different sizes:
X-Content-Dimensions: 1903x899:1-9,11/1903x873:10
Example for a single page document:
X-Content-Dimensions: 800x600:1
Bug: T150741
Change-Id: Ic4c6a86557b3705cf75d074753e9ce2ee070a6df
Aaron Schulz [Sun, 30 Apr 2017 18:59:23 +0000 (11:59 -0700)]
Make registerTempTableOperation() detect TRUNCATE operations
Bug: T145947
Change-Id: I6094624fc594b23b1df6107f7ac1c3d93f609ebc
Translation updater bot [Tue, 9 May 2017 19:56:20 +0000 (21:56 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I13d63f8e59ea5eea6b3a3760075d754064c5fea0
jenkins-bot [Tue, 9 May 2017 18:38:57 +0000 (18:38 +0000)]
Merge "Allow callback functions for creating jobs"
Lucas Werkmeister [Thu, 4 May 2017 16:00:28 +0000 (18:00 +0200)]
Allow callback functions for creating jobs
$wgJobClasses can now specify a factory function for creating a job,
instead of a class to be instantiated directly. This makes it possible
to inject services in a job constructor, and register a factory function
that calls the constructor with default services.
This follows Ieb85493a7765 and Ia2107dc5af78, which introduced factory
functions for API modules and special pages.
Change-Id: I0461e59da2a8fa6681e3b1fcdfc38bfed7f3ac32
jenkins-bot [Tue, 9 May 2017 16:51:40 +0000 (16:51 +0000)]
Merge "Revised styling of sister-search sidebar."
jenkins-bot [Tue, 9 May 2017 11:41:48 +0000 (11:41 +0000)]
Merge "Change delimiter for multiple namespaces and tags"
Matthew Flaschen [Mon, 8 May 2017 05:06:12 +0000 (01:06 -0400)]
Change delimiter for multiple namespaces and tags
It's ; for namespaces (since that is generally what we're using,
e.g. for STRING_OPTIONS), and | for tags. I would have
preferred them to all be consistent, but there is one revision
that has a ;, and this seems better than modifying the DB.
Comma is already used as a delimiter between separate parameters
(e.g. hideanons and namepsace).
Also, fix multiple namespaces for parseParameters and add test
cases.
Bug: T164132
Bug: T164133
Change-Id: Iad061e0bc17e3522a3f5d330ac2c8bf9cf0e614f
jenkins-bot [Tue, 9 May 2017 02:32:38 +0000 (02:32 +0000)]
Merge "MessageCache: Avoid 'contributions' replicas"
jenkins-bot [Tue, 9 May 2017 02:32:34 +0000 (02:32 +0000)]
Merge "Prettify MessageCache::loadFromDB()-small query"
jenkins-bot [Tue, 9 May 2017 02:16:15 +0000 (02:16 +0000)]
Merge "ApiQueryRevisions: Restore use of rvstartid/rvendid as a tiebreaker"
Roan Kattouw [Tue, 9 May 2017 00:34:01 +0000 (17:34 -0700)]
Follow-up I5cede8: fix JS error when user has no filters saved
Change-Id: Ie7de070925874d2c29e185a90d65a0b0a72f07cd
Moriel Schottlender [Tue, 9 May 2017 00:14:07 +0000 (17:14 -0700)]
Followup I5cede8: Make the SavedQueries popup larger
The labels and popup are now slightly wider.
Bug: T151994
Bug: T164128
Change-Id: I64bd496ade241c800fcb0bb12023486e7d601a23
Moriel Schottlender [Mon, 8 May 2017 23:57:41 +0000 (16:57 -0700)]
Followup I5cede8: Fixup SavedQueries styling and event
Includes small styling fixes to saved queries and the ability
to update the label of an existing matched query if we rename
it.
Bug: T151994
Bug: T164128
Change-Id: Ic46b082cbfc3462f1d61895bcfc7c545902b2d1a
jenkins-bot [Mon, 8 May 2017 23:47:54 +0000 (23:47 +0000)]
Merge "RCFilters UI: Add a 'saved queries' quick filters feature"
Moriel Schottlender [Tue, 25 Apr 2017 23:59:50 +0000 (16:59 -0700)]
RCFilters UI: Add a 'saved queries' quick filters feature
Bug: T151994
Bug: T164128
Change-Id: I5cede87633147736d3b4ee5b8ea178ae21bd441f
Jan Drewniak [Fri, 7 Apr 2017 08:35:20 +0000 (10:35 +0200)]
Revised styling of sister-search sidebar.
Various improvements to the sister-search sidebar:
- using WM project favicons
- scoping CSS specific to sister-search sidebar
- making sister-search items more compact
Bug: T160724, T158938
Change-Id: I2794121ab83cbd4e2b8868150e4d61db376fa63b
Translation updater bot [Mon, 8 May 2017 20:03:26 +0000 (22:03 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I001225f92a48f46a6a9418958bd8603c2d3f403d
Brad Jorsch [Mon, 8 May 2017 18:18:03 +0000 (14:18 -0400)]
ApiQueryRevisions: Restore use of rvstartid/rvendid as a tiebreaker
If rvstartid/rvendid are used with revisions that have the same
timestamp, we should omit any revisions with the same timestamp but
out-of-range IDs.
Bug: T163532
Change-Id: I6ba5e0724945668dad55eec0d09cb7d3fe08e347
Brad Jorsch [Mon, 8 May 2017 18:00:26 +0000 (14:00 -0400)]
MessageCache: Avoid 'contributions' replicas
On WMF wikis, the partitioning of the revision table on the
'contributions' replicas makes the query here perform really poorly.
Specify 'api' as a hack for now to avoid those replicas.
This query happens once per day per wiki, plus when someone edits the
MediaWiki namespace, so it shouldn't be much additional load.
Bug: T164666
Change-Id: I5ae74d1702144f6475e9cfb13effc43389d66233
Brad Jorsch [Mon, 8 May 2017 17:57:13 +0000 (13:57 -0400)]
Prettify MessageCache::loadFromDB()-small query
Adjust the call so it uses JOIN...ON syntax rather than comma joins.
Bug: T164666
Change-Id: I93c8569620d543e9507d0adf1283443915f50d4b
jenkins-bot [Mon, 8 May 2017 17:12:53 +0000 (17:12 +0000)]
Merge "RC Filters: Single boolean filters are not contradictory"
Matthias Mullie [Tue, 14 Feb 2017 11:39:02 +0000 (12:39 +0100)]
Enable extensions to allow software-specific tags to be added by users
Bug: T121880
Bug: T121872
Change-Id: I6e054cfc065c8d8ae7d20a518b1963cd0551c5c2
jenkins-bot [Mon, 8 May 2017 15:13:44 +0000 (15:13 +0000)]
Merge "Fix a couple of issues with cleanupInvalidDbKeys.php maint script"
jenkins-bot [Mon, 8 May 2017 15:12:04 +0000 (15:12 +0000)]
Merge "RC Filters: Rephrase learner level message"
jenkins-bot [Mon, 8 May 2017 13:37:49 +0000 (13:37 +0000)]
Merge "Remove "(WMDE)" from my name in .mailmap"