Commit graph

2619 commits

Author SHA1 Message Date
jdlrobson 65670fbce3 Do not assume MobileFrontend special pages exist
If they don't exist attempts to use them will throw errors.
This will only happen if MobileFrontend is not installed

Change-Id: Iee674011bbd59d79914a144d1738b912eceea6b1
2017-08-16 14:34:26 -05:00
Volker E 875d31b03b Hygiene: Remove unnecessary Less vars
Removing unnecessary Less vars, which are not in use any more.
Also slightly modifying code comment for better code style.

Change-Id: I6e2417561afb03225eaca99ea93135f975a51593
2017-08-16 18:13:09 +00:00
Baha 97b2ddfa11 Remove first heading padding
The page actions have been brought down to the next line for all screen sizes
in Ie9ba7df0a0f052948d46b6a9b14a3bbcef2b99fe. There's no need to reserve the
space now.

Bug: T171608
Change-Id: I24d54124049895eee38da8de553b7dc15976235a
2017-08-16 11:56:59 -04:00
jdlrobson a226dba8f7 Add MinervaNeue Doxyfile
We forgot to copy this across when migrating Minerva out of
MobileFrontend.

Bug: T173255
Change-Id: I449d2a0705fe12d6edec332b5a2275dd85e1b189
2017-08-15 15:31:57 +00:00
Baha bea5dbde62 Don't float article actions on tablets
Bug: T171608
Change-Id: Ie9ba7df0a0f052948d46b6a9b14a3bbcef2b99fe
2017-08-14 12:43:34 -04:00
Translation updater bot cd376fdd6d Localisation updates from https://translatewiki.net.
Change-Id: Ia222bee09f0636ad0909f95fc7b732855e90314e
2017-08-13 22:14:47 +02:00
Amire80 928a62400f Add skinname-minervaneue for translation
Bug: T173242
Change-Id: I1f60acaa525eaba3451ff1b407e6e5c46ec2db3b
2017-08-13 09:06:43 -04:00
Translation updater bot d13e6eecc7 Localisation updates from https://translatewiki.net.
Change-Id: Ia7414712b567ffc9d62beaee4255ee896021d7f2
2017-08-11 22:07:14 +02:00
Bartosz Dziewoński 9966799990 Add skin screenshot for the installer
Bug: T68295
Change-Id: If24a4b3e4ab46ab42c40737888d4a531d00b54a0
2017-08-11 15:36:05 -04:00
jenkins-bot 94465bc7cf Merge "MobileFrontend should be responsible for adding mobile.site module" 2017-08-11 17:31:24 +00:00
jdlrobson e1ee63d4af MobileFrontend should be responsible for adding mobile.site module
Change-Id: I4508762629333c96dc6b11f6c0f63b675b367209
Depends-On: I094a57532a4e7dac47d06f25c56dbd4935ec707c
Bug: T171062
2017-08-11 11:44:49 -05:00
Translation updater bot 837df2a20b Localisation updates from https://translatewiki.net.
Change-Id: I8cfbf3e33459d169daaf5893a2e30b326590597a
2017-08-10 22:33:01 +02:00
Volker E b3e0ce2bae Replace abandoned color with current WikimediaUI one
Replacing abandoned `@colorGray13` (`#ddd`) with
appropriate variable from WikimediaUI color palette and
remove unneeded `@chromeContentSeparator` var, which is
just used once and not in place with `.header` anyways.

Additional changes:
* Also aligning `border` values to each other.

Bug: T146799
Bug: T172850
Change-Id: Ia9a1736b1ea5fa080b4673038b2c23ddce90f135
2017-08-10 18:06:24 +00:00
Derk-Jan Hartman 56d16e894b Make sure that all buttons in the actions area have pointer
Also include a elements here, as a elements without href, as is used
in some places in Minerva, does not have a pointer by default.

Bug: T145493
Change-Id: I08d9176e55ec298c9d423d391b6fb4ed5e9df5e7
2017-08-10 09:32:04 -04:00
jenkins-bot 4486bb7ba9 Merge "QA: Simplify toast notification step some more" 2017-08-09 21:59:38 +00:00
Translation updater bot 0e3778940a Localisation updates from https://translatewiki.net.
Change-Id: I370b470b44b892e937b4b767b6c37a32c18868ff
2017-08-09 21:59:56 +02:00
jdlrobson ccccffa9c0 QA: Simplify toast notification step some more
If mediawiki.notification has loaded that should be enough to assume
the toast is ready to have its text checked.

Change-Id: Ic546877eae0ea6dd59dbf88bf9267bcd1957f779
2017-08-09 14:56:36 -05:00
jenkins-bot e202a28da9 Merge "QA: Disable browser tests in @chrome" 2017-08-09 17:00:26 +00:00
jdlrobson 30de345e97 QA: Disable browser tests in @chrome
These are failing consistently due to T172835. Let's not run it in the
@chrome job and just rely on the Firefox coverage. We'll keep one test
in @chrome as it runs in integration mode (per commit).

Change-Id: Ic417148574208389b66249b2d98e009beef70fa2
2017-08-09 16:54:45 +00:00
jenkins-bot 43e1a5f0a8 Merge "Disable magnify icon in Parsoid output" 2017-08-09 16:30:36 +00:00
Translation updater bot 8abcc5fdc8 Localisation updates from https://translatewiki.net.
Change-Id: I773b094554937e2214672ee8a3b89c49e9161152
2017-08-08 22:00:37 +02:00
jdlrobson f6df202786 QA: Relax toast notification QA steps
It seems trying to test both the steps can cause
false positives. Relaxing these checks seems to make
our Jenkins job happy without breaking the tests themselves

Change-Id: I119111e97f23d2f0dac7cbb0e5b86c1df0562598
2017-08-08 11:56:21 -05:00
jenkins-bot c2cad50d50 Merge "QA: Adjustments to account for slow loading of mediawiki.notifications" 2017-08-08 15:02:51 +00:00
jenkins-bot 615350518f Merge "Hygiene: The main page check is not necessary" 2017-08-08 14:27:38 +00:00
Volker E f4aaea0401 Replace @colorGray6 with appropriate WikimediaUI palette color
Replacing `@colorGray6` with appropriate closest color (semantic variable)
with slightly increased contrast.

Bug: T146799
Change-Id: I067973dca580eddc09b770362183d7a5b1634b7c
2017-08-08 11:29:30 +02:00
jdlrobson 96d4955834 QA: Adjustments to account for slow loading of mediawiki.notifications
Changes:
* Use css rather than class for finding toast
* Correct a test typo
* Add a step to wait until the mediawiki.notification module
has been loaded

Bug: T170890
Change-Id: I86e48e00ebb83772149da7c7f20097b5436a0cf5
2017-08-08 00:30:09 +00:00
Translation updater bot 425deae3a4 Localisation updates from https://translatewiki.net.
Change-Id: Ia2a4b1e362214986636d008b195d2045c41d56d0
2017-08-07 21:57:50 +02:00
Translation updater bot 4ddc0b67f4 Localisation updates from https://translatewiki.net.
Change-Id: I04c25899436d56e8933ddda55ebe0fa8012a6273
2017-08-06 22:04:40 +02:00
Translation updater bot e55f3db77d Localisation updates from https://translatewiki.net.
Change-Id: I37d7a0ebededbb818098dfe3affb3f350e3fabcc
2017-08-05 22:01:43 +02:00
jdlrobson f4ec2330e2 Don't output empty footer items in desktop Minerva
These fields can be false. Make sure we don't output them

Change-Id: If40c27f85e61558d09b14f4f4cfe394f581929b5
2017-08-04 07:51:48 -07:00
jdlrobson b478393e5e Hygiene: The main page check is not necessary
The main page in the Minerva skin is not editable so this code is
just cruft. T89559 no longer applies.

Change-Id: Ifcd30be0d4e328b056cc7fcfb714c9783b62c913
2017-08-03 15:58:18 -07:00
Translation updater bot 05734ca433 Localisation updates from https://translatewiki.net.
Change-Id: Ib3d3c173d674fb3bf43f12c11f38906d90ac9c25
2017-08-02 23:06:12 +02:00
jdlrobson 7e7e532bfb Relax navbox hack
Per discussion in T172078 let's relax these rules so navbox shows
up in the desktop mode of the site.

Note: this will not impact the mobile site as navboxes are stripped
from the HTML.

Bug: T172078
Change-Id: I59d229d75dbcb790eb75dc4b838b2afafd2f3980
2017-08-02 15:14:59 +00:00
jenkins-bot 9a6770ee18 Merge "Use lead section when editing page without section marks" 2017-08-02 14:49:18 +00:00
jdlrobson a93cd66026 Style Parsoid generated references
Bug: T171727
Change-Id: I34838562360ec7d4fc55e1f3a7dad8a926e4da52
2017-08-02 14:43:36 +00:00
Baha 975d632d12 Use lead section when editing page without section marks
The config variable `MFNamespacesWithoutCollapsibleSections` controls
namespaces where section collapsing is disabled. In those namespaces
page is not divided into sections marked with `.mf-section-X` classes.
If that's the case the edit button edits the first section, which is
the whole page.

Bug: T157995
Change-Id: I3ec353575529c1fb11a33fc35c9886cf232e327f
2017-08-01 19:01:20 -04:00
jenkins-bot 61f26498a1 Merge "QA: Make sure toast is not empty before checking text value" 2017-08-01 20:59:12 +00:00
Translation updater bot e9f5596ae1 Localisation updates from https://translatewiki.net.
Change-Id: I6e5b1704ff000e4a68eeec7fc6934d882a688c74
2017-08-01 22:10:55 +02:00
jdlrobson ebef44d0fe QA: Make sure toast is not empty before checking text value
Copies approach for the text of the first heading should be
accounting for the fact that the toast can have an empty
message "" at any given time.

Bug: T170890
Change-Id: Iba8a503a2aea30cb46fba27f000843183e9c46f1
2017-08-01 12:59:54 -07:00
jenkins-bot 8803101c52 Merge "Blank parsoid styles, update thumbnail selectors for Parsoid content" 2017-08-01 00:22:04 +00:00
jdlrobson 0f93115725 QA: Minor tweaks to how we check toast notifications
A toast autohides within 5 seconds and its display properties are
inherited from #mw-notification-area. This slight tweak waits for
mw-notification-area to be visible before verifying toast and its
contents

Change-Id: I89beaf9d131155e958cc9aae84a9e30ffd8e9e4f
2017-07-31 15:13:00 -07:00
jenkins-bot 9243513749 Merge "Show cursor:text when pointing over search input" 2017-07-31 21:36:54 +00:00
jenkins-bot 7ca52b012c Merge "Make sure lead section exists before accessing its method" 2017-07-31 21:30:47 +00:00
Translation updater bot 5b6349f8ae Localisation updates from https://translatewiki.net.
Change-Id: Ia0fec489e5d5b70c0aa2e1dc112fa08c2c613ac1
2017-07-31 22:12:06 +02:00
jenkins-bot ebb0ef89b7 Merge "Show title on the page named '0'" 2017-07-31 19:44:19 +00:00
Baha 6f8b3d040c Make sure lead section exists before accessing its method
The `getLeadSectionElement` method of `Page` may return a `null`. Do
not try to access the `text` method of the returned object if it's
`null`.

Bug: T157995
Change-Id: Ia752fa52d1b09a307dc4b803a6b7e1bdcfe7f867
2017-07-31 15:21:06 -04:00
Piotr Miazga a0e390a9e5 Show cursor:text when pointing over search input
Changes:
 -  added styles pointer:text for #searchInput element

Bug: T161763
Change-Id: I39050a3e81c6b2e014f8955df188629a025ef2c1
2017-07-31 20:26:25 +02:00
Antoine Musso 061019ddb2 Define npm peer dependency explicitly
npm 3 requires dependencies to be explicitly defined.

Bug: T172094
Change-Id: Ic640ccf0f577e47036d473892522ea758014fab4
2017-07-31 12:22:45 +00:00
Translation updater bot 9d39e445a1 Localisation updates from https://translatewiki.net.
Change-Id: I4200d7b41804d7ee18d0eac22994113a46340ac0
2017-07-30 22:14:06 +02:00
Eddie Greiner-Petter b0384c4314 Show title on the page named '0'
The string '0' evals to false in the if( $pageTitle ) condition, hence
the title was not shown for the page named '0'.

Bug: T163084
Change-Id: I27ab379bf67634c484c4cf5e12e391d69702f464
2017-07-30 19:50:34 +02:00