Commit graph

666 commits

Author SHA1 Message Date
jdlrobson 903863b7f1 Allow non-js users to remember login on grade C browsers
* Grade C browsers on mobile will now check checkbox
* Grade A browsers will not see it and it will be ticked by default
* On tablet the checkbox will be visible to both grade A and C.

Change-Id: I2c77916097afef8eb6a1b3ea28eb0e50c1dff7f4
Depends-On: I5f646b5c939e498eda9bec249658a969f3f91c5d
Bug: T196947
2018-06-20 11:44:23 -07:00
jdlrobson f943abd854 Localise "learn more" and warning icon to issues
This is currently showing up on sisterbox templates e.g.
the one on Category:Beekeeping

Bug: T197728
Change-Id: Idaf4aeb4a9efb668e5c06e19ce1eddace121e741
2018-06-20 08:37:00 -07:00
jenkins-bot 041eaadcb5 Merge "Mobile page issues - visual styling changes" 2018-06-19 22:13:31 +00:00
jdlrobson a231525112 Mobile page issues - visual styling changes
Changes:
* Introduce Jan's beautifully documented $wgMinervaABSamplingRate
Set to 1 to A/B test 50% of the population
* Split out ambox template styles into a separate file referenced
by hacks.less
* Update cleanuptemplates setup script to consider two buckets

Test pages:
* Shqiponja_Partizane
* World_War_II_in_Albania
* Liberation_of_Tirana
* French_Consulate
* Abd_ar-Rahman_IV
* M109_howitzer
* Aimoin
* Transport_in_Brazil
* Transport_in_Cape_Verde

Bug: T191303
Change-Id: I8d11e655ccb847b7999e64dda57b225ad8b1c23a
2018-06-19 14:11:19 -07:00
jdlrobson 2e7e7d3259 Only render table of contents on pages with a table of contents
Bug: T193517
Change-Id: I0ed0255280f525d7726d2e09ceab15a76e2d6026
2018-06-19 18:18:03 +00:00
Legoktm b56e82c8a8 Revert "Allow type Language for $lang of doEditSectionLink"
This reverts commit 648491015c.

Parent patch is being reverted since it didn't follow the
deprecation policy.

Change-Id: Id0e80bf23593d6fc7c986df7b42ff836cc24d867
2018-06-19 01:35:19 +02:00
jenkins-bot 53741ed02f Merge "Fixing alignment of infoboxes for RTL/LTR" 2018-06-18 20:27:44 +00:00
jenkins-bot 30d1b7fd47 Merge "Add missing return in doEditSectionLink" 2018-06-18 20:22:25 +00:00
Translation updater bot 42acc7a5c5 Localisation updates from https://translatewiki.net.
Change-Id: Ice1a6c3d4d9f6a7a21d0da31d92be3096c34e8a5
2018-06-18 21:55:37 +02:00
Fomafix 72a4f7cf4c Add missing return in doEditSectionLink
Change-Id: If2bfae229c2d12090276a5f8dea00a45746349a6
2018-06-18 21:33:03 +02:00
jenkins-bot 927b1bddd2 Merge "Force type Language for $lang of doEditSectionLink" 2018-06-18 01:14:35 +00:00
eranroz 8ca00225dd Fixing alignment of infoboxes for RTL/LTR
Explicitly set align to left on LTR wikis, and same for RTL wikis.
(tested in en wiki with ?uselang=he and he wiki with ?uselang=en)

Bug: T161399
Change-Id: Ic70acf2c56b52fe52eaac021581617342e3ae74f
2018-06-17 22:14:11 +03:00
Translation updater bot c9586aed40 Localisation updates from https://translatewiki.net.
Change-Id: Icb7aaa2327b616b5748b1b32267985ee644930cc
2018-06-16 22:06:50 +02:00
jenkins-bot 54497c954a Merge "Update: add internal and revise external link icons" 2018-06-15 19:20:27 +00:00
Stephen Niedzielski 3485269be1 Update: add internal and revise external link icons
Bug: T190549
Change-Id: Iad7fdc2f2a730fa8874487c0d83355f21a0bf7ea
2018-06-15 12:31:42 -05:00
Fomafix 152f48b846 Force type Language for $lang of doEditSectionLink
wfGetLangObj() is not necessary anymore.

This change increases the requirement to MediaWiki 1.32 or higher.

Depends-On: Id49201957e716ef8a2ea930b3616ca4fe6e35633
Change-Id: I18adeebe476b321546ceda43eb12b6cf7e8081b3
2018-06-14 23:36:39 +00:00
Translation updater bot e7f00c251f Localisation updates from https://translatewiki.net.
Change-Id: Iaf3dfc3d08b164a19e00de56d7040b3c3d9011d8
2018-06-14 22:18:19 +02:00
jenkins-bot df9551bf12 Merge "Allow editor access to the full page's wikitext" 2018-06-14 18:45:56 +00:00
jenkins-bot f93f9e7893 Merge "A/B test bucketing wrapper for page issues AB." 2018-06-14 14:59:53 +00:00
Jan Drewniak 7617174d40 A/B test bucketing wrapper for page issues AB.
Provides a class that initiates AB-test bucketing and registers
as a MF module. Activates the reading depth test for users who are bucketed
in either buckets "A" or "B".

Does not add event-logging or visual style changes for page issues AB test.

Bug: T193584
Change-Id: If8504a35059c6d1b056cef063a595b1c2ffd351a
2018-06-13 15:43:08 -07:00
Translation updater bot 7368c68abe Localisation updates from https://translatewiki.net.
Change-Id: I74078ff6929ccebba998feae0695a47cebc45bf7
2018-06-13 22:07:33 +02:00
jenkins-bot cacf03525f Merge "Fix: don't truncate the article title" 2018-06-13 19:04:09 +00:00
Stephen Niedzielski 0b043fbaa7 Fix: don't truncate the article title
Header overflow was truncated in MobileFrontend commit 1655d5233 which
added the language switcher button that appears below the title. This no
longer appears to be required even for articles with lengthy titles.
Perhaps because the language switcher button exceeds the page content
margin, it was thought to be necessary.

Bug: T194544
Change-Id: I4e25e7b03df65803cd553b412881eb565ded9b10
2018-06-13 13:51:44 -05:00
jenkins-bot 1e5d91e1d4 Merge "QA: Stabilise browser tests" 2018-06-13 14:10:30 +00:00
David Lynch 2d930cedbb Allow editor access to the full page's wikitext
Make a new route which uses `#/editor/all` to trigger loading the full page's
text in the editor, rather than defaulting to the first section. This isn't
exposed through the UI, but will be what's used when intercepting action=edit
links, which already loaded the full page's wikitext in the non- overlay
editor.

Bug: T196915
Change-Id: I6c7e3443756fd72749964d1eda37e3d123b201b3
2018-06-12 11:55:37 -05:00
Translation updater bot 4a84008a84 Localisation updates from https://translatewiki.net.
Change-Id: I13491690bf3443b772148a68f1967035abad88bd
2018-06-10 22:04:18 +02:00
Translation updater bot 0972415404 Localisation updates from https://translatewiki.net.
Change-Id: Iafc8ace216d82029c6f056a4751fd0e4852fe10a
2018-06-09 10:00:42 +02:00
jdlrobson 8ad57f9b0e QA: Stabilise browser tests
Changes:
* Default skin is not configured so noticed on test runs it's using
Default skin for desktop mode. Given this has no footer and way to
switch to mobile this could be problematic in future.
* Remove empty README
* Drop suggested language integration test - setting up interwiki links currently
happens via InterwikiLoadPrefix hook however this seems to be unreliable. The beta
cluster is a much more reliable place to test language links so let's rely on that
instead.
* Drop unnecessary heading check from "Successful edit" scenario. It's unnecessary
and flakey (presumably given the title doesn't change)
* Rename test scenario and remove a duplicate scenario

Depends-On: I888b3c546f77fa350853a7bf9bfbfbeb8ed6de67
Change-Id: I45792a95df7fd4c3299accbffadfa447baefe0ce
2018-06-08 19:59:05 +00:00
Translation updater bot f44487d966 Localisation updates from https://translatewiki.net.
Change-Id: Iaf0ca081057af1c691a4edc6d3da674b2d8ea140
2018-06-07 23:22:44 +02:00
jenkins-bot a0dfcf4e75 Merge "Add "center" layout rules based on mediawiki.skinning in core." 2018-06-06 12:33:55 +00:00
Jan Drewniak 81ef4caaa7 Add "center" layout rules based on mediawiki.skinning in core.
Bug: T193595
Change-Id: I2fa991c68786be95a82132ff720ed6e61074bc99
2018-06-06 11:46:40 +00:00
jenkins-bot 92a6e01791 Merge "Provide gender parameter" 2018-06-06 08:22:36 +00:00
Translation updater bot cb451329df Localisation updates from https://translatewiki.net.
Change-Id: I92744971543f5887470e4617d0a245bea875d6c2
2018-06-05 22:01:16 +02:00
Piotr Miazga 52e8e93020 Provide gender parameter
Bug: T194868
Change-Id: I20fb6aee13c6bf7bc66bf3cae9560548a336e04d
2018-06-05 16:40:11 +02:00
Translation updater bot b3a4721574 Localisation updates from https://translatewiki.net.
Change-Id: I4bc48e46f892ebc96c949ddb7d8c00dc0f847f70
2018-06-04 22:30:15 +02:00
David Lynch e91295a5ea Fix action!=edit opening the editor
Bug: T196150
Change-Id: I5bd4b5ce231f5269676d0706e6762f33f6faa344
2018-06-04 10:20:22 -05:00
Translation updater bot ec83db7d2d Localisation updates from https://translatewiki.net.
Change-Id: If0651c8ef93de7d48817a4601ced88ffad347b50
2018-06-03 22:19:08 +02:00
Translation updater bot 32c067a48b Localisation updates from https://translatewiki.net.
Change-Id: Ide2d306b112d242542927d141a34cfe792d601c3
2018-06-02 22:27:07 +02:00
Translation updater bot 6614ffba59 Localisation updates from https://translatewiki.net.
Change-Id: I1b90996e0889ee8fb1105ade08bc0bf643cbfb31
2018-06-01 22:07:11 +02:00
jenkins-bot 86330f25d8 Merge "Don't turn off listening to reference clicks" 2018-05-31 20:19:25 +00:00
Translation updater bot e2b81c328a Localisation updates from https://translatewiki.net.
Change-Id: I70b88aff9e93c8f3f5d2a3691c9b0ff581ac3ddd
2018-05-31 22:12:03 +02:00
Baha ee9ec00234 Don't turn off listening to reference clicks
For event logging purposes we need to be able to listen to reference and
backlink clicks. Clicks on these elements were disabled before this patch.

Although clicking on backlinks was disabled, it wasn't working properly
as the user could click on those links and be taken to the reference.
Thus this piece of code has been removed.

Bug: T191086
Change-Id: Idbaa39523a35f3b649f521be05c83255aa2b1396
2018-05-31 20:10:31 +00:00
Volker E 8f0e102211 Remove special font-size treatment of VE overlay
Reverting of I6b8a031c2d78785604070ff5fc1c7242bbbc080f as first step
of resolving issues and complex inheritance of VE mobile tools CSS.

Bug: T195791
Change-Id: Ief66c0d3565d3b67399e5aa2a749035a9a4b47bc
2018-05-31 17:36:58 +02:00
Translation updater bot 4e19596f26 Localisation updates from https://translatewiki.net.
Change-Id: Id4df4c0da2588440704a5d88e162c30870574b85
2018-05-30 22:09:59 +02:00
Fomafix 648491015c Allow type Language for $lang of doEditSectionLink
wfGetLangObj() allows type Language already.

Change-Id: Ibe295e7020e995eea52e319feaf59c635f8bb4dc
2018-05-30 14:40:25 +00:00
jenkins-bot e08d4a4af4 Merge "Edit infobox style to properly position captions" 2018-05-30 09:54:26 +00:00
Translation updater bot 9902ac7a03 Localisation updates from https://translatewiki.net.
Change-Id: I96ab03135b2b9934c29758d3d0cc6032d325338e
2018-05-29 22:05:24 +02:00
Timo Tijhof 64134bd8a6 Remove minerva.less from global import path
Use local imports instead given all relevant files are within the
same repository, and don't vary by configuraion.

Bug: T140807
Depends-On: If3edac9a35b346af0320c12f70c0d978a6346201
Change-Id: Ife3cc345a63aff452e93accbe0a593fbaa358732
2018-05-29 12:19:00 +00:00
Timo Tijhof 91a3adacb7 Move remaining Minerva skinStyles from MobileFrontend
To be removed in MobileFrontend by If3edac9a35b346a.

Bug: T140807
Change-Id: Ifb073d1e67602b80e0e9b45f338806f5b9cb675b
2018-05-29 09:30:48 +00:00
Piotr Miazga 5a1a9c1b03 Add gender support to skin-minerva-blocked-drawer-creator-header
Bug: T194868
Change-Id: If0ab25dd349a8fc90a7818fc6af257199b5f7f99
2018-05-28 22:51:12 +02:00