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
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
Translation updater bot
b4441fe5ca
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib7a67a8359810da9775fd5775e7d5b5cb9403106
2017-01-23 22:24:26 +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
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
8a7820e865
Localisation updates from https://translatewiki.net .
...
Change-Id: I00e77ce7ddadbb53c613b8647ec211b122a4239a
2016-12-18 22:12:24 +01:00
Translation updater bot
b9843c74fa
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie577da1b742c285e1d6b9f40fe9c2446854a95ec
2016-12-12 22:21:24 +01:00
Ed Sanders
4ff0db7100
Force word break in context preview for long links
...
Bug: T152680
Change-Id: I50c547703d86def747655567a76702e9bc6610e7
2016-12-08 13:11:18 +00:00
Ed Sanders
099b8f8153
Use canonical ve.dm.TransactionBuilder.static.newFrom* methods
...
Change-Id: I9ce6860e19e833b576f7b9fb239b96de394b667c
2016-11-30 19:06:13 +00:00
jenkins-bot
964e8644dc
Merge "Re-use target widgets"
2016-11-29 20:50:04 +00:00
Ed Sanders
ee40877e83
Re-use target widgets
...
Depends-On: I5ed0591048a17e84077bde5490e05c0467d0394a
Depends-On: I5decb918f398704d4b6c108a16fbc1cc073ef077
Change-Id: Icba13d84e10cf18a6c68e26448b2efe93b8c42b8
2016-11-29 19:50:09 +00:00
Translation updater bot
5b71049da9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie5336b0a57050bd7f19a6a7202e3b5e74daf7f59
2016-11-25 22:48:28 +01:00
Translation updater bot
2e027352c4
Localisation updates from https://translatewiki.net .
...
Change-Id: I90c7105100b3ed48eaebdb524802512136899de8
2016-11-18 22:13:52 +01:00
Ed Sanders
ec1cf7c029
Update ComboBoxInputWidget API
...
Bug: T150555
Change-Id: I29ce9a806cdadf02798fa23de993fcca6ab476f6
2016-11-15 17:28:49 +00:00
Ed Sanders
04fca616e9
eslint: Re-enable wrap-iife and partially enable dot-notation
...
Change-Id: I8f5e8d7b4547337943ec6df8ffb3d8db9f466217
2016-11-15 12:59:21 +00:00
Translation updater bot
a2d58ca043
Localisation updates from https://translatewiki.net .
...
Change-Id: I01414094f9a3cf85dabb787c022568835a564238
2016-11-13 22:40:47 +01:00
Ed Sanders
43f56c81a8
Fix MWReferenceGroupInputWidget and uses
...
Now it is an actual input widget, remove references
to .input property.
Bug: T150491
Change-Id: I826a2cb5ecf98d0e35ccab804f2aa90bbff7ada2
2016-11-10 23:23:58 +00:00
James D. Forrester
c9c10d2998
MWReferenceGroupInput: It's ComboBoxInputWidget, not ComboBoxWidget
...
Change-Id: I7d16ab96363f13fc12df0ef17d5e7dcec6321bd9
2016-11-09 11:29:52 -08:00
jenkins-bot
5654987b74
Merge "Re-use internalList when building index"
2016-11-07 16:28:45 +00:00
Translation updater bot
2c33f274ee
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic3b7b5b81ef23712d9a559b10d648c29063899d5
2016-11-05 22:52:42 +01:00
Ed Sanders
753d87b072
Re-use internalList when building index
...
Calling #getItemNode on the un-initalised internalList caused
a tree rebuild of the sub-document.
On a page with 200 references this cuts the time it takes to
render the re-use list from ~2000ms to ~1000ms.
Bug: T134975
Change-Id: I696a965e88338e1bec2a14f61dab158c56728f2e
2016-11-05 18:05:59 +00:00
David Lynch
36c2f42226
Give cite dialog a keyboard shortcut: meta-shift-k
...
Very similar to the link shortcut, on logic that they're similar actions.
Bug: T148302
Change-Id: I540a9fb5c61f796bebd8558557936898d5f9b8a0
2016-11-03 11:34:49 -05:00
Ed Sanders
4c0e837dad
Use stricter test for originalDomElementsIndex
...
Change-Id: I43a0f639fa50fb2bbe9f935dd141d595571d8e24
2016-11-02 12:51:10 +00:00
Ed Sanders
a42c656c53
build: Replace jscs+jshint with eslint
...
Change-Id: Ibcfab289a6dd4dcac853aa2e5338516994067cd5
2016-11-02 12:50:48 +00:00
Ed Sanders
f4240f13f9
Use 'super' to call parent methods
...
Change-Id: Iba051a1e84b2ea805d0b3795933587c735ec0d88
2016-11-02 12:43:14 +00:00
Translation updater bot
d548b8fbda
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib7eaa8d5219c9b498e6dd27e626d89508a495d6a
2016-10-20 23:45:45 +02:00
Translation updater bot
14ba2c05e2
Localisation updates from https://translatewiki.net .
...
Change-Id: Iafcd62f1cdd89c754274fa0f63f6c4e165f146c2
2016-10-19 23:23:52 +02:00
Translation updater bot
3ac0219e4d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic21b0e2c92a7fe54f9ef4eab93d1d092abdbff6d
2016-10-18 22:33:11 +02:00
Translation updater bot
dda2f7b145
Localisation updates from https://translatewiki.net .
...
Change-Id: I001657856abb9638b55f5848a11bf3df357a6d69
2016-10-16 22:39:20 +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
ced303370e
Localisation updates from https://translatewiki.net .
...
Change-Id: I7e246f5a17f71a1d054db9c91bf5e67b5e740f57
2016-10-10 22:25:51 +02:00
Translation updater bot
dbc98ab1f1
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ef8d968104aaf3e6b70cd4698b60e4ff2cfcba1
2016-10-02 10:35:47 +02:00
Translation updater bot
c11d591f5d
Localisation updates from https://translatewiki.net .
...
Change-Id: I74cb5f446d8e164215912cef092e02f221b2e130
2016-09-27 22:34:49 +02:00
Translation updater bot
31d7324c5b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib5a1c4df6c5b509fbf06b8f26807fcc70820742c
2016-09-24 22:39:23 +02:00
Translation updater bot
593497b54c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie630ebc299812057c2ed160fc60e590fc71ed253
2016-09-23 22:32:05 +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
77a231d093
Localisation updates from https://translatewiki.net .
...
Change-Id: I0fe83045bce551e49deaf964b29c7db395734a08
2016-09-07 22:40:48 +02:00
Translation updater bot
60f15932b5
Localisation updates from https://translatewiki.net .
...
Change-Id: I01ffe8703feab6bd62b9a6df173865633cd8de5c
2016-09-01 23:22:55 +02:00
Translation updater bot
d7e953f33d
Localisation updates from https://translatewiki.net .
...
Change-Id: I530ca1d7d622d629c5f077a76f82600a0d97a7c4
2016-08-27 23:22:42 +02:00
Ed Sanders
fc4788d51b
Move originalDomElements to IV store and use new hash
...
Depends-On: I8a71c1a40ec35108d0a9a388da6f75632f8dc53c
Depends-On: I0fbb6324eede94558426178cbdad6b5daf0f8318
Change-Id: I32c9b5f984fcf96e3354841ecfcd444149e8f159
2016-08-24 18:14:47 +00:00
Translation updater bot
8944130bbe
Localisation updates from https://translatewiki.net .
...
Change-Id: I8435a8ab48459e22a649a12a266d2d4ba5f9b419
2016-08-16 22:40:38 +02:00
Translation updater bot
eadf04da50
Localisation updates from https://translatewiki.net .
...
Change-Id: Id79b07ebc475ee873f631adbb8c2f2f5ce8a9c68
2016-08-12 23:09:32 +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
David Chan
fc70622405
Hide text without confusing Chromium's cursoring
...
Bug: T123608
Change-Id: I8c16277d877111180fd0f1cd39175fc85e3e0579
2016-08-04 15:47:48 -07:00
Translation updater bot
bc80e8cd1a
Localisation updates from https://translatewiki.net .
...
Change-Id: I31fb70c0b978b29f345cdf8e1394ba8e6212c1e1
2016-07-31 22:21:42 +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
247f1c8aed
Localisation updates from https://translatewiki.net .
...
Change-Id: I37a084270866c9fb7297cb4d581026178cb785df
2016-07-21 22:53:45 +02:00
Translation updater bot
6ea51d1f5d
Localisation updates from https://translatewiki.net .
...
Change-Id: I679ed6b69045f7bf0b6893208e80c99f3b93d46b
2016-07-17 22:27:19 +02:00
Translation updater bot
568beaf64b
Localisation updates from https://translatewiki.net .
...
Change-Id: I06b574c44e60050b68f797e1984b1b489f7e02b5
2016-07-16 22:55:17 +02:00
Translation updater bot
1c48e08746
Merge "Localisation updates from https://translatewiki.net ."
2016-07-12 20:54:14 +00:00
jenkins-bot
11295fe6a9
Merge "Use 'demote' only to move cite tools to insert group"
2016-07-12 20:51:59 +00:00
Translation updater bot
aa42845677
Localisation updates from https://translatewiki.net .
...
Change-Id: I314f5a1bd95c1468215b1d399459d91494b21509
2016-07-12 22:47:00 +02:00
Ed Sanders
5f4b86a9be
Use 'demote' only to move cite tools to insert group
...
Leave include as '*' as changing it to an array currently breaks
the wildcard functionality.
Also rewrite the hack slightly so it only modifies the list,
rather than overwriting it.
Bug: T139727
Change-Id: I041bad6346a4f39e967dca8cc610100463be0ded
2016-07-11 18:32:00 +00:00
Translation updater bot
7b4527e697
Localisation updates from https://translatewiki.net .
...
Change-Id: I085f44f19e2ad96cc747ba07dd471f91088d5185
2016-07-10 22:18:39 +02:00
Translation updater bot
81e2b44237
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia776dda01b67496ef1ef31c63e3574bea7776f30
2016-07-09 22:52:23 +02:00
Translation updater bot
85b34579cf
Localisation updates from https://translatewiki.net .
...
Change-Id: I2720f561d8fa97100a11f7d07ea820bf8d66c3e5
2016-07-08 23:07:34 +02:00
Translation updater bot
aff280552e
Localisation updates from https://translatewiki.net .
...
Change-Id: I032c82f5bb9468d9cfd07074a1f2bd121feeb3a1
2016-07-04 22:29:41 +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
70fbdb91b7
Localisation updates from https://translatewiki.net .
...
Change-Id: I44ae01373c956ef091d21ea85b4b2fb0381e5229
2016-07-02 22:50:32 +02:00
Translation updater bot
72f10b4149
Localisation updates from https://translatewiki.net .
...
Change-Id: I29befc53eb910fd306d93806f80f88e84260d0f2
2016-07-01 23:17:54 +02:00
Ed Sanders
1505000fe5
Use target widget factory method
...
Change-Id: I107afbb4f7e8ae97bdb27f3b5f7acd357dada414
2016-06-29 17:14:43 +01:00
Alex Monk
724d890541
Make it possible to send VE cite toolbar items to the 'insert' (other) group
...
To be merged with Ifd688ae6
Bug: T133727
Change-Id: Ic87f996f2a95ffe89999384c48f11745f251db0e
2016-06-29 13:36:14 +01:00
Alex Monk
e284811889
Follow-up I454380c3: Update/fix some things I missed
...
Per Krinkle's comment
Change-Id: I527a694116939d0303a06556eb479201852e227d
2016-06-28 23:01:20 +01: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
78afade8ec
Localisation updates from https://translatewiki.net .
...
Change-Id: I69e2265e4fdfd1a611ec8039cdaa79b5c5620984
2016-06-26 14:13:42 +02:00
Translation updater bot
81210678cf
Localisation updates from https://translatewiki.net .
...
Change-Id: I764d701484ce8202e1bead2a739e203f0a34e06e
2016-06-25 14:50:15 +02:00
Alex Monk
24f2d64edd
Make visualeditor-cite-tool-definition.json always exist, rename to cite-tool-definition.json
...
Bug: T138573
Change-Id: I454380c392feea55483d00d4b7eec45bce04ff53
2016-06-25 00:37:20 +01:00
Ed Sanders
58ecfc64b1
Trim search queries in VE's reference search widget
...
Bug: T138278
Change-Id: I044fa6b8b5049e5520f0e1b4993eebab8498bd55
2016-06-21 13:17:53 +01: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
2b6c4343d8
Localisation updates from https://translatewiki.net .
...
Change-Id: I655437410b4148a4d6e73813b2702bc3da12bbc8
2016-06-10 22:13:47 +02:00
Translation updater bot
e58e6a5b6c
Localisation updates from https://translatewiki.net .
...
Change-Id: I54d0f2137406c0d5fc40b5f1f3ae1fb7b4606e72
2016-05-31 22:41:08 +02:00
jenkins-bot
12854f5625
Merge "Use commandRegistry from current surface, not target"
2016-05-30 21:57:52 +00:00
Ed Sanders
96922a2aa0
Use commandRegistry from current surface, not target
...
This shouldn't make a difference for any current implementations
but in the future different surfaces my have different commands.
Change-Id: I383a4a76cda142107da2f8aa1c6a90c4307e3b97
2016-05-30 22:36:45 +01:00
Ed Sanders
7d9693d090
Use cloneWithData
...
Change-Id: Ibab88f333cd39aabc73a579e1b05fc9b830b6d86
2016-05-30 22:34:15 +01:00
Translation updater bot
bce71fd9ee
Localisation updates from https://translatewiki.net .
...
Change-Id: I90c5b178ed61e3974f4b8cc7af30044a6e298675
2016-05-29 22:26:26 +02:00
Translation updater bot
caa6e2ea3e
Localisation updates from https://translatewiki.net .
...
Change-Id: I075bc3bf362521439a7aa30121731d803f4544dd
2016-05-24 23:05:05 +02:00
jenkins-bot
c9a0e1a9fe
Merge "Fix documentation"
2016-05-24 14:38:45 +00:00
jenkins-bot
8a0eeef6c2
Merge "Update stylelint config version and make a pass"
2016-05-24 14:38:42 +00:00
Ed Sanders
1ceef164c5
Fix documentation
...
Change-Id: I56bb846bd91a0d39b21a9783df99b5f72c5e65f7
2016-05-24 13:49:22 +01:00
Ed Sanders
50b57f017a
Update stylelint config version and make a pass
...
Change-Id: Ice5bcec27ae98dcbcb246ae166ed8f04e07dc099
2016-05-24 13:48:46 +01: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
Ed Sanders
bac8dd6be7
Add stylelint and make required style fixes
...
Change-Id: I8a9def8056a72c3da0c066413e94311a1d839f5b
2016-05-17 18:21:30 +01:00
jenkins-bot
a8465a7973
Merge "Explicitly insert transclusion as inline"
2016-05-16 08:19:19 +00:00
Ed Sanders
24939dd424
Explicitly insert transclusion as inline
...
This keeps the insertTransclusionNode method in synchronous mode.
Logically depends on Ibc2fc66e68 but should be merged before it.
Change-Id: Iec17ea65d38fec7ca7ffcf81032c7346635218d9
2016-05-15 12:16:51 +01:00
Translation updater bot
59b452e147
Localisation updates from https://translatewiki.net .
...
Change-Id: Id9d053df8ef9ba67b05afe4ee4e6f594e373edca
2016-05-10 22:26:10 +02:00
Translation updater bot
5003d3cac5
Localisation updates from https://translatewiki.net .
...
Change-Id: I853ca7c0217bda664e98861ade3e9850ae9605db
2016-05-08 22:41:47 +02:00
Ed Sanders
06376669d9
ve.dm.MWReferenceNode: Override static cloneElement instead of getter
...
The getter isn't always used, but the static method is.
Change-Id: I9b3df7f4e8056cdb554c3ed9a27c39148b2b3237
2016-05-04 13:39:38 +00:00