Commit graph

560 commits

Author SHA1 Message Date
Translation updater bot 8f5013020d Localisation updates from https://translatewiki.net.
Change-Id: Id5a19139e22cdde72a81a679e17e9ee272f45df0
2018-02-22 22:40:07 +01:00
Translation updater bot ef5d6606ab Localisation updates from https://translatewiki.net.
Change-Id: I712c2147f6ed70e2f0e40da68943c3844def0a3e
2018-02-20 22:06:25 +01:00
Translation updater bot 98a5135257 Localisation updates from https://translatewiki.net.
Change-Id: I31de247009c15e16d74cf1c8492b01ef03489a64
2018-02-19 22:04:49 +01:00
Translation updater bot 8f11cfe01e Localisation updates from https://translatewiki.net.
Change-Id: Ib4e8062a1b0df7f09aea9ca942f562e1dfbede49
2018-02-18 22:16:31 +01:00
libraryupgrader f32328fb05 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: I4289fd11b6390bc6fab66dc8c1734a3fea39c016
2018-02-18 13:13:05 +00:00
Kunal Mehta e196a20e9d Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I957eec9c5df224e367233c9ce23b9631f04c7458
2018-02-16 10:40:37 -08:00
Translation updater bot ec019dab5b Localisation updates from https://translatewiki.net.
Change-Id: I8a9b392257d76ce39694c90c2d9492f5986cec39
2018-02-15 22:06:54 +01:00
libraryupgrader c4eb15654e build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Ibb3b0d2f4713609cd43d8c411561ab0bcdf941ce
2018-02-15 17:17:29 +00:00
jdlrobson 3bfc4c7f48 Remove unused userpage icon from repo
This was removed in Ia3fb34250714fe4ccb10c32a7027fda167e06a16
It is no longer referenced anywhere.

Bug: T187222
Change-Id: I14d486d962cfd1e4277a82d78084a785093d679d
2018-02-15 08:36:44 -08:00
Translation updater bot 315ed5e5e1 Localisation updates from https://translatewiki.net.
Change-Id: If1ad64314dcc0a187aa322ea98af3ab374b9fb81
2018-02-14 22:11:28 +01:00
jdlrobson 196fb20836 Restore Minerva specific userpage styles for all user pages
In T182162 these were removed incorrectly. They should only have
been partially removed.

Bug: T187222
Change-Id: Ia3fb34250714fe4ccb10c32a7027fda167e06a16
2018-02-13 16:14:54 -08:00
Translation updater bot 22104a41a2 Localisation updates from https://translatewiki.net.
Change-Id: I17b4d0beb9f4a8a6c3f0615a57447851bf088cda
2018-02-13 22:04:49 +01:00
Tulsi Bhagat 4419975fb0 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: I79d2efce6d734b041be7a2c9d514d809ad6f450c
2018-02-12 20:12:07 +00:00
jenkins-bot 45e3f024e0 Merge "Remove main page toggle check" 2018-02-12 19:22:54 +00:00
Translation updater bot 577fddfef8 Localisation updates from https://translatewiki.net.
Change-Id: Iad94a02efe76adbd942c26fee48f27f089ba1506
2018-02-11 10:21:35 +01:00
jenkins-bot 7c927eca59 Merge "Pages that do not exist cannot have issues" 2018-02-10 09:00:49 +00:00
Translation updater bot 231d75d10c Localisation updates from https://translatewiki.net.
Change-Id: I22db1a2bfacebdcf948b3af4b81af2b5302ff7fb
2018-02-10 08:51:05 +01:00
Translation updater bot de6cebe54d Localisation updates from https://translatewiki.net.
Change-Id: I68f58148c6140f16db5b543aedc323477b2ca0f7
2018-02-09 08:35:35 +01:00
jdlrobson 6ab5944b09 Pages that do not exist cannot have issues
Bug: T185359
Change-Id: I4d2adcd31d31761c178cbb8df8db696f654a795d
2018-02-08 22:09:49 +00:00
Translation updater bot 437ff0ccba Localisation updates from https://translatewiki.net.
Change-Id: I75359ffddd176f361bc9bd0e30b7fd54d213b7df
2018-02-07 21:57:22 +01:00
jdlrobson b0970a4a7e Remove main page toggle check
This is redundant.
page.getLeadSectionElement() will return null if the main page
is special casing and sections have not been wrapped.

Removing this check also allows toggling to work on pages where
users want to treat main pages like any other page.

Bug: T177337
Change-Id: Ic52fd1c9f6cc4f727ca52c871f29c76997e47f1d
2018-02-07 09:10:47 -08:00
jenkins-bot 211a53fb67 Merge "Flag that Minerva now depends on 2.1 of MobileFrontend" 2018-02-07 14:16:42 +00:00
jdlrobson 4389b67989 Explicitly use LESS variable for breakpoint defined in mediawiki ui
$wgResourceLoaderLESSVars is deprecated. Let's not use it anymore.

Change-Id: If28ab6884668700bc46533c8e2c377f17e6be696
Depends-On: Ib9f843147db4473ce5590741e0fb490384b0007e
Bug: T171365
2018-02-06 22:23:32 +00:00
jdlrobson d783eb934d Flag that Minerva now depends on 2.1 of MobileFrontend
The changes to the FeatureManager mean that MobileFrontend
2.0 and Minerva are now incompatible.

Change-Id: Ia5ccb3b66bee2fb99e58c297f1ca91df642323af
2018-02-06 22:23:27 +00:00
jenkins-bot 7b84dc6171 Merge "Merge remote-tracking branch 'gerrit/specialpages' into T182217" 2018-02-06 22:19:43 +00:00
jdlrobson fa27cf8a0d Merge remote-tracking branch 'gerrit/specialpages' into T182217
(Depends-On I535b24803341dc3912aed4bef06970e2861fe3ad)

Change-Id: I3fc50739415686032683c421008e832e785e1651
Bug: T182217
2018-02-06 21:39:22 +00:00
Translation updater bot 35298ff1d2 Localisation updates from https://translatewiki.net.
Change-Id: I600ef4dbeeb8c7cd472c8b92db4cbd1867f2035e
2018-02-06 22:10:58 +01:00
jdlrobson 97136f9d63 Prepare for breaking change to MobileContext
With the introduction of the FeaturesManager the
getConfigVariable method will disappear.
(I535b24803341dc3912aed4bef06970e2861fe3ad)

That change cannot be merged until Minerva stops using the
method.

This temporary fix ensures it resolves to false when the method
doesn't exist.

Bug: T182217
Change-Id: I619fd8fac47a98d1ff8f3646d61b8e285246a17f
2018-02-05 13:15:34 -08:00
Translation updater bot 1d609fdc6b Localisation updates from https://translatewiki.net.
Change-Id: I11dadc66377dae900543e44849842a794dcb89e3
2018-02-04 21:56:42 +01:00
Translation updater bot b40650330a Localisation updates from https://translatewiki.net.
Change-Id: Ia5c0d4f0cb0dd4006dd08e88688cbae7ca02a161
2018-02-03 22:04:25 +01:00
Timo Tijhof d5145178b9 Hygiene: Replace QuickTemplate test subclass with mock
Change-Id: I32aa9d5103f4b6790a5118d5cad2cd91d3ddc459
2018-02-03 03:11:14 +00:00
Translation updater bot f2048cd92d Localisation updates from https://translatewiki.net.
Change-Id: I9d4955b17a74e2c1bdee5b2060ff631820dc60b1
2018-02-01 22:00:47 +01:00
jdlrobson 3047f3e0fa Merge remote-tracking branch 'gerrit/master' into specialpages
Change-Id: I1bc48ac546865f515df65e9d7f0c75e7f5c6d684
2018-02-01 11:35:11 -08:00
jdlrobson 326ec90cd5 Disable download button on Chrome like browsers
Add Dolphin, Opera and Maxthon to whitelist

Bug: T182059
Change-Id: I39bf9d016aba189016b2ce5b42a2e95b58cb33ce
2018-02-01 10:59:18 -08:00
jenkins-bot e15d5b812d Merge "Preferences tabs should be horizontally scrollable" 2018-02-01 15:53:12 +00:00
jdlrobson 6b801b8c5c Console recruit message has been moved to MobileFrontend
Change-Id: I48eb8ac7471f7e17ed10ac326230cf2ffed467d1
Depends-On: I3ee0c34139ec658566e8d324a3c8c28a80e930fd
2018-02-01 00:48:13 +00:00
jdlrobson 20f69d0b49 Do not add non-existent skins.minerva.special.preferences.scripts
This module does not exist.
Don't pretend it does and add it.

Bug: T185934
Change-Id: Iefef261fdac2c513e5ee278e94574026601f76f9
2018-02-01 00:33:48 +00:00
jdlrobson 4f6e9e69e1 Preferences tabs should be horizontally scrollable
Change-Id: I6766b4ef5a99c66ebb54079b07739315294c86a7
2018-01-31 18:37:16 +00:00
Translation updater bot 152465abd3 Localisation updates from https://translatewiki.net.
Change-Id: Ia33416537abd6ef2f4adadeb7861c9c48c6f5dec
2018-01-30 21:58:47 +01:00
jenkins-bot af9db025df Merge "Remove horizontal line from popups preview in MinervaNeue skin" 2018-01-30 19:18:58 +00:00
Alangi Derick 3c81e0c717 Remove horizontal line from popups preview in MinervaNeue skin
A horizontal line shows in popup previews in the MinervaNeue skin
just above the setting icon due to a css rule that affect all footer
elements. Removing this effect to apply only for the MN skin.

Bug: T184560
Change-Id: Idb0c40c3fc24e4ec2d32cb2de9520952448da77a
2018-01-30 20:06:42 +01:00
jenkins-bot 36780b8156 Merge "Hygiene: add package-lock file" 2018-01-29 21:10:46 +00:00
jenkins-bot fcc759ee19 Merge "Fix editing of non-mobile-formatted pages" 2018-01-29 21:05:31 +00:00
jenkins-bot 805dfedab0 Merge "Fix download icon spinner" 2018-01-29 21:03:54 +00:00
Stephen Niedzielski 7fcc2b06bd Hygiene: add package-lock file
Add NPM package-lock file, a new feature of NPMv5.

http://blog.npmjs.org/post/161081169345/v500

Change-Id: I4cd5d9c040ceba8fe211c7f2f8cc745b6ca0e312
2018-01-29 20:56:47 +00:00
jdlrobson 6cdcc8ddfa Fix editing of non-mobile-formatted pages
Template pages do not run the MobileFormatter
(see MFMobileFormatterNamespaceBlacklist).

As a result page.getLeadSectionElement() will
return null

When this happens do not change the edit icon to point
to section 1. Instead give them the non-JS editor.

After this patch, the feature remains as:

* Page with lead section get the JS edit overlay for section 0
* Page without lead section but with other sections gets the JS overlay
  editor for section 1
* Pages that didn't run through MobileFormatter don't modify the edit
  link and just link to the fallback editor (useful for Template pages
  at this moment)

Bug: T172948
Change-Id: Icee96e12f62ec13a1cbd3169c687fa4b3af70754
2018-01-29 20:56:31 +00:00
Translation updater bot 351512265b Localisation updates from https://translatewiki.net.
Change-Id: I772aae3c0e11bd47523e6e85726947aff743e91e
2018-01-29 21:55:57 +01:00
jdlrobson 1e56e46724 Fix download icon spinner
Regression, introduced in
I6e474562ba5f2c704364c9d7b49f982f7bab8a18

Bug: T182162
Change-Id: I56464d42e437a94b2008338b00f49b4e0b086561
2018-01-29 20:08:04 +00:00
jenkins-bot 780f3c5e07 Merge "Remove use of QuickTemplate::setRef" 2018-01-27 13:15:49 +00:00
Timo Tijhof 08985b2229 Remove use of QuickTemplate::setRef
Follows-up 2c01147c13be, 429f557cc7f68a46.

The array is already copied by value once returned from getLanguages().
Setting it by reference within the QuickTemplate instance doens't
have any effect, but does logically break the concept of pushing
data in a single direction through the skin.

Remove use of setRef in preparation for restricting skins only
consuming data as given, without the ability to change data
in other parts of the system.

Bug: T140664
Change-Id: I0978dd5c123fda57f45534a8d2e51b7e65e55223
2018-01-27 13:11:37 +00:00