Commit graph

347 commits

Author SHA1 Message Date
Brad Jorsch c4ce7c98e1 API: Split description messages into summary + additional text
See MediaWiki core patch I778bab2b

Change-Id: I2cea2a9d95886ff8aed655bf0be08857fca082db
2017-06-13 13:27:48 -04:00
Translation updater bot eba77bef5d Localisation updates from https://translatewiki.net.
Change-Id: Id820cd4e357d5bd8797c752ec3a5ba37fcc6b38c
2017-06-11 22:17:27 +02:00
Translation updater bot 345e08d31f Localisation updates from https://translatewiki.net.
Change-Id: Ic19badbe3f7db5ecad6ef5a1b1455ad181a50eed
2017-06-03 22:26:55 +02:00
Translation updater bot 6fe38195d8 Localisation updates from https://translatewiki.net.
Change-Id: If3b7e3e4f3eb75bb2f816a3ca7352886cbe4fd1e
2017-05-28 22:15:50 +02:00
Translation updater bot b9bba49b31 Localisation updates from https://translatewiki.net.
Change-Id: I25db26cd2c82ae461d90ae8992d30337a6669cac
2017-05-24 22:39:57 +02:00
Translation updater bot da75ae0e4a Localisation updates from https://translatewiki.net.
Change-Id: Ia36ed0f7e287c0ac538ba39e85ad6c3a5e248f63
2017-05-20 22:27:51 +02:00
Nemo bis 832f787641 Revert "Localisation updates from https://translatewiki.net."
Mistaken addition of English strings as Hindi messages.
https://translatewiki.net/wiki/Thread:User_talk:Sfic/Import_of_English_strings_to_Hindi

This reverts commit 29557f0102.

Change-Id: Ib11b72582ba6d884e5eb2f12f7ef051e31bf1337
2017-05-19 09:05:23 +00:00
Translation updater bot 29557f0102 Localisation updates from https://translatewiki.net.
Change-Id: I6ea5c8c70158379dc6533057d2afa9bf8140798d
2017-05-18 22:32:01 +02:00
Translation updater bot 0cf2a0dbc6 Localisation updates from https://translatewiki.net.
Change-Id: I7669aeaed29941f1adde9627e56885aa08ec7357
2017-05-12 22:51:42 +02:00
Translation updater bot a47bf238b9 Localisation updates from https://translatewiki.net.
Change-Id: Ie99b5faf188959f0e1db191b3305fe840e80293c
2017-05-11 23:04:39 +02:00
Translation updater bot 3566d06de0 Localisation updates from https://translatewiki.net.
Change-Id: I5c5d9e7a5cbafd790c816a385a27bb7f3307ea88
2017-05-08 22:37:42 +02:00
Translation updater bot 8cb23814f6 Localisation updates from https://translatewiki.net.
Change-Id: I61deea5ff445257b342cb9361ed6adb5ae72a18e
2017-05-07 22:52:43 +02:00
Translation updater bot 5c7d75f982 Localisation updates from https://translatewiki.net.
Change-Id: Ibaad97b9741582e6a20a8a93bd1076ef893f7fd6
2017-05-06 22:38:38 +02:00
Translation updater bot 6435f02bcb Localisation updates from https://translatewiki.net.
Change-Id: I46274b4aef60d4956b24cc619a147ba234464421
2017-05-04 22:42:22 +02:00
Translation updater bot 0b88b9e18d Localisation updates from https://translatewiki.net.
Change-Id: I48562ef886dc9ecb5dd19786596d314aa1bcf2eb
2017-05-02 22:46:03 +02:00
Translation updater bot fc8203b5d0 Localisation updates from https://translatewiki.net.
Change-Id: I1ef67362aff4c66bad8f7929300b6e3d5c86a30e
2017-04-29 23:02:28 +02:00
Translation updater bot 9b6d9874db Localisation updates from https://translatewiki.net.
Change-Id: Iae01cbefce106fe8de8728aaf08441fde08a0b8c
2017-04-27 22:32:40 +02:00
Translation updater bot 5b01316d8d Localisation updates from https://translatewiki.net.
Change-Id: I2ee63bde026af7f01ad8e735dfd65bc83dabee68
2017-04-25 22:38:28 +02:00
Translation updater bot 1b5b4fd864 Localisation updates from https://translatewiki.net.
Change-Id: I6757bda28a663bc0e3dd6e470187f6f951ed652b
2017-04-24 22:35:51 +02:00
Translation updater bot 6956b5a703 Localisation updates from https://translatewiki.net.
Change-Id: Ia7b295ab186efad30dd6da130979d0e64aa2fbc0
2017-04-23 22:26:57 +02:00
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