Commit graph

1881 commits

Author SHA1 Message Date
L10n-bot 359ab85824 Merge "Localisation updates from https://translatewiki.net." 2017-04-10 20:44:44 +00:00
Translation updater bot 2eb7c318c8 Localisation updates from https://translatewiki.net.
Change-Id: I94a421c41c8b6c9180317f21a4ac1e196531012c
2017-04-10 22:44:35 +02:00
Ed Sanders a6460a3025 VisualDiff: Ignore changes to originalMw
This can happen when switching editors.

Change-Id: Iec86efcdf5488918e53d69a0217d1ec4e3bb7f88
2017-04-10 21:18:26 +01:00
James D. Forrester 11769a5196 stylelint: Drop old 'no-unsupported-browser-features' rule
Unsupported now.

Change-Id: I176c1f446ee2196327f6a4135090d666dc3dd1cc
2017-04-10 08:58:33 -07:00
James D. Forrester 003cc38e6c build: Bump devDependencies to latest
grunt-banana-checker  0.5.0  →  0.6.0
 grunt-stylelint       0.6.0  →  0.7.0

Change-Id: Ia22ef6b12209d17d4faf6f168049aec2afdba4f7
2017-04-10 08:57:27 -07:00
Translation updater bot 76d3e0e57a Localisation updates from https://translatewiki.net.
Change-Id: Iee455167d41de5314d101c7257a547518b8934dc
2017-04-09 22:39:38 +02:00
Translation updater bot 2634b8755a Localisation updates from https://translatewiki.net.
Change-Id: I1e622175160c8243fa4810b1c45baf5c5b956c58
2017-04-08 22:53:26 +02:00
James D. Forrester ddb3e9088a i18n: Don't try to spell out all the options that are allowed
Bug: T160628
Change-Id: Ibf728277c5bd4df5d3e8534848ee686239090376
2017-04-08 04:10:29 +00:00
Translation updater bot c490a2acb9 Localisation updates from https://translatewiki.net.
Change-Id: I6664679c4c15622e140f124a5f6ca9488466d507
2017-04-01 22:37:34 +02:00
Translation updater bot 54be4ff768 Localisation updates from https://translatewiki.net.
Change-Id: I39693a6994ed5412ca7d06f597501c32e4d1341b
2017-03-29 22:26:10 +02:00
Translation updater bot fb9d53a26d Localisation updates from https://translatewiki.net.
Change-Id: I5ff4620684f5783d933fb3d51a3308c8c7a27873
2017-03-26 22:23:23 +02:00
jenkins-bot 149d6ed3b4 Merge "Send better HTML to the clipboard" 2017-03-20 17:02:28 +00:00
Ed Sanders b58db89aac build: Update stylelint to 0.4.1
Change-Id: Ia7d685d9e10468d2303c68dc88fee8811251ffcb
2017-03-20 14:37:33 +00:00
jenkins-bot dd570be4f5 Merge "build: Mark Node file as ES6" 2017-03-20 13:59:50 +00:00
Ed Sanders 61a624584b Send better HTML to the clipboard
Change-Id: Id8539697e6b30fd98e672452eda9b9c792c3c366
2017-03-20 13:42:03 +00:00
Ed Sanders e0f297ae39 build: Mark Node file as ES6
Change-Id: I041ff8fa7d22a8e6a4aa6877c4136d8086593956
2017-03-20 10:47:54 +00:00
Translation updater bot 2f0e463773 Localisation updates from https://translatewiki.net.
Change-Id: I9722558ccb50bb44221d2bb100c543d7f7aabeea
2017-03-19 22:20:41 +01:00
Translation updater bot 6eca092563 Localisation updates from https://translatewiki.net.
Change-Id: I278666d4b76881d3e5965ad417bdffe4b57d34eb
2017-03-18 22:37:23 +01:00
Translation updater bot 28fcb10372 Localisation updates from https://translatewiki.net.
Change-Id: I821143b492a00211c21c1483100def7bb5e28265
2017-03-17 22:24:38 +01:00
Translation updater bot aac0f3dd40 Localisation updates from https://translatewiki.net.
Change-Id: I9bedf2b563f36211c56eab59098425ec086ed3e0
2017-03-16 23:08:53 +01:00
Translation updater bot 98b262a683 Localisation updates from https://translatewiki.net.
Change-Id: Ibc350877bd07b5db4400c5aa9a074b5406349d3d
2017-03-15 22:31:51 +01:00
Timo Tijhof 04c3ad0107 Implement responsive columns for reference lists
This is based on the popular 'count' parameter from Template:Reflist on
English Wikipedia, which has also been adopted by many other wikis.

That template's 'count' parameter allows maximum flexibility on a per-
page basis. This was important because the template can't know how many
references the list will contain. Users typically manually add (and
later, increment) the 'count' parameter when the list exceeds a certain
threshold.

The template currently sets an exact column count (via the CSS3
property `column-count`).

This patch improves on that by instead using the closely related CSS3
`column-width` property. This automatically derives the column count
based on the available space in the browser window. It will thus create
two or three columns on a typical desktop screen, and two or no columns
on a mobile device.

The specified width is the minimum width of a column. This ensures that
the list is not split when rendered on a narrow screen or mobile device.

It also hooks into the raw list before parsing and adds the class only
when the list will contain more than a certain number of items. This
prevents very short lists from being split into multiple columns.

Templates like Template:Reflist on English Wikipedia currently are not
able to set inline styles on the list element directly, which is why
they set it on a `<div>` wrapping the `<references />` output. Because
of this, the feature of the Cite extension must not be enabled at the
same time, as that would result in both the template's wrapper and the
references list being split. The end result would involve sitations with
three columns split in four sub-columns, creating a complicated mess of
nine intermixed columns.

To provide a smooth migration for wikis, this feature can be disabled by
default using `$wgCiteResponsiveReferences = false`. Each individual
template createing reference list can then be migrated, by removing the
wrapper column styles and instead settting the new "responsive"
attribute, like so: `<references responsive />`.

Once any conflicting templates have been migrated, the default for the
wiki can be swapped by setting `$wgCiteResponsiveReferences = true`.

If wikis wish for some templates to keep their custom column splitting
behaviour, templates can also opt-out by setting `responsive="0"`, which
will make sure that it will keep behaving the current way even after the
feature becomes enabled by default for the wiki.

In summary, when disabled by default, pages can opt into this system
with `<references responsive />`. When enabled by default, pages can opt
out of the system with `<references responsive=0 />`.

* Deprecate cite_references_prefix/cite_references_suffix.

  This message is rarely used and opens up compatibility hazards.
  It was already removed by Parsoid, but the PHP implementation
  still had it. It's typically used to add inline styles to the
  wrapper which is more appropiately done in Common.css (or
  obsoleted as part of the skin or Cite extenion itself nowadays
  depending on what style in question).

  It was also a HTML-style message with separated open and close
  segments, which is an anti-pattern in itself.

* Declare module target explicitly and include mobile. The absence of
  this stylesheet caused subtle BiDi/RTL bugs on mobile.

Bug: T33597
Change-Id: Ia535f9b722e825e71e792b36356febc3bd444387
2017-03-07 22:42:47 +00:00
Translation updater bot 254951d227 Localisation updates from https://translatewiki.net.
Change-Id: I3868f820121ea735c96c906221974bdcf544084d
2017-03-01 22:21:28 +01:00
Translation updater bot 6a0017a356 Localisation updates from https://translatewiki.net.
Change-Id: I0d29ce305e3b1d495598b9ec190f22bd2dd3127f
2017-02-28 22:52:10 +01:00
Translation updater bot d39ee8806d Localisation updates from https://translatewiki.net.
Change-Id: I3e540c37ae098ed658e10d57606d7b6da325d2cd
2017-02-26 22:27:37 +01:00
Translation updater bot 6bd3c5ecc8 Localisation updates from https://translatewiki.net.
Change-Id: I3756894ba4688349b4584e67e54d118d3e868e96
2017-02-25 22:19:21 +01:00
Translation updater bot 2371fe219e Localisation updates from https://translatewiki.net.
Change-Id: Ib8a49cb7dfc765383e43904c5d790c6c201a11d1
2017-02-24 22:22:40 +01:00
Arlo Breault dff5d42d5f Sync up with Parsoid citeParserTests.txt
This now aligns with Parsoid commit e23a818554548cd922ee262ea1d8da47ea457248

Change-Id: I58155797c8c63b7ef64be74450647059cc5e28ca
2017-02-22 09:22:29 -08:00
Translation updater bot 174a93a4b0 Localisation updates from https://translatewiki.net.
Change-Id: Id99b330d2098e0fc7f05fb92a836d9948bc756a4
2017-02-19 22:24:14 +01:00
Translation updater bot 204b6a7621 Localisation updates from https://translatewiki.net.
Change-Id: Iebe54825250d094a8c6e6c4d2406ff87a1a6b2a0
2017-02-16 22:37:55 +01:00
Translation updater bot cf9b2c9633 Localisation updates from https://translatewiki.net.
Change-Id: Id0249fc01a38184b96f658fe934c5126f639e1dc
2017-02-10 22:19:15 +01:00
Translation updater bot e129c05dba Localisation updates from https://translatewiki.net.
Change-Id: I2edb80594630318bfe5c7683735f052a6d67d266
2017-02-07 22:39:48 +01:00
Translation updater bot 6d169dca22 Localisation updates from https://translatewiki.net.
Change-Id: I7076b3aec1866308c7f51f59f51b6a4482ffe111
2017-02-06 22:26:49 +01:00
Translation updater bot 72b07873f3 Localisation updates from https://translatewiki.net.
Change-Id: I7fd6090b003545d150775092ac8453e062773e83
2017-01-28 22:31:08 +01:00
jenkins-bot ef7c93b3f1 Merge "build: Re-use MessageDirs in banana conf" 2017-01-24 08:25:03 +00:00
Translation updater bot b4441fe5ca Localisation updates from https://translatewiki.net.
Change-Id: Ib7a67a8359810da9775fd5775e7d5b5cb9403106
2017-01-23 22:24:26 +01:00
Ed Sanders 0882a5c2b0 build: Re-use MessageDirs in banana conf
Change-Id: Ifae29b342f8a018e68e28aacfd677d98bcd04b6b
2017-01-23 13:37:48 +00:00
Translation updater bot 3ccaff8cad Localisation updates from https://translatewiki.net.
Change-Id: I8f61e575fbd43840348e8fe70714004d8f274611
2017-01-22 22:20:10 +01:00
Translation updater bot 417d4b3285 Localisation updates from https://translatewiki.net.
Change-Id: Icbdce3f9a4ec9cfcc3dbd0d66054ecf79eabeb1e
2017-01-21 22:20:06 +01:00
Translation updater bot f18107effc Localisation updates from https://translatewiki.net.
Change-Id: I291de1659ce54a9675f693ae74c9124ed8520d65
2017-01-20 09:20:38 +01:00
Fomafix b63685468b Update PHP syntax from array(...) to [...] in comment
In 4bbd2277 only the syntax in the code is updated.

Change-Id: Ib69c913cacef0c90c4766ddbefd0a0b1b38972ee
2017-01-07 10:08:35 +01:00
Translation updater bot e7a2c9c1f9 Localisation updates from https://translatewiki.net.
Change-Id: I095d6fb59a1bed01640503940c4c8f1bcdf48e35
2017-01-04 22:30:04 +01:00
Translation updater bot ae20c91abf Localisation updates from https://translatewiki.net.
Change-Id: I9dfd1d34aed73e88e63094ae450e6640bf66676f
2016-12-28 10:45:06 +01:00
Translation updater bot ab486214d9 Localisation updates from https://translatewiki.net.
Change-Id: I18730d8d3da7f6c572094abcbe1824edccbe9a16
2016-12-26 22:36:07 +01:00
Translation updater bot 8a7820e865 Localisation updates from https://translatewiki.net.
Change-Id: I00e77ce7ddadbb53c613b8647ec211b122a4239a
2016-12-18 22:12:24 +01:00
Translation updater bot c60fe755ab Localisation updates from https://translatewiki.net.
Change-Id: Ibf7ded64e2f704231a165485fdd90d35626bf8c8
2016-12-17 22:19:56 +01:00
Translation updater bot df3acba441 Localisation updates from https://translatewiki.net.
Change-Id: Idb2226c4d39ea06e3bf3a4b725953396b453be38
2016-12-16 22:13:14 +01:00
Thiemo Mättig d6b1bdeff5 Make properties/methods in Cite private
Change-Id: I4be69a09125a898f7367fa08aa0c7f1a95324b3b
2016-12-15 13:01:03 +00:00
Translation updater bot 8e95eec696 Localisation updates from https://translatewiki.net.
Change-Id: I0b10b05a41602f2b5b21805c7eba4b4efab90ae3
2016-12-14 22:21:10 +01:00
Translation updater bot b9843c74fa Localisation updates from https://translatewiki.net.
Change-Id: Ie577da1b742c285e1d6b9f40fe9c2446854a95ec
2016-12-12 22:21:24 +01:00