Commit graph

609 commits

Author SHA1 Message Date
jdlrobson 1cbfd714d1 Fix CSS selector output in print stylesheet
Less doesn't allow to nest like this. It creates the invalid selector
`.vector-experimental-print-stylesbody`

This is a follow up to I453ae43099796a74c39d965b796f2fa13942106c

Bug: T169823
Change-Id: I9cc2f474fdcafdcc68378185391607b72b0f667a
2017-07-25 11:29:43 +00:00
jenkins-bot 1c54b94bc8 Merge "Experimental table of content print styles" 2017-07-21 20:42:28 +00:00
jenkins-bot 5dec71ecd4 Merge "Feature flagged print styles" 2017-07-21 20:41:05 +00:00
Translation updater bot a3b223d001 Localisation updates from https://translatewiki.net.
Change-Id: I89275f2a8b0c05a63a7d9fe7610a1d1f0e0eaa61
2017-07-21 22:06:26 +02:00
jdlrobson 8b9c485580 Experimental table of content print styles
* Provide sense of hierarchy
* Make full width
* Break pages before and after

Bug: T169823
Change-Id: I8a20c70b550de5bfda638873d180ea97880dfd13
2017-07-21 10:45:01 -07:00
jenkins-bot c59d00982e Merge "Remove irritating transition on menu tabs" 2017-07-20 21:50:30 +00:00
Volker E 7a42af066b Remove irritating transition on menu tabs
Removing irritating dropdown arrow position transition
on menu tabs. It is the only place we're using this and it seems obscure
and not helpful to the users from UI Standardization point of view.

Bug: T68698
Change-Id: I8d30108b86b47358349de2ea424c0ba7f67ee7e2
2017-07-20 21:20:59 +00:00
Translation updater bot f5214fa397 Localisation updates from https://translatewiki.net.
Change-Id: I51d3e822edb6a1fc5734a2f3ecf13afb31280200
2017-07-20 22:11:55 +02:00
jdlrobson 3a3e7ac046 Feature flagged print styles
These are feature flagged to allow editors to test before making
them the default. A class is added to the body tag to allow us
to switch between old and new styles at a later date.

To start with we introduce some typography improvements.
Further iterations will focus on other elements.

Changes:
* headings were previously diluted in the body content and difficult to spot.
This evens out the spacing between last content and its own content block.
* clear ownership of <p>s with its heading
* We would like to match Latex style body typography with single column.
The new styles reduce the number of pages by around 20-25%
* hyperlink underline -
This is a community requested feature. We do not use color in print styles
because it's printer friendly. Because of this, it is not possible to indicate
blue links in articles. If a user wants to know if this article exists on wikipedia,
it's not possible given solution.
We would like to underline the <a> tags in print styles.
it's better for accessibility as well.

Bug: T169823
Change-Id: I453ae43099796a74c39d965b796f2fa13942106c
2017-07-20 11:54:55 -07:00
golopot 3f19c24696 Fix misaligned menu tabs
Ensure vertical alignment of menu tabs (for example “More” button) 
with link-only tabs by setting:

* `padding-top: 1.25em;` as on `div.vectorTabs span a`
* `line-height: 1.125em;` as on `div.vectorTabs ul li`

Bug: T171142
Change-Id: Ic4ef86589c6c3d442035f3d768cb9036e1ecc237
2017-07-20 14:14:15 +00:00
jdlrobson c4bab69e96 Don't print #siteSub
Bug: T169823
Change-Id: I45f0abe6ab9378830fa59356b29ff6953962f477
2017-07-18 14:14:15 -07:00
Translation updater bot d39eec0e35 Localisation updates from https://translatewiki.net.
Change-Id: I4004ce8ead79b6c804cf98809411d97ee317d5a0
2017-07-17 22:17:21 +02:00
jenkins-bot 1c03a59ba6 Merge "Remove position: absolute from #p-logo element" 2017-07-15 00:28:45 +00:00
Translation updater bot e967b5ba85 Localisation updates from https://translatewiki.net.
Change-Id: I01d3273ac68bad9c33c69f67c55e43001a6dcea8
2017-07-14 22:04:09 +02:00
Translation updater bot 759c416a12 Localisation updates from https://translatewiki.net.
Change-Id: I349ea91dd144e000f2d7a86aa725760f43c3bfe5
2017-07-13 22:17:18 +02:00
golopot ffc0837bf3 Remove position: absolute from #p-logo element
This was inherited from Monobook (r2881, b52a2a1567).

The #mw-panel (sidebar) was at `top: 160px`.
The #p-logo was at `top: -160px`.
This looks hacky so I set #mw-panel `top: 0`.

Bug: T170053
Change-Id: Ifb99ff36e3a9c530c944df2ea0a6c75759045c1c
2017-07-13 16:28:08 +08:00
Fomafix 56ec1a3c87 Remove <div> inside of the <h3>
The <div> was introduced in aba11a7b but this is not valid in HTML 5.

This change ommits the <div> and attaches the background image to the
existing <span>.

Cached HTML with the <div></div> does not matter for the result.

Bug: T169551
Change-Id: I04f7032b6f6bafe10548fde690f55de66b56f61f
2017-07-12 06:21:51 +02:00
jenkins-bot 40699a9a28 Merge "Remove unused selectors for action menu" 2017-07-11 23:45:36 +00:00
Fomafix 5c363643a7 Remove unused selectors for action menu
This change is a follow-up to aba11a7b1c.
Do not deploy this change until HTML cache from before aba11a7b1c expired.

Change-Id: I631260d58229b1b70e2d4e55f8302f9769de3511
2017-07-11 02:59:14 +00:00
Translation updater bot 31d2f2ecba Localisation updates from https://translatewiki.net.
Change-Id: I9f147b1db2a9a487bbf1dd01bf6074bb4552ad90
2017-07-10 22:12:09 +02:00
Translation updater bot 8bc0f3ee74 Localisation updates from https://translatewiki.net.
Change-Id: I57d715864cc9e75a79ce61f416e91c301e213717
2017-07-08 22:03:54 +02:00
Translation updater bot 40596be82c Localisation updates from https://translatewiki.net.
Change-Id: I32d8cdda3dc1883e2a51475d87865761af6743cc
2017-07-07 23:40:35 +02:00
Umherirrender 7e88b1ba45 build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I7194b948cdae7832c25258d22f51cddbc1dd49dc
2017-07-07 21:25:39 +02:00
Translation updater bot 4a548260ec Localisation updates from https://translatewiki.net.
Change-Id: Id2bcfcc8fb192e7d618dda42433202440e3b7f5e
2017-07-06 22:02:58 +02:00
Translation updater bot 04f955d5bb Localisation updates from https://translatewiki.net.
Change-Id: Ifd8aaa53bf10d7eae80d6018b818173d05332193
2017-07-05 22:00:55 +02:00
jdlrobson e53b4cf522 Vector should operate in responsive mode when the mobile skin
With MobileFrontend installed applying
?useskin=vector&useformat=mobile will ensure that responsive vector
mode is invoked.

I'm keen to do this, as it would help to have more examples of skins
that are MobileFrontend aware as part of the work I am doing in
T166748

Change-Id: I81edd855a5e96400d1179fb10907fcc30ea43ef7
2017-07-03 15:57:49 -07:00
Translation updater bot ef8fc08532 Localisation updates from https://translatewiki.net.
Change-Id: Ie59a1f6cca4cc8da0b78f68a9238fac09aa1a199
2017-06-29 22:25:26 +02:00
Translation updater bot fe57327b33 Localisation updates from https://translatewiki.net.
Change-Id: Ia7b4209901b5459e5b6b8961e63f87bbe16204b7
2017-06-28 22:10:54 +02:00
Translation updater bot b72b0e2d06 Localisation updates from https://translatewiki.net.
Change-Id: I20054fa3fa14f5927cc6d553ccb0a59ff48d8fbc
2017-06-27 21:58:35 +02:00
Translation updater bot f184b27b8b Localisation updates from https://translatewiki.net.
Change-Id: Ic3562ce21d350b3838bef114a21e27a3186dce80
2017-06-25 22:24:54 +02:00
jenkins-bot a80c3abeb1 Merge "build: Updating mediawiki/mediawiki-codesniffer to 0.9.0" 2017-06-24 20:42:38 +00:00
Umherirrender 40167a9335 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
Change-Id: I5d9643f9a0dc33c05b7404a88209d244b4badae3
2017-06-23 22:06:01 +02:00
Translation updater bot f8a2308644 Localisation updates from https://translatewiki.net.
Change-Id: I4870e6d0f6661e0b0e576d20ed5fa57f4dfb81ed
2017-06-23 22:04:21 +02:00
jenkins-bot c48647267f Merge "Use same left margin (0.5em/8px) for all sidebar items" 2017-06-23 15:05:32 +00:00
Translation updater bot 763f892dd1 Localisation updates from https://translatewiki.net.
Change-Id: I56c5b1b7de5c8c11f974c1465341c8540ff229f4
2017-06-22 22:11:58 +02:00
Ed Sanders b85dd78e0f Use same left margin (0.5em/8px) for all sidebar items
Bug: T168598
Change-Id: Ice96ba4b7d0af3312baff69a6bb4c34e6e12c205
2017-06-22 12:08:54 -07:00
jenkins-bot c3f5aea44b Merge "Use <div> instead of <a> for action menu" 2017-06-21 21:50:52 +00:00
Translation updater bot a1388940a0 Localisation updates from https://translatewiki.net.
Change-Id: Iac8d76d2cb412f0655d32fac9363763093953056
2017-06-21 22:13:02 +02:00
jenkins-bot 1a0fd95d8f Merge "Optimization: move styles specific to redirect pages out of common.less" 2017-06-21 17:36:50 +00:00
Translation updater bot a1ca3c0128 Localisation updates from https://translatewiki.net.
Change-Id: I8e9982108bcb07ac7555eee8de8b99f8014f5c9d
2017-06-20 22:13:45 +02:00
Translation updater bot 9bd13136fe Localisation updates from https://translatewiki.net.
Change-Id: Idc39f56da5df5880f6e1cd73a583f5f06ccae286
2017-06-18 22:03:41 +02:00
Translation updater bot 4ef65bbb24 Localisation updates from https://translatewiki.net.
Change-Id: I847149f6bf123e1121014ace992fe1d6abb248bd
2017-06-15 22:01:50 +02:00
Jack Phoenix d575e3878a Optimization: move styles specific to redirect pages out of common.less
HT MatmaRex

Change-Id: I6169692547378379dbc935976ad83cf4f366eeeb
2017-06-15 16:13:42 +03:00
Translation updater bot 94f524fb09 Localisation updates from https://translatewiki.net.
Change-Id: Id698d1ed1497e72d6001e6e2aa746fb14ec2ac40
2017-06-10 23:41:40 +02:00
Translation updater bot 1ec5e04cc7 Localisation updates from https://translatewiki.net.
Change-Id: Iac895d1607bbe095607ef1f233e44c6c25e07bea
2017-06-08 21:56:49 +02:00
Amir Sarabadani 853a97bf3b Add CODE_OF_CONDUCT.md
Bug: T165540
Change-Id: Ie245d12e25a9cb1993aa8ea261ffaccffc114542
2017-06-07 13:51:49 +04:30
Fomafix aba11a7b1c Use <div> instead of <a> for action menu
This change prevents that a middle click opens a new tab with the URL "#" and
prevents a wired outline around the button when selected of focused in Chrome.

The selector "> a" will be removed in a separate change which must get
deployed not before the HTML cache has expired.

Bug: T44241
Bug: T68388
Change-Id: I7255552d3bdec9e40727721b91630623ae24a08b
2017-06-06 08:02:49 +02:00
Translation updater bot 48552ac840 Localisation updates from https://translatewiki.net.
Change-Id: Ib045d0a333c6273059e598b82fbd3c3775e1bb76
2017-05-26 22:06:17 +02:00
Translation updater bot 3a470cb0b8 Localisation updates from https://translatewiki.net.
Change-Id: I15dd1b8c197001ef6c688b847da183f8a6d2d03b
2017-05-25 22:07:11 +02:00
Translation updater bot e39d349172 Localisation updates from https://translatewiki.net.
Change-Id: I9ae7eb996fd18a1690ced445882d6919b5d99180
2017-05-23 22:14:31 +02:00