Commit graph

4017 commits

Author SHA1 Message Date
Translation updater bot 9376aab9d2 Localisation updates from https://translatewiki.net.
Change-Id: I6b7670abb71bae893a63b5d45e65607bbb5694bd
2017-10-24 22:24:26 +02:00
jenkins-bot c1bfaf55c6 Merge "Disable print button on iOS" 2017-10-23 20:35:14 +00:00
Translation updater bot c86b87b3db Localisation updates from https://translatewiki.net.
Change-Id: I061466bdf2640d23bc9c2f41f5c36aec6c61da7b
2017-10-23 22:26:42 +02:00
jdlrobson 571895b754 Disable print button on iOS
As documented on the ticket, iOS does not provide PDF functionality
via print.

iOS 11 provides PDF generation but the resulting PDF is unreadable for
our content and missing styles (see T177215#3700576) and we do not know
of any way to invoke that just yet.

Bug: T177215
Change-Id: I7e195ae067625c7865dccee31fa7a2c3c0ee57e5
2017-10-23 16:06:25 -04:00
jdlrobson 45a1b3b423 Add feature flagged DownloadIcon
Shortcut for print. Disabled by default and controlled by
wgMinervaDownloadIcon

Note that with lazy images enabled, images will not appear
in the printed article. This can be easily addressed inside
the onClick function in a later patchset with a few modifications
to the Skin class.

Currently the flag when enabled will show on all browsers. There
are some open questions on the ticket about how we want to limit
the feature. This shouldn't block review or merging.

Bug: T177215
Change-Id: I49f1736870c743990b3fb9916247e07a597b2f59
2017-10-23 18:12:20 +00:00
Translation updater bot f3a89e7fa1 Localisation updates from https://translatewiki.net.
Change-Id: Ic542860c43da616f124f6016da4d316a4d9feaed
2017-10-22 21:59:11 +02:00
Translation updater bot 0f1c69c1b1 Localisation updates from https://translatewiki.net.
Change-Id: I0c4be59266f0f5584cffd6a87a8b03c7fb348216
2017-10-22 00:16:17 +02:00
libraryupgrader eb7323e0eb build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I4e80293c27dbc09470449acc8f6994dd846f6c70
2017-10-21 04:35:00 +00:00
Translation updater bot 100e32997c Localisation updates from https://translatewiki.net.
Change-Id: Iad580ae28e1b6a68df0aed6bd3acc0adc077d100
2017-10-20 22:01:08 +02:00
Translation updater bot 938af28d1e Localisation updates from https://translatewiki.net.
Change-Id: Icf725bc553fee7f06c662bab1ed48afa3856d64d
2017-10-19 22:05:21 +02:00
Translation updater bot 5241f3c4a1 Localisation updates from https://translatewiki.net.
Change-Id: I2bdbdceb835f96b300e0d98e283ebe5326b2db8c
2017-10-18 21:58:11 +02:00
Translation updater bot 7542d06278 Localisation updates from https://translatewiki.net.
Change-Id: Ic804a6132d9824889a4ab7b94a36fe4a28a4feba
2017-10-17 22:13:39 +02:00
jdlrobson b93b7eda7c Render add discussion button in PHP not JS
The talk page JavaScript progressively enhances an
existing button in the page.

Remove the frontend logic and rely entirely on whether
the button is in the page or not.

Additional change:
* The browser tests incorrectly suggest a user needs
5 edits to be able to use the talk feature. This is not
true. They just need to be logged in. Update that logic.

Bug: T167728
Change-Id: Iacedea30bdd0775b3d785db5b143abafd7a18b39
2017-10-16 22:35:11 +00:00
Translation updater bot 55f1192323 Localisation updates from https://translatewiki.net.
Change-Id: Iba1cc261083d21a84345d47b11afe5b019b39305
2017-10-15 22:05:27 +02:00
Translation updater bot 5d5702fdc4 Localisation updates from https://translatewiki.net.
Change-Id: I992a5b95ffb10d51263fae02288c21b63f99f1c3
2017-10-13 22:00:21 +02:00
jdlrobson 7b8530a2b2 Standardise on MinervaNeue's skin name (minerva)
We will standardise on the key "minerva" and the styles
in MediaWiki:Minerva.css for desktop since this is what is
used for mobile. The name will however appear as MinervaNeue
to be consistent with the skin repo name (not the code).

Please merge I5fdb21243e0b599b07aa228107fd4b8c306c696c
shortly after merging this to remove the remaining logic
relating to this from MobileFrontend as otherwise two skins
will appear in user preferences.

Any existing users of MinervaNeue (key minervaneue on desktop)
will be thrown back into the Vector skin and will need to opt
into the MinervaNeue skin again. This is a minor disruption
given the low amount of users and instability of the skin.

Bug: T171644
Change-Id: Ieffb6334168047dcf05dcb60281865ab47056dc0
2017-10-12 15:04:13 -07:00
jdlrobson 8729f0b654 Hygiene: Minerva uses skin instance defined by MobileFrontend
The global events for resize and throttled will also be defined
inside MobileFrontend.

Depends-On: I8503c26bd064ae0d203f95a35031468c7c678ac1
Bug: T173454
Change-Id: I00d361ad504ab90f2bf80a53a7c76269f1116207
2017-10-11 23:43:57 +00:00
jenkins-bot 1c0d0d5f3c Merge "Minerva is responsible for loading tablet modules in tablet mode" 2017-10-11 22:57:43 +00:00
jdlrobson c04c58a4d7 Minerva is responsible for loading tablet modules in tablet mode
Since Minerva is the only skin which does this kind of thing, it
was premature to add this logic to the Skin module.

By forcing Minerva to do this itself, we allow MobileFrontend to
be responsible for creating a Skin without having to know about
what that skin may want to load in tablet mode.
(see I8503c26bd064ae0d203f95a35031468c7c678ac1)

Bug: T173454
Change-Id: I32e2b4a10799a06138bfee08abc6769a6b96004d
2017-10-11 15:41:46 -07:00
Translation updater bot 4cf54c99a5 Localisation updates from https://translatewiki.net.
Change-Id: I6d70c50889ea639988d36ca49e302f2561b3fbbb
2017-10-11 22:23:40 +02:00
Translation updater bot 433f0641de Localisation updates from https://translatewiki.net.
Change-Id: Ie108d6459e61b8e4057a2d0aa70d839f947b2baf
2017-10-10 22:16:42 +02:00
Translation updater bot 1cf3c42666 Localisation updates from https://translatewiki.net.
Change-Id: Ic953facf5a8822382d2d3ceb7a19db2480fc4da4
2017-10-09 22:11:47 +02:00
jdlrobson 88a0baeb6d Hlist tweaks (size and color)
* Font size should be relative to context
* Only apply linkColor to links in footer

Bug: T169315
Change-Id: Ibb25d8b63e4efaf8b2bc4c28e3bac95a6a16db86
2017-10-09 16:40:01 +00:00
jenkins-bot 7458b6dd16 Merge "Revert "Don't run diff test on beta cluster"" 2017-10-09 16:14:44 +00:00
Jdlrobson edc817cd03 Revert "Don't run diff test on beta cluster"
This reverts commit 23e9d66780.

Change-Id: I25b7a843178d0be42956847cc2f8c897ae521b5d
2017-10-09 16:08:08 +00:00
Translation updater bot f187e734d3 Localisation updates from https://translatewiki.net.
Change-Id: Ic954331d34340c35c3c119a28c91dbfe67b74d41
2017-10-07 21:56:33 +02:00
jdlrobson 8de58c546e Avoid clashes with MediaWiki:Common.css for hlist rules
Impacts footer and main menu

Bug: T173507
Change-Id: Ie519550c0657c2314ecccaca1d65ecf99d0a3f5f
2017-10-06 15:58:50 -07:00
Translation updater bot 42e23ff4bc Localisation updates from https://translatewiki.net.
Change-Id: Ib171b45a8d65bdba722c391562be22dcc81c0f7a
2017-10-06 22:08:24 +02:00
jenkins-bot b5908fde76 Merge "Improve some parameter docs" 2017-10-05 22:06:09 +00:00
Translation updater bot a3a0e221f1 Localisation updates from https://translatewiki.net.
Change-Id: I6d7899216c2fa8dffb3c6b17911f5e78eca03e87
2017-10-05 22:08:22 +02:00
Umherirrender 8e8c9d0654 Improve some parameter docs
Change-Id: I239d4aa0023978b27bc04a7ff7d55892f3bb7feb
2017-10-05 19:17:38 +02:00
jenkins-bot 8db065c142 Merge "Correct feature phone threshold detection" 2017-10-04 21:48:49 +00:00
jdlrobson 734ac36f1e Correct feature phone threshold detection
max-width should actually be one smaller than the threshold

Additional changes:
* Also rename to  @width-breakpoint-mobile and
rename @width-breakpoint-desktop for desktop variable in
anticipation of T171365

Bug: T176286
Change-Id: Ia37bceb46a6b780f473828ff38749543bdfcc9f6
2017-10-04 13:51:19 -07:00
Translation updater bot 59434deac7 Localisation updates from https://translatewiki.net.
Change-Id: I6fd493b695837ac12986bb083c045aa3ceafcbc8
2017-10-04 22:00:19 +02:00
Translation updater bot 2fcfba9e2b Localisation updates from https://translatewiki.net.
Change-Id: Id3604029f3bbe2b0ca18c020cbaf97a8f77fa61d
2017-10-03 22:15:36 +02:00
Translation updater bot ef54d9594e Localisation updates from https://translatewiki.net.
Change-Id: Id431cec39de5a6b2fe01e2a5f6c427ef7f0f2013
2017-10-02 22:19:35 +02:00
Translation updater bot 2db104510d Localisation updates from https://translatewiki.net.
Change-Id: I983db85c9c810c5740b3cb32a07f518bbbd14b91
2017-10-01 21:58:32 +02:00
jdlrobson 2e8ea6219f Update SVGs for page actions and restore locked edit icon behavior
The locked edit icon will now show on protected pages.

Additional changes:
* userpage and userNormal was not minified. This has been fixed.

Bug: T174105
Change-Id: I0ef9c4cf3ea6cd1c550023fdf99581b665b459b2
2017-09-29 13:20:39 +00:00
jenkins-bot 9bb62a254d Merge "Collapse amboxes in edit view" 2017-09-28 16:11:43 +00:00
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