Commit graph

1110 commits

Author SHA1 Message Date
jenkins-bot c21208fa55 Merge "build: Update sniff list in .phpcs.xml" 2018-12-10 09:47:47 +00:00
Translation updater bot 857f5684bd Localisation updates from https://translatewiki.net.
Change-Id: Id92ed8ce680d235bb51eee651d51bee2c167d7f6
2018-12-09 22:16:15 +01:00
Umherirrender ddbe40b90d build: Update sniff list in .phpcs.xml
FunctionDeclarationArgumentSpacing is now part of the default

Change-Id: Ic71d94a03a733ed2aa83cbddca7c2b239bb30511
2018-12-08 15:34:19 +01:00
Translation updater bot dbf811b736 Localisation updates from https://translatewiki.net.
Change-Id: I36c993bfaf3ad697cc8921bfa0a48126a82f0ece
2018-12-07 22:06:25 +01:00
jenkins-bot b564dabcd9 Merge "Remove usage of global event emitter from skins.minerva.talk/init.js" 2018-12-07 16:00:38 +00:00
Nicholas Ray 8feff10336 Remove usage of global event emitter from skins.minerva.talk/init.js
This patch removes usages of M.on (functionality derived from
moduleLoader.js in MobileFrontend) in skins.minerva.talk/init.js and
continues the work of I0e35776114ffa137b219eff0a900a0a0c52a27bb (patch
for MobileFrontend).

This patch and the patch for MobileFrontend should be merged together as
they both depend on eachother.

Depends-On: I0e35776114ffa137b219eff0a900a0a0c52a27bb
Bug: T156186
Change-Id: Ic766d0bbf2746df898038115e2e4bc791ac10359
2018-12-06 19:29:43 -07:00
Translation updater bot c95c5ef29a Localisation updates from https://translatewiki.net.
Change-Id: I749bbe36ef57ae054c8fdfac55a23705646f648c
2018-12-06 22:12:28 +01:00
Translation updater bot 4246e079e4 Localisation updates from https://translatewiki.net.
Change-Id: I326243574708aba77901106fd9fa806cd1998b59
2018-12-05 22:09:38 +01:00
jenkins-bot fe983c5102 Merge "mobile.watchstar is a deprecated module" 2018-12-03 21:35:47 +00:00
Translation updater bot f038060595 Localisation updates from https://translatewiki.net.
Change-Id: Ied038f408d97829d787e82a4876b38f5b6a208d7
2018-12-03 22:14:54 +01:00
Translation updater bot 923ab80dba Localisation updates from https://translatewiki.net.
Change-Id: I1c898d02af860833f22300b33cc109a4a73d048c
2018-12-02 21:55:02 +01:00
Translation updater bot 036db5e86d Localisation updates from https://translatewiki.net.
Change-Id: I4a8054a3ea37dc6d33b2c29d5f5edf78e4cd77c7
2018-12-01 22:02:06 +01:00
jdlrobson 87942c34f9 mobile.watchstar is a deprecated module
Referencing it triggers deprecation warnings so should be updated

Bug: T208921
Change-Id: I7266a067a14bfa38a998f426e18f096515b7bfa7
2018-11-30 15:28:03 -08:00
Translation updater bot da1417c1eb Localisation updates from https://translatewiki.net.
Change-Id: I61c6eb128dc8c2eb8cc0ff6414e7d749dc921979
2018-11-30 22:04:05 +01:00
jdlrobson c31da9a236 QA: Drop protected page test
* On commit it needs admin rights which it doesn't have
* On browser tests the toast flakes too much.

Bug: T208808
Change-Id: I1fa93c8f451f3f839030fa7a144b1cb285c4239d
2018-11-29 16:51:04 -08:00
jdlrobson f055f8d789 Drop toast tests from beta cluster
Given the fade in/out animation of the toasts and the instability of
the beta cluster and the round trips to Sauce labs, we're seeing lots
of false positives on our browser test reports

Running these per commit should ensure we see minimal regressions and
get some protection. We'll continue to test other scenarios which do not involve
the toast on beta cluster.

Provided we can rely on green browser tests, we will trust the browser
tests more and they will be more useful than they currently are.

Bug: T208808
Change-Id: Idc601ad462de36f2d6d52fe951194b429e6f824f
2018-11-29 16:40:02 -08:00
Translation updater bot 7b68f3bfe3 Localisation updates from https://translatewiki.net.
Change-Id: I39d8f457769b18e03c57fc1d945905f7cbebcbfd
2018-11-29 22:37:28 +01:00
jdlrobson 0a41aa53ca QA: Browser tests should limit write operations
We use lots of write operations in Minerva browser tests. On the beta
cluster many of these are redundant, as the page already has the content
required or the page already exists

Limit where we do our creation... the less write operations we make the
more stable we can expect these browser tests to be.

Change-Id: If88b878e14bf4a0424fcf23213653cfc2cf8d87b
2018-11-29 07:34:41 -08:00
James D. Forrester a44badacc8 eslint: Drop 'dot-notation' rule
Bug: T210552
Change-Id: I23d8923ffe82b766bbfd7505bd05834e3e6d247a
2018-11-28 11:27:23 -08:00
jenkins-bot 9d4454108c Merge "Provide some recommended (opt-in classes) for projects not opted into page issues" 2018-11-28 13:22:30 +00:00
jdlrobson b71bb0cc8c QA: Tagging changes from beta cluster
* features/search_loggedin.feature
They run on integration and are not super-business-critical.
Given their flakiness and Cirrus's likelihood of being down,
don't run it on beta cluster
* tests/browser/features/language.feature
Tag is superfulous, all scenarios repeat it.
* tests/browser/features/toggling.feature
ocassionally fails on firefox. Limit to Chrome and integration
tests
* tests/browser/features/search.feature
Limit the tests that run against beta cluster to search for
partial text and clicking a search result, since these are
two things we want to check integration well with other extensions.
The rest being testing on the more stable @integration tests
should be more than enough.

Change-Id: Ia2e8d3726212fee30725fdb9167ea38aa41eacbf
2018-11-27 17:53:00 -08:00
jdlrobson 0e4283ae43 Provide some recommended (opt-in classes) for projects not opted into page issues
You can test this against the beta cluster using
$wgMFMwApiContentProviderBaseUri = "https://en.wikipedia.beta.wmflabs.org/w/api.php";

Bug: T206177
Change-Id: Ic2e6859443ed5aa2a3f97218f4c89df2a46000f9
2018-11-27 14:44:07 -08:00
Translation updater bot d3269adc3f Localisation updates from https://translatewiki.net.
Change-Id: Ib903c546a895b312c89630423a3904e4232ab206
2018-11-27 21:59:56 +01:00
jenkins-bot 645073e958 Merge "isBorderBox and className properties are deprecated" 2018-11-27 13:58:37 +00:00
jdlrobson 5c40ddc477 Zero is a sensible default for this feature flag
Bug: T205008
Depends-On: I3640b28c6a930f6e934d22c3375bffcd539902aa
Change-Id: Ie5d63e265469219063e36d6e398fd0a0b1e864db
2018-11-27 12:26:37 +00:00
Piotr Miazga a15119bdc1 Pass mode property to MobileWebMainMenuClickTracking schema
Changes:
 - pass the mode property instead of mobileMode
 - if mobileMode is undefined, pass 'desktop'

Depends-On: Iedd26463128623e56b9a8612ccf2488739c854fa
Bug: T193505
Change-Id: I6706546fc136779e3872ef9405ca6749b01cf751
2018-11-27 00:42:33 +01:00
Translation updater bot 8dfd431744 Localisation updates from https://translatewiki.net.
Change-Id: Iab1c9ac32fb864e76069ade6ca94c6d796985c57
2018-11-25 22:19:14 +01:00
Translation updater bot 110285482b Localisation updates from https://translatewiki.net.
Change-Id: Ib5afa706d5e6be9fa4bc4e33bf9dff561ed3b6b3
2018-11-23 21:58:47 +01:00
jenkins-bot e0365aa3a0 Merge "Update usages of user module to mw.user" 2018-11-23 19:21:48 +00:00
jenkins-bot bce934c54d Merge "QA: Remove hacks introduced for T170890" 2018-11-23 19:08:05 +00:00
Translation updater bot dd3d603e54 Localisation updates from https://translatewiki.net.
Change-Id: I438cab9a887dde3bf231769c242cd70eb9132bb2
2018-11-22 22:01:52 +01:00
jdlrobson c8693b6789 isBorderBox and className properties are deprecated
These will soon throw warnings and soon be removed!

Bug: T209007
Change-Id: Idca4c892366dc5b5e8490f1326188b97abc876f7
2018-11-22 19:11:53 +00:00
Translation updater bot ae77727c7b Localisation updates from https://translatewiki.net.
Change-Id: Ie54ad80829f027188517c1de74ed53f904168ea5
2018-11-21 22:12:29 +01:00
jdlrobson e1b94f3f63 Update usages of user module to mw.user
We are deprecating the MobileFrontend user module. Use the
mw.user module in core instead which supports the same methods.

Bug: T204866
Change-Id: I3d068198ab79fe85823a9d82ef4bd7ca07013d3b
2018-11-21 11:12:41 -08:00
jdlrobson 6a7d350160 QA: Page issues browser test is ready for new treatment
The page issues browser test is now compatible with both the old
and new treatments.

For consistency, in integration tests it will be run always in
treatment B since that will be the new way to do this going forward.

The beta cluster will test issue treatment A while it continues to be
the default. So with this we enjoy the best of both worlds.

When we enable page issues, the beta cluster will inherit the config
from production and we can remove the treatment testing for treatment B.

A follow up patch, might add testing for a page issue on talk pages,
which will retain treatment A for completeness if this is deemed useful.

Bug: T206647
Change-Id: I586523e452a6809e310f65a2ed55c6771d1965b6
2018-11-20 23:38:04 +00:00
jenkins-bot 58cfdbff89 Merge "page issues is feature flagged" 2018-11-20 22:44:40 +00:00
jenkins-bot 09534b7b84 Merge "Don't open images if control keys are pressed" 2018-11-20 21:41:03 +00:00
jdlrobson 97fd861a63 page issues is feature flagged
* New feature/skin option is added and value is read inside
the pageIssues setup code
* issues-group-a class is added to page on server side to remove
the flash of unstyled content
* issues-group-A class is dropped (it's not doing anything!)
* The minerva-issues flag will now accept any value to avoid confusion.
It is used to override the default setting of wgMinervaPageIssuesNewTreatment
A note has been added that this can be removed in future.

Bug: T206179
Change-Id: I3d98fd8f8e1adc818ea03589d2c8f68fe991e861
2018-11-20 12:41:41 -08:00
jenkins-bot 15ec367b0c Merge "Drop unnecessary prefix config" 2018-11-19 22:24:01 +00:00
LukBukkit 9e114731ce
Don't open images if control keys are pressed
This replicates the behavior of the MultimediaViewer on the
desktop when using the mobile page with a desktop browser.

But we have to be careful that this change don't break
other extensions or functions of the skin.

Bug: T206348
Change-Id: Ib4b928eae136d781782dc96e82d653806587292b
2018-11-19 22:10:19 +01:00
Translation updater bot 11764cb9d9 Localisation updates from https://translatewiki.net.
Change-Id: Ib5348ef1f9f5106be2ff059beb10068562c25f42
2018-11-19 21:59:25 +01:00
jenkins-bot c9dee311ea Merge "Fix invalid selector" 2018-11-19 15:35:38 +00:00
Translation updater bot 13017beb8d Localisation updates from https://translatewiki.net.
Change-Id: Ie556f92f87dfb26a899bec962b4860be001417cf
2018-11-18 22:27:43 +01:00
Volker E 51304f9bad Fix invalid selector
Seems like one of the selectors in this group has been removed.
Found with `"block-opening-brace-space-before": "always"` added in
.stylelintrc.json – It's going to be part of next
stylelint-config-wikimedia release. This issue here has caused an
invalid selector though, therefore fixing immediately.

Change-Id: If9603f12b9ad236b1517eb8861d220e991fa0a8d
2018-11-16 18:32:35 -08:00
Translation updater bot 7b89beca05 Localisation updates from https://translatewiki.net.
Change-Id: I24dc5ce82880995d28360cefdda66e21878eeb81
2018-11-16 22:08:19 +01:00
jdlrobson 2922cc6fd1 QA: Drop more toast notification tests from Firefox (logged in search)
Toast tests are often failing in Firefox build.
They are also tested and pass more consistently in Chrome

Stable browser tests means real bugs get caught more often
so let's disable this browser test against Firefox for the time
being.

Bug:  T208808
Change-Id: I05d77eb53657bb3ea0daaad7906a50db6aab66db
2018-11-16 20:41:17 +00:00
jdlrobson 2e3528ea62 Drop unnecessary prefix config
These values are never read.
In includes/MinervaHooks.php when registering the features in
onMobileFrontendFeaturesRegistration we pass the group name `skin-minerva`

Change-Id: I7e2af47daa4369d3124686de64fc197881bd3c5f
2018-11-16 20:40:33 +00:00
jenkins-bot 1d6865bba4 Merge "Remove obsolete aliases from closures" 2018-11-16 19:38:38 +00:00
jenkins-bot 4f2695907f Merge "Update references to deprecated modules" 2018-11-16 18:15:47 +00:00
Ed Sanders def03877ce Remove obsolete aliases from closures
Bug: T208951
Change-Id: I7cd5ab010596d964fc0896ed250f40d5b6344f6e
2018-11-16 15:16:25 +00:00