Commit graph

817 commits

Author SHA1 Message Date
Timo Tijhof 2fa3b7f69a Move class files to includes/
Cleans up the top-level directory a bit.

Change-Id: I29d3b8b7098def77e643232a386d8ba834d35704
2018-03-12 16:52:48 -07:00
Translation updater bot 5db0c43a45 Localisation updates from https://translatewiki.net.
Change-Id: I854e5c120217f47675e398df6d853824d3958af4
2018-03-10 21:57:38 +01:00
libraryupgrader 26f071b036 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Id5eb8984242369af5e0bacaf533b8ea34cbabd04
2018-03-10 10:26:27 +00:00
Translation updater bot 7fd74c1169 Localisation updates from https://translatewiki.net.
Change-Id: Iecd2bee6daefb00e95baad3aa927cb6748b187b4
2018-03-09 22:03:36 +01:00
Translation updater bot b53cdbbcde Localisation updates from https://translatewiki.net.
Change-Id: I6c27334283055465b33df2dca520d6a4b2183c81
2018-03-08 22:25:35 +01:00
Translation updater bot 485ed08363 Localisation updates from https://translatewiki.net.
Change-Id: I2deef17dfc9c5970a338597b24e2c87c3fa2e7c3
2018-03-07 22:26:24 +01:00
Translation updater bot 3151afdc24 Localisation updates from https://translatewiki.net.
Change-Id: I97ac74701e32450a0b279c02da42a40ed1a0ace9
2018-03-05 22:07:12 +01:00
Translation updater bot 9d3d47adb4 Localisation updates from https://translatewiki.net.
Change-Id: Idabb533c281f4071fe84ea0c76f5bb0fe3266b5d
2018-03-01 21:59:09 +01:00
Jdlrobson 4d63b91152 Revert "Move Selenium test from mediawiki/core"
This reverts commit 68292ad0a8.

This test seems to be running on other skins that it should
not run on - for example Minerva. I'm not sure if this
is configuration related or test related.

I will follow up and restore these personally.

Bug: T188553
Change-Id: I4aa58fd021aceab1a01c288782111faeb52723f2
2018-03-01 18:00:01 +00:00
addshore 68292ad0a8 Move Selenium test from mediawiki/core
Bug: T187859
Change-Id: Ib153f1d55e4471c4dc1e16ad3c9ae0ea9f73acf5
2018-02-27 19:24:02 +00:00
James D. Forrester 2cd16d6012 build: Bump devDependencies to latest
grunt                        1.0.1  →   1.0.2
 grunt-banana-checker         0.5.0  →   0.6.0
 grunt-eslint                20.0.0  →  20.1.0
 grunt-stylelint              0.8.0  →   0.9.0
 stylelint                    7.8.0  →   8.2.0
 stylelint-config-wikimedia   0.4.1  →   0.4.2

Change-Id: I3b1c13f3fe5c4f1f90dd1db658700aecda0d0724
2018-02-26 10:29:23 -08:00
Translation updater bot 453fe279b9 Localisation updates from https://translatewiki.net.
Change-Id: Iafbd772c90f5a290a258ffdef3181267eadbcc53
2018-02-25 22:08:15 +01:00
libraryupgrader 872a719fef build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Idacdb7f86c1f866f2ca0c963a86848178ab93041
2018-02-25 13:16:42 +00:00
Translation updater bot 8551cf6d47 Localisation updates from https://translatewiki.net.
Change-Id: Iadf82e4e6b20ab8b6edb8cb17137a1734f315373
2018-02-20 22:06:25 +01:00
Translation updater bot b05bd6637a Localisation updates from https://translatewiki.net.
Change-Id: I1e94cfd15f93b1d10cd4d5cc94d876c90a706601
2018-02-18 22:16:31 +01:00
libraryupgrader c4eca71e91 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Iab3a307039341ea7f83d20eddb23e262d24d7f6f
2018-02-18 13:23:47 +00:00
Translation updater bot 8d15407c6b Localisation updates from https://translatewiki.net.
Change-Id: I26caaae1e5a93468013ed710182816ac6834abfa
2018-02-17 22:02:52 +01:00
Translation updater bot 960a8af97c Localisation updates from https://translatewiki.net.
Change-Id: Icf070973db4ceffdb24976a7b6b0c23dcfc1b4aa
2018-02-16 22:08:38 +01:00
Kunal Mehta 1c2eeb1fdc Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Ie8a20191fd9505eb5f0a6a3a010a602d2a44a58e
2018-02-16 10:41:02 -08:00
Translation updater bot 6bdac0fd25 Localisation updates from https://translatewiki.net.
Change-Id: I1b39026a80bda3744941b4fe138ab091ab831a99
2018-02-15 22:06:53 +01:00
libraryupgrader 6fbdf97eb5 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I583e21ec56e237d77fcca70d5c7f623b90b978b9
2018-02-15 17:03:25 +00:00
Translation updater bot fc12ffd6ed Localisation updates from https://translatewiki.net.
Change-Id: I13d48b948283a760e80a18ac5637124a4b36ed30
2018-02-13 22:04:49 +01:00
Tulsi Bhagat 336e7e5084 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: I7be029b0ca3c44e1fb049d5987742c83585b54a7
2018-02-12 21:09:09 +00:00
Translation updater bot 6d54aa18cd Localisation updates from https://translatewiki.net.
Change-Id: Ieaae409284db2063e3c8421cd2c77c70c55cf2ef
2018-02-12 09:06:35 +01:00
Translation updater bot 53e994c355 Localisation updates from https://translatewiki.net.
Change-Id: I59c561f6fb1a1ba46241c2ab7b4e4594e7a72d89
2018-02-07 21:57:22 +01:00
jenkins-bot 50019ddbd4 Merge "Make dropdown menus keyboard-accessible without JavaScript" 2018-02-07 00:30:53 +00:00
Translation updater bot e4d4c86d89 Localisation updates from https://translatewiki.net.
Change-Id: I1c47a8e3763111e9f6501275619c16fec58cd8c8
2018-02-05 22:08:08 +01:00
Translation updater bot c3eeb030d9 Localisation updates from https://translatewiki.net.
Change-Id: I78333d3b48d58aa35c158e9e5d212892e33e7230
2018-02-04 21:56:45 +01:00
Translation updater bot 0030e4b707 Localisation updates from https://translatewiki.net.
Change-Id: I5effa8cebf61547ccaadef3f98aabec2c6f621f5
2018-02-01 22:00:47 +01:00
Translation updater bot 03c2fd9f58 Localisation updates from https://translatewiki.net.
Change-Id: Iba482100abb5be77d69c41fff2dcdddb5b31aa89
2018-01-31 22:02:05 +01:00
Timo Tijhof 56e566f351 Improve and simplify typehint and type docs in VectorTemplate
* renderPortals() - Takes array only, enforce this with a type hint.
* renderPortal() - Actually takes either array or string as $content,
  fix the type doc to match the code.
* renderNavigation() - Simplify by removing support for non-array
  $elements, fixing one caller.

This and other minor changes are tracked under T140664, which intends
to reduce code complexity in Vector to (potentially) make it portable
to an HTML template.

Change-Id: Idc95d023a55c83450b041109745cfbcbcd04f580
2018-01-30 15:59:35 -08:00
Timo Tijhof 57913d80b8 Clarify class commment for SkinVector and VectorTemplate
The naming the parent classes of these is quite confusing.

Specifically how "SkinTemplate" is not a skin template, rather it is a Skin
subclass that *uses* a template.

The "skin template" itself, is VectorTemplate << BaseTemplate << QuickTemplate.

Change-Id: Ie8997c5390d24cd38cdb12f97a87f8868a0b00d2
2018-01-30 15:56:42 -08:00
Translation updater bot 3a38f00d19 Localisation updates from https://translatewiki.net.
Change-Id: I7364c173fd85b7028fadeb0ed49b43a1fccc7dd8
2018-01-29 21:55:56 +01:00
Timo Tijhof c5d49d71fb Remove 'SkinVectorStyleModules' hook
Bug: T185782
Bug: T140664
Change-Id: I67950b4bed34b56d17bbea82f311bfe31683ad1e
2018-01-26 10:33:47 -08:00
Timo Tijhof a14ba2a1e7 Deprecate 'SkinVectorStyleModules' hook
Bug: T185782
Change-Id: Ie40309964797cbb5af7682d7f566fc674bc4ef12
2018-01-26 10:33:46 -08:00
Alangi Derick 1d56823f8b Update Minus-X from 0.2.1 to 0.3.0 in Vector skin
Change-Id: I7358a947ece48e1e5043dd59cef06a748f64acc8
2018-01-26 16:48:44 +01:00
Translation updater bot 5cd832fa0f Localisation updates from https://translatewiki.net.
Change-Id: I3b799158ffd1a829175159029d004145d0188e18
2018-01-25 21:57:37 +01:00
Translation updater bot a81e997a9a Localisation updates from https://translatewiki.net.
Change-Id: Ibf684931ccdd21048fb8398c3c5ece4073c9dcc0
2018-01-24 21:56:47 +01:00
Translation updater bot f5dee4ebd6 Localisation updates from https://translatewiki.net.
Change-Id: I9ac5810365b3fb5704e158b8a7387ef6ef07c453
2018-01-20 14:08:45 +01:00
Translation updater bot fcb530889d Localisation updates from https://translatewiki.net.
Change-Id: I8c5cb60b00e305fa37085f4265b4ebb39eca1fa0
2018-01-17 22:24:51 +01:00
jenkins-bot 3f9b8411d0 Merge "OOUI: Remove confusing 'position' override" 2018-01-16 21:44:33 +00:00
Bartosz Dziewoński ce97818dd2 OOUI: Remove confusing 'position' override
Vector is the only skin that does this, setting 'position: relative'
for .oo-ui-windowManager-modal (normally 'position: static') and for
.ve-ui-overlay-global (normally 'position: absolute').

The override for .oo-ui-windowManager-modal caused it to create a new
stacking context, which is the only reason the 'z-index' override
worked. Use the right selector to override 'z-index' instead.

The override for .ve-ui-overlay-global was completely pointless and
it's surprising that it never broke anything.

Change-Id: Icd1dec43e2da9ef2090b18145099838de3a7890a
2018-01-16 19:25:38 +00:00
Stephen Niedzielski 4a969cadf6 Hygiene: improve Math formula print styling comment
Add an example from the Math extension showing how the print styling
rule for font family is relevant.

Bug: T181138
Change-Id: Ib5a35b7a555c898d354c16077f44acf1e50f5ebb
2018-01-16 10:05:53 -06:00
Stephen Niedzielski 08e68d600a Fix: style printed math formulas with serif font
When printed, math formulas appear best rendered in the same font as the
body, serif. Override dl and other sans-serif styling rules for all
printed images. e.g.: https://en.wikipedia.org/wiki/Frame-dragging.

Bug: T181138
Change-Id: I9755a23cbec8388964c27d938a7aea8e25fe2f7f
2018-01-11 16:32:42 -06:00
Translation updater bot 4885722aaf Localisation updates from https://translatewiki.net.
Change-Id: I58b630b0ccceacf009f72f1498d550a7575757a3
2018-01-10 22:07:58 +01:00
Translation updater bot 11c690d94a Localisation updates from https://translatewiki.net.
Change-Id: I870d6c21c41e47fe10f9fbb925dddf5f7f524910
2018-01-09 22:03:40 +01:00
Translation updater bot c6ce92bf50 Localisation updates from https://translatewiki.net.
Change-Id: I1c4270b2c35ecabafa2c7b199260675efe5d038d
2018-01-08 22:11:02 +01:00
Bartosz Dziewoński d82e4db35e Make dropdown menus keyboard-accessible without JavaScript
Instead of implementing keyboard (and mouse click) handling in
JavaScript, put an invisible <input type="checkbox"> into the
dropdown handle. It can be focused and toggled using keyboard
actions like a normal checkbox. This checkbox also takes over
the duties of handling mouse hovering and clicking.

Old JavaScript and CSS are left in place for compatibility with
cached page HTML, to be removed later in a follow-up.

Bug: T168080
Change-Id: I27532140b06c97921f1cfb64e44bff814d99a358
2018-01-03 21:58:51 +00:00
jenkins-bot b906b83f32 Merge "OOjs UI: Fix z-index and font size for default overlay" 2018-01-02 21:58:16 +00:00
Translation updater bot facd049fba Localisation updates from https://translatewiki.net.
Change-Id: I4aa651e1acef5288f10c946ac3de99b400b28d01
2018-01-01 08:47:10 +01:00