Commit graph

327 commits

Author SHA1 Message Date
Translation updater bot cb97c23516 Localisation updates from https://translatewiki.net.
Change-Id: Iec7bd154b3ec3467aa4949af185eb280e862e73f
2017-04-22 22:41:26 +02:00
Translation updater bot c85c7d807b Localisation updates from https://translatewiki.net.
Change-Id: I446fd79dd5357abe87d2fbc505f311ec5d96f907
2017-04-21 22:43:29 +02:00
James D. Forrester efce5f2b49 Drop the pointless "AllowCiteGroups" config setting
Bug: T161144
Change-Id: Ie1454926b8bfa108a62d088991e66b6dae9c9f10
2017-04-20 22:56:08 +00:00
Translation updater bot 60dcf86ce7 Localisation updates from https://translatewiki.net.
Change-Id: I4e31515309db654bf6754b8d735c4faae62045df
2017-04-19 22:52:29 +02:00
Translation updater bot 0d3b19d9d2 Localisation updates from https://translatewiki.net.
Change-Id: I50972660c81ecbfa2b0b3c018c74e4c5ab06e88e
2017-04-17 22:21:39 +02:00
Translation updater bot 4c1d01f158 Localisation updates from https://translatewiki.net.
Change-Id: I6edc9e189cbd89332379569db22cc97e45955222
2017-04-16 10:12:06 +02:00
Translation updater bot 3073bff32a Localisation updates from https://translatewiki.net.
Change-Id: I9d8364e9aaf84c0591a9d7563fa0460d0b144782
2017-04-15 10:43:22 +02:00
Translation updater bot 314e8a64a7 Localisation updates from https://translatewiki.net.
Change-Id: I0826ca3b6892070725b05eee357852c124b9fe65
2017-04-12 22:27:34 +02:00
Translation updater bot 2aadf5b824 Localisation updates from https://translatewiki.net.
Change-Id: I36b9af4b47144da75a4c0a66148a0dbb71f72e3a
2017-04-11 22:46:23 +02:00
Translation updater bot 2eb7c318c8 Localisation updates from https://translatewiki.net.
Change-Id: I94a421c41c8b6c9180317f21a4ac1e196531012c
2017-04-10 22:44:35 +02: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
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 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
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 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 b4441fe5ca Localisation updates from https://translatewiki.net.
Change-Id: Ib7a67a8359810da9775fd5775e7d5b5cb9403106
2017-01-23 22:24:26 +01: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 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 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
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
jenkins-bot 4b97528610 Merge "Update for API error i18n" 2016-12-07 07:15:48 +00:00
Translation updater bot a21826e1b2 Localisation updates from https://translatewiki.net.
Change-Id: I1cbd2916dfff0b59fca32ec9f8fa06feec718995
2016-11-27 22:26:16 +01:00
Translation updater bot 974771cf4a Localisation updates from https://translatewiki.net.
Change-Id: Ib31e9e9583a63d22bccd6775ee7ffa210c1e0ad1
2016-11-22 23:21:38 +01:00
Translation updater bot ad9c534b7c Localisation updates from https://translatewiki.net.
Change-Id: Iac072928cfa45a973f4e3b21c18fdccead31f312
2016-11-16 22:43:39 +01:00
Brad Jorsch d51d8b304f Update for API error i18n
See Iae0e2ce3.

Change-Id: I8f214dd95876e1eadc4a0463cba3d5a13d783014
2016-11-14 12:48:23 -05:00
Translation updater bot a2d58ca043 Localisation updates from https://translatewiki.net.
Change-Id: I01414094f9a3cf85dabb787c022568835a564238
2016-11-13 22:40:47 +01:00
Translation updater bot 80b4b6e3fb Localisation updates from https://translatewiki.net.
Change-Id: If49d7ea52c22a57281ac617b4c258d80b7c7152b
2016-11-07 22:37:28 +01:00
Translation updater bot 2c33f274ee Localisation updates from https://translatewiki.net.
Change-Id: Ic3b7b5b81ef23712d9a559b10d648c29063899d5
2016-11-05 22:52:42 +01:00
Translation updater bot f4eab9182a Localisation updates from https://translatewiki.net.
Change-Id: I59728445e8ae13d16fb1d0dfc10f4cf17bbc5618
2016-11-04 22:48:07 +01:00
Translation updater bot 4f0fb1402b Localisation updates from https://translatewiki.net.
Change-Id: If5378f8d26ed6dd1fb196d4f184087a9bdd8db01
2016-10-30 22:39:33 +01:00
Translation updater bot 909db64849 Localisation updates from https://translatewiki.net.
Change-Id: If17edd215c1c1f34fff8ad1f8fd60c807cdee9a0
2016-10-22 22:42:20 +02:00
Translation updater bot 67ee35b867 Localisation updates from https://translatewiki.net.
Change-Id: I5c9ed5b9c4142ade541a6934b972e5da8ee873b7
2016-10-17 22:30:24 +02:00