lhc/web/wiklou.git
6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 6 Aug 2017 19:57:21 +0000 (21:57 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id226baddee0b5f5737c1555995da1aa8527558b2

6 years agoMerge "Fix and make some types in PHPDoc and JSDoc tags more specific"
jenkins-bot [Sat, 5 Aug 2017 22:07:59 +0000 (22:07 +0000)]
Merge "Fix and make some types in PHPDoc and JSDoc tags more specific"

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 5 Aug 2017 19:57:31 +0000 (21:57 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Iaf71189ac54c3c2d01e67375f2430f22c643b8c9

6 years agoFix and make some types in PHPDoc and JSDoc tags more specific
Thiemo Mättig [Fri, 21 Jul 2017 10:22:12 +0000 (12:22 +0200)]
Fix and make some types in PHPDoc and JSDoc tags more specific

Change-Id: I7c109067579f570ecccaabc75b0b4db7eac4e6c2

6 years agoFix return hint type in DatabaseSqlite::makeUpdateOptionsArray
Reedy [Fri, 4 Aug 2017 17:59:46 +0000 (18:59 +0100)]
Fix return hint type in DatabaseSqlite::makeUpdateOptionsArray

Change-Id: Id45ddcef9212dfa8fd9545b70aff67cd29dda1d9

6 years agoFix type hints for parameter documentation
Reedy [Fri, 4 Aug 2017 16:44:54 +0000 (17:44 +0100)]
Fix type hints for parameter documentation

Fix double space

Change-Id: Ied34a05b2043a3354ff0629d8bb47a1176d8a74e

6 years agoUpdate .mailmap file
Bae Junehyeon [Sat, 5 Aug 2017 05:28:10 +0000 (14:28 +0900)]
Update .mailmap file

Fix cases and orders in my name
Also updates CREDITS by running maintenance/updateCredits.php

Change-Id: I230208132e3fc89286d7184b2cc5876d6c8fdc30

6 years agoReplace remaining uses of deprecated DB_SLAVE with DB_REPLICA
Bartosz Dziewoński [Fri, 4 Aug 2017 18:53:34 +0000 (20:53 +0200)]
Replace remaining uses of deprecated DB_SLAVE with DB_REPLICA

Change 950cf6016c10953213e5f985dfc18a32d8673197 took care of the most,
but a few remain, either outside of includes/ and maintenance/
directories (which that change was limited to), or in code introduced
afterwards.

Change-Id: I9c363d0219ea7e71cde520faba39406949a36d27

6 years agoMerge "Don't declare ApiQueryLinks::$titlesParam dynamically"
jenkins-bot [Sat, 5 Aug 2017 00:34:53 +0000 (00:34 +0000)]
Merge "Don't declare ApiQueryLinks::$titlesParam dynamically"

6 years agoMerge "SpecialWatchlist: Always apply a LIMIT"
jenkins-bot [Sat, 5 Aug 2017 00:11:44 +0000 (00:11 +0000)]
Merge "SpecialWatchlist: Always apply a LIMIT"

6 years agoMerge "Set a min and max on the rclimit preference"
jenkins-bot [Sat, 5 Aug 2017 00:11:36 +0000 (00:11 +0000)]
Merge "Set a min and max on the rclimit preference"

6 years agoMerge "SpecialDoubleRedirects: Use more descriptive aliases in the query"
jenkins-bot [Sat, 5 Aug 2017 00:05:31 +0000 (00:05 +0000)]
Merge "SpecialDoubleRedirects: Use more descriptive aliases in the query"

6 years agoSpecialWatchlist: Always apply a LIMIT
Roan Kattouw [Fri, 4 Aug 2017 23:42:46 +0000 (16:42 -0700)]
SpecialWatchlist: Always apply a LIMIT

In non-extended mode, the query that SpecialWatchlist ran
was unlimited, which is a very bad idea, since some users
have tens of thousands of pages on their watchlist.
There are broader performance issues with large watchlists,
but this doesn't help.

With this patch the wllimit preference is used to limit
the number of results both in expanded and in non-expanded mode.

Bug: T171027
Change-Id: Ifcefe6f77fa4adeca2e50714813004018819aee8

6 years agoSet a min and max on the rclimit preference
Roan Kattouw [Fri, 4 Aug 2017 23:44:49 +0000 (16:44 -0700)]
Set a min and max on the rclimit preference

The same values as wllimit.

Change-Id: I1fbc063455799f7d886d26c7030662f431feb627

6 years agoDefaultSettings: Update wgLocalVirtualHosts documentation
Timo Tijhof [Thu, 3 Aug 2017 02:11:27 +0000 (19:11 -0700)]
DefaultSettings: Update wgLocalVirtualHosts documentation

Change-Id: I4fb4724b78a1270df951e59c58c7482f0fb5ff34

6 years agoMerge "WANCacheReapUpdate: Handle special pages without exception"
jenkins-bot [Fri, 4 Aug 2017 22:55:08 +0000 (22:55 +0000)]
Merge "WANCacheReapUpdate: Handle special pages without exception"

6 years agoWANCacheReapUpdate: Handle special pages without exception
Matthew Flaschen [Fri, 4 Aug 2017 22:39:38 +0000 (18:39 -0400)]
WANCacheReapUpdate: Handle special pages without exception

Bug: T172560
Change-Id: I95a6da2c5303e5fc4e931734e39974825d4c3c53

6 years agoMerge "RCFilters: Bring back old vs new marker in live update"
jenkins-bot [Fri, 4 Aug 2017 22:00:17 +0000 (22:00 +0000)]
Merge "RCFilters: Bring back old vs new marker in live update"

6 years agoVarious Block.php @since tags
addshore [Fri, 4 Aug 2017 14:51:21 +0000 (15:51 +0100)]
Various Block.php @since tags

Followup to: I697e3eec2520792e98c193200c2b1c28c35bf382

Change-Id: I25a72f5f27023ec66939f1cd68fdd606658eac27

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 4 Aug 2017 20:45:42 +0000 (22:45 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I7db074c26fdb26d538c56e4eb21db39b281aa9b3

6 years agoMerge "Record user login timing"
jenkins-bot [Fri, 4 Aug 2017 20:03:24 +0000 (20:03 +0000)]
Merge "Record user login timing"

6 years agoDon't declare ApiQueryLinks::$titlesParam dynamically
Reedy [Fri, 4 Aug 2017 19:03:46 +0000 (20:03 +0100)]
Don't declare ApiQueryLinks::$titlesParam dynamically

Change-Id: Ie7b553b2d368766df2c3989d58e42f1b6d3d6779

6 years agoRCFilters: Bring back old vs new marker in live update
Stephane Bisson [Fri, 4 Aug 2017 19:09:57 +0000 (15:09 -0400)]
RCFilters: Bring back old vs new marker in live update

Bug: T163426
Change-Id: If019e07b100ca47927ee251513631ecb65156d3b

6 years agoMerge "Show redirect fragments on Special:ListRedirects"
jenkins-bot [Fri, 4 Aug 2017 16:37:00 +0000 (16:37 +0000)]
Merge "Show redirect fragments on Special:ListRedirects"

6 years agoMerge "Show redirect fragments on Special:BrokenRedirects"
jenkins-bot [Fri, 4 Aug 2017 16:36:39 +0000 (16:36 +0000)]
Merge "Show redirect fragments on Special:BrokenRedirects"

6 years agoMerge "RCFilters: Show "from" link when live update is not available"
jenkins-bot [Fri, 4 Aug 2017 16:25:06 +0000 (16:25 +0000)]
Merge "RCFilters: Show "from" link when live update is not available"

6 years agoMerge "Add @since tag for Title::getTalkPageIfDefined"
jenkins-bot [Fri, 4 Aug 2017 15:57:59 +0000 (15:57 +0000)]
Merge "Add @since tag for Title::getTalkPageIfDefined"

6 years agoMerge "ResourceLoaderMediaWikiUtilModule (mediawiki.util): Fix loading in debug mode"
jenkins-bot [Fri, 4 Aug 2017 15:33:36 +0000 (15:33 +0000)]
Merge "ResourceLoaderMediaWikiUtilModule (mediawiki.util): Fix loading in debug mode"

6 years agoAdd @since tag to $wgShortPagesNamespaceBlacklist
addshore [Fri, 4 Aug 2017 14:42:08 +0000 (15:42 +0100)]
Add @since tag to $wgShortPagesNamespaceBlacklist

Followup for: I10b4849a5d7f3f8af75ccc6cfba230d03725c898

Change-Id: Ib970bfa266424204251d1b747c79a31c03b39308

6 years agoAdd @since tag for Title::getTalkPageIfDefined
addshore [Fri, 4 Aug 2017 14:40:24 +0000 (15:40 +0100)]
Add @since tag for Title::getTalkPageIfDefined

Folow up to: I6d2613d8f7105048022f8093186dc57f1f8173ab

Change-Id: Ie9c478532b40f067f1cc6d6a6c2a3c328984473f

6 years agoResourceLoaderMediaWikiUtilModule (mediawiki.util): Fix loading in debug mode
Bartosz Dziewoński [Fri, 4 Aug 2017 13:18:52 +0000 (15:18 +0200)]
ResourceLoaderMediaWikiUtilModule (mediawiki.util): Fix loading in debug mode

Since this subclasses ResourceLoaderFileModule, in debug mode
it was loaded  by embedding the .js files directly, which caused
the 'wgFragmentMode' config variable to not be set (since the
code to do it was not sent to the client). Disallow this.

Bug: T172512
Change-Id: I1af944e4f4946023519e3453295b04a6cbca9fa3

6 years agoRCFilters: Show "from" link when live update is not available
Stephane Bisson [Fri, 4 Aug 2017 11:41:15 +0000 (07:41 -0400)]
RCFilters: Show "from" link when live update is not available

Also introduce a place for feature flags.

Change-Id: Id118b85c727a865745283ee8fabda7050f317ce1

6 years agoMerge "Show anchor in redirect target on Special:DoubleRedirects"
jenkins-bot [Fri, 4 Aug 2017 03:04:09 +0000 (03:04 +0000)]
Merge "Show anchor in redirect target on Special:DoubleRedirects"

6 years agoSpecialDoubleRedirects: Use more descriptive aliases in the query
Timo Tijhof [Fri, 4 Aug 2017 02:58:29 +0000 (19:58 -0700)]
SpecialDoubleRedirects: Use more descriptive aliases in the query

Change-Id: I88e579be8452da30b474d36cf7a9fba3ffdbf78a

6 years agoMerge "OOjs UI: Bring forward upstream fix for WikimediaUI colour issue"
jenkins-bot [Fri, 4 Aug 2017 01:55:25 +0000 (01:55 +0000)]
Merge "OOjs UI: Bring forward upstream fix for WikimediaUI colour issue"

6 years agoMerge "Special:Contribs: Ensure 'start' and 'end' are never undefined"
jenkins-bot [Fri, 4 Aug 2017 00:50:52 +0000 (00:50 +0000)]
Merge "Special:Contribs: Ensure 'start' and 'end' are never undefined"

6 years agoMerge "RCFilters: Allow non-sticky filters to be excluded from saved queries"
jenkins-bot [Fri, 4 Aug 2017 00:50:47 +0000 (00:50 +0000)]
Merge "RCFilters: Allow non-sticky filters to be excluded from saved queries"

6 years agoMerge "Fix not parsed message on Special:Import"
jenkins-bot [Fri, 4 Aug 2017 00:40:34 +0000 (00:40 +0000)]
Merge "Fix not parsed message on Special:Import"

6 years agoRecord user login timing
Max Semenik [Thu, 27 Jul 2017 21:31:42 +0000 (14:31 -0700)]
Record user login timing

Not using existing Timing class because it makes sense only if
request start time is needed, otherwise it just introduces
unneeded complexity and dependency.

Bug: T171882
Change-Id: I984c9223a4481685a7bcb659a68002c8ec4d122a

6 years agoRCFilters: Allow non-sticky filters to be excluded from saved queries
Moriel Schottlender [Thu, 3 Aug 2017 19:42:43 +0000 (12:42 -0700)]
RCFilters: Allow non-sticky filters to be excluded from saved queries

Bug: T172427
Change-Id: Ifda2ea617a8232a4c30261b6fce90f0b1217bdb4

6 years agoSpecial:Contribs: Ensure 'start' and 'end' are never undefined
Matthew Flaschen [Thu, 3 Aug 2017 21:44:49 +0000 (17:44 -0400)]
Special:Contribs: Ensure 'start' and 'end' are never undefined

Bug: T172438
Change-Id: I7359fd489134cb2fff9715af9e675f8cbb706b7a

6 years agoMerge "Gruntfile.js: Remove obsolete eslint omissions"
jenkins-bot [Thu, 3 Aug 2017 20:16:18 +0000 (20:16 +0000)]
Merge "Gruntfile.js: Remove obsolete eslint omissions"

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 3 Aug 2017 20:08:30 +0000 (22:08 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I6cf48725421e6667086e4e7ebdbaf4b7036d092e

6 years agoGruntfile.js: Remove obsolete eslint omissions
Arlo Breault [Thu, 3 Aug 2017 20:01:27 +0000 (16:01 -0400)]
Gruntfile.js: Remove obsolete eslint omissions

 * Should have been part of,
   I4488402686c8b9fefa0af5fed3c9a4b83cbff798
   I95400637d1b85d2c607cd91bcb39ce21733295c8

Change-Id: I0546ba007d0a328504e359ade6a1e660387a0645

6 years agoOOjs UI: Bring forward upstream fix for WikimediaUI colour issue
James D. Forrester [Thu, 3 Aug 2017 19:39:42 +0000 (12:39 -0700)]
OOjs UI: Bring forward upstream fix for WikimediaUI colour issue

4412e21bef698d76ad73b98c33a177cf4b9e7466
  WikimediaUI theme: Fix regression on disabled border

Bug: T172402
Change-Id: Ibf1335313505af2abb9ba69314c427cffc79e266

6 years agoMerge "RCFilters: Correct label for "View newest changes" button"
jenkins-bot [Thu, 3 Aug 2017 18:38:16 +0000 (18:38 +0000)]
Merge "RCFilters: Correct label for "View newest changes" button"

6 years agoRCFilters: Correct label for "View newest changes" button
Stephane Bisson [Thu, 3 Aug 2017 17:38:31 +0000 (13:38 -0400)]
RCFilters: Correct label for "View newest changes" button

Bug: T163426
Change-Id: I7cdc307e6276844305f3696356363fb77a4e2611

6 years agoMerge "RCFilters: Add vendor prefixes to loading animation"
jenkins-bot [Thu, 3 Aug 2017 17:35:47 +0000 (17:35 +0000)]
Merge "RCFilters: Add vendor prefixes to loading animation"

6 years agoMerge "RCFilters: Remove new changes visual cue for Live Update feature"
jenkins-bot [Thu, 3 Aug 2017 17:21:49 +0000 (17:21 +0000)]
Merge "RCFilters: Remove new changes visual cue for Live Update feature"

6 years agoShow anchor in redirect target on Special:DoubleRedirects
Huji Lee [Tue, 1 Aug 2017 00:20:08 +0000 (20:20 -0400)]
Show anchor in redirect target on Special:DoubleRedirects

Bug: T17147
Change-Id: I0d0eba51ca675b18f1fbed2eb0db7cc15ba1ecc7

6 years agostylelint: fix a warning
Stephane Bisson [Thu, 3 Aug 2017 13:53:45 +0000 (09:53 -0400)]
stylelint: fix a warning

One warning isn't much, but zero is SO much better.

Change-Id: I7c23e558beb77cae0c349edb38f7d62380da847e

6 years agoRCFilters: Remove new changes visual cue for Live Update feature
Stephane Bisson [Thu, 3 Aug 2017 13:25:59 +0000 (09:25 -0400)]
RCFilters: Remove new changes visual cue for Live Update feature

Bug: T167743
Change-Id: I3863a302926bd6eb682b0cfa8f142c20a2786b9e

6 years agoMerge "RCFilters: Prevent live update fetch if model is in conflict"
jenkins-bot [Thu, 3 Aug 2017 11:01:12 +0000 (11:01 +0000)]
Merge "RCFilters: Prevent live update fetch if model is in conflict"

6 years agoFix overzealous addQuotes for rc_source field in rebuildrecentchanges.php
Jesús Martínez Novo [Tue, 1 Aug 2017 17:55:11 +0000 (19:55 +0200)]
Fix overzealous addQuotes for rc_source field in rebuildrecentchanges.php

Those quotes aren't needed since those constants are being used as an array
value and the database methods already quotes them. It caused the field to
be double-quoted and being inserted with quotes on the database.

Bug: T172205
Change-Id: I050f8d477600ee44794b7525a119b3d4451e5a28

6 years agoRCFilters: Prevent live update fetch if model is in conflict
Moriel Schottlender [Thu, 3 Aug 2017 02:30:48 +0000 (19:30 -0700)]
RCFilters: Prevent live update fetch if model is in conflict

Change-Id: I52df598036a33fe203d6411fa9cfb6a485a8504d

6 years agoMerge "RCFilters: Adjust server default variable names for limit/days"
jenkins-bot [Thu, 3 Aug 2017 00:07:36 +0000 (00:07 +0000)]
Merge "RCFilters: Adjust server default variable names for limit/days"

6 years agoMerge "RCFilters: Adjust styling of 'other review tools' button"
jenkins-bot [Thu, 3 Aug 2017 00:06:06 +0000 (00:06 +0000)]
Merge "RCFilters: Adjust styling of 'other review tools' button"

6 years agoRCFilters: Adjust styling of 'other review tools' button
Moriel Schottlender [Wed, 2 Aug 2017 23:24:16 +0000 (16:24 -0700)]
RCFilters: Adjust styling of 'other review tools' button

Bug: T172237
Bug: T166919
Change-Id: Id13414274d099c2f9bb151b0b793eff172209929

6 years agoRCFilters: Normalize 'limit' to minimum 0, like the backend does
Moriel Schottlender [Wed, 2 Aug 2017 23:11:11 +0000 (16:11 -0700)]
RCFilters: Normalize 'limit' to minimum 0, like the backend does

Bug: T172026
Change-Id: I7b5b0d7ef34b0702a55572591da2a11942e8c5d9

6 years agoMerge "RCFilters: Normalize user-generated default values"
jenkins-bot [Wed, 2 Aug 2017 21:19:51 +0000 (21:19 +0000)]
Merge "RCFilters: Normalize user-generated default values"

6 years agoRCFilters: Adjust server default variable names for limit/days
Moriel Schottlender [Wed, 2 Aug 2017 21:13:37 +0000 (14:13 -0700)]
RCFilters: Adjust server default variable names for limit/days

Change-Id: I4a204e1a61516cff505e6e0a71aa702034cea4dc

6 years agoRCFilters: Normalize user-generated default values
Moriel Schottlender [Wed, 2 Aug 2017 20:44:11 +0000 (13:44 -0700)]
RCFilters: Normalize user-generated default values

Bug: T172026
Change-Id: Id75116cf22a31f8b762801fc0a6aee554a9ca6b2

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 2 Aug 2017 21:01:42 +0000 (23:01 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib48461504793301094af9ad70faeb7e6255b7567

6 years agoMerge "Remove composer.json from .gitignore"
jenkins-bot [Wed, 2 Aug 2017 20:10:53 +0000 (20:10 +0000)]
Merge "Remove composer.json from .gitignore"

6 years agoRemove composer.json from .gitignore
Arlo Breault [Wed, 2 Aug 2017 19:49:20 +0000 (15:49 -0400)]
Remove composer.json from .gitignore

Change-Id: Ie9e5bab9f9c20c9512dbdda2019643fa35feac2c

6 years agoMerge "RCFilters: set live update button title"
jenkins-bot [Wed, 2 Aug 2017 19:26:07 +0000 (19:26 +0000)]
Merge "RCFilters: set live update button title"

6 years agoRCFilters: set live update button title
Stephane Bisson [Wed, 2 Aug 2017 19:15:03 +0000 (15:15 -0400)]
RCFilters: set live update button title

Bug: T167743
Change-Id: Iefea4001371921753e0622c195810b080c459968

6 years agoMerge "ListToggle: Avoid href="#" for JavaScript buttons"
jenkins-bot [Wed, 2 Aug 2017 18:27:25 +0000 (18:27 +0000)]
Merge "ListToggle: Avoid href="#" for JavaScript buttons"

6 years agoRCFilters: Add vendor prefixes to loading animation
Volker E [Mon, 31 Jul 2017 18:50:43 +0000 (20:50 +0200)]
RCFilters: Add vendor prefixes to loading animation

Adding vendor prefixes to subtle loading animation and brush-up
CSS for better readability.

Bug: T165286
Change-Id: I6ce82cb2736e2a35cdd4dc3f2e20d2fb07ba4b26

6 years agoMerge "Rename the "live preview" preference to be clearer what it provides"
jenkins-bot [Wed, 2 Aug 2017 16:02:51 +0000 (16:02 +0000)]
Merge "Rename the "live preview" preference to be clearer what it provides"

6 years agoMerge "Fix Special:Undelete search - use variable and not request param"
jenkins-bot [Wed, 2 Aug 2017 12:38:28 +0000 (12:38 +0000)]
Merge "Fix Special:Undelete search - use variable and not request param"

6 years agoFix Special:Undelete search - use variable and not request param
Stanislav Malyshev [Wed, 2 Aug 2017 03:34:33 +0000 (20:34 -0700)]
Fix Special:Undelete search - use variable and not request param

Using request param fixes default to false.

Change-Id: I61f3f5d18783e2256612d91ca35437a6e65e0c15

6 years agoHuman-readable section ID support
Max Semenik [Fri, 30 Jun 2017 00:13:12 +0000 (17:13 -0700)]
Human-readable section ID support

It adds the ability to replace the current section ID escaping
schema (.C0.DE) with a HTML5-compliant escaping schema that is
displayed as Unicode in many modern browsers.

See the linked bug for discussion of various options that were
considered before the implementation. A few remarks:
* Because Sanitizer::escapeId() is used in a bunch of places without
  escaping, I'm deprecating it without altering its behavior.
* The bug described in comments for Parser::guessLegacySectionNameFromWikiText()
  is still there in some Edge versions that display mojibake.

Bug: T152540
Change-Id: Id304010a0342efbb7ef2d56c5b8b244f2e4fb2c5

6 years agoMerge "RCFilters: Add 'enhanced' view (Group by pages)"
jenkins-bot [Wed, 2 Aug 2017 01:19:59 +0000 (01:19 +0000)]
Merge "RCFilters: Add 'enhanced' view (Group by pages)"

6 years agoRCFilters: Add 'enhanced' view (Group by pages)
Moriel Schottlender [Mon, 31 Jul 2017 23:02:01 +0000 (16:02 -0700)]
RCFilters: Add 'enhanced' view (Group by pages)

Bug: T168513
Change-Id: If099f8809342f68662f91824a2b023bf90833760

6 years agoRCFilters: Normalize arbitrary values before adding them
Moriel Schottlender [Mon, 31 Jul 2017 23:37:13 +0000 (16:37 -0700)]
RCFilters: Normalize arbitrary values before adding them

Bug: T172026
Change-Id: Iba0e20b6d4266e22b3e894742dd182291f741eb1

6 years agoRename the "live preview" preference to be clearer what it provides
James D. Forrester [Wed, 2 Aug 2017 00:58:53 +0000 (17:58 -0700)]
Rename the "live preview" preference to be clearer what it provides

Bug: T171176
Change-Id: I2a9f94fa36245593163197707ae13bcb86aa62b8

6 years agoMerge "RCFilters: Add 'advanced filters' label to the view selection"
jenkins-bot [Wed, 2 Aug 2017 00:44:44 +0000 (00:44 +0000)]
Merge "RCFilters: Add 'advanced filters' label to the view selection"

6 years agoMerge "RCFilters: Don't reload results for redundant requests"
jenkins-bot [Wed, 2 Aug 2017 00:39:06 +0000 (00:39 +0000)]
Merge "RCFilters: Don't reload results for redundant requests"

6 years agoMerge "RCFilters: Scroll widget to top when switching view"
jenkins-bot [Wed, 2 Aug 2017 00:37:10 +0000 (00:37 +0000)]
Merge "RCFilters: Scroll widget to top when switching view"

6 years agoMerge "RCFilters: Trim results to allow searching for spaces after trigger"
jenkins-bot [Wed, 2 Aug 2017 00:35:08 +0000 (00:35 +0000)]
Merge "RCFilters: Trim results to allow searching for spaces after trigger"

6 years agoRCFilters: Don't reload results for redundant requests
Moriel Schottlender [Tue, 1 Aug 2017 23:02:44 +0000 (16:02 -0700)]
RCFilters: Don't reload results for redundant requests

Ignore reloading if the requests are:
- Change of inverted namespaces if there are no namespace items
  selected.
- Reloading of new saved query if that same query is already loaded

Bug: T172138
Change-Id: Id43bef8a08aab3412a6c5cb538d048935a178114

6 years agoMerge "Revert "mw.widgets.visibleByteLimit: Temporarily disable whilst OOjs UI label...
jenkins-bot [Wed, 2 Aug 2017 00:06:00 +0000 (00:06 +0000)]
Merge "Revert "mw.widgets.visibleByteLimit: Temporarily disable whilst OOjs UI label bug is fixed""

6 years agoRevert "mw.widgets.visibleByteLimit: Temporarily disable whilst OOjs UI label bug...
Jforrester [Tue, 1 Aug 2017 00:30:02 +0000 (00:30 +0000)]
Revert "mw.widgets.visibleByteLimit: Temporarily disable whilst OOjs UI label bug is fixed"

This reverts commit b6f39380938223a25ee280a96c25ce0d05a4c207.

Not to be merged before the new version of OOjs UI.

Bug: T169982
Change-Id: Ia194f5835a5d62ad46b498938a4764f0c0964589

6 years agoOOjs UI: Bring forward upstream fix for jQuery access key issue
James D. Forrester [Tue, 1 Aug 2017 23:48:05 +0000 (16:48 -0700)]
OOjs UI: Bring forward upstream fix for jQuery access key issue

a8d27103cc1b7621cedd8065a2a4777e43551fd6
  Follow-up 022f532: don't crash if TitledElement initializes
  before AccessKeyedElement

Bug: T172236
Change-Id: Ib188d2bdb359c7bb2db755240c50943d5d1713d7

6 years agoRCFilters: Add 'advanced filters' label to the view selection
Moriel Schottlender [Tue, 1 Aug 2017 22:09:25 +0000 (15:09 -0700)]
RCFilters: Add 'advanced filters' label to the view selection

Bug: T171894
Change-Id: I595d7d4a66eaedb76c9a4e4690be4ec4ef696a2d

6 years agoMerge "Follow-up 31be7d0: send tags list if experimental mode is disabled"
jenkins-bot [Tue, 1 Aug 2017 23:20:30 +0000 (23:20 +0000)]
Merge "Follow-up 31be7d0: send tags list if experimental mode is disabled"

6 years agoFollow-up 31be7d0: send tags list if experimental mode is disabled
Roan Kattouw [Tue, 1 Aug 2017 21:32:51 +0000 (14:32 -0700)]
Follow-up 31be7d0: send tags list if experimental mode is disabled

Change-Id: Ia9f44ed47d79f02c5d14ce756133e64c7ae926f9

6 years agoRCFilters: Unsticky the 'limit' preference temporarily
Moriel Schottlender [Tue, 1 Aug 2017 21:04:04 +0000 (14:04 -0700)]
RCFilters: Unsticky the 'limit' preference temporarily

Bug: T172156
Bug: T171514
Change-Id: I0bed6de70655a4a8a90ceb2f900ffbe98e643d33

6 years agoMerge "Avoid duplicate accesskey hints on OOUI widgets"
jenkins-bot [Tue, 1 Aug 2017 22:13:19 +0000 (22:13 +0000)]
Merge "Avoid duplicate accesskey hints on OOUI widgets"

6 years agoMerge "Revert "mw.action.edit: Restore modifier keys for accesskey in tooltip for...
jenkins-bot [Tue, 1 Aug 2017 22:13:15 +0000 (22:13 +0000)]
Merge "Revert "mw.action.edit: Restore modifier keys for accesskey in tooltip for summary field""

6 years agoMerge "Update OOjs UI to v0.22.4"
jenkins-bot [Tue, 1 Aug 2017 22:08:29 +0000 (22:08 +0000)]
Merge "Update OOjs UI to v0.22.4"

6 years agoRCFilters: Trim results to allow searching for spaces after trigger
Moriel Schottlender [Tue, 1 Aug 2017 21:53:15 +0000 (14:53 -0700)]
RCFilters: Trim results to allow searching for spaces after trigger

Recognize a search string even if there are spaces after the trigger,
for example, '#   sometag' as 'sometag' in the 'tags' view.

Bug: T168225
Change-Id: Ic31b73396d9afe8cd62398b4cf5116f8aee25e67

6 years agoMerge "jsduck: Explcitly name library files so we don't pull in CSS files"
jenkins-bot [Tue, 1 Aug 2017 21:52:04 +0000 (21:52 +0000)]
Merge "jsduck: Explcitly name library files so we don't pull in CSS files"

6 years agoRCFilters: Scroll widget to top when switching view
Moriel Schottlender [Tue, 1 Aug 2017 21:49:23 +0000 (14:49 -0700)]
RCFilters: Scroll widget to top when switching view

Bug: T170651
Change-Id: I19865b0af73e88c2893ba688476aa505d7730947

6 years agoMerge "RCFilters: Pluralize 'show last X changes' message"
jenkins-bot [Tue, 1 Aug 2017 21:13:31 +0000 (21:13 +0000)]
Merge "RCFilters: Pluralize 'show last X changes' message"

6 years agoAvoid duplicate accesskey hints on OOUI widgets
Bartosz Dziewoński [Thu, 22 Jun 2017 19:30:03 +0000 (21:30 +0200)]
Avoid duplicate accesskey hints on OOUI widgets

Values returned by `Linker::tooltipAndAccesskeyAttribs()` and
`Linker::titleAttrib( ..., 'withaccess' )` include an accesskey
hint in the title text. This is unnecessary when used for OOjs UI
widgets, since after the changes from T168408 they display an
accesskey hint automatically.

Also fixed some other accesskey bugs in HTMLForm which probably
no one ever ran into.

Bug: T168408
Change-Id: I63285b5bce3341875a6d82eba059623bf105ca62

6 years agoRevert "mw.action.edit: Restore modifier keys for accesskey in tooltip for summary...
Bartosz Dziewoński [Thu, 22 Jun 2017 19:39:49 +0000 (19:39 +0000)]
Revert "mw.action.edit: Restore modifier keys for accesskey in tooltip for summary field"

No longer needed after changes from T168408.

This reverts commit 0269ae0fe57f5192743e99ccd67970db989b542d.

Bug: T168408
Change-Id: I50c24a9bada19a0e7d3a009c9afec073f6ffa357

6 years agoListToggle: Avoid href="#" for JavaScript buttons
Fomafix [Tue, 1 Aug 2017 20:57:45 +0000 (22:57 +0200)]
ListToggle: Avoid href="#" for JavaScript buttons

<a href="#"> is problematic because it allows to open a new tab on
middleclick and it shows a status line.

Change-Id: Id8d7f79a2894693a82f86ae46900e6f0aecba4f3

6 years agoUpdate OOjs UI to v0.22.4
James D. Forrester [Tue, 1 Aug 2017 20:32:18 +0000 (13:32 -0700)]
Update OOjs UI to v0.22.4

Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.22.4

Depends-On: I505e7c612b70a949d2b101172964bd7433fb8d5e
Change-Id: Ice2c56b035c5b9e6525d5b9c0d9b45eb07bb2943