Commit graph

4028 commits

Author SHA1 Message Date
jdlrobson 0dd994edda Prepare to break the server side MobileFrontend dependency on Minerva
Changes:
* Minerva now maintains a MinervaUI - a simplified version of
MobileUI that provides iconClass and buttonClass helpers.
* Minerva now maintains its own ResourceLoaderParserMessageModule

Remaining issues:
* Main menu links to '#'
* Unknown dependency errors are thrown due to the missing
JS libraries e.g. mobile.watchstar
thus JS based UI components are unusable e.g. search autocomplete,
and edit button
* Language button navigates to a missing special page without
MobileFrontend (see T104660)

Bug: T169569
Change-Id: I89e2e15faabab73b0cba91afc2f2c5e785edef29
2017-09-27 21:21:59 +00:00
jenkins-bot 67766539f9 Merge "EventLogging modules should be soft dependencies" 2017-09-27 21:09:49 +00:00
jdlrobson b19997a970 Collapse amboxes in edit view
In edit mode various amboxes are shown which push the editor area
below the fold.

We solved this problem already for "page issues" in normal page views
so we should apply the same solution here.

"Editing help" message will show under the heading. When clicked
information will show in an overlay.

Change-Id: Ia6e478f289267d22adc55532221cba2aae16ff36
2017-09-27 21:04:36 +00:00
Volker E bf6d1768bd Unify monospace font family stack
Additionally adding MinervaNeue specific variable.

Bug: T176636
Change-Id: I4450508be0b7836602f6fdea603ed5f4d9a0b16d
2017-09-27 20:52:55 +00:00
jdlrobson 0ee78ce0cb EventLogging modules should be soft dependencies
Change-Id: Ibc546a89b11360769c9c50dc52cb9b7b5e433100
2017-09-27 20:52:15 +00:00
jenkins-bot 064d08567e Merge "Revision::newFromTitle may return null" 2017-09-27 20:14:54 +00:00
Translation updater bot db3fc3b2f0 Localisation updates from https://translatewiki.net.
Change-Id: If19d25f591b02dc6e2b6defc9381dfe5f14b8f35
2017-09-27 21:58:56 +02:00
jdlrobson 606e72ab68 Revision::newFromTitle may return null
Bug: T176882
Change-Id: I9aea25c2db81a12f16414edcb279f3241dc380bc
2017-09-27 19:58:46 +00:00
jenkins-bot 8e22f9bd49 Merge "Only hide fmbox on editor interface" 2017-09-26 13:54:39 +00:00
jdlrobson 4084c7b5bb Only hide fmbox on editor interface
They also show up on pages that do not exist.
e.g. https://en.m.wikipedia.org/wiki/Teldenia_ruficostawww

Not showing this box provides a confusing experience - a blank
body.

Change-Id: I335a7804bd77df42a23bee569ce52afcfa59a6de
2017-09-26 08:40:46 -05:00
Translation updater bot 26c1ec8a8a Localisation updates from https://translatewiki.net.
Change-Id: I352e1cbe17fc1c7440de0cf71769865581397fae
2017-09-25 21:56:40 +02:00
jdlrobson 23e9d66780 Don't run diff test on beta cluster
While T176637 is open we should only run this on integration.

Bug: T176637
Change-Id: I6be3b234d3084796b039bd6610364e1600e82157
2017-09-25 09:30:08 -05:00
jdlrobson db389f0bfd QA: User edit cta browser test should not run on beta cluster
On the beta cluster, the tests are run using "Selenium user" account.
There is a test which assumes the user's page is blank which is now
failing as a result of this edit:
https://en.m.wikipedia.beta.wmflabs.org/w/index.php?title=User:Selenium_user&oldid=371028

Test is now disabled there but will still run on commits via the
@integration tag.

Additional change:
* Drop the additional @login tag

Change-Id: Ie116caed32883c58edfa2ab3dfa47bbbefdd6f31
2017-09-25 09:03:58 -05:00
Translation updater bot 22eaa14268 Localisation updates from https://translatewiki.net.
Change-Id: Iebc00afde04fd163a75efd4bf404767ffe16dc73
2017-09-24 22:04:17 +02:00
libraryupgrader 3226035e06 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I8f3069930a043b9d901c0834a875ed90ee6c8c81
2017-09-24 05:37:39 +00:00
Translation updater bot 3dc618bfd8 Localisation updates from https://translatewiki.net.
Change-Id: I86153ed57908e3592770f2bec51431248a05fe34
2017-09-23 22:00:43 +02:00
Translation updater bot f1ea8cad86 Localisation updates from https://translatewiki.net.
Change-Id: I4c04155b9557fbae3a084a6aeef23341fa1c6540
2017-09-22 22:16:11 +02:00
Volker E 5c8fe4c94d Unify box-sizing to LESS mixin
Change-Id: I3c308267e6754d681c26c3799084203fae0cdb42
2017-09-21 15:20:45 -07:00
Translation updater bot 96956bb3a0 Localisation updates from https://translatewiki.net.
Change-Id: Ib75fc4cc199144ca69503d4f558200e5013ad081
2017-09-21 22:10:18 +02:00
Translation updater bot 023e3c746b Localisation updates from https://translatewiki.net.
Change-Id: Ie50698a005f7bf99141b398fd9ea78ace80ae8e8
2017-09-20 22:17:00 +02:00
Translation updater bot 7ee8663bf3 Localisation updates from https://translatewiki.net.
Change-Id: I2afe6d38fa1203946169edf13e0f13028cb7504a
2017-09-19 22:16:58 +02:00
Translation updater bot 9e5000a27e Localisation updates from https://translatewiki.net.
Change-Id: Ie7072219384b30875ffce314530fca9084a0b2c4
2017-09-17 21:56:53 +02:00
Translation updater bot f34ada6150 Localisation updates from https://translatewiki.net.
Change-Id: I0be2c50a0bd818dbc59c5ba837d66f07ad7ac70d
2017-09-16 22:18:44 +02:00
Translation updater bot a1da2497d8 Localisation updates from https://translatewiki.net.
Change-Id: I70b08a2a21c305a8208cfe773ff850859127767d
2017-09-15 22:01:35 +02:00
jenkins-bot f099d74355 Merge "Use 'remoteSkinPath' for qunit tests" 2017-09-15 14:52:55 +00:00
Chad Horohoe 8a97059c6e Fix another SVG
Change-Id: I95d76339fa5dc8dcbb1472ad98ae8476c35fba1c
2017-09-14 13:24:04 -07:00
Translation updater bot 1ee2fae4b8 Localisation updates from https://translatewiki.net.
Change-Id: I4be7ec9f3e929d3289057fba097466a5810cdea7
2017-09-14 22:11:20 +02:00
jenkins-bot 5e2aced3f4 Merge "Fix userNormal.svg syntax" 2017-09-14 07:50:42 +00:00
Kunal Mehta 69a94b27c3 Use 'remoteSkinPath' for qunit tests
This isn't in an extension anymore :-)

Bug: T175863
Change-Id: I7d8846d0eb0f92c2e419a1e1b76e94ae19ff1137
2017-09-13 23:45:10 -07:00
Translation updater bot 480b1deb98 Localisation updates from https://translatewiki.net.
Change-Id: I37ac94bf5a9151b02eea9e2844e678f234c0123b
2017-09-13 22:11:54 +02:00
Chad Horohoe 0bf4aeb746 Fix userNormal.svg syntax
Change-Id: I350d2c2270fead706240fa0cd1cce17875a8ce0c
2017-09-13 10:19:59 -07:00
Translation updater bot 2d8905aebc Localisation updates from https://translatewiki.net.
Change-Id: Ibde91de4356f7f9bb783f6d6f49b62f04daec5cd
2017-09-12 22:02:08 +02:00
Translation updater bot a2baa59e21 Localisation updates from https://translatewiki.net.
Change-Id: I9d87f7824a2aabb3d666815e53f7064b39cdd4f6
2017-09-10 21:57:33 +02:00
Translation updater bot c53790b09f Localisation updates from https://translatewiki.net.
Change-Id: I58d2e67c5da98fc792f7cdf992e0b390fd63a55b
2017-09-09 21:58:22 +02:00
Translation updater bot 06d9c5c9d4 Localisation updates from https://translatewiki.net.
Change-Id: I19ffd875f99d57b577b6bcfb9676bcea2b5abce6
2017-09-08 23:23:19 +02:00
jenkins-bot 0a3378adcf Merge "Hygiene: Refactor SkinMinerva so it doesn't use MobilePage" 2017-09-08 19:17:58 +00:00
jdlrobson 9909914b30 Hygiene: Refactor SkinMinerva so it doesn't use MobilePage
MobilePage is provided by MobileFrontend and replicates functionality
in core. Let's invest more in those core interfaces. It's a bit of a
maze, so I think there's probably a cleaner way of doing this...

Change-Id: Iea0a3121841c4774eb117168b1cfc8c2e1e24a0c
2017-09-08 14:50:25 -04:00
jdlrobson bf907afd46 Hygiene: Do not pass mainMenu to Skin
This wires the interaction between the skin and the main menu
into the initialisation script.

Change-Id: I4fac234cb9ead7e99dc52f72819cd4a3c715de1c
Depends-On: Ife64c87716a0f56b55a030a3e4224075af3c6d8c
2017-09-07 17:49:02 +00:00
jdlrobson 38474ed73f Hygiene: Cleanup initialisation files
* Remove deprecated module definitions
* Remove unnecessary check for Minerva skin (this is only
ever run by Minerva skin)
* Move overlayManager to place it is first used
* Make Skin::getMainMenu method redundant

Change-Id: I17ea52172e7fae0a8f0e06b8418c7ed5bb01ef64
2017-09-07 17:48:58 +00:00
jdlrobson 69cb08262a Hide last modified bar on old revisions
Bug: T153125
Change-Id: I43f6f1993ebeacead12d7ec6da584c6d1e14da12
2017-09-07 14:17:30 +00:00
Translation updater bot 0f0214241d Localisation updates from https://translatewiki.net.
Change-Id: I68983122e583fd9eb9b05cad3a344fa49d10fe66
2017-09-06 22:15:54 +02:00
jenkins-bot e25ca1d603 Merge "Improve hatnote styling" 2017-09-06 19:41:36 +00:00
jdlrobson c90e62b524 Improve hatnote styling
This improves the hatnote styling on pages such as Iran.

* Remove italics
* Color changes
* Padding changes

Bug: T173600
Change-Id: I50a49d5be3b7e21042dc0415371b3bc94c5ddcf3
2017-09-06 13:56:24 -04:00
jenkins-bot ef5fddf496 Merge "Show border of editor in Minerva edit mode" 2017-09-05 21:57:06 +00:00
jdlrobson 02d76e9c62 Show border of editor in Minerva edit mode
Bug: T174158
Change-Id: I77f46955cfedc81683481541578c704535a6b034
2017-09-05 21:38:18 +00:00
jdlrobson 91795fa257 Port over minimum required LESS variables from MobileFrontend
From now on Minerva will maintain its own variables outside
MobileFrontend.

Bug: T171016
Change-Id: I05430963cc2fb66b50c063bc8e95621abcbbbea1
2017-09-05 21:20:56 +00:00
Translation updater bot 8deba05fa4 Localisation updates from https://translatewiki.net.
Change-Id: Ia527b08446de7b00157279f5def6050a45b2b35d
2017-09-05 22:12:29 +02:00
Translation updater bot 8598c39cc2 Localisation updates from https://translatewiki.net.
Change-Id: I44e70d0467dc7530db593bf516a28dc805406202
2017-09-04 22:03:58 +02:00
Translation updater bot 21f7c47363 Localisation updates from https://translatewiki.net.
Change-Id: I8984ce79b9177aa6ce8c5d81495fd45f63b4368a
2017-09-03 21:57:29 +02:00
Translation updater bot 9c2459f3fd Localisation updates from https://translatewiki.net.
Change-Id: Idc3a2626569b619f7aed9adf5d6b5b03de6dbd0e
2017-09-03 08:46:03 +02:00