lhc/web/wiklou.git
7 years agomediawiki.action.edit: Reduce collapsibleFooter storage size
Timo Tijhof [Sat, 4 Mar 2017 03:27:43 +0000 (19:27 -0800)]
mediawiki.action.edit: Reduce collapsibleFooter storage size

Follows-up bf5c263466. No need for back-compat since this is
a new mw.storage key.

Change-Id: Ia25bc5a6c7b26e528692f70ba7c842d80260885c

7 years agoRCFilters UI: Display popups above CapsuleItemWidgets
Roan Kattouw [Sat, 4 Mar 2017 03:16:42 +0000 (19:16 -0800)]
RCFilters UI: Display popups above CapsuleItemWidgets

Depends on I6f2d03ac83aa in oojs-ui

Change-Id: Ia0ff92ef34431827c80a4bc86b391f9d3a3a8958

7 years agoRCFilters UI: Adjust styles for filter list elements
Moriel Schottlender [Sat, 4 Mar 2017 01:33:13 +0000 (17:33 -0800)]
RCFilters UI: Adjust styles for filter list elements

* Add bottom border between filters
* Adjust the placement of the header label (use table layout)

Bug: T149452
Change-Id: Ie3892b34e5ca5e00380862fa65959d148f2196f4

7 years agoRemove redundant input from search form
Eddie Greiner-Petter [Sat, 4 Mar 2017 00:27:51 +0000 (01:27 +0100)]
Remove redundant input from search form

A hidden input 'profile' gets added within the search form widget no
matter what profile is loaded at the moment.  This is done in
shortDialogHtml along with a few other hidden fields. The same hidden
field is added a second time in optionsHtml if the profile 'advanced' is
run. Remove this redundance.

Bug: T158869
Change-Id: I3be598702dbe9fa2cfe0fdd6c23fe6d88477626d

7 years agoMerge "Use tabs for autoloader extension.json generation"
jenkins-bot [Sat, 4 Mar 2017 00:01:08 +0000 (00:01 +0000)]
Merge "Use tabs for autoloader extension.json generation"

7 years agoRCFilters UI: Prevent the popup from disappearing when input is out of view
Moriel Schottlender [Fri, 3 Mar 2017 23:27:41 +0000 (15:27 -0800)]
RCFilters UI: Prevent the popup from disappearing when input is out of view

Depends on OOjs-UI patch (and subsequent release)

Bug: T158118
Change-Id: I5248dcde7fef47a78b60630e944a9392bec99f64
Depends-On: I92b794d5556302099df72af36620299536bf6fe4

7 years agoMerge "mediawiki.action.edit: Move collapsibleFooter cookies to localStorage"
jenkins-bot [Fri, 3 Mar 2017 23:19:33 +0000 (23:19 +0000)]
Merge "mediawiki.action.edit: Move collapsibleFooter cookies to localStorage"

7 years agoRCFilters UI, Followup I97a45208: Replace the entire fieldset
Moriel Schottlender [Fri, 3 Mar 2017 20:46:22 +0000 (12:46 -0800)]
RCFilters UI, Followup I97a45208: Replace the entire fieldset

Instead of replacing pieces of the fieldset, replace the entire
thing whenever results are requested (whether there are results
or not)

Bug: T159582
Change-Id: I962ad8f44eb9431e86239bbe3cb3a852227dec17

7 years agoMerge "RCFilters UI: Add hover effect on filter list items"
jenkins-bot [Fri, 3 Mar 2017 22:58:27 +0000 (22:58 +0000)]
Merge "RCFilters UI: Add hover effect on filter list items"

7 years agoMerge "mediawiki.inspect: Simplify getModuleSize() by using module descriptor"
jenkins-bot [Fri, 3 Mar 2017 22:39:57 +0000 (22:39 +0000)]
Merge "mediawiki.inspect: Simplify getModuleSize() by using module descriptor"

7 years agoRCFilters UI: Add hover effect on filter list items
Moriel Schottlender [Fri, 3 Mar 2017 22:38:45 +0000 (14:38 -0800)]
RCFilters UI: Add hover effect on filter list items

Bug: T149452
Change-Id: I3b02d9ff6ea6171492fa9b67b17872b5220d5fd4

7 years agomw.special.apisandbox: Correct fixTokenAndResend() when a token is already known
Bartosz Dziewoński [Fri, 3 Mar 2017 20:43:58 +0000 (21:43 +0100)]
mw.special.apisandbox: Correct fixTokenAndResend() when a token is already known

In this snippet:

success = function ( k ) {
delete tokenWait[ k ];
...
};
...
tokenWait[ k ] = page.tokenWidget.fetchToken()
.done( success.bind( page.tokenWidget, k ) )
.fail( failure.bind( page.tokenWidget, k ) );

If fetchToken() returns a promise that is already resolved (because we
have the token cached), the `delete tokenWait[ k ];` will happen before
the `tokenWait[ k ] = ...`, and later code checking that `tokenWait` is
empty will not work correctly.

Fix this by doing the assigment before connecting the done/fail handlers,
in a separate statement.

Change-Id: Ieeb23cad0fd7e0cd4d3d259ff9f324f2001de0c6

7 years agomw.special.apisandbox: Pass $overlay to PopupButtonWidgets to fix overlaps
Bartosz Dziewoński [Fri, 3 Mar 2017 20:56:46 +0000 (21:56 +0100)]
mw.special.apisandbox: Pass $overlay to PopupButtonWidgets to fix overlaps

Bug: T155992
Change-Id: I32b26b72a3aaa6f118cd774396b6f350195cd2a7

7 years agomediawiki.inspect: Simplify getModuleSize() by using module descriptor
Timo Tijhof [Fri, 3 Mar 2017 22:01:59 +0000 (14:01 -0800)]
mediawiki.inspect: Simplify getModuleSize() by using module descriptor

Follows-up ce2652c9ec. Also add unit tests.

Change-Id: I26caaf982f0d317028b5b00374dded6995564ece

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 3 Mar 2017 20:58:37 +0000 (21:58 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I49a1a2a3c8bc7481ecfc3cf3735be851c373499f

7 years agoMerge "RCFilters UI: Select filter when searching and add it on 'enter'"
jenkins-bot [Fri, 3 Mar 2017 19:52:42 +0000 (19:52 +0000)]
Merge "RCFilters UI: Select filter when searching and add it on 'enter'"

7 years agoRCFilters UI: Select filter when searching and add it on 'enter'
Moriel Schottlender [Wed, 1 Mar 2017 18:35:12 +0000 (10:35 -0800)]
RCFilters UI: Select filter when searching and add it on 'enter'

Bug: T149435
Change-Id: Idc88cae9f5ee0a6128bd7936df02f102ff3b71fb

7 years agoMerge "RCFilters UI: Adopt conflict colors"
jenkins-bot [Fri, 3 Mar 2017 19:32:06 +0000 (19:32 +0000)]
Merge "RCFilters UI: Adopt conflict colors"

7 years agoMerge "mw.inspect: Include templates and messages in size"
jenkins-bot [Fri, 3 Mar 2017 19:12:35 +0000 (19:12 +0000)]
Merge "mw.inspect: Include templates and messages in size"

7 years agoMerge "Move ProtectedPagesPager to it's own file"
jenkins-bot [Fri, 3 Mar 2017 19:05:45 +0000 (19:05 +0000)]
Merge "Move ProtectedPagesPager to it's own file"

7 years agoMerge "RC filters: custom help link for beta users"
jenkins-bot [Fri, 3 Mar 2017 18:37:11 +0000 (18:37 +0000)]
Merge "RC filters: custom help link for beta users"

7 years agoMerge "Maintenance: init a user preference based on another preference"
jenkins-bot [Fri, 3 Mar 2017 18:37:03 +0000 (18:37 +0000)]
Merge "Maintenance: init a user preference based on another preference"

7 years agoMerge "Unhide rcenhancedfilters preference"
jenkins-bot [Fri, 3 Mar 2017 18:25:57 +0000 (18:25 +0000)]
Merge "Unhide rcenhancedfilters preference"

7 years agoRC Filters: new feedback url
Stephane Bisson [Fri, 3 Mar 2017 17:45:06 +0000 (12:45 -0500)]
RC Filters: new feedback url

Bug: T150959
Change-Id: Id98152e460d66e4d526d9e727e8fca65ca1a3a36

7 years agoUnhide rcenhancedfilters preference
Stephane Bisson [Fri, 3 Mar 2017 17:31:48 +0000 (12:31 -0500)]
Unhide rcenhancedfilters preference

This allows it to be used for the beta feature.

It shouldn't change anything for users since
this preference was never configured to be
shown on Special:Preferences anyway.

Bug: T159007
Change-Id: Ie45c09b59bd0a366531490d3062f9f1a60ea2964

7 years agoMaintenance: init a user preference based on another preference
Stephane Bisson [Thu, 2 Mar 2017 21:21:43 +0000 (16:21 -0500)]
Maintenance: init a user preference based on another preference

For the ERI beta feature, we want the feature to be
enabled by default for the users who have the ORES
beta feature enabled at the time of the release.

Bug: T159007
Change-Id: Ibf0f9095c7a611a513711badf00f937ac8dc1b63

7 years agoAdd accessor to DeferredUpdates
Antoine Musso [Tue, 3 Jan 2017 11:49:13 +0000 (12:49 +0100)]
Add accessor to DeferredUpdates

Updates are stored in private variables which is not convenient when
testing deferred updates.  Add a getPendingUpdates() accessor. The stage
can be specified to only retrieve PRE or POST ones.

Change-Id: I1af730ec5e48bc0be555a8db4611a76eb9332444

7 years agoMake the parser tests' "subpage" option actually enable for all subpages
Brad Jorsch [Thu, 23 Feb 2017 21:14:54 +0000 (16:14 -0500)]
Make the parser tests' "subpage" option actually enable for all subpages

The option says "enable subpages (disabled by default)", but it
currently just enables subpages for namespaces 0 and 2. This tripped me
up when writing some parser tests for TemplateStyles where I need
subpages enabled for namespace 10.

There's probably no reason not to have it enable subpages for all
namespaces.

Change-Id: Icf864dafc4208a76af7b3e71f5f9c97576c065b7

7 years agoRCFilters UI: Adopt conflict colors
Moriel Schottlender [Fri, 3 Mar 2017 00:53:08 +0000 (16:53 -0800)]
RCFilters UI: Adopt conflict colors

Bug: T156427
Bug: T156861
Change-Id: I8765dfb0554e6351b9cb3516a2bc979c57b20053

7 years agoMove ResultWrapper subclasses to Rdbms
Aaron Schulz [Sun, 19 Feb 2017 05:03:13 +0000 (21:03 -0800)]
Move ResultWrapper subclasses to Rdbms

Change-Id: I6f3f0e85e268b24c57c537aa6ad8016e0b4cdddb

7 years agoMerge "ApiPageSet: Use processTitlesArray() in getRedirectTargets()"
jenkins-bot [Fri, 3 Mar 2017 00:37:03 +0000 (00:37 +0000)]
Merge "ApiPageSet: Use processTitlesArray() in getRedirectTargets()"

7 years agoMerge "startup: Drop JavaScript support for browsers without DOM Level 2"
jenkins-bot [Fri, 3 Mar 2017 00:18:34 +0000 (00:18 +0000)]
Merge "startup: Drop JavaScript support for browsers without DOM Level 2"

7 years agostartup: Drop JavaScript support for browsers without DOM Level 2
James D. Forrester [Thu, 2 Mar 2017 22:38:50 +0000 (14:38 -0800)]
startup: Drop JavaScript support for browsers without DOM Level 2

In practice, this means nothing, as the main browsers affected
were Internet Explorer 8 and early versions of Android (before
1.6), which are already Grade C.

Change-Id: I4488402686c8b9fefa0af5fed3c9a4b83cbff798

7 years agoUse tabs for autoloader extension.json generation
Matthew Flaschen [Thu, 2 Mar 2017 23:16:14 +0000 (18:16 -0500)]
Use tabs for autoloader extension.json generation

This is copied from convertExtensionToRegistration.php .

Change-Id: Icea381ae44a472c3e8b4c6f623d6e4849dcfa093

7 years agoMerge "resourceloader: Add purgeModuleDeps.php maintenance script"
jenkins-bot [Thu, 2 Mar 2017 22:18:40 +0000 (22:18 +0000)]
Merge "resourceloader: Add purgeModuleDeps.php maintenance script"

7 years agoMerge "RCFilters UI: Ajaxify everything"
jenkins-bot [Thu, 2 Mar 2017 21:49:29 +0000 (21:49 +0000)]
Merge "RCFilters UI: Ajaxify everything"

7 years agoMerge "Improve Html/Xml element generation docs"
jenkins-bot [Thu, 2 Mar 2017 21:10:15 +0000 (21:10 +0000)]
Merge "Improve Html/Xml element generation docs"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 2 Mar 2017 21:02:32 +0000 (22:02 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I593fa898b11c9f66c34f920065b1ced11b58bffb

7 years agoRCFilters UI: Ajaxify everything
Moriel Schottlender [Tue, 28 Feb 2017 01:56:40 +0000 (17:56 -0800)]
RCFilters UI: Ajaxify everything

Make sure all links and 'show' button form information uses the
ajax method rather than reloading the page.

Bug: T157594
Change-Id: I97a452082e2d06f78cbec2235e2ed07a2eb6bca0

7 years agoMerge "refreshLinks: Queue non-recursive updates"
jenkins-bot [Thu, 2 Mar 2017 20:14:27 +0000 (20:14 +0000)]
Merge "refreshLinks: Queue non-recursive updates"

7 years agoMerge "RCFilters UI: Adjust highlight button circle to new OOjsUI changes"
jenkins-bot [Thu, 2 Mar 2017 20:07:47 +0000 (20:07 +0000)]
Merge "RCFilters UI: Adjust highlight button circle to new OOjsUI changes"

7 years agoRCFilters UI: Adjust highlight button circle to new OOjsUI changes
Moriel Schottlender [Thu, 2 Mar 2017 19:17:07 +0000 (11:17 -0800)]
RCFilters UI: Adjust highlight button circle to new OOjsUI changes

Change-Id: Iaf9aeb8ac4e0ce5253bb5289884ab63a28e680b6

7 years agoMove ProtectedPagesPager to it's own file
Florian Schmidt [Thu, 2 Mar 2017 18:00:48 +0000 (19:00 +0100)]
Move ProtectedPagesPager to it's own file

Change-Id: I79aecf74e4a71b05247e0c4a0e44f7a97e672507

7 years agoAdd CSS classes for diff/hist links at Enhanced RC
Eddie Greiner-Petter [Tue, 21 Feb 2017 02:25:39 +0000 (03:25 +0100)]
Add CSS classes for diff/hist links at Enhanced RC

CSS classes mw-changeslist-diff and mw-changeslist-history should be
added to diff and history links in recent changes. There is already a
patch for the old recent changes page, this one adds the same classes
onto the enhanced recent changes page (class EnhancedChangesList). As
enhanced RC has a lot more links, this patch introduces two new css
classes for some links, one named  #mw-changeslist-diff-cur which is for
the diff that links to a current version within nested changes and the
other named #mw-changeslist-groupdiff which is for the 'summary diff'
that appears for a group of nested changes.
Follow-up: I2d5ef8c180ae4ff6e7f5d0ab443dc7084f8c4c77

Bug: T157178
Change-Id: Ib51639a92b5925f2bad0aebd4f7068b178f65017

7 years agoApiPageSet: Use processTitlesArray() in getRedirectTargets()
Brad Jorsch [Tue, 7 Feb 2017 15:22:47 +0000 (10:22 -0500)]
ApiPageSet: Use processTitlesArray() in getRedirectTargets()

Instead of trying to duplicate the code to build a LinkBatch while
handling whatever special titles might exist, let's just use
processTitlesArray() to do it for us.

To do it right we also need to add some more deduplication to
processTitlesArray().

Bug: T41492
Change-Id: I28ed0d813a026b64a42b5a2518de9b02a8543aac

7 years agoFix Title::loadRestrictions() for create-protected titles
Brad Jorsch [Sat, 4 Feb 2017 15:22:01 +0000 (10:22 -0500)]
Fix Title::loadRestrictions() for create-protected titles

Title::loadRestrictions() returns restriction levels, not the
corresponding user rights. These are mostly identical except for the
backwards-compatibility levels "sysop" and "autoconfirmed".

For create protection it calls Title::getTitleProtection() to fetch
them, but Ic5026384 changed that to return rights. Split that function
into two, an internal method that returns restriction levels for
loadRestrictions() to call and the public method that converts levels
into rights.

Bug: T85108
Change-Id: I3ea4cb9c5e37b746402744dd7a883763ee07195a

7 years agoMerge "Put the oldimage parameter name in <var>"
jenkins-bot [Thu, 2 Mar 2017 16:43:25 +0000 (16:43 +0000)]
Merge "Put the oldimage parameter name in <var>"

7 years agoPut the oldimage parameter name in <var>
Amire80 [Thu, 2 Mar 2017 15:47:29 +0000 (17:47 +0200)]
Put the oldimage parameter name in <var>

Change-Id: Iab20240dbaca052ffc6b92cc343ade51b9f0b415

7 years agoPut the section parameter name in <var>‏
Amire80 [Thu, 2 Mar 2017 15:51:47 +0000 (17:51 +0200)]
Put the section parameter name in <var>‏

Change-Id: I1f4e9751429cffa1afe95181788c6d579037bf19

7 years agoMerge "Export list of languages which will trigger language conversion"
jenkins-bot [Thu, 2 Mar 2017 15:33:45 +0000 (15:33 +0000)]
Merge "Export list of languages which will trigger language conversion"

7 years agoExport list of languages which will trigger language conversion
C. Scott Ananian [Tue, 28 Feb 2017 20:56:01 +0000 (15:56 -0500)]
Export list of languages which will trigger language conversion

LanguageConverter is enabled on a per-page basis, based on the page
language and whether it implements `$lang->getConverter()`.  Export
this in siteinfo so that Parsoid knows whether it should parse
language converter markup on a given page (based on the page language).

Bug: T153341
Change-Id: I010aa3812051725166ab79ea5ee3eaf56615fe94

7 years agoRC filters: custom help link for beta users
Stephane Bisson [Tue, 28 Feb 2017 21:21:13 +0000 (16:21 -0500)]
RC filters: custom help link for beta users

Bug: T158819
Change-Id: I1a6dd27c17b3dd31d455f8f00b2ef5ad587fdfa5

7 years agoMerge "RCFilters UI: Correct filter name font-size"
jenkins-bot [Thu, 2 Mar 2017 06:46:07 +0000 (06:46 +0000)]
Merge "RCFilters UI: Correct filter name font-size"

7 years agoMerge "stylelint: Drop over-ride for 'declaration-no-important' and make pass"
jenkins-bot [Thu, 2 Mar 2017 02:57:01 +0000 (02:57 +0000)]
Merge "stylelint: Drop over-ride for 'declaration-no-important' and make pass"

7 years agoImprove Html/Xml element generation docs
Gergő Tisza [Thu, 2 Mar 2017 00:13:29 +0000 (16:13 -0800)]
Improve Html/Xml element generation docs

Corrects some docs to match actual behavior + clarifies what
syntax is allowed for attributes.

Change-Id: I45b27bc4d536063c508d902f592ad4d0dc265ed3

7 years agoFollow-up 658af7f47: Use ignoreHidden for rcenhancedfilters
Roan Kattouw [Wed, 1 Mar 2017 22:59:30 +0000 (14:59 -0800)]
Follow-up 658af7f47: Use ignoreHidden for rcenhancedfilters

As we do in addModules() as well. Also move the addModuleStyles
call down to addModules().

Change-Id: I537705bbf5a05ed5c1b7a0133845bcd631547f92

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 1 Mar 2017 20:55:35 +0000 (21:55 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I4bb4c87611c3d58e14b567a3cc4a6a186a30e0fe

7 years agostylelint: Drop over-ride for 'declaration-no-important' and make pass
James D. Forrester [Thu, 23 Feb 2017 17:46:03 +0000 (09:46 -0800)]
stylelint: Drop over-ride for 'declaration-no-important' and make pass

Change-Id: I150acaf188c445ca983583d9de107f10d425a0fb

7 years agoMerge "stylelint: drop value-keyword-case and make a pass"
jenkins-bot [Wed, 1 Mar 2017 20:37:25 +0000 (20:37 +0000)]
Merge "stylelint: drop value-keyword-case and make a pass"

7 years agoMerge "stylelint: drop selector-pseudo-element-colon-notation exception and make...
jenkins-bot [Wed, 1 Mar 2017 20:32:14 +0000 (20:32 +0000)]
Merge "stylelint: drop selector-pseudo-element-colon-notation exception and make pass"

7 years agoMerge "RCFilters: Add loading animation"
jenkins-bot [Wed, 1 Mar 2017 20:21:01 +0000 (20:21 +0000)]
Merge "RCFilters: Add loading animation"

7 years agoMerge "Modify footer icons to use $wgExternalLinkTarget"
jenkins-bot [Wed, 1 Mar 2017 19:55:37 +0000 (19:55 +0000)]
Merge "Modify footer icons to use $wgExternalLinkTarget"

7 years agoresourceloader: Add purgeModuleDeps.php maintenance script
Timo Tijhof [Fri, 24 Feb 2017 22:56:31 +0000 (14:56 -0800)]
resourceloader: Add purgeModuleDeps.php maintenance script

Based on cleanupRemovedModules.php. Update both to use safer batching,
based on known selection instead of recursing until the table is empty
(which may end up deleting new rows from live traffic).

Bug: T158105
Change-Id: I05f650a0cfa8ca647f143a40e1087338adbef6da

7 years agoRCFilters: Add loading animation
Moriel Schottlender [Wed, 1 Mar 2017 01:22:54 +0000 (17:22 -0800)]
RCFilters: Add loading animation

Change-Id: I09d39a387eb1ed2fe4c1292f0a255d180035baa0

7 years agostylelint: drop value-keyword-case and make a pass
Ed Sanders [Wed, 1 Mar 2017 17:50:11 +0000 (17:50 +0000)]
stylelint: drop value-keyword-case and make a pass

Add some exceptions for '-@lessVar' bug.

Change-Id: Ifccae9ced695a0968da2a35b453c949a28123357

7 years agoRCFilters UI: Correct filter name font-size
Moriel Schottlender [Wed, 1 Mar 2017 17:46:01 +0000 (09:46 -0800)]
RCFilters UI: Correct filter name font-size

Bug: T149452
Change-Id: I851cc38700ff34d1b663e915f0135e87957e2d08

7 years agostylelint: drop selector-pseudo-element-colon-notation exception and make pass
Ed Sanders [Wed, 1 Mar 2017 17:43:42 +0000 (17:43 +0000)]
stylelint: drop selector-pseudo-element-colon-notation exception and make pass

Change-Id: Idfe36e3efb4a1c26ad677d3c9732ce66d39b9a60

7 years agostylelint: Drop over-ride for 'string-quotes' and make pass
James D. Forrester [Thu, 23 Feb 2017 17:23:45 +0000 (09:23 -0800)]
stylelint: Drop over-ride for 'string-quotes' and make pass

Change-Id: I9355acac78b92d06a294573e51824586433bd06b

7 years agoRC Filters: Make highlight popup right-aligned
Roan Kattouw [Fri, 24 Feb 2017 23:19:27 +0000 (15:19 -0800)]
RC Filters: Make highlight popup right-aligned

Bug: T149467
Change-Id: I2bb325e7de326ada4a78d1d00f6e11f54f2b7472
Depends-On: I87c1384c693ca550f8684c5b243856a14fa1d24a

7 years agoMerge "Follow-up a57b64436cf2: Correct @deprecated version"
jenkins-bot [Wed, 1 Mar 2017 05:43:14 +0000 (05:43 +0000)]
Merge "Follow-up a57b64436cf2: Correct @deprecated version"

7 years agoMerge "Use wikimedia/timestamp"
jenkins-bot [Wed, 1 Mar 2017 05:38:45 +0000 (05:38 +0000)]
Merge "Use wikimedia/timestamp"

7 years agoFollow-up a57b64436cf2: Correct @deprecated version
Timo Tijhof [Wed, 1 Mar 2017 05:31:49 +0000 (21:31 -0800)]
Follow-up a57b64436cf2: Correct @deprecated version

Change-Id: Ia16907a8fcb500c8dd261dd4309a892824d80595

7 years agoUse wikimedia/timestamp
Kunal Mehta [Sun, 2 Oct 2016 04:51:51 +0000 (21:51 -0700)]
Use wikimedia/timestamp

Bug: T100924
Depends-On: I0a067367cda6885fa45631ed7c18799d653dc9bf
Change-Id: I69ba64e364df8af089c1c918cdf32f99454e693a

7 years agoMerge "api.php: Fully spell out "constructor""
jenkins-bot [Wed, 1 Mar 2017 05:11:01 +0000 (05:11 +0000)]
Merge "api.php: Fully spell out "constructor""

7 years agoapi.php: Fully spell out "constructor"
Kunal Mehta [Wed, 1 Mar 2017 04:50:31 +0000 (20:50 -0800)]
api.php: Fully spell out "constructor"

There's no real reason to abbreviate it.

Change-Id: Ib85d5e420bfdc1eca4d83265e2d9c3f719d7fa2b

7 years agoUpdate OOjs UI to v0.19.4
Volker E [Tue, 28 Feb 2017 23:53:57 +0000 (15:53 -0800)]
Update OOjs UI to v0.19.4

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

Change-Id: Ifa1c6cb355a0c4f5073c93e37939cfc2f6653c81

7 years agoMerge "mediawiki.user: Move JS session token from cookie to sessionStorage"
jenkins-bot [Tue, 28 Feb 2017 22:24:49 +0000 (22:24 +0000)]
Merge "mediawiki.user: Move JS session token from cookie to sessionStorage"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 28 Feb 2017 21:00:38 +0000 (22:00 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Iad5104a414d774f1646d27f30aa4ca0d9ecc8e64

7 years agomediawiki.user: Move JS session token from cookie to sessionStorage
Timo Tijhof [Mon, 27 Feb 2017 21:57:15 +0000 (13:57 -0800)]
mediawiki.user: Move JS session token from cookie to sessionStorage

The old cookies will become unused and expiry automatically.

Also add basic unit tests.

Bug: T110353
Change-Id: I6fa98ae797481dfaef95ab1ea996ebf057f8d55d

7 years agoMerge "RCFilters UI: Add 'select' state and styles to capsule items"
jenkins-bot [Tue, 28 Feb 2017 20:49:43 +0000 (20:49 +0000)]
Merge "RCFilters UI: Add 'select' state and styles to capsule items"

7 years agoMerge "RCFilters UI: Add popup footer with feedback link"
jenkins-bot [Tue, 28 Feb 2017 20:43:24 +0000 (20:43 +0000)]
Merge "RCFilters UI: Add popup footer with feedback link"

7 years agoRCFilters UI: Add 'select' state and styles to capsule items
Moriel Schottlender [Tue, 28 Feb 2017 00:26:46 +0000 (16:26 -0800)]
RCFilters UI: Add 'select' state and styles to capsule items

When a user clicks a capsule item and it scrolls down to the filter
in the list, make sure the capsule is also showing it is selected.
Take that opportunity to apply the design per spec for the capsule
items.

Bug: T149391
Change-Id: Idac62dea0f7a699a6e80dd3dca3d30b8e28e63b8

7 years agoMerge "RCFilters UI: Delay the capsule popup"
jenkins-bot [Tue, 28 Feb 2017 19:57:09 +0000 (19:57 +0000)]
Merge "RCFilters UI: Delay the capsule popup"

7 years agoMerge "RCFilters UI: Only mute 'fullyCovered' items in the capsule"
jenkins-bot [Tue, 28 Feb 2017 19:47:29 +0000 (19:47 +0000)]
Merge "RCFilters UI: Only mute 'fullyCovered' items in the capsule"

7 years agoMerge "RCFilters UI: Dash the border 'none' highlight"
jenkins-bot [Tue, 28 Feb 2017 19:41:46 +0000 (19:41 +0000)]
Merge "RCFilters UI: Dash the border 'none' highlight"

7 years agoRC Filters: in enhanced RC mode, don't highlight groups
Stephane Bisson [Tue, 28 Feb 2017 19:21:19 +0000 (14:21 -0500)]
RC Filters: in enhanced RC mode, don't highlight groups

Change-Id: I560c6e11d95cf82453d3af68eb194fa876975687

7 years agoMerge "RCFilters UI: Add dm.FilterItem unit tests"
jenkins-bot [Tue, 28 Feb 2017 19:01:23 +0000 (19:01 +0000)]
Merge "RCFilters UI: Add dm.FilterItem unit tests"

7 years agoModify footer icons to use $wgExternalLinkTarget
saptaks [Sun, 4 Oct 2015 18:43:59 +0000 (00:13 +0530)]
Modify footer icons to use $wgExternalLinkTarget

Bug: T109979
Change-Id: Ie3d30c4070e8d336b735bac0a389564ae6115234

7 years agoMerge "Miscellaneous indentation tweaks"
jenkins-bot [Tue, 28 Feb 2017 18:38:36 +0000 (18:38 +0000)]
Merge "Miscellaneous indentation tweaks"

7 years agoMerge "Fix StatusValue::setResult phpdoc typo"
jenkins-bot [Tue, 28 Feb 2017 18:36:03 +0000 (18:36 +0000)]
Merge "Fix StatusValue::setResult phpdoc typo"

7 years agoMerge "Make EditPage::incrementConflictStats protected"
jenkins-bot [Tue, 28 Feb 2017 18:35:53 +0000 (18:35 +0000)]
Merge "Make EditPage::incrementConflictStats protected"

7 years agoMerge "Add missing access modifiers in UploadBase"
jenkins-bot [Tue, 28 Feb 2017 18:34:13 +0000 (18:34 +0000)]
Merge "Add missing access modifiers in UploadBase"

7 years agoRCFilters UI: Add popup footer with feedback link
Roan Kattouw [Fri, 24 Feb 2017 22:58:59 +0000 (14:58 -0800)]
RCFilters UI: Add popup footer with feedback link

Bug: T150959
Change-Id: Id10c39222a3d3d65d4ab1d006123f93b9972288f
Depends-On: Ie947ebe5d43da25e10119a34a736762b3fff5659

7 years agoMerge "mediawiki.special.preferences: Use mw.storage.session for sessionStorage"
jenkins-bot [Tue, 28 Feb 2017 18:28:14 +0000 (18:28 +0000)]
Merge "mediawiki.special.preferences: Use mw.storage.session for sessionStorage"

7 years agoRCFilters UI: Add dm.FilterItem unit tests
Moriel Schottlender [Wed, 22 Feb 2017 01:41:15 +0000 (17:41 -0800)]
RCFilters UI: Add dm.FilterItem unit tests

Change-Id: I7198f38c6ce2a85c0dc5f88d5f2a5c4b43ee4663

7 years agoMerge "RCFilters UI: Scroll to filter when selected"
jenkins-bot [Tue, 28 Feb 2017 17:49:52 +0000 (17:49 +0000)]
Merge "RCFilters UI: Scroll to filter when selected"

7 years agoMerge "Don't use <dd> for indenting descriptions on Special:ApiSandbox"
jenkins-bot [Tue, 28 Feb 2017 16:04:23 +0000 (16:04 +0000)]
Merge "Don't use <dd> for indenting descriptions on Special:ApiSandbox"

7 years agoMerge "Update tests to Selenium 3"
jenkins-bot [Tue, 28 Feb 2017 14:11:21 +0000 (14:11 +0000)]
Merge "Update tests to Selenium 3"

7 years agoMerge "mediawiki.requestIdleCallback: Re-enable use of native requestIdleCallback"
jenkins-bot [Tue, 28 Feb 2017 13:19:19 +0000 (13:19 +0000)]
Merge "mediawiki.requestIdleCallback: Re-enable use of native requestIdleCallback"

7 years agomw.inspect: Include templates and messages in size
Sam Smith [Fri, 24 Feb 2017 10:08:07 +0000 (10:08 +0000)]
mw.inspect: Include templates and messages in size

Currently, mw.inspect#getModuleSize omits the size of templates and
messages while calculating a ResourceLoader module's size despite them
being included in the module's definition.

Change-Id: Ib8d52c901a8e1656b8b6996762bfbff3af16a834