Commit Graph

725 Commits

Author SHA1 Message Date
Translation updater bot f53efa37eb Localisation updates from https://translatewiki.net.
Change-Id: I0738bcf226617b1719f8ccd49ee64452761f5925
2017-11-12 22:01:44 +01:00
Translation updater bot 3a6ed3e300 Localisation updates from https://translatewiki.net.
Change-Id: Ibbaa491b4f3cffeb3fe72869343088c544b36fa7
2017-11-11 22:00:22 +01:00
Bartosz Dziewoński e4b05ae836 Revert "Fix reversed nav elements when viewing cached HTML"
No longer needed for Wikimedia wikis after the HTML caches expired.
This reverts commit e951a09913.

Change-Id: I5eda153e3368f6a7f9d2f88e336e02b65d01f2b5
2017-11-10 19:17:57 +01:00
Bartosz Dziewoński ff2f37bc7c Use 'color' to change lightness of "More" menu label rather than 'opacity'
Changing 'opacity' from 1 to other values can cause the browser to use
a different text rendering method, producing unpleasant effects.

We still have to use 'opacity' to change the lightness of the arrow
icon, so move it into an :after pseudoelement.

Bug: T179988
Change-Id: I19c5eafb9ab7e652f2661144abc1e03b381f5ff4
2017-11-07 23:37:46 +01:00
Volker E 29c515ae3f Align VectorMenu items and unify `padding` with tabs
Aligning VectorMenu items horizontally with menu handle and
set `padding` consistently to `8px` – taking into account
different `font-size`.
Also removing unnecessary duplication of `margin-top` as `margin`
is set in same rule.

Bug: T179782
Change-Id: I30e9b4e50589ef09a0e5dcb0e6c4486e7779a39d
2017-11-07 20:46:33 +00:00
Translation updater bot 0677fc17d4 Localisation updates from https://translatewiki.net.
Change-Id: If769a8bb0cac8db88ed406bd02304e1759fe64c7
2017-11-04 22:07:46 +01:00
jenkins-bot 1582f981ec Merge "Print styles in Vector are no longer feature flagged" 2017-11-03 23:36:02 +00:00
Translation updater bot cc2a9c8870 Localisation updates from https://translatewiki.net.
Change-Id: I17d7753a682f9216e4d1352be0513fd3bd6cbe5c
2017-11-03 21:58:51 +01:00
jdlrobson c863b94302 Print styles in Vector are no longer feature flagged
Remove feature flagging of print styles

Changes:
* Merge experimental module into skins.vector.styles
* Update skins.vector.styles RL class to support LESS variable
* Remove feature flag class in HTML and LESS (update indents in
LESS file)

Bug: T178028
Change-Id: I8d5c59c5c9f415ffbd7fa41a512cbea87887e9e7
2017-11-02 11:04:58 -07:00
Translation updater bot 1ed289f520 Localisation updates from https://translatewiki.net.
Change-Id: Ib6655db681bfa6aa34d66bc2715d5dde74be1f9f
2017-10-31 21:59:35 +01:00
Volker E f769c088b9 Optimize SVGs and align to WikimediaUI color palette
Optimize and unify markup of SVGs and align to
WikimediaUI color palette where easily applicable.
Also removing three unused image files.

Bug: T153043
Bug: T178867
Change-Id: Ied457ef84357374e66db9e1936ce1b754d53cfdb
2017-10-24 01:18:07 -07:00
Translation updater bot 3717ca9a6c Localisation updates from https://translatewiki.net.
Change-Id: I2e582de41e1f0b1cd1628cf4778494316bc81f8b
2017-10-23 22:27:20 +02:00
Translation updater bot adcac3ad70 Localisation updates from https://translatewiki.net.
Change-Id: I3786591774ddf31c76dc9f8f7ece5fa2c7c4c362
2017-10-22 00:16:53 +02:00
libraryupgrader 0317d33fb4 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I234f4396d7ab0408179b2cf873749b5aabb88a28
2017-10-21 04:35:15 +00:00
jdlrobson 65b6ba3fbf Clear any floats before the print footer
Bug: T178656
Change-Id: I6291e8ac53240e4e2f1899213a516d27dba95bd5
2017-10-20 13:21:58 -07:00
Translation updater bot c3e8b0ea4d Localisation updates from https://translatewiki.net.
Change-Id: I13aa4a491054fccdb7f7fde67129cc91dbd8ff16
2017-10-20 22:01:51 +02:00
Volker E e2c9a585e4 Bring menu tab appearance closer to standard widgets
Bringing appearance and behaviour closer to standard widget like
DropdownWidget:
- Amending color to be (closest) aligned to WikimediaUI color
  palette, but switch normal and `:hover`/`:focus` state in order not
  to be too disruptive of a change and align with rest of Vector tabs,
- removing obsolete JS functionality as IE 6 as only major browser
  affected does receive the menu items as tabs nonetheless and replacing
  with simple CSS selector,
- removing unnecessary and obsolete images and
- Lessifying selector

Bug: T153043
Change-Id: Ia15480162bb8f923d0e9b6e42ca90c2c880978de
2017-10-19 23:24:15 +00:00
Translation updater bot 5184bb24ca Localisation updates from https://translatewiki.net.
Change-Id: Ib7805596b37103ec06ba866ce97e7679dae2382a
2017-10-19 22:06:05 +02:00
Translation updater bot 105a8767b6 Localisation updates from https://translatewiki.net.
Change-Id: Ib32a9537f0bdaa7a4675b7051c69c3a8a01d29fd
2017-10-18 21:59:02 +02:00
Translation updater bot a68c79c9e0 Localisation updates from https://translatewiki.net.
Change-Id: If062283eeefabd404d93a04a2119f2e952ec0301
2017-10-17 22:14:40 +02:00
jenkins-bot d604fb5cef Merge "Print logo should use an absolute URI" 2017-10-11 19:43:05 +00:00
jdlrobson e2e3acf76a Print logo should use an absolute URI
The logo is configured as a relative URL.
CSSMin encodeImageAsDataURI requires a file path.

There seems to be no reason to use a data uri here.
The print stylesheet is loaded on page load so the image
will be downloaded before a print action takes place.

Inspecting I788bcecadf26e4e5558b5b37e6fb1b2e9378277e
using a data uri makes little difference to the synchronous
nature of a print.

Bug: T177800
Change-Id: I0254ae8e360f09fe1c786695510550c7fec02026
2017-10-11 19:06:29 +00:00
Volker E 0d95e5b6cd simpleSearch: Reduce selector specificity & clean up
Reducing selector specificity and cleaning up CSS as in reducing
properties and putting main colors on top of selectors.

Change-Id: I91959f07404382fcc143607ab4cd5cf0c9aed13e
2017-10-09 17:44:34 -07:00
Volker E 7060ec573f Align simpleSearch `border` with inputs elsewhere
Aligning
- `border-color`
- `:hover` `border-color`
- `border-radius`
and introducing `transition` to be on par with inputs elsewhere.

Bug: T177808
Change-Id: I41c2719c13935d07f4310c0c752bdfc7377d8670
2017-10-09 17:36:59 -07:00
jenkins-bot f30141fdc3 Merge "Remove fallback color from tabs" 2017-10-09 16:17:46 +00:00
Volker E c163acbdc7 Replace footer text color with WikimediaUI color palette one
Very subtle change from `#333` to tad higher contrast `#222`.

Bug: T153043
Change-Id: I705d03f9c79eafd4569e8ed321939d1044245f59
2017-10-07 20:47:10 -07:00
Volker E 84d1510a38 Remove fallback color from tabs
Removing fallback color from Vector tabs, that isn't part of
WikimediaUI color palette and isn't needed at all resulting
in a worse than necessary appearance.

Bug: T153043
Bug: T168420
Change-Id: Ia9790435dd3ec4df47b70d1a007fca7af79686c9
2017-10-07 18:13:19 -07:00
jenkins-bot 9b58823eeb Merge "Do not special-case ULS and "Not logged in" in RTL in personal bar" 2017-10-04 17:36:57 +00:00
Bartosz Dziewoński b677192582 Do not special-case ULS and "Not logged in" in RTL in personal bar
Follow-up to 5d0a07bf9d.

Bug: T48947
Bug: T177312
Change-Id: I65c0961d19885c262fdaebf4ee199e1d1e6d5fe6
2017-10-04 18:58:10 +02:00
Bartosz Dziewoński 3c542f3078 Fix applying of focus styles to .vectorMenu handle
The .vectorMenuFocus class was being added on the wrong element, so
the styles for it never kicked in. I think this has been broken since
4fabc910d2e1bb4581ac7a80f019bd22758d089b (August 2013), which is
understandable since the style change is near impossible to notice
(the little triangle arrow turns a slightly lighter shade of grey).

Change-Id: I0f7881afde9e01061aacf009033255774d0acd8d
2017-10-03 19:50:51 +02:00
Bartosz Dziewoński 8db5779682 Do not use icon for "Watch" link when it is inside the "More" dropdown
Bug: T177106
Change-Id: Ia50817afe6395d8a52567599d23a232d6f07c0ce
2017-10-01 20:12:11 +02:00
Translation updater bot 467ae1cda4 Localisation updates from https://translatewiki.net.
Change-Id: Ie90a5113a734764fd758a43e3014b188ab05ac99
2017-09-30 22:02:50 +02:00
Translation updater bot 7318a4b975 Localisation updates from https://translatewiki.net.
Change-Id: I41881b0219ed3eb3c17406aabc44d1bc0153e2b0
2017-09-28 21:57:45 +02:00
jenkins-bot e56077fc0b Merge "Remove some unnecessary direction-specific CSS" 2017-09-28 14:05:30 +00:00
Bartosz Dziewoński 6b6c6ba762 Remove some unnecessary direction-specific CSS
Both of these survived across many rewrites, I tracked down the
original commits that added them:

* footer.less: Added in 6d5dca5a899d45512c1031c4235f26cc755b933b in
  MediaWiki core (rSVN62030) as a workaround for "weirdness" in IE 7.
  Users of IE 7 experience much worse weirdnesses when viewing pages
  these days.

* tabs.less: Added in 299d1f328c2ad1475c8a1ac19b4fa07fc087d239 in
  MediaWiki core (rSVN53247) under a generic label of "RTL fixes".
  After change 5d0a07bf9d this is
  actually a no-op.

Change-Id: Iac3d2a26438226a3e23e067780c4b2810ac4903f
2017-09-28 13:22:53 +00:00
Bartosz Dziewoński ee0cfe1833 Remove stray unnecessary @noflip
Follow-up to 5d0a07bf9d.
As it happens, it actually doesn't matter whether this
element has 'float: left' or 'float: right', the
rendering is exactly the same. Let's remove the @noflip
for consistency with .vectorTabs, .vectorMenu etc.

Change-Id: I167c5f6cab7fb85344a558b632b38cbca85fa37c
2017-09-28 04:23:07 +02:00
Bartosz Dziewoński e951a09913 Fix reversed nav elements when viewing cached HTML
Follow-up to 5d0a07bf9d.
See T48947#3641618 for a detailed explanation of the
problem this is fixing. Essentially, our CSS has to be
compatible with both new and old HTML to avoid problems
with cached pages on Wikimedia wikis. To do this, we
add a CSS class to the body and make the new CSS only
apply on pages that have this class. This patch should
be reverted when the caches expire.

Bug: T48947
Change-Id: Icf26e6690b59f470765b2634534d18d2df25ee2a
2017-09-28 04:23:01 +02:00
Translation updater bot 0d9e8ba154 Localisation updates from https://translatewiki.net.
Change-Id: I006e6f1a88dcc8127361a1e437a26d18efba78a8
2017-09-27 21:59:33 +02:00
Rammanoj 5d0a07bf9d Vector: Flip horizontal nav elements with CSS
Flip horizontal nav elements with CSS prperties in RTL(right-to-left) mode

Bug: T48947
Change-Id: I30a5837f84bcdeab205760644bfa40b12cefbece
2017-09-26 10:30:11 -05:00
Translation updater bot 5027acf693 Localisation updates from https://translatewiki.net.
Change-Id: I00ea816eceb2fb6f5cd5d9f0a55be60f8b5d141a
2017-09-25 21:57:14 +02:00
jenkins-bot e7677cb2e4 Merge "Print styles: fix breaking of table of contents" 2017-09-25 16:47:42 +00:00
libraryupgrader 458477e466 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I05171df79484c53a4aa97b57a1c3156e6d82aebd
2017-09-24 05:37:56 +00:00
Mukunda Modell e70a1d38b9 Consolidate duplicate CSS properties
I really should not have merged I30e0642d3cb93c4d9a8b2bdfb7f04912d8ca8649
without getting this fixed first.

Bug: T56919
Change-Id: I870591e63b89f05d7e3714081340c76dcf9f55ac
2017-09-22 21:06:28 +00:00
jenkins-bot 765a143a60 Merge "Tabs (Read / View Source / Search) collapsed under more in resolution < 700px" 2017-09-21 20:21:01 +00:00
Translation updater bot 62c5d00bc6 Localisation updates from https://translatewiki.net.
Change-Id: I395096d52eb34cb0ba21e9fadddbaa93cb308c65
2017-09-21 22:10:58 +02:00
Baha 2d3730ba8e Print styles: fix breaking of table of contents
By changing the display of the table of contents we'll make sure that it
doesn't try to occupy the whole page width. This is useful when an infobox is
floated to the right of the table of contents.

Bug: T174957
Change-Id: Ifc808bdd2b65867d14278b12735103c761fb8111
2017-09-21 16:06:51 -04:00
Rammanoj f74002b727 Tabs (Read / View Source / Search) collapsed under more in resolution < 700px
tabs such as read/view source are collapsed into more in screens
whose resolution is less than 700 px so that they don't wrap to
the next line and cover the content of the page

Bug: T56919
Change-Id: I30e0642d3cb93c4d9a8b2bdfb7f04912d8ca8649
2017-09-21 20:03:39 +00:00
Translation updater bot 1d86077dff Localisation updates from https://translatewiki.net.
Change-Id: I0e17b8c3303ec469667a757f5c8d7777e2bbf28a
2017-09-20 22:17:36 +02:00
Translation updater bot 85a66bf8ea Localisation updates from https://translatewiki.net.
Change-Id: If0d79757605c6f42c38cff1b9c13f0e94d3964ab
2017-09-18 22:25:21 +02:00
Translation updater bot f180d3ef82 Localisation updates from https://translatewiki.net.
Change-Id: I66d8507c7eb34612bb8db61b51abc0811cc9c93c
2017-09-17 21:57:30 +02:00