lhc/web/wiklou.git
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: 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 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

6 years agojsduck: Explcitly name library files so we don't pull in CSS files
James D. Forrester [Tue, 1 Aug 2017 20:57:29 +0000 (13:57 -0700)]
jsduck: Explcitly name library files so we don't pull in CSS files

Change-Id: I8ee7c8a609543237f8280c190a9806cf5079de96

6 years agomediawiki.action.edit: Add TODO referencing T6714
James D. Forrester [Thu, 20 Jul 2017 19:18:44 +0000 (12:18 -0700)]
mediawiki.action.edit: Add TODO referencing T6714

Change-Id: Ifa5ba02d8e45b2529c17ba045e13fd6360569f4b

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 1 Aug 2017 20:07:32 +0000 (22:07 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I981b8966b91712c673793270e4bfe928e6d90e83

6 years agoRCFilters: Pluralize 'show last X changes' message
Moriel Schottlender [Tue, 1 Aug 2017 19:45:40 +0000 (12:45 -0700)]
RCFilters: Pluralize 'show last X changes' message

Bug: T171047
Change-Id: I353140a2aeb8a383fe439baf887676857ae99321

6 years agoMerge "Introduce Title::getTalkPageIfDefined."
jenkins-bot [Tue, 1 Aug 2017 17:37:53 +0000 (17:37 +0000)]
Merge "Introduce Title::getTalkPageIfDefined."

6 years agoMerge "Implement a getter/setter for mCategoryViewerClass"
jenkins-bot [Tue, 1 Aug 2017 17:15:52 +0000 (17:15 +0000)]
Merge "Implement a getter/setter for mCategoryViewerClass"

6 years agoIntroduce Title::getTalkPageIfDefined.
daniel [Tue, 1 Aug 2017 17:09:13 +0000 (19:09 +0200)]
Introduce Title::getTalkPageIfDefined.

This is part of the effort to remove the assumption that every page
can have a talk page. Before we can merge Icee208dc4 which makes
Title::getTalkPage() throw an exception of no corresponding talk
namespace is defined, all extensions that call getTalkPage() must
be changed to either check canHaveTalkPage() first, or to use
the conveniance function getTalkPageIfDefined() instead.

Bug: T165149
Bug: T172146
Change-Id: I6d2613d8f7105048022f8093186dc57f1f8173ab

6 years agoMerge "Use mw-parser-output for numbered external link counters"
jenkins-bot [Tue, 1 Aug 2017 15:34:07 +0000 (15:34 +0000)]
Merge "Use mw-parser-output for numbered external link counters"

6 years agoMerge "Remove unused csslint rules"
jenkins-bot [Tue, 1 Aug 2017 15:34:04 +0000 (15:34 +0000)]
Merge "Remove unused csslint rules"

6 years agoImplement a getter/setter for mCategoryViewerClass
Louperivois [Sun, 30 Jul 2017 20:28:19 +0000 (16:28 -0400)]
Implement a getter/setter for mCategoryViewerClass

Cancel Change 17d5e809 and implement a getter/setter for mCategoryViewerClass

Bug: T172028
Change-Id: Idd8d836339ebf0f07b6782cfb06a3c9a65d93973

6 years agoMerge "Allow blacklisting certain namespaces in Special:ShortPages"
jenkins-bot [Tue, 1 Aug 2017 14:20:30 +0000 (14:20 +0000)]
Merge "Allow blacklisting certain namespaces in Special:ShortPages"

6 years agoUse mw-parser-output for numbered external link counters
Ed Sanders [Tue, 1 Aug 2017 12:45:54 +0000 (13:45 +0100)]
Use mw-parser-output for numbered external link counters

1. Not every skin uses mw-body-content (e.g. Minerva)
2. A page may have multiple separate parser outputs,
   e.g. Flow, where the numbering context should reset.

Change-Id: I867e0da619f99600210340becd468ec293bf9667

6 years agoRemove unused csslint rules
Ed Sanders [Tue, 1 Aug 2017 12:38:24 +0000 (13:38 +0100)]
Remove unused csslint rules

Change-Id: I290f442b6a15fecd7cd2061190e52585984d2b6b

6 years agoMerge "EditPage: Drop 80% width restriction on wpSummary for OOUI form"
jenkins-bot [Mon, 31 Jul 2017 23:20:18 +0000 (23:20 +0000)]
Merge "EditPage: Drop 80% width restriction on wpSummary for OOUI form"

6 years agoEditPage: Drop 80% width restriction on wpSummary for OOUI form
James D. Forrester [Thu, 20 Jul 2017 16:25:58 +0000 (09:25 -0700)]
EditPage: Drop 80% width restriction on wpSummary for OOUI form

Bug: T64316
Change-Id: I007a92e32a62cdf8a1b3ac479386e32fb54469f5

6 years agoMerge "RCFilters: show new changes"
jenkins-bot [Mon, 31 Jul 2017 22:23:45 +0000 (22:23 +0000)]
Merge "RCFilters: show new changes"

6 years agoAllow blacklisting certain namespaces in Special:ShortPages
jdlrobson [Thu, 27 Jul 2017 23:29:21 +0000 (16:29 -0700)]
Allow blacklisting certain namespaces in Special:ShortPages

This new config variable ($wgShortPagesNamespaceBlacklist)
allows wikis to specify namespaces which should be excluded from
Special:ShortPages.

This will be used by Commons, for which NS_FILE is a content namespace
(accessible via Special:Random and Special:Nearby) but is not useful
to list on Special:ShortPages.

If the blacklist cancels out all namespace in wgContentNamespaces then
all namespaces will show up on the page.

Bug: T170687
Change-Id: I10b4849a5d7f3f8af75ccc6cfba230d03725c898

6 years agoMerge "Adjust print styles for thumb"
jenkins-bot [Mon, 31 Jul 2017 22:01:28 +0000 (22:01 +0000)]
Merge "Adjust print styles for thumb"

6 years agoAdjust print styles for thumb
jdlrobson [Fri, 21 Jul 2017 21:45:35 +0000 (14:45 -0700)]
Adjust print styles for thumb

* Remove all borders and margins
* Gray thumb caption color
* Increasing padding
* Aligning to left
* Explicitly choose font size

Bug: T169823
Change-Id: If32f76f11f260bb33decf1ebe934470acee66ce6

6 years agoMerge "Remove obsolete animation vendor prefix"
jenkins-bot [Mon, 31 Jul 2017 21:00:22 +0000 (21:00 +0000)]
Merge "Remove obsolete animation vendor prefix"

6 years agoMerge "Follow-up b446a3b9: don't auto-close DateInputWidget too early"
jenkins-bot [Mon, 31 Jul 2017 20:57:04 +0000 (20:57 +0000)]
Merge "Follow-up b446a3b9: don't auto-close DateInputWidget too early"

6 years agoMerge "Enable archive search by default on Special:Undelete."
jenkins-bot [Mon, 31 Jul 2017 20:33:25 +0000 (20:33 +0000)]
Merge "Enable archive search by default on Special:Undelete."

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 31 Jul 2017 20:04:15 +0000 (22:04 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I5389c55f987527a1ba58e11cea0937e1d6888cb7

6 years agoRemove obsolete animation vendor prefix
Volker E [Mon, 31 Jul 2017 19:34:56 +0000 (21:34 +0200)]
Remove obsolete animation vendor prefix

Opera 12.10 supported unprefixed animations, gradients, transforms &
transitions. See http://www.opera.com/docs/changelogs/unified/1210/
Opera 15 used Blink and was supported up to v30 with
`-webkit` prefix.

Change-Id: Ie8edbcd7f85c713ea2156706ea3a3a7b423d8d9d

6 years agoFollow-up b446a3b9: don't auto-close DateInputWidget too early
Roan Kattouw [Mon, 31 Jul 2017 19:22:59 +0000 (12:22 -0700)]
Follow-up b446a3b9: don't auto-close DateInputWidget too early

Clicking on a month does not mean that the user has made a selection,
it only means that if we are in { precision: 'month' } mode.
In { precision: 'day' } mode, clicking a month is navigational,
so don't auto-close in that case.

Bug: T172041
Change-Id: I16a3e15a3b69844ff866fc09ba6a9268e85b2930

6 years agoMerge "Adjustments to floating elements in print styles"
jenkins-bot [Mon, 31 Jul 2017 18:38:50 +0000 (18:38 +0000)]
Merge "Adjustments to floating elements in print styles"

6 years agoAdjustments to floating elements in print styles
jdlrobson [Fri, 21 Jul 2017 21:48:16 +0000 (14:48 -0700)]
Adjustments to floating elements in print styles

Bug: T169823
Change-Id: I38c030fe5d321f8d3419dca5a69e2a0f99ae6c16

6 years agoMerge "refreshLinks.php: Fix fatal when using --category parameter"
jenkins-bot [Mon, 31 Jul 2017 18:19:03 +0000 (18:19 +0000)]
Merge "refreshLinks.php: Fix fatal when using --category parameter"

6 years agoEnable archive search by default on Special:Undelete.
Stanislav Malyshev [Mon, 31 Jul 2017 18:11:29 +0000 (11:11 -0700)]
Enable archive search by default on Special:Undelete.

Bug: T163235
Change-Id: I7341719ec8858011965f91d873ce446efc05dcdf

6 years agoRemove StructuredChangeFiltersEnableSaving completely
Stephane Bisson [Mon, 31 Jul 2017 15:47:59 +0000 (11:47 -0400)]
Remove StructuredChangeFiltersEnableSaving completely

Follow up I9202b7ee2f9ff80106d1fb4d3e6cddec04c8b4ac

Remove one last occurence in SpecialRecentchanges.php

Change-Id: I74fd3969ad73f0b34db5c4edcf9114c27b48b187

6 years agoMerge "RCFilters: Remove $wgStructuredChangeFiltersEnableSaving feature flag"
jenkins-bot [Mon, 31 Jul 2017 13:43:36 +0000 (13:43 +0000)]
Merge "RCFilters: Remove $wgStructuredChangeFiltersEnableSaving feature flag"

6 years agoMerge "mw.htmlform: Fix hiding of the textbox for 'selectorother' fields on page...
jenkins-bot [Mon, 31 Jul 2017 13:43:32 +0000 (13:43 +0000)]
Merge "mw.htmlform: Fix hiding of the textbox for 'selectorother' fields on page load"

6 years agoRCFilters: Remove $wgStructuredChangeFiltersEnableSaving feature flag
Roan Kattouw [Fri, 28 Jul 2017 19:09:22 +0000 (12:09 -0700)]
RCFilters: Remove $wgStructuredChangeFiltersEnableSaving feature flag

It's set to true now, and the feature is mature enough that we
don't need it to be feature-flagged anymore.

Change-Id: I9202b7ee2f9ff80106d1fb4d3e6cddec04c8b4ac

6 years agoRCFilters: show new changes
Stephane Bisson [Fri, 21 Jul 2017 15:41:36 +0000 (11:41 -0400)]
RCFilters: show new changes

When "live update" is off and new changes are detected,
show a link to load and prepend the changes to the list.

Also adding a line between old and new changes
when grouping by pages is off.

Bug: T163426
Change-Id: I6a111d23956bdc04caa4c71e9deede056779aafa

6 years agomw.htmlform: Fix hiding of the textbox for 'selectorother' fields on page load
Louperivois [Thu, 8 Jun 2017 20:50:41 +0000 (16:50 -0400)]
mw.htmlform: Fix hiding of the textbox for 'selectorother' fields on page load

Bug: T166621
Change-Id: I3921651585dd8b382afc99eca18a927eba1ebe47

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 30 Jul 2017 20:05:59 +0000 (22:05 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I96387423844fd658c38225a43cabdc06e258900f

6 years agorefreshLinks.php: Fix fatal when using --category parameter
Jesús Martínez Novo [Sun, 30 Jul 2017 13:39:36 +0000 (15:39 +0200)]
refreshLinks.php: Fix fatal when using --category parameter

A title object must be passed to refreshCategory(), which is created in
the above lines, not the string representation received as a parameter.

bug: T172061
Change-Id: Id579a86a26cb438c1866351064c6887dbcea23b0

6 years agoMerge "build: Update Travis CI config to use fast Trusty containers"
jenkins-bot [Sun, 30 Jul 2017 03:48:07 +0000 (03:48 +0000)]
Merge "build: Update Travis CI config to use fast Trusty containers"

6 years agoMerge "phpunit: Fix failing DeprecatedGlobalTest on HHVM at Travis CI"
jenkins-bot [Sun, 30 Jul 2017 03:47:27 +0000 (03:47 +0000)]
Merge "phpunit: Fix failing DeprecatedGlobalTest on HHVM at Travis CI"

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 29 Jul 2017 20:02:39 +0000 (22:02 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I65223520fecf6d5ef2ae15427edf417422c15666

6 years agoMerge "Hide "hideuser" on Special:Block for non-infinite blocks"
jenkins-bot [Sat, 29 Jul 2017 04:24:00 +0000 (04:24 +0000)]
Merge "Hide "hideuser" on Special:Block for non-infinite blocks"

6 years agobuild: Update Travis CI config to use fast Trusty containers
Timo Tijhof [Sat, 29 Jul 2017 00:56:19 +0000 (17:56 -0700)]
build: Update Travis CI config to use fast Trusty containers

We tried this before when Trusty containers were still in Beta,
but the issues we ran into at the time have since been fixed.

1. Missing package djvulibre-bin: Fixed.
   https://github.com/travis-ci/apt-package-whitelist/issues/4036

2. MySQL launch problems: Fixed
   https://github.com/travis-ci/travis-ci/issues/5837
   https://github.com/travis-ci/travis-ci/issues/6842

Also add HHVM 3.18 to the test matrix (latest currently preinstalled
version of HHVM).

Change-Id: I2f56e303c01f069207fb086e784e49292ea4eb58

6 years agophpunit: Fix failing DeprecatedGlobalTest on HHVM at Travis CI
Timo Tijhof [Sat, 29 Jul 2017 01:02:28 +0000 (18:02 -0700)]
phpunit: Fix failing DeprecatedGlobalTest on HHVM at Travis CI

Follows-up 1d77070f19e3. On Travis CI, this test fails on HHVM:

> There was 1 failure:
> 1) DeprecatedGlobalTest::testWarning
> Failed asserting that exception of type "PHPUnit_Framework_Error" is thrown.

I've been unable to reproduce this locally, but within Travis CI
it happens on both Trusty containers and Trusty VMs, no matter the
version of HHVM. After some trial and error, I narrowed it down
to the error_reporting setting, which presumably has a different default
in the HHVM package Travis CI uses.

Change-Id: I588218103d6c72df5ad4fb6289df688b3740233e

6 years agoMerge "RCFilters: Make 'related links' collapsible"
jenkins-bot [Sat, 29 Jul 2017 01:16:05 +0000 (01:16 +0000)]
Merge "RCFilters: Make 'related links' collapsible"

6 years agoMerge "Follow-up 0b3ea6e1ab: use more flexible regex for timestamp in ChangesListSpec...
jenkins-bot [Sat, 29 Jul 2017 01:14:17 +0000 (01:14 +0000)]
Merge "Follow-up 0b3ea6e1ab: use more flexible regex for timestamp in ChangesListSpecialPageTest"

6 years agoRCFilters: Make 'related links' collapsible
Moriel Schottlender [Fri, 28 Jul 2017 07:53:57 +0000 (00:53 -0700)]
RCFilters: Make 'related links' collapsible

Bug: T166919
Change-Id: I89d69c6614f641ac92143f0b1a718145e9cd61bd

6 years agoFollow-up 0b3ea6e1ab: use more flexible regex for timestamp in ChangesListSpecialPageTest
Roan Kattouw [Sat, 29 Jul 2017 00:36:25 +0000 (17:36 -0700)]
Follow-up 0b3ea6e1ab: use more flexible regex for timestamp in ChangesListSpecialPageTest

Postgres uses timestamps like "2017-07-28 17:37:03" that aren't all numbers.

Bug: T75174
Change-Id: I1b65578c955ccdce1060783b06c2ca577796e68f

6 years agoMerge "RCFilters: Create a sticky preference for days/limit groups"
jenkins-bot [Sat, 29 Jul 2017 00:05:39 +0000 (00:05 +0000)]
Merge "RCFilters: Create a sticky preference for days/limit groups"

6 years agoMerge "Follow-up to '3D' file type addition"
jenkins-bot [Sat, 29 Jul 2017 00:03:18 +0000 (00:03 +0000)]
Merge "Follow-up to '3D' file type addition"

6 years agoMerge "Update wikimedia/relpath from 1.0.3 -> 2.0.0"
jenkins-bot [Sat, 29 Jul 2017 00:01:17 +0000 (00:01 +0000)]
Merge "Update wikimedia/relpath from 1.0.3 -> 2.0.0"

6 years agoFollow-up to '3D' file type addition
Matthias Mullie [Thu, 20 Jul 2017 14:43:50 +0000 (16:43 +0200)]
Follow-up to '3D' file type addition

Based on feedback on Id78a504302fa664b353a4c45bdc5d99f95a0180a

Bug: T157348
Change-Id: Id6bfe8d20307f62e4673a5ef30e79f164b1ea034

6 years agoUpdate wikimedia/relpath from 1.0.3 -> 2.0.0
Timo Tijhof [Fri, 28 Jul 2017 21:26:40 +0000 (14:26 -0700)]
Update wikimedia/relpath from 1.0.3 -> 2.0.0

* (4f670afd92) Normalize leading path separator to forward slash
               Fixes Windows compatibility.
* (b0eeb17d31) Drop support for PHP 5.3 and PHP 5.4.

Depends-On: I98eb809ff72c4d09bfbb89a9dad9bc7094868240
Change-Id: I4111af30dfbfe2c72d52325bbd1923773e3b4202

6 years agoMerge "RCFilters: Remember legend expand/collapse state"
jenkins-bot [Fri, 28 Jul 2017 23:12:40 +0000 (23:12 +0000)]
Merge "RCFilters: Remember legend expand/collapse state"

6 years agoMerge "RCFilters: Open limit/days popups the other way"
jenkins-bot [Fri, 28 Jul 2017 23:10:57 +0000 (23:10 +0000)]
Merge "RCFilters: Open limit/days popups the other way"

6 years agoRCFilters: Create a sticky preference for days/limit groups
Moriel Schottlender [Thu, 27 Jul 2017 22:32:32 +0000 (15:32 -0700)]
RCFilters: Create a sticky preference for days/limit groups

- Add sticky preference for groups and the operation behind
  it.
- Allow normalization from the UriProcessor
- Backwards-compatibility for saved queries
- Allow saved queries to load regardless of sticky params
  and to be compared correctly without the sticky params.
- Add days/limit preferences and update those on change
- Update the preference even if we received a new value
  from the URL.

Bug: T171514
Bug: T171368
Change-Id: I5232f3372f0e5c981332d152faf0ab47cc470b56

6 years agoMerge "RCFilters: Allow setting a new query as default"
jenkins-bot [Fri, 28 Jul 2017 23:02:25 +0000 (23:02 +0000)]
Merge "RCFilters: Allow setting a new query as default"

6 years agoRCFilters: Open limit/days popups the other way
Moriel Schottlender [Fri, 28 Jul 2017 22:58:55 +0000 (15:58 -0700)]
RCFilters: Open limit/days popups the other way

Bug: T171968
Change-Id: I83127f43cef02194c839cd0ac531ae43fa386e9a

6 years agoRCFilters: Remember legend expand/collapse state
Moriel Schottlender [Fri, 28 Jul 2017 22:19:27 +0000 (15:19 -0700)]
RCFilters: Remember legend expand/collapse state

Bug: T168043
Change-Id: I2f22f4211cfcbd9e81ee20f013fde921635e5ebc