Commit graph

5095 commits

Author SHA1 Message Date
Translation updater bot 3744601d0f Localisation updates from https://translatewiki.net.
Change-Id: I99cac7bf4086e4f7d98ee878ddba945ac782d897
2015-02-19 21:47:04 +01:00
Translation updater bot b8ef6b2e03 Localisation updates from https://translatewiki.net.
Change-Id: Iabd9251663fa51d4246d41036c467ef693b5a769
2015-02-16 21:31:36 +01:00
jenkins-bot c75d8183c5 Merge "Support "rel" attributes on content action links (e.g. rel=archives)" 2015-02-15 01:10:54 +00:00
Matěj Grabovský fab055d6a1 Support "rel" attributes on content action links (e.g. rel=archives)
MediaWiki has provided rel=archives for the History link since v1.15.0
(Introduced in r45988 / 4299d27956.). However Vector never used that
property until now.

Change-Id: I398828b62795955a73823decf00fdbf8496aaeca
2015-02-15 01:10:00 +00:00
Bartosz Dziewoński 16e16eb075 Don't use JavaScript to style first sidebar portlet
We were adding a .first CSS class to the portlet from JavaScript
instead of just using a smarter selector, which caused the incorrectly
styled portlet to visibly flash sometimes.

This was only useful for IE 6 (even IE 7 supports the sibling selector
'+', which we can use here), and we don't serve JavaScript to it
anymore. It would be neater to use ':first-of-type', but that's not as
widely supported.

Bug: T89542
Change-Id: I1904b3899c43bca52a6c996b8ce08c8bdf764aa0
2015-02-15 00:43:55 +00:00
James D. Forrester 46c2ae820a test: Make code pass jscs 1.5.0 with Wikimedia code style preset
Change-Id: I385f7d9ca9f641b3ad936605af1f9894a57192e5
2015-02-14 12:45:20 -08:00
jenkins-bot 6080b48064 Merge "Add SVG version of bullet-icon and use .list-style-image-svg()" 2015-02-14 02:47:59 +00:00
Translation updater bot cc9435d043 Localisation updates from https://translatewiki.net.
Change-Id: Id6f1d176700cc5694561589992a46cf09a7b8985
2015-02-13 21:41:09 +01:00
paladox eea9966d5c Add SVG version of bullet-icon and use .list-style-image-svg()
* Adds bullet-image.svg

* Depends on I09319e9188878c in MediaWiki core

Edokter idea.

Bug: T37338
Change-Id: If380fcca663859d1bb688bb621c267b815b3e21a
2015-02-12 23:00:10 +00:00
Translation updater bot 26e5e32692 Localisation updates from https://translatewiki.net.
Change-Id: Ib29cb772f4a3df9af8b6f5e2dee64a2965a4d334
2015-02-12 20:51:54 +01:00
Translation updater bot 467126d5e9 Localisation updates from https://translatewiki.net.
Change-Id: I0f9bcd94fbc6b4ae40ba1a2f9e1e3d35ef12e05f
2015-02-11 21:28:14 +01:00
Translation updater bot e38a58f627 Localisation updates from https://translatewiki.net.
Change-Id: Iad31e01656815e88d14a2b9d6d57968721ffb1e1
2015-02-09 21:16:42 +01:00
Ebrahim Byagowi 89fb56dc61 Remove dir=auto from firstHeading
Follow up to Ibf408bc6c5d2f8c05667107a547b0b02e06de270

Bug: T51093
Change-Id: I90758a3491f3f85c0d19451e213c788913e27626
2015-02-01 19:49:42 +00:00
Ricordisamoa 3274f57b10 Use the plain-text GPL and fix 'license-name' to match SPDX conventions
Per Iaa30b8994b8e4034ace61df8202a8b5002093ff2
(commit a512ff8ab49b140e19306ff813caf2186a25f4b5 in MediaWiki core)

For consistency with extensions:
http://spdx.org/licenses/
https://www.mediawiki.org/wiki/Manual:$wgExtensionCredits#license-name

Change-Id: Ide1d6cd7f2e33975acf189a16f8a47743b43fdde
2015-01-29 17:04:29 +01:00
jenkins-bot 98f9b318ad Merge "Revert "Add svg image of bullet"" 2015-01-19 09:51:56 +00:00
Bartosz Dziewoński 32eaf1b209 Revert "Add svg image of bullet"
Turns out this doesn't actually work well. Who'd have thunk?

This reverts commit a6235ceb88.

Bug: T37338
Change-Id: I3dcb8e8453a110d2b631711057712ac858dc42c1
2015-01-19 09:51:27 +00:00
Kunal Mehta 85d097ba4c Simplify construction of SkinVector
* Don't require a Config instance to be passed in the constructor,
  as that breaks skins that extend it.
* Don't manually register the skin with SkinFactory, use $wgValidSkinNames

Change-Id: Ie8539027c17caff35c1fc52a56676763df667fd9
2015-01-18 11:42:39 -08:00
Translation updater bot e3d66a7d38 Localisation updates from https://translatewiki.net.
Change-Id: I0195170eb0ebef21767635b4f618a069b0b87164
2015-01-17 23:24:06 +01:00
jenkins-bot 7e84bb9525 Merge "Remove CSS transition on window resize" 2015-01-16 22:04:49 +00:00
Bartosz Dziewoński 4cec8a7058 Remove CSS transition on window resize
They do more harm than good.

We still have the "HD" and "non-HD" styles, just no smooth transitions
between them.

Bug: T85614
Change-Id: I52dd9883eb4e7df00f0613182d4adaa3f28fe5b7
2015-01-15 14:30:02 -08:00
paladox a6235ceb88 Add svg image of bullet
* Adds svg version of bullet.
* It has a hack in css so that png will be targeted at ie 8 or lower.
* There was no way around it since list-style-image carnt be used twice. The hack adds \9 to end of png file.

Edokter suggested to use \9

Note this has been tested

Bug: T37338
Change-Id: I795c31a68c383b8fc4557ee00312a5b1aecd09a3
2015-01-11 17:27:13 +00:00
umherirrender 1ba842a765 Allow numeric headers in Sidebar
A numeric string set as key of an array gets casted to an integer. Since
I458c0af3114754ddf3d721f6c374e249f482e4cf wfMessage does not except
integer as message key, therefore cast the heading name back to string.

Bug: T73639
Change-Id: I376fb49d03251a71372738c531a09f014540b958
2015-01-10 21:38:46 +01:00
Translation updater bot 36186ed0af Localisation updates from https://translatewiki.net.
Change-Id: I16abe0c64bcd74414d64487cf2db9f106f833bb7
2015-01-09 21:48:26 +01:00
paladox a16d29f8a8 jquery-ui: Remove dark color from links inside dialogs
This patch fixes the problem by removing the following
from jquery.ui.theme.css:

 .ui-widget-content a { color: #362b36; }
 .ui-widget-header a { color: #222222; }

Bug: T85857
Change-Id: I0fbca3aca8e0d40c794dd1e20d4d8c4fdfd79aa1
2015-01-07 01:10:01 +00:00
Translation updater bot f781f094d4 Localisation updates from https://translatewiki.net.
Change-Id: I09cc072ff09fbc77bdcda524c1a133dce0577b32
2015-01-05 22:49:20 +01:00
Translation updater bot 3d362d172d Localisation updates from https://translatewiki.net.
Change-Id: I21c412413783e119284f31b91abe06cd2a6e2a4a
2015-01-03 22:42:20 +01:00
Translation updater bot b51a561980 Localisation updates from https://translatewiki.net.
Change-Id: I44a18b731eb5f5f1e7b7e903fd9bed583c1b112d
2014-12-30 20:26:43 +01:00
Jackmcbarn a925e9eae1 Restore backwards compatibility
When status indicators were added, backwards compatibility was unnecessarily
broken. This makes things like looking at old non-rebased branches, or running
git bisect, unnecessarily annoying. This change adds an is_callable to restore
backwards compatibility and removes the version check that was added in response
to this break.

Change-Id: Ia05aa73a1b027e667c52f54b6d6fdf6f42bbbadf
2014-12-29 14:16:05 -05:00
Reedy 03ef4d392d Change to unix eol style
Change-Id: I97b87ae82017e7c49553831fdc05d58324ece947
2014-12-24 12:31:09 +00:00
Translation updater bot 430a7588db Localisation updates from https://translatewiki.net.
Change-Id: I7031fb201fc5c605a5ed722bb14a06aca27263f5
2014-12-21 17:07:05 +01:00
jenkins-bot a3dc4e8735 Merge "Update jquery.ui Vector theme to 1.9.2" 2014-12-20 00:26:40 +00:00
Translation updater bot 0f4cdc4dcd Localisation updates from https://translatewiki.net.
Change-Id: Ibaa098139c0440ff60e04ca3606869031abb2a32
2014-12-19 22:08:33 +01:00
Timo Tijhof d60c8d61aa Update jquery.ui Vector theme to 1.9.2
Follows-up 3cb2ccd87863abb8a99ed7d970730ae9e4138fcc.

Various structural changes were made in jQuery UI 1.9, and the Vector
theme was not updated to accommodate for those changes.

There have also been lots of small improvements to the base theme (which
is substituted inside the Vector theme) that were made over the past few
releases that weren't backported (such as Ib099282484b for bug 67243).

And there were two new modules in jQuery UI 1.9 (menu and spinner) that
were lacking Vector theme stylesheets.

Source files generated with http://jqueryui.com/themeroller by
downloading the theme for v1.9.2 (except for jquery.ui.button.css). See
the permalink in jquery.ui.theme.css.

For jquery.ui.button.css, use latest master of jQuery UI 1.11.2-alpha:
* https://github.com/jquery/jquery-ui/blob/8825d93dc8/themes/base/button.css

This is from a newer version of jQuery UI but user MarkTraceur suggested
the file for jquery.ui.button had fixes that were not backported to 1.9
and does not cause problems with Wikimedia Commons.

Documented our patches in a PATCHES file.

Change-Id: I2a31e4a3d969a966935a50392deafd756e2b9fca
2014-12-16 21:17:56 +00:00
Translation updater bot e795836db0 Localisation updates from https://translatewiki.net.
Change-Id: Icf8b0ba57aff77cf1d2b7904d2b0d924cb537cf5
2014-12-16 21:38:33 +01:00
jenkins-bot 2427cfdb12 Merge "Remove 'margin-left: -1px;' on "More" menu" 2014-12-16 19:09:42 +00:00
jenkins-bot a2472f86d4 Merge "Revert "Replace desktop watchstar icon with mobile skin one"" 2014-12-16 18:51:34 +00:00
Legoktm 6cbbb23cde Revert "Replace desktop watchstar icon with mobile skin one"
Based on the discussion on T56307, this change is controversial
and not necessarily wanted. In summary:

* Green star looks out of place with blue Vector (Edokter, Esanders, Trevor)
* Clashes with WikiLove heart icon (Edokter)
* Flat design doesn't fit with Vector's gradient style (Rillke)
* Green means constructive in MediaWiki UI, however clicking the
  green star removes a page from your watchlist (Krinkle)

This reverts commit 56825d209e.

Change-Id: I46f75a0eb83f9643fc0b51befe02aad4a84efc4e
2014-12-16 18:22:27 +00:00
Bartosz Dziewoński 966c27a9b6 Remove 'margin-left: -1px;' on "More" menu
This rule doesn't seem to be necessary and interferes with width
measurements, causing the tabs to bounce back and forth at specific
screen sizes.

Bug: T74089
Change-Id: I6a05ccf6eea1a4af22d8df3dd4d507cf9ac1b5f3
2014-12-16 17:42:18 +01:00
Florianschmidtwelzow f48c697425 Use $GLOBALS for globals
Follow up: I10f071253e48e6492949ebbc3c07964c747e885f

Change-Id: Iabcba276de1031041b2d458679b4ebca1931c129
2014-12-16 08:25:19 +01:00
Florianschmidtwelzow b02d0da6a7 Add version check for Vector
Sometimes, someone tries to install git master version of Vector on
a stable version of MediaWiki, which can result in a PHP error, e.g.
because of the missing status indicators in MW 1.24.

Add a version check to Vector.php to check, if a minimum mediawiki version
(actual 1.25) is installed in order to use this version.

Change-Id: I10f071253e48e6492949ebbc3c07964c747e885f
2014-12-15 12:15:34 +01:00
Translation updater bot 54b8ce80f6 Localisation updates from https://translatewiki.net.
Change-Id: I5607346cd39c32a7e67886a9da126d125ac6ffc8
2014-12-13 22:09:13 +01:00
Roan Kattouw 359c32598b Use #mw-head, not #mw-navigation, for navigation link
mw-navigation is a collapsed div because all of its children
are absolutely positioned, and it's in a totally useless
place. Instead, point to #mw-head, which is where we pointed
to originally before it was changed to #mw-navigation.

This reverts 75858d59d from when this code was still in MediaWiki core.

Bug: T78207
Change-Id: I5e1f0edbf80f6f5f330df73cb06e4b0ee4323905
2014-12-10 15:36:40 -08:00
m4tx 56825d209e Replace desktop watchstar icon with mobile skin one
Also, replaces the old animation with the same as in the mobile skin.

Bug: T56307
Change-Id: Ida98e080dd26b0354884eee2af3269c6228e3a75
2014-12-08 23:04:22 +00:00
Translation updater bot e7856088f6 Localisation updates from https://translatewiki.net.
Change-Id: I36344078f5492be1de3bb0fac66b43e93bc93d73
2014-12-08 23:03:04 +01:00
Fomafix df10f03a7a Give .mw-body-content its own stacking context (z-index: 0)
This avoids that elements in the content can overlap elements
outside the content area (e.g. software and skin interface components),
such as the page action menu.

Bug: T40848
Change-Id: Ia986434c51d8db738726f3a4e918bce373bd3d6b
2014-12-07 20:26:54 +00:00
Translation updater bot cdf2fcdc68 Localisation updates from https://translatewiki.net.
Change-Id: I229b9167300e95ed2d5c697ce81108162ec8cee6
2014-12-04 22:01:55 +01:00
kaldari 5cd72b88b1 Synchronizing Vector jQuery UI styling with core to fix regression
Applying fix from change Ib3e0fc57 to Vector's jQuery UI styling as
it should have been fixed in both places. The on-wiki fix was removed
prematurely, as the bug was only fixed for non-Vector skins.

This fixes bad formatting of audio player on Wikipedia (see bug).

Bug: 71601
Change-Id: I80bef309dca9ea551134341037f6d96ad0f5c7e7
2014-11-30 16:05:06 -08:00
Translation updater bot 6004ba390d Localisation updates from https://translatewiki.net.
Change-Id: I7888654b0769700d13bb8f705e388125d3f2388d
2014-11-30 21:48:29 +01:00
Translation updater bot d4540ebe17 Localisation updates from https://translatewiki.net.
Change-Id: Id06e2cfcc572a020835de71fc5eab3319dbc0154
2014-11-26 22:02:45 +01:00
Translation updater bot a45cda8f74 Localisation updates from https://translatewiki.net.
Change-Id: Ia5c2e32f098649a00a1bedc31b9130ecd9d43d0f
2014-11-23 22:23:33 +01:00