Commit graph

205 commits

Author SHA1 Message Date
Translation updater bot 5aebd50674 Localisation updates from https://translatewiki.net.
Change-Id: Ib67684b3421ad0afdf1d2acf0a313c1b0e406967
2017-06-13 22:23:27 +02:00
jenkins-bot d0ac407b34 Merge "Reduce column width from 35em to 30em" 2017-06-13 16:15:35 +00: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 0520b23ca5 Localisation updates from https://translatewiki.net.
Change-Id: I278c90344684e8cd03ed059e47cac36aca2af55b
2017-06-06 22:24:57 +02:00
Translation updater bot 8139d5f089 Localisation updates from https://translatewiki.net.
Change-Id: I864ac24ac5f16806bcb42ab7980913668e30128a
2017-06-05 22:53:17 +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 b618538281 Localisation updates from https://translatewiki.net.
Change-Id: I1e7bf6694b64fe1e1d5e17b575990a77fa60b647
2017-06-02 22:26:19 +02:00
Translation updater bot 40b4900f94 Localisation updates from https://translatewiki.net.
Change-Id: Id4c2c1ed34b7c1cd4e4518d6517a7394f572b1df
2017-06-01 22:51:42 +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 42ca8d6d8a Localisation updates from https://translatewiki.net.
Change-Id: I8f0191c8a357abec512f46c9318d92943e54764d
2017-05-26 22:26:57 +02:00
Translation updater bot cf5d3bea55 Localisation updates from https://translatewiki.net.
Change-Id: I1add477618550418d8c4a8973ad8001664501871
2017-05-25 22:31:05 +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 8ae6ec2c27 Localisation updates from https://translatewiki.net.
Change-Id: I15e95bbe81abdf213b80584392bfefc03a69b65b
2017-05-23 22:43:31 +02:00
Translation updater bot 831786a556 Localisation updates from https://translatewiki.net.
Change-Id: If1701146b330f0596c2d329f3f3aed4b6f7d5c8c
2017-05-21 22:34:46 +02:00
Jforrester 9c25cd288f Merge "Revert "Update ve.ui.MWWikitextStringTransferHandler.test results for <p> wrapping"" 2017-05-21 14:33:03 +00:00
Jforrester 978b098025 Revert "Update ve.ui.MWWikitextStringTransferHandler.test results for <p> wrapping"
This reverts commit ca45349b84.

Change-Id: If4ca5fdb57fbddd0eb89aa8adf4c47a0c005e023
2017-05-21 14:09:06 +00:00
Translation updater bot da75ae0e4a Localisation updates from https://translatewiki.net.
Change-Id: Ia36ed0f7e287c0ac538ba39e85ad6c3a5e248f63
2017-05-20 22:27:51 +02:00
James D. Forrester 9a17d9342b Describe group changes for references and references lists
Bug: T160589
Change-Id: Ifccafdf08704f67027dae2703ff2ded809fb6ab7
2017-05-20 14:26:58 +00:00
James D. Forrester ca45349b84 Update ve.ui.MWWikitextStringTransferHandler.test results for <p> wrapping
Change-Id: I782d13187e30d9a871b9805ee28e8a43eae6c61e
Depends-On: Ibd21e6a78c3958db1c0ec8f0317c4c07f3fa5735
2017-05-19 19:33:11 +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 29aca3bd67 Localisation updates from https://translatewiki.net.
Change-Id: I824e7d73e0aa88f9bb95a046c14d21946c8bf28b
2017-05-14 22:20:41 +02:00
Translation updater bot ec8d2a5e27 Localisation updates from https://translatewiki.net.
Change-Id: Ib5dfc905016be914ae1ad793ab7c7f03b66c8f01
2017-05-13 22:22:20 +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
James D. Forrester 490e193f7f Reduce column width from 35em to 30em
Bug: T161788
Change-Id: I9c8e0479187ff92af5207145f52bb73519cecf29
2017-05-11 12:56:34 -07:00
Translation updater bot 2ec3dbd58f Localisation updates from https://translatewiki.net.
Change-Id: Ic4e5d45af78141ae47d525cc6d2542371b82eb06
2017-05-09 22:44:07 +02:00
Translation updater bot 3566d06de0 Localisation updates from https://translatewiki.net.
Change-Id: I5c5d9e7a5cbafd790c816a385a27bb7f3307ea88
2017-05-08 22:37:42 +02:00
Ed Sanders 1dcdeae9f6 build: Update eslint to 0.4.0 and make pass
Change-Id: I9f4508345ca6dadf617e8ed0e1dd11d28fa01c79
2017-05-04 21:09:05 +00:00
Ed Sanders db1e5a5907 Remove separate stylelint config for VE
Change-Id: I94fbce9b572a08eba2c1c2290f6777fe2f465e01
2017-04-28 17:31:20 +01:00
Ed Sanders d937925367 QUnit: Remove all code for counting tests
Change-Id: Iff2ea4f957cd835ca489b0c189d1511c0409f71f
2017-04-28 16:49:43 +01:00
jenkins-bot e5c5886287 Merge "doc: Bump copyright year notice, 'team' name" 2017-04-20 23:24:51 +00:00
David Lynch 4841b7496c MWReferenceNode: Don't try to remove from the internal list if it's not added
Recent changes to setRoot in ve core (719f8c667) cause unroot to occur at a
point we weren't expecting, when adding a new reference.

Bug: T163267
Change-Id: If02ea08bb8b6db3be41d51ab44ce2a74cfe07914
2017-04-20 18:18:19 +01:00
Ed Sanders 1fe0fb2e70 Only remove from internal list if unroot from correct document
Bug: T163267
Change-Id: I11ff56fbd437e46aab516a50235f8077eea0af5b
2017-04-20 18:18:02 +01:00
James D. Forrester 0d20873fa6 doc: Bump copyright year notice, 'team' name
Change-Id: Ia090c417a1aa716b255613199b5e49616bf0517a
2017-04-20 16:50:43 +00:00
Ed Sanders 5b477ce3a1 Bring in wikitext paste tests from ve-mw
Depends-On: Ibea6994a208e4b0b1022896eb31dd2f36f0fd6c6
Change-Id: I244570c39e2f3595137c02e62cb91ba8eeab8a4a
2017-04-20 16:27:50 +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 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
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
Translation updater bot 76d3e0e57a Localisation updates from https://translatewiki.net.
Change-Id: Iee455167d41de5314d101c7257a547518b8934dc
2017-04-09 22:39:38 +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
Ed Sanders 61a624584b Send better HTML to the clipboard
Change-Id: Id8539697e6b30fd98e672452eda9b9c792c3c366
2017-03-20 13:42:03 +00: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 6a0017a356 Localisation updates from https://translatewiki.net.
Change-Id: I0d29ce305e3b1d495598b9ec190f22bd2dd3127f
2017-02-28 22:52:10 +01:00
Translation updater bot 174a93a4b0 Localisation updates from https://translatewiki.net.
Change-Id: Id99b330d2098e0fc7f05fb92a836d9948bc756a4
2017-02-19 22:24:14 +01:00