Commit graph

365 commits

Author SHA1 Message Date
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
Translation updater bot 8cb1144177 Localisation updates from https://translatewiki.net.
Change-Id: Ifd1091cff7f4a6ad9bae32314536e21a009bdbc2
2016-10-15 22:58:41 +02:00
Translation updater bot 82e604483e Localisation updates from https://translatewiki.net.
Change-Id: I177760cbf6b0ee537f1a25311f70b8955a50ad71
2016-10-13 22:45:04 +02:00
Translation updater bot 0fa7214b3f Localisation updates from https://translatewiki.net.
Change-Id: I7b411be619dd2d4e4706b7df9eada4b8ad9aa63a
2016-10-09 22:44:48 +02:00
Translation updater bot 1bee8c7feb Localisation updates from https://translatewiki.net.
Change-Id: I638776b1a8fd37c26340020177c8d44d9bec4b27
2016-10-05 22:38:55 +02:00
Translation updater bot 436a75108a Localisation updates from https://translatewiki.net.
Change-Id: If6a68c62b27a26d4adc9deb82f97ae013073a087
2016-10-04 22:34:45 +02:00
Translation updater bot d0cabd298c Localisation updates from https://translatewiki.net.
Change-Id: I4b120decbfeb70ea5f604bdddd3d9d7ca3366787
2016-09-22 23:35:39 +02:00
Translation updater bot a7524447d4 Localisation updates from https://translatewiki.net.
Change-Id: I66af29924da8a2f4ed8d893de2f38f47ff066095
2016-09-14 22:34:07 +02:00
Translation updater bot f16390b461 Localisation updates from https://translatewiki.net.
Change-Id: I22969a9d0d2d55efd72729f53458978390b06814
2016-09-13 22:48:20 +02:00
Translation updater bot ca8a509fe0 Localisation updates from https://translatewiki.net.
Change-Id: I8f7aed03fa9ffdf86b64fe723f434d1d4e934add
2016-09-08 23:42:55 +02:00
Translation updater bot 77a231d093 Localisation updates from https://translatewiki.net.
Change-Id: I0fe83045bce551e49deaf964b29c7db395734a08
2016-09-07 22:40:48 +02:00
Translation updater bot 86c793aa17 Localisation updates from https://translatewiki.net.
Change-Id: I34a21c7aede92959ed2f837b8eac7292f5689e95
2016-08-28 22:34:47 +02:00
Translation updater bot e7c423750f Localisation updates from https://translatewiki.net.
Change-Id: I11edddc5dd5a435a4507145cf4d2343175e51d7a
2016-08-11 23:51:17 +02:00
Translation updater bot 1e2ccae422 Localisation updates from https://translatewiki.net.
Change-Id: I1be4555f5b36aad1d22571be7004a71c7b158f95
2016-08-09 22:28:56 +02:00
Translation updater bot ed4676f9d1 Localisation updates from https://translatewiki.net.
Change-Id: Ia29aa7452c257e3a8462c6fe91ca1f4852353974
2016-08-07 22:36:33 +02:00
Translation updater bot 2100c00a3a Localisation updates from https://translatewiki.net.
Change-Id: I48e29dc2fe4af882101ccf473dac10cd53e9ecfa
2016-08-04 23:25:40 +02:00
Translation updater bot b772b23739 Localisation updates from https://translatewiki.net.
Change-Id: I60ed6db830b5a403fabfd74dd04f1df3473502b9
2016-08-02 22:38:25 +02:00
Translation updater bot d7fac2c8fc Localisation updates from https://translatewiki.net.
Change-Id: I4916181c910ed9ee444f496888c6be7e574d5b09
2016-07-30 22:23:16 +02:00
Translation updater bot 0348666755 Localisation updates from https://translatewiki.net.
Change-Id: I8d94a16ad1bf036b03dd20dc6e338151488030e0
2016-07-28 23:01:54 +02:00
Translation updater bot eb277380d8 Localisation updates from https://translatewiki.net.
Change-Id: I1cd95fd566f4082b024072a864687cea58cf762e
2016-07-26 22:50:12 +02:00
Translation updater bot af3314b1cc Localisation updates from https://translatewiki.net.
Change-Id: I3a5c6864d5305ab7d8f996201ad3a66da6cb101d
2016-07-25 22:22:57 +02:00
Translation updater bot c1ea0dfc94 Localisation updates from https://translatewiki.net.
Change-Id: I269b814fbe7b89330f806fe03edcf285aca71a37
2016-07-24 22:22:42 +02:00
Translation updater bot aa42845677 Localisation updates from https://translatewiki.net.
Change-Id: I314f5a1bd95c1468215b1d399459d91494b21509
2016-07-12 22:47:00 +02:00
Translation updater bot a754aa912d Localisation updates from https://translatewiki.net.
Change-Id: Ibe9262d94c8448d357ced7b292e10ec0d9918aca
2016-07-11 22:55:09 +02:00
Translation updater bot 6e5793df85 Localisation updates from https://translatewiki.net.
Change-Id: I7a76e9f07fb8b2c4a6f53d8cd660daf66c279ac7
2016-07-06 22:26:35 +02:00
Translation updater bot c49fe539d2 Localisation updates from https://translatewiki.net.
Change-Id: Iab02ad0d6530ca0b6ca3124bf0d90c484c48198f
2016-07-05 22:31:39 +02:00
Translation updater bot 9a4909b8ea Localisation updates from https://translatewiki.net.
Change-Id: I112e2138ed46f5aa40e7ba353d5ff6f981634a02
2016-07-03 22:37:46 +02:00
Translation updater bot 72f10b4149 Localisation updates from https://translatewiki.net.
Change-Id: I29befc53eb910fd306d93806f80f88e84260d0f2
2016-07-01 23:17:54 +02:00
Translation updater bot 804899c53c Localisation updates from https://translatewiki.net.
Change-Id: I32760ce0bf6a2b766baccf92d6612f219dc2361d
2016-06-27 23:02:27 +02:00
Translation updater bot 6c0d29d928 Localisation updates from https://translatewiki.net.
Change-Id: I5fa8c2d223fb7f9b7bfa68ec1074848ba30dac45
2016-06-19 22:41:47 +02:00
Translation updater bot ff3d8a2041 Localisation updates from https://translatewiki.net.
Change-Id: I997f6a22ef34159a2c3a587ad9d9016ffb96a272
2016-06-18 22:43:36 +02:00
Translation updater bot b21b731f45 Localisation updates from https://translatewiki.net.
Change-Id: Ic4a241cf1f0cfe897fbf3e3786b506f3f8fa093d
2016-06-16 22:25:30 +02:00
Translation updater bot bc8d95577e Localisation updates from https://translatewiki.net.
Change-Id: I0c20d41f56defa0cf146ba374ba807a6634a0a9c
2016-06-15 22:33:07 +02:00
Translation updater bot c9f1cbe683 Localisation updates from https://translatewiki.net.
Change-Id: Ie8176329f73820893e934e2d148f942209c4f833
2016-06-06 22:57:15 +02:00
Translation updater bot 2bfee7ad17 Localisation updates from https://translatewiki.net.
Change-Id: I4f855d0631e893b43eda4cafaeb3b08907972804
2016-06-02 22:20:48 +02:00
Translation updater bot cf7d0a3ad4 Localisation updates from https://translatewiki.net.
Change-Id: I16f5bca582adc397a786a2a693c78ccf7f7b517d
2016-05-30 22:22:19 +02:00
Translation updater bot bb9b537f5d Localisation updates from https://translatewiki.net.
Change-Id: I0482aa24aac0edfddf1f423b550889abb521417e
2016-05-23 22:22:48 +02:00
Translation updater bot d2064977cc Localisation updates from https://translatewiki.net.
Change-Id: I3e8a3573993a72d562cfd1d29dee4cabb754d4a2
2016-05-22 22:22:33 +02:00
Translation updater bot cd9da1de2c Localisation updates from https://translatewiki.net.
Change-Id: I6a87cb15047a40b287a1f60103423b804ab13cef
2016-05-15 22:27:04 +02:00
Translation updater bot 5003d3cac5 Localisation updates from https://translatewiki.net.
Change-Id: I853ca7c0217bda664e98861ade3e9850ae9605db
2016-05-08 22:41:47 +02:00
Translation updater bot 277a15d138 Localisation updates from https://translatewiki.net.
Change-Id: I2ed88cb2e0dc7086e7ee6f8c318a6805e465080c
2016-05-07 10:51:20 +02:00
Translation updater bot ea27cad0cf Localisation updates from https://translatewiki.net.
Change-Id: I49d669001db97a5d5c5cf169821fd371c36e27a6
2016-04-24 22:32:00 +02:00
Translation updater bot 6e1894a3a3 Localisation updates from https://translatewiki.net.
Change-Id: I5c1a1c03b4df94a807e181755123a14f9e5e882f
2016-04-19 22:19:06 +02:00
Translation updater bot 716d812aa3 Localisation updates from https://translatewiki.net.
Change-Id: I46762bc1ad470c6e105c6008d96634b4613d9d57
2016-04-17 22:13:56 +02:00
Translation updater bot d67b635881 Localisation updates from https://translatewiki.net.
Change-Id: If4c32eda9d0d9976ad57bf3444a093b698b47986
2016-04-14 22:33:49 +02:00
Translation updater bot d97135f8a8 Localisation updates from https://translatewiki.net.
Change-Id: I9c17a5b1519401999e0398b442af2f0dddefdd42
2016-04-13 22:17:44 +02:00
Translation updater bot 0dc157a6de Localisation updates from https://translatewiki.net.
Change-Id: I20f92a688a97c390b64a386924069aa655e18960
2016-04-11 22:33:49 +02:00
Translation updater bot 93e61634fd Localisation updates from https://translatewiki.net.
Change-Id: Ib7a51083f72269335d3541e67a5086c382682063
2016-04-10 19:58:10 +02:00
Translation updater bot df3fb3a06d Localisation updates from https://translatewiki.net.
Change-Id: Ie06eb2f4dea3893d4f6b4064bec57cc5fc69021a
2016-04-01 22:25:03 +02:00
jenkins-bot 979ab3dff8 Merge "Avoid nowiki tags in reference links" 2016-04-01 16:13:07 +00:00
cenarium 987f20e558 Avoid nowiki tags in reference links
In reference links, brackets are wrapped in nowiki tags to avoid
breaking the link. This uses instead &#91; and &#93; (ASCII for
[ and ]). This simplifies parsing and mitigates the issue of
strip markers in references data.

Bug: T127787
Change-Id: Ibacae55eb99233d89d5c68261e3259cb2b723451
2016-03-27 20:33:35 +00:00
Translation updater bot d4b435a27c Localisation updates from https://translatewiki.net.
Change-Id: Ibdc895e80c8b3e10d14475fb38d3092958aefc84
2016-03-27 21:09:45 +02:00
Translation updater bot 21a2a06376 Localisation updates from https://translatewiki.net.
Change-Id: I634cc5dbca71a7a03fe9c8da6d9a23928811ffd4
2016-03-24 22:33:37 +01:00
Translation updater bot a04344a1d8 Localisation updates from https://translatewiki.net.
Change-Id: If2bc75079c69f353b28c31a07467eab37de5a07b
2016-03-23 22:19:26 +01:00
Translation updater bot a72e09ebee Localisation updates from https://translatewiki.net.
Change-Id: I85a09a8e5af91d8bd333b987a0f2bf0979c0dd99
2016-03-22 22:28:50 +01:00
Translation updater bot f650afdda7 Localisation updates from https://translatewiki.net.
Change-Id: I9b24cc13259899c82a94b236f5f5d658bbccb891
2016-03-21 23:29:50 +01:00
Translation updater bot f9b2e34514 Localisation updates from https://translatewiki.net.
Change-Id: I2a217fbfd6ce1b6aa91456795a095a1ccd4750e0
2016-03-20 22:37:23 +01:00
Translation updater bot 816979ec42 Localisation updates from https://translatewiki.net.
Change-Id: Id0b762567905496597ef4f7998cabb4c5832ae9b
2016-03-17 23:15:08 +01:00
Translation updater bot ddac4225ba Localisation updates from https://translatewiki.net.
Change-Id: Ide2e4ac7cc92469ba66967e77680cfc3ae861aad
2016-03-15 22:58:00 +01:00
Translation updater bot 83c465ce84 Localisation updates from https://translatewiki.net.
Change-Id: I3705ad48c736579f700357c3f1a5c198e3675e08
2016-03-14 22:46:52 +01:00
Translation updater bot 319238f840 Localisation updates from https://translatewiki.net.
Change-Id: Idff7a7f8f3bbdb9ea9b10aa60099308e0b2caa94
2016-03-09 22:39:48 +01:00
Translation updater bot 60fc36c7e4 Localisation updates from https://translatewiki.net.
Change-Id: I354e7e901ae35faf48ae11f3f136068a724e5ef8
2016-03-07 22:23:27 +01:00
Translation updater bot b4770061a2 Localisation updates from https://translatewiki.net.
Change-Id: I35a4da917a6fb1194063cedc9daf1a891de73939
2016-03-05 22:56:00 +01:00