Commit graph

1679 commits

Author SHA1 Message Date
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
Translation updater bot 891a8c4760 Localisation updates from https://translatewiki.net.
Change-Id: I06e244e7f4d53281aace2922987c9dca6b21714b
2014-11-19 22:16:45 +01:00
Translation updater bot 482e96b7f9 Localisation updates from https://translatewiki.net.
Change-Id: I7ffdd531dd7bc449693a5be1881d6abd3bef1e86
2014-11-15 22:40:56 +01:00
Translation updater bot ad24d24e8b Localisation updates from https://translatewiki.net.
Change-Id: I07ad9617d6c669b2dd332a6d1a32b87eff1e80f3
2014-11-10 21:38:51 +01:00
Translation updater bot 4d0b973588 Localisation updates from https://translatewiki.net.
Change-Id: Ice2d1a6640cca0533600a9e51a66ecf9125a8570
2014-11-09 21:32:45 +01:00
Translation updater bot bc2d14dc9d Localisation updates from https://translatewiki.net.
Change-Id: I603d362847359f485cd327248a6fc4c1e9b3044d
2014-11-06 21:24:04 +01:00
Translation updater bot 745fc64d61 Localisation updates from https://translatewiki.net.
Change-Id: Ica58d7b6c5865d02d0b286e5f9008c1d95189a00
2014-11-02 21:38:51 +01:00
Translation updater bot 9d8ebac59b Localisation updates from https://translatewiki.net.
Change-Id: Ic9036ce2f3d0390cc5255bfc61fcc4326ecc861d
2014-11-01 22:07:12 +01:00
jenkins-bot 8437d301e8 Merge "Add support for page status indicators" 2014-10-27 20:23:28 +00:00
Translation updater bot a7eec64c7d Localisation updates from https://translatewiki.net.
Change-Id: Idb2c80410da33741d2aec49588bad06dc9493f5f
2014-10-27 19:52:38 +01:00
Translation updater bot 0cebb8e5f5 Localisation updates from https://translatewiki.net.
Change-Id: Id6bc525be155acabdff2dde425f5a6dd9a77740d
2014-10-23 23:04:26 +02:00
Translation updater bot 78a47d6acd Localisation updates from https://translatewiki.net.
Change-Id: I804f7bdfea55490af765cba648f4590cbf358137
2014-10-13 21:31:01 +02:00
Translation updater bot 62c8c13be5 Localisation updates from https://translatewiki.net.
Change-Id: Ia76cf9c4fdcb18c374f152bff5629f85339c00bb
2014-10-12 21:57:27 +02:00
Translation updater bot fd9a9f0d16 Localisation updates from https://translatewiki.net.
Change-Id: Ia1b09653431e4fa28ceb675d35200dfe99b003e5
2014-10-01 21:38:13 +02:00
Bartosz Dziewoński cb1eb7ab2d common.less: Remove dead code
This does nothing since 7dc4b5861589f2cef472195273c41a86083f69d4 in core.

Change-Id: I879d96fe8d4034b6365c6b6af3d9e3615dd1c506
2014-09-30 14:40:49 +02:00
Bartosz Dziewoński deac602863 Add support for page status indicators
Corresponding patch in core: I2389ff9a5332a2b1d033eb75f0946e5241cfaaf4.

Bug: 23796
Change-Id: I90a8ae15ac8275d084ea5f47b6b2684d5e6c7412
2014-09-30 14:37:35 +02:00
Timo Tijhof 621e6fbd22 Use mw-wiki-logo class instead of inline background-image
Depends on I4e6db89a688 in mediawiki-core.

Bug: 56257
Change-Id: I0f9ab45ff2da29c2aac8559b9a0fe35c1dd238de
2014-09-26 22:03:31 +00:00