Commit graph

1463 commits

Author SHA1 Message Date
James D. Forrester 0999d771b6 doc: Bump copyright year
Also make the overly-terse statement clearer.

Change-Id: I752bb82444bf7cb41480076bace42331dc35a598
2018-01-02 17:05:50 -08:00
Ed Sanders 366d44926a MWReferenceNode: Generate 'sup' tags by default
Bug: T45094
Change-Id: I8973328095f36cce2cebbf335ee7421187eedfad
2018-01-02 15:39:08 +00:00
Ed Sanders fbcd9e41df Allow mw-ref rules apply to any element
i.e. span or sub.

Bug: T45094
Change-Id: Ib3fae04300c379727aad81b2c0c2a882d8657fe0
2018-01-02 13:59:31 +00:00
Translation updater bot 9e2c5abfa9 Localisation updates from https://translatewiki.net.
Change-Id: Ieb195f0607ab8af66207ed3c9a0e4c8ca96e4652
2017-12-23 22:26:47 +01:00
Translation updater bot f3cc7166bd Localisation updates from https://translatewiki.net.
Change-Id: I8d06dbc5532e81a616323f604f3969becd85b8a0
2017-12-18 23:06:10 +01:00
Translation updater bot a48013507b Localisation updates from https://translatewiki.net.
Change-Id: Ia22461372f68a7880c52db27021f8395dd96b06e
2017-12-14 23:12:16 +01:00
Translation updater bot 4f0df71890 Localisation updates from https://translatewiki.net.
Change-Id: I570114d1cafe29ffe5166dacdd58f070b053c7d7
2017-12-11 23:38:40 +01:00
Translation updater bot a2b65a30de Localisation updates from https://translatewiki.net.
Change-Id: I753359ad4af7ba03740a0c7f58a4adba040ee158
2017-12-07 23:07:14 +01:00
Translation updater bot ed8f558748 Localisation updates from https://translatewiki.net.
Change-Id: I8477d205bb76b95620ce2af2ab08d8b1d30ed71a
2017-12-05 09:40:07 +01:00
Translation updater bot a2519d23ab Localisation updates from https://translatewiki.net.
Change-Id: I462e67bf3adfa494e7e31b4957816657669c699f
2017-12-03 22:48:13 +01:00
Translation updater bot 450789dcbf Localisation updates from https://translatewiki.net.
Change-Id: Ife0b7f2590b97fc39d9f8f6ec4ec828ba54e0f7d
2017-12-02 22:28:27 +01:00
Translation updater bot c952385d88 Localisation updates from https://translatewiki.net.
Change-Id: I44f7f2246d94cbf0ec9b5c50888e4a643fd0d693
2017-11-26 22:30:01 +01:00
Translation updater bot dd9e18e3a4 Localisation updates from https://translatewiki.net.
Change-Id: I22036ca877d08a970fdc548bac0126a0d151df92
2017-11-15 22:18:17 +01:00
Translation updater bot aebb9b586a Localisation updates from https://translatewiki.net.
Change-Id: I0a13d8c773de66f293d4b35c83cab9a0df597b47
2017-11-14 22:20:22 +01:00
Translation updater bot 923b98d82f Localisation updates from https://translatewiki.net.
Change-Id: I6bae356d0f54569f83693018d84330ad24a10749
2017-11-11 22:31:02 +01:00
Translation updater bot ef605faf84 Localisation updates from https://translatewiki.net.
Change-Id: I6554d0a23a468c0b1b1024f7c6fb0832fc944a43
2017-11-10 22:31:32 +01:00
jenkins-bot b0bae90a29 Merge "MWReferencesList: drop autoGenerated attribute if changed" 2017-11-07 21:28:20 +00:00
David Lynch d54fbf287d MWReferencesList: drop autoGenerated attribute if changed
If the user has moved the reflist away from the end of the document, or
changed any properties on it, it shouldn't be treated as autoGenerated any
more.

Bug: T153754
Change-Id: I348601952dbfcf06bfb564e4db9cac820f3b2776
2017-11-07 11:56:08 -06:00
Translation updater bot 832261ea11 Localisation updates from https://translatewiki.net.
Change-Id: Ibb660e348f13a0df784cec0358e6980e23a7e02a
2017-11-06 22:46:36 +01:00
Volker E 2b446d7bca Unify SVG markup
Align SVG markup across Foundation products by
- unifying XML declaration,
- removing unnecessary groups and ids where applicable and
- unifying whitespace.

Bug: T178867
Change-Id: I8df6cb46d85a972b9f4319565dca89fd31629cf7
2017-11-04 19:04:30 -07:00
Translation updater bot bf27c21cde Localisation updates from https://translatewiki.net.
Change-Id: Iccb6859a62d9ead72922e0a11b40363af6bf76b5
2017-11-04 22:34:38 +01:00
Translation updater bot 2665e0dcb4 Localisation updates from https://translatewiki.net.
Change-Id: I0a5ba29b4ed1e4bb380255d4a18523f49d89acb8
2017-11-03 22:23:13 +01:00
Volker E 223662791c Align colors to WikimediaUI palette ones
Bug: T179608
Change-Id: Ie37b39b17d2e183c091d2e85dc729d75adf555d5
2017-11-02 20:17:19 +00:00
Translation updater bot 4818acfe54 Localisation updates from https://translatewiki.net.
Change-Id: I2d07b52c4b4b211fae52e05037421bf6167e806a
2017-10-31 22:22:09 +01:00
Translation updater bot 57f3628f71 Localisation updates from https://translatewiki.net.
Change-Id: I2e6d2218b62378dfb30ed9465c52fbd2336c9012
2017-10-30 22:29:20 +01:00
Translation updater bot 499091f420 Localisation updates from https://translatewiki.net.
Change-Id: I4d6fe919d1718cdeaadb1956d834ed2ef07f3fce
2017-10-29 22:39:03 +01:00
Translation updater bot f67b38b7f7 Localisation updates from https://translatewiki.net.
Change-Id: Ifce4cbf83d46584eb5145c9273c62d27c25ab9cb
2017-10-27 22:17:55 +02:00
Translation updater bot 3c281d1ac5 Localisation updates from https://translatewiki.net.
Change-Id: I3e9128ac86ace474723efbb9b1a136648ac7c666
2017-10-19 23:03:23 +02:00
Translation updater bot 90b10d1e36 Localisation updates from https://translatewiki.net.
Change-Id: Iefc9fed3e665f0c3fba68213f0591348e31dbbf1
2017-10-18 22:24:33 +02:00
Translation updater bot 85098ea373 Localisation updates from https://translatewiki.net.
Change-Id: I2e1ce79f3da6fa586a20587710d180cb7a930055
2017-10-17 22:39:20 +02:00
Translation updater bot 3556fec94f Localisation updates from https://translatewiki.net.
Change-Id: I420dfeece7703c3379ffe632dbf4621f696b25da
2017-10-15 22:34:55 +02:00
Translation updater bot 3fd8344f00 Localisation updates from https://translatewiki.net.
Change-Id: If947e3bfcabadac41bc6275b9d5405044e226011
2017-10-13 22:32:20 +02:00
Translation updater bot 7ba81b0ede Localisation updates from https://translatewiki.net.
Change-Id: I273ba905bb1b4f5ff02e95bac054af7ab60b6495
2017-10-09 22:43:01 +02:00
Translation updater bot ed3fed14ab Localisation updates from https://translatewiki.net.
Change-Id: I63c6dceaa5cf0ade85b70c15e8284c54308ed03a
2017-10-05 22:32:10 +02:00
Translation updater bot 547b2e9e78 Localisation updates from https://translatewiki.net.
Change-Id: Ieac60c5c3fa65a81e61b30a7b605f11c3c7fd1ef
2017-10-04 22:32:26 +02:00
Translation updater bot 08b6694c22 Localisation updates from https://translatewiki.net.
Change-Id: I3655fcd03416eef02bd17d746c299eb3e92b2727
2017-10-02 22:44:18 +02:00
Translation updater bot 2adbc6f2e2 Localisation updates from https://translatewiki.net.
Change-Id: I1843579c8072b38511bbac363f37f82a371b95b8
2017-10-01 22:21:56 +02:00
L10n-bot 71b3710bbc Merge "Localisation updates from https://translatewiki.net." 2017-09-26 20:31:58 +00:00
Translation updater bot e8fbfe9baa Localisation updates from https://translatewiki.net.
Change-Id: I93701a44726b7d433421e5da0eaa5f3160909b4c
2017-09-26 22:31:25 +02:00
James D. Forrester 9764bbb04e Replace constructive with progressive UI flag
Change-Id: I0edfb7ad13b12a0695f6cdc4afc9afcc82265183
2017-09-26 15:35:55 -04:00
Translation updater bot bf1d4dffe4 Localisation updates from https://translatewiki.net.
Change-Id: Ie93e1a70a87d1c9f9a2520b8016524ba66ca59d0
2017-09-25 22:28:18 +02:00
Translation updater bot 8b4e488cce Localisation updates from https://translatewiki.net.
Change-Id: Ia0ab8b92fc7931ccb9bd0ffdeff88b99395dc09d
2017-09-24 22:33:10 +02:00
Translation updater bot 2d217a91d1 Localisation updates from https://translatewiki.net.
Change-Id: I38697dcf69eaf508b61f79e42a76472c93a5aff6
2017-09-23 22:30:22 +02:00
Translation updater bot 62dbdc58bd Localisation updates from https://translatewiki.net.
Change-Id: I555280994b17696a397eab35a021661ebd7c0cf9
2017-09-22 22:48:13 +02:00
Translation updater bot 3cad9ceb3c Localisation updates from https://translatewiki.net.
Change-Id: I902e23bac23797d14e458dd04eb72faac6bd041c
2017-09-21 22:33:56 +02:00
Translation updater bot 20c240037d Localisation updates from https://translatewiki.net.
Change-Id: I4bccbafcd7a4a184e074dbed81204b62f0cfb0cf
2017-09-20 22:40:20 +02:00
jenkins-bot e2ebd2352c Merge "Follow-up I1e0ae39: Set isResponsive on new ref lists" 2017-09-19 22:00:01 +00:00
Translation updater bot 065cc6a87a Localisation updates from https://translatewiki.net.
Change-Id: I3095f0d6be996c742fc3bbe372fce6f8cb32c2b6
2017-09-19 22:46:55 +02:00
Ed Sanders aad7227850 Follow-up I1e0ae39: Set isResponsive on new ref lists
Change-Id: Icd51637b28b44963eddd5d43323dbda329c6a2fc
2017-09-19 21:17:52 +01:00
Ed Sanders a3a4bd945b VE: Support 'responsive' attribute
Bug: T53260
Change-Id: I1e0ae39e8c30653b7ba0f537723a4bcd79ac3162
2017-09-19 17:03:39 +01:00
Ed Sanders a024a7d2c6 Debounce reference list updates
Ideally update wouldn't be called multiple times
for simple transactions, but this should prevent
unnecessary updates if that does happen.

Bug: T176066
Change-Id: I1e7a21c19cee7d50ca160749f243c57f2fb08bab
2017-09-18 14:08:48 +00:00
Translation updater bot 7f7206adda Localisation updates from https://translatewiki.net.
Change-Id: I5bacc17aed2867efb41b240f0db18e7de6ec3d2e
2017-09-17 22:20:15 +02:00
Translation updater bot bfc7616240 Localisation updates from https://translatewiki.net.
Change-Id: I9af82ed85fa586dd248678c42ec2c96ca5190bf0
2017-09-15 22:26:40 +02:00
Translation updater bot 0bc5bd11e0 Localisation updates from https://translatewiki.net.
Change-Id: I77f312b1f5c6f87b2bf36ecab83f5254b0de9bcb
2017-09-14 23:10:40 +02:00
Translation updater bot 6ee990a69d Localisation updates from https://translatewiki.net.
Change-Id: Ifa656e06e7b6ea20538e6d1b3a18cce814409ace
2017-09-13 22:33:12 +02:00
Translation updater bot 1fe05b9f4e Localisation updates from https://translatewiki.net.
Change-Id: I2e1a5693aeebae87a6e33d5337c4c1c145c5ab3b
2017-09-12 22:27:53 +02:00
Translation updater bot 40000ba823 Localisation updates from https://translatewiki.net.
Change-Id: I61553cec28c5a9d667069e714d128e659f1bbfb3
2017-09-10 22:20:53 +02:00
Translation updater bot 4e58934c70 Localisation updates from https://translatewiki.net.
Change-Id: I594d359f38d8cc726252baff1595d7b6a0ac8dbf
2017-09-09 22:26:52 +02:00
Translation updater bot 42cdf7c5de Localisation updates from https://translatewiki.net.
Change-Id: I32a49721a083732a5b4c355607bfdc1d031dec0a
2017-09-08 23:55:16 +02:00
Translation updater bot 7aa9ba8c85 Localisation updates from https://translatewiki.net.
Change-Id: I1203eb042d5ba6c98b386638ef5ba0c9f87739db
2017-09-07 23:17:47 +02:00
Translation updater bot 88f2174dbe Localisation updates from https://translatewiki.net.
Change-Id: I687759dbfc9e4d0af8cff2cc74fdcbf6624f4bb7
2017-09-06 22:37:22 +02:00
Translation updater bot 83f3ac5487 Localisation updates from https://translatewiki.net.
Change-Id: I6a5fb8f2096993d012d1ae731a9d82b35648b9f3
2017-09-05 22:40:22 +02:00
jenkins-bot 8b51182b13 Merge "VisualDiff: Show less information about ref nodes" 2017-09-05 13:27:38 +00:00
Thalia ed8b563add VisualDiff: Show less information about ref nodes
If a ref node is highlighted as changed because its index
has changed (e.g. because an earlier reference was inserted
or removed), describe this more elegantly.

Bug: T170235
Bug: T171377
Change-Id: I2513bb82099a92529516e4e217e61a2d0a2dd43b
2017-09-05 14:01:39 +01:00
Translation updater bot 78da064f38 Localisation updates from https://translatewiki.net.
Change-Id: I8ab67267d8ee04c315ad13cb3edb1464d0afe966
2017-09-04 22:26:54 +02:00
Translation updater bot ec431a92e7 Localisation updates from https://translatewiki.net.
Change-Id: I402cfd9516cf56f6491a66888fd3bb8e0ec24165
2017-09-03 08:50:48 +02:00
jenkins-bot dbdd7706e9 Merge "Add 'references' class to reflist node" 2017-08-28 16:55:49 +00:00
Ed Sanders cec36fed6e Add 'references' class to reflist node
On en.wiki and others, this is the class that has
the 90% font size.

Change-Id: I23aaeefb2c42643be7c0daef99cdf89132b93308
2017-08-28 17:07:52 +01:00
Translation updater bot bb5d9d4e50 Localisation updates from https://translatewiki.net.
Change-Id: Iff32aa6a20fc8fda675e5c8b40db2317420197f6
2017-08-28 11:57:33 +02:00
Translation updater bot a7bfa46f17 Localisation updates from https://translatewiki.net.
Change-Id: I5a276bfd6811d94aacdc504faf953f41b6b20398
2017-08-23 09:03:50 +02:00
Translation updater bot c7623f6c09 Localisation updates from https://translatewiki.net.
Change-Id: I8cedccae0b0f0cf86ec444b8e6644665589958c1
2017-08-22 08:40:29 +02:00
jenkins-bot 306c5eba74 Merge "ce.MWReferencesListNode: wait for content before destroying temporary view node" 2017-08-21 15:47:33 +00:00
Translation updater bot c04825e958 Localisation updates from https://translatewiki.net.
Change-Id: I8a46615690b6a63bd0d7203ba6b9648adcc51a19
2017-08-19 08:48:59 +02:00
David Lynch 05ffafc2e4 ce.MWReferencesListNode: wait for content before destroying temporary view node
Probably as fallout from the jQuery 3 update and associated promise-async
changes, `viewNode.destroy()` in the reflist preview caused problems when
adding a new reference with the generated content nodes which were actually
having to make an API call for their contents. New functions for waiting for
content generation to finish were added to core, and will defer the
destruction of the placeholder view until after it's done rendering.

Bug: T168932
Change-Id: I700bff9979a3356626aa311bfdf030da686f5878
Depends-On: Ic12973c0b46af50e0f1933137282a142f32e7de2
2017-08-16 11:47:47 -05:00
Translation updater bot fd7df1b12b Localisation updates from https://translatewiki.net.
Change-Id: I98038875feb23523bb891ca66e9d0e1fb952999f
2017-08-14 08:57:58 +02:00
David Chan 2efa23e5b5 Fix expected remove data to match actual remove data exactly
Change-Id: I0fb294265fc41015da842f7505bdedb39db7b91a
2017-08-13 11:41:30 -04:00
Translation updater bot eababab85d Localisation updates from https://translatewiki.net.
Change-Id: Icc41778dbfe94cba9f9f015b6b0189b543e44697
2017-08-08 22:40:21 +02:00
Translation updater bot f334bfc246 Localisation updates from https://translatewiki.net.
Change-Id: I0275564829d3762970479792a407daeeb20389b8
2017-08-03 22:45:16 +02:00
Translation updater bot 3b904a0cdd Localisation updates from https://translatewiki.net.
Change-Id: I2bcc19d8bb82c2727640b2acda7810b9c913363f
2017-07-31 22:38:47 +02:00
Translation updater bot 3f98c2dce3 Localisation updates from https://translatewiki.net.
Change-Id: If80ecbffa1da0d8bee0b80cf34afd36cffb1840a
2017-07-28 22:23:21 +02:00
Translation updater bot ce9c22ed05 Localisation updates from https://translatewiki.net.
Change-Id: I4f93a8f6b292c1709fb02dbb3f138f7b2adb8601
2017-07-26 22:27:07 +02:00
James D. Forrester bee8160fd8 tests: Use new QUnit 2 module hook names
Replacing QUnit.setup()/QUnit.teardown() with the already-available-
in-qunit-1.x QUnit.beforeEach()/QUnit.afterEach() methods.

Bug: T170873
Change-Id: I5bfca33c1d4d920d54c2c54b483be78c61b6d0d7
2017-07-25 23:46:33 +00:00
Translation updater bot 9730a26735 Localisation updates from https://translatewiki.net.
Change-Id: I3c7b5bba7d1ec4769059fe2a43a9461d090a2b41
2017-07-24 22:50:30 +02:00
Translation updater bot 1382660496 Localisation updates from https://translatewiki.net.
Change-Id: I9d114fb581fa82836faa459cb77cbf525a139b3a
2017-07-22 22:30:05 +02:00
Translation updater bot d581b2117b Localisation updates from https://translatewiki.net.
Change-Id: I3cd8f0e01dfa45cb172f7e0ecfea626ec03fd8c8
2017-07-21 22:29:37 +02:00
Translation updater bot 8606addf2a Localisation updates from https://translatewiki.net.
Change-Id: Ie8ed68c62d4be27726381822d4e962a471ca4d22
2017-07-20 22:37:19 +02:00
Translation updater bot 15e3d2f52f Localisation updates from https://translatewiki.net.
Change-Id: I553f2ec456da7f94e8a17d8af97196ffa1eaf6b1
2017-07-19 22:27:03 +02:00
Umherirrender 085f28a969 Run stylelint also for less file
File was added with I6f9b85cd6cfdb055692b1f537d569c158900f7c9

Change-Id: I0ec5400422c5f8dc9f38c64dc3051a512fe20afe
2017-07-18 19:44:31 +00:00
Ed Sanders 302ba7e111 build: Upgrade grunt-eslint from 19.0.0 to 20.0.0, and stylelint
Change-Id: I79a64db9ac8b41dd66e72ee0309851c966b8295f
2017-07-18 13:03:56 +01:00
Translation updater bot 64028291ec Localisation updates from https://translatewiki.net.
Change-Id: I57d3e641f34f0099277c015eae54ea0d25b687b7
2017-07-14 22:27:07 +02:00
Translation updater bot 3680f9e14d Localisation updates from https://translatewiki.net.
Change-Id: Ifcfad3c4849f97061e75e3e21d467fdd738ff3df
2017-07-12 22:55:58 +02:00
jenkins-bot 8c4ca272c4 Merge "Reduce column-width to 25em for Minerva skin" 2017-07-11 12:05:48 +00:00
Translation updater bot 520abe5370 Localisation updates from https://translatewiki.net.
Change-Id: Id33853b244a72f06e9352857f3746c3d409714cd
2017-07-05 22:20:47 +02:00
Translation updater bot f9e8154f7f Localisation updates from https://translatewiki.net.
Change-Id: Iabb0e1b15543718bdac292c6f509383cda6655c8
2017-07-04 22:26:11 +02:00
Translation updater bot 66ce478b08 Localisation updates from https://translatewiki.net.
Change-Id: I411da931decd6274e328590b7757e06780ef2c2e
2017-07-02 22:30:11 +02:00
Translation updater bot f7cb114df7 Localisation updates from https://translatewiki.net.
Change-Id: If26e61b00f2263ca4bdbae140d615984ecdd82c0
2017-06-30 23:13:11 +02:00
Translation updater bot 312deb5aed Localisation updates from https://translatewiki.net.
Change-Id: I852c5efb2ab56f40557a317dd352754d5cab812e
2017-06-28 22:42:59 +02:00
Translation updater bot 65230fbe9d Localisation updates from https://translatewiki.net.
Change-Id: I44bdceff6755a8b1c96027ee9f48ab7f21f246d3
2017-06-27 22:18:54 +02:00
Translation updater bot 13220b23aa Localisation updates from https://translatewiki.net.
Change-Id: I9a06a6e4b82d995e426d3446770fb9f78eb52958
2017-06-26 22:42:51 +02:00
jenkins-bot 8b3ca486a6 Merge "Visual diff: Show correct reference indices in diff" 2017-06-26 19:35:32 +00:00
Thalia 1a5d90b4e3 Visual diff: Show correct reference indices in diff
Bug: T162819
Change-Id: I7eec4ee12a24ff99388cc0c95a24d50f321511f9
2017-06-26 19:19:03 +00:00
Translation updater bot bc76363702 Localisation updates from https://translatewiki.net.
Change-Id: Icfab306df57e62e400cec141dcb55048762c09ff
2017-06-23 22:27:26 +02:00
Translation updater bot 4a89a8c673 Localisation updates from https://translatewiki.net.
Change-Id: Idb5546fecd638f5682e29d68753a2bd345182ab4
2017-06-22 22:45:47 +02:00
Translation updater bot d78488e355 Localisation updates from https://translatewiki.net.
Change-Id: Ib4b92cccb44b631c1cd5775bb0d6868207709b59
2017-06-21 22:36:41 +02:00
Translation updater bot 5b9230e3c1 Localisation updates from https://translatewiki.net.
Change-Id: Ie0651f5eafc1d02d44566ee6f95ab7e23f1ab49d
2017-06-20 22:36:08 +02:00
jenkins-bot 66dabf8821 Merge "VisualEditor: Add a placeholder to MWReferenceDialog to make it less awful when empty" 2017-06-20 19:19:03 +00:00
James D. Forrester 347f21d11e VisualEditor: Add a placeholder to MWReferenceDialog to make it less awful when empty
Change-Id: I086d7243127ee411ea043bf29f4d4a5ae5d657a0
2017-06-17 01:21:48 +00:00
jdlrobson bb9720edff Reduce column-width to 25em for Minerva skin
Current Minerva skin is purposely restricted to 55.8em
This means references will never be split into 2 columns as 30em*2=60em.
Dropping it to 25em would mean the CSS applies here and no more than 2
columns would ever be used to display references.

Bug: T160497
Change-Id: I6f9b85cd6cfdb055692b1f537d569c158900f7c9
2017-06-16 11:17:35 -07:00
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
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
Translation updater bot 3d86dbeed3 Localisation updates from https://translatewiki.net.
Change-Id: I003e6f2afdc6cadb0aed5a668e99d74e4e3e767e
2016-05-03 22:23:53 +02:00
Amir E. Aharoni 52293b1749 Add lang and dir attributes to cite errors
This is needed when the error appears in an element with
a direction that is different from the UI language.

Change-Id: I583c9cc30f5bec24ab92e97ab938463ea0e45c15
2016-04-30 16:16:58 +03:00
David Lynch b92a32e08c Dialog: When reusing a reference, avoid popping up the group menu
The group picker menu will open momentarily when the input is changed, unless
it's disabled when the change happens. This was mostly visible when selecting
a reference from the "use an existing reference dialog", as a flash of the
menu in the top-left of the screen.

Bug: T125862
Change-Id: Ib6d3715f7d123545ba688bfbe850fe3c26ccb6e1
2016-04-26 11:08:14 -05:00
Translation updater bot d97135f8a8 Localisation updates from https://translatewiki.net.
Change-Id: I9c17a5b1519401999e0398b442af2f0dddefdd42
2016-04-13 22:17:44 +02:00
Ed Sanders 14d8e12188 Fix wikitext conversion of pasted '<ref>'s
Regex error meant only ref tags with attributes were detected.

Bug: T128805
Change-Id: Ide1153f5f5cc3fe8b0a25309d5e2ddabd796cbe6
2016-04-12 12:16:21 +01:00
Translation updater bot 633ff0140b Localisation updates from https://translatewiki.net.
Change-Id: I316d59b091b0c1758d8d86d6c7a8655ce5d2ac37
2016-04-07 22:59:04 +02:00
Ed Sanders 8a278dbb82 Remove icon properties from windows
Windows stopped supporting icons a while ago.

Change-Id: I2651a8e1e6b22515701d35a4684d1ed7bd858658
2016-03-29 12:33:13 +01:00
Translation updater bot d4b435a27c Localisation updates from https://translatewiki.net.
Change-Id: Ibdc895e80c8b3e10d14475fb38d3092958aefc84
2016-03-27 21:09:45 +02:00
jenkins-bot 86a9e634f2 Merge "Don't allow a reference that includes a group name to break in the end of the line" 2016-03-22 18:50:01 +00:00
Translation updater bot f650afdda7 Localisation updates from https://translatewiki.net.
Change-Id: I9b24cc13259899c82a94b236f5f5d658bbccb891
2016-03-21 23:29:50 +01:00
Amire80 1b1350491f Don't allow a reference that includes a group name to break in the end of the line
A reference that has a group name appears as "[group 1]".
Because of the added space in the middle, this can break in the end
of a line. white-space: nowrap prevents it.

Change-Id: Icfbc8b7e37b77b93b621e424d1f4e1759ac644cd
2016-03-19 13:55:04 +02:00
Translation updater bot 8115f4c885 Localisation updates from https://translatewiki.net.
Change-Id: I8fe2c9cc9c8a22d4e32a894ce0ba251e001d785f
2016-03-13 22:51:09 +01:00
Translation updater bot b6c6da787a Localisation updates from https://translatewiki.net.
Change-Id: I7c0b6b68ff695a2a1a37eaca4ae3505ac3d46927
2016-03-12 21:09:12 +01:00
jenkins-bot 04cc521550 Merge "Auto-convert pasted ref tags" 2016-03-07 16:32:16 +00:00
Translation updater bot 89801aa60a Localisation updates from https://translatewiki.net.
Change-Id: Ie6a31f48a3fd25c472526d78e954293ffc5e077f
2016-03-06 22:12:00 +01:00
Ed Sanders 5d92de7b7a Auto-convert pasted ref tags
Bug: T128805
Depends-On: I7a38db45d25e86ff3f3f6199aa04425ec98f7cc4
Change-Id: I44fb2b8913fb9bef7d984f86b3579e82b29d0cf0
2016-03-05 16:57:10 +00:00
jenkins-bot 8552cf24d2 Merge "VE: Lookup the correct command for the node" 2016-03-02 23:44:58 +00:00
Ed Sanders 666beded00 VE: Lookup the correct command for the node
Bug: T128198
Change-Id: I564b0b3e8cf6906d108ee876cff03196065bd164
2016-03-02 18:23:11 +00:00
Translation updater bot 88f4cdfbd6 Localisation updates from https://translatewiki.net.
Change-Id: I81e913c86af124c474041a43389195509d1949c3
2016-02-28 21:56:01 +01:00
Translation updater bot 19074bcf0d Localisation updates from https://translatewiki.net.
Change-Id: I9e873009b41afaeddba937c3b739a465fc8da2c2
2016-02-27 21:54:29 +01:00
cenarium 469217073a Use span with css instead of strong for cite errors
Change-Id: I9b8954b56646ca9c4632788824346e6116de3146
2016-02-24 18:57:37 +00:00
Translation updater bot c3c10ab9c9 Localisation updates from https://translatewiki.net.
Change-Id: I05ceb4aa6217f3f9345b69eb4daa1ce14d6f7053
2016-02-22 21:38:12 +01:00
Translation updater bot a729388d98 Localisation updates from https://translatewiki.net.
Change-Id: If038f276f7246339b4e85c108e677d74aac8f73b
2016-02-19 22:06:01 +01:00
Translation updater bot e8775d456b Localisation updates from https://translatewiki.net.
Change-Id: I276aa229677a7a11f87887005999696816b1bc17
2016-02-13 23:00:01 +01:00
Translation updater bot 3002dc168b Localisation updates from https://translatewiki.net.
Change-Id: Ib1479d7480034b40f87bbf617effda82d01f2b5d
2016-02-12 22:07:27 +01:00
Translation updater bot 2832914298 Localisation updates from https://translatewiki.net.
Change-Id: I81d3303bc6edafa83d2f7f57058c3f93a3788be2
2016-02-10 21:08:46 +01:00
Ed Sanders eb58f79f8d VE: Fix i18n names broken during migration
Bug: T126373
Change-Id: I682bdaa71bc9a8675c79bae0b2f54955de207945
2016-02-10 00:44:54 +00:00
Translation updater bot c859818a70 Localisation updates from https://translatewiki.net.
Change-Id: I73ebc11c27e1383d26cfa639c0af4a3b5ea78f3e
2016-02-08 22:11:25 +01:00
Translation updater bot 150f87b498 Localisation updates from https://translatewiki.net.
Change-Id: If0384d482faa450737c68bb7b368b36327703542
2016-02-07 22:14:02 +01:00
James D. Forrester f7d5029426 i18n: Grab last few i18n updates from VE after the move
Change-Id: Ib71727e9c93b426dca8eb15e1bca9f745e3ef205
2016-02-05 14:04:29 -08:00
Ed Sanders 8b0e9c728c VisualEditor: Bring in unit tests from VE
Change-Id: I7da5f25f61d0c7f2331ab927c35d8f6a975041b8
2016-02-05 13:41:43 -08:00
Ed Sanders f641f44628 VE: Fix toolbar hack
Change-Id: I2cad81a89ae0c55d4209bfef3a1db239381996ca
2016-02-04 23:06:06 +00:00
Ed Sanders 18f616b9b8 VisualEditor: Move code for Cite into this repo
This code has been developed over three years now in the repo of MediaWiki's
integration of VisualEditor. It has grown and developed significantly during
that time, but now is pretty stable. A number of hacks inside the MediaWiki-
VisualEditor code base have been used to prevent this code from being loaded
on wikis where the Cite extension is not deployed, but this state of affairs
is and always was meant to be temporary.

This code is under the MIT licence which is a tad messy, but not impossible.
It's clearly labelled as such. The list of authors has been updated to take
into account the influx of new functionality.

Bug: T41621
Bug: T104928
Change-Id: I39936ed83d5a60471a0a75da753f498e80aef234
2016-02-04 08:41:54 -08:00
Paladox 6564ed9fb7 Update packages
Update grunt-banana-checker to 0.4.0

Update grunt-jsonlint to 1.0.6

Update grunt-jscs to 2.5.0

Also support looking into sub folders for jshint and jscs.

Also fix some js code so

Replace

} ) ( mw, jQuery );

with

}( mediaWiki, jQuery ) );

Also remove a blank message that should not be there in gu.json

Also remove two blank messages in tl.json.

Change-Id: Ib8390de6fd6adfc4a9ad22c48c7872aac332d4ae
2015-12-19 09:52:30 +00:00
James D. Forrester 549e95ee5f build: Test JS code with jshint and jscs via npm
Change-Id: I4d20af87b900d10c20f1a2c3fff09dc3425d2e55
2015-11-18 16:54:55 -08:00
Bartosz Dziewoński 04ac55ed52 Revert "Use display: inline-block instead of unicode-bidi"
I think this change causes too many issues on non-LTR wikis
(see the associated tasks) to be acceptable in the current form.

Maybe it should be redone to apply to RTL text only if it's
worth it there (apologies, but I don't quite understand the issue).

This reverts commit e9c1521fca
and commit 59ef3c8678 (which was
the previous attempt to fix it and caused different issues).

Bug: T108493
Bug: T110057
Change-Id: I205400c59a342dcc4cdf89791bc1c761805cd2a8
2015-08-24 20:33:28 +00:00
Ebrahim Byagowi e9c1521fca Use display: inline-block instead of unicode-bidi
On I16a701f3b962b5e7f63554be2f28888a938548b0 we incorporated
unicode-bidi: embed; instead isolate but it caused regression on
* https://fa.wikipedia.org/?oldid=15565588
* https://fa.wikipedia.org/?oldid=15552160
where references ([۱]) comes before number with Persian digits.

Using unicode-bidi: isolate; is the clean solution for fixing this
however due to Firefox bug https://bugzilla.mozilla.org/1185987
it is not going to fix the regression on Firefox so using
display: inline-block; in hope to get same effect with Chrome
on unicode-bidi: isolate; but also support IE and older browsers.

Change-Id: I1d62c1fb282acc72ab20d71cc8cd21e3e1d71493
2015-08-02 14:02:26 +00:00
jenkins-bot e8e88cec17 Merge "Remove WMF deployment hack ext.cite and ext.rtlcite modules" 2015-07-16 20:41:48 +00:00
jenkins-bot 5f2603bba7 Merge "Change unicode-bidi: isolate to embed" 2015-07-11 21:28:52 +00:00
Amir E. Aharoni 3fa0f7fb22 Prevent jumbling up of footnote numbers after LTR words in RTL wikis
This happens while editing in VisualEditor and ContentTranslation.

This is done by adding unicode-bidi: embed to .mw-ref.

Bug: T105605
Change-Id: I1d03063cad1fa0f2ae8cc792aaaefc715066f17e
2015-07-11 22:55:26 +03:00
Amir E. Aharoni 59ef3c8678 Change unicode-bidi: isolate to embed
"embed" works just as well in modern browsers.

Also fix the comment to be more correct.

Change-Id: I16a701f3b962b5e7f63554be2f28888a938548b0
2015-07-11 22:47:30 +03:00
Derk-Jan Hartman d4baf5927e Remove WMF deployment hack ext.cite and ext.rtlcite modules
It's been 30 days after deployment of I58adcfbcf9af2bb3.

Bug: T101559
Change-Id: I0217b8d15cdd495a163b3f1fc1af018f6d2fe271
2015-07-06 14:47:27 +00:00
Marc Ordinas i Llopis aa8fed3a3d Use CSS to style Parsoid's Cite HTML
* Add a new module ext.cite.style to load the new CSS.
* Add a ResourceLoaderFileModule that adds the correct CSS file
  depending on the content language, so that the visual style of
  citations can be changed per-language.

The main ext.cite.style.css file renders similarly to MediaWiki's
default Cite style. Also, an example CSS for Farsi numbering is
included.

Bug: T86782
Change-Id: I487095df8a7c4241a14f7b4480360f6774130bec
2015-06-08 21:58:15 +01:00
Derk-Jan Hartman 05cb5cc1a0 Cleanup style RL modules for Cite
Move the JS which is purely for accessibility purposes into a separate
JS RL module named ext.cite.a11y. Move all pure CSS, which is not dependant
on accompanying JS into a separate ext.cite.styles module

Bug: T101559
Change-Id: I58adcfbcf9af2bb3b6d5dabb6c38c42af78e0416
2015-06-06 15:43:27 +02:00
Bartosz Dziewoński 3ac0dedd1b Move '@media print' rules to separate file
Not a fix for T93746 yet, but a prerequisite.

Bug: T93746
Change-Id: I3dc1fa9cf176540500b48f21d9f4f737b37010d1
2015-06-04 22:22:16 +00:00
Schnark 530ef0ab9c Highlight target references
Highlight the target reference when the user clicks a reference link,
and also highlight the note in the text when he clicks the backlink.

This is done using the :target selector and a light blue background-color.
The color (and the rest of the code) are from English Wikipedia, from where
it has been copied to many other wikis, so the feature itself and especially
the color seem to be agreed on.

Browsers that don't support the :target selector (notably Internet Explorer 8
and below) will just ignore the new style and fall back to current behavior.
Wikis that have added this code to their common.css can remove it, but
of course nothing will break when they keep the duplicate code.

Bug: T10303
Change-Id: I5775daf6934516ce9c98841399e5a358195c1374
2015-03-16 08:29:20 +00:00
Ritsyy 572e1023f1 T28462 changed print CSS for backlink arrows edited CSS according to coding conventions
Change-Id: I54caf0437557494dbf270b10a8564bc8d98a5c6a
2015-03-03 00:27:34 +05:30
James D. Forrester 7f10ca97f1 Remove Special:Cite, now moved to its own repository
Change-Id: I6ae358b6855911016793c3227bfc1c04a8637428
2014-10-28 12:02:21 -07:00
James D. Forrester 672124cf26 Remove 'experimental' popups functionality that was never used
Bug: 67282
Change-Id: Ib0c8c0daae62c9398f15397917232447c6113069
2014-07-09 11:06:18 -07:00
Fomafix f8ed124589 Exclude backlinks from selection
Steps to test the change:
* Open a random page in browser.
* Select all or a part of the page.
* Copy the selection to clipboard.
* Open a word processor like LibreOffice Writer.
* Paste the content of the clipboard.

Change-Id: Ibae4292b5dd8cc02a769e85adfea991d8d6ceb59
2014-01-30 07:59:44 +00:00
Marius Hoch 9cc8f438fe Improve CSS for hiding the accessibility labels
This used to result in superfluous scroll bars
in WebKit/ Blink based browsers on enwiki:
https://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#Scrolling_past_the_bottom_of_the_page...

Change-Id: I4e7518262b8fdc5d3de49fff46166f7e205be9fe
2013-09-14 16:21:11 +02:00
jenkins-bot e6aa790f08 Merge "Use mw.hook( 'wikipage.content' ) for citation popup JS" 2013-09-01 17:26:55 +00:00
Marius Hoch 4954b2f4d2 Use mw.hook( 'wikipage.content' ) for citation popup JS
Factored out of https://gerrit.wikimedia.org/r/79472

Change-Id: I4d755ab57de3754b361174b33e53462f16e490da
2013-09-01 19:21:59 +02:00
Marius Hoch f692c9f41d Add extra accessibility labels to jump to citation (↑) links
Had to do that in JavaScript as doing it server-side would have
made refactoring large parts of the extension necessary.

Bug: 38141
Change-Id: I60ecd2fc0edf2aee89974d8069cc0b075cda3f93
2013-09-01 18:58:32 +02:00
Marius Hoch 847a09be11 Refactor Cite extension JavaScript and make it pass Jshint
Moved the scripts and the CSS into the modules folder directly
(like almost all other extensions do), added a .jshintrc to not have
jenkins shout at this change and minor stuff.

After this change Cite will no longer work with anything older than
PHP 5.3!

Change-Id: I1c87af794f2a9894fb0d82a5bd97bd2182f028e1
2013-08-25 22:23:15 +02:00
Moriel Schottlender 5895bd048f Adding bidi-isolation to reference numbers
This is a quick-fix to support proper rendering of <sup>[1]</sup> elements
when the sentence contains a right-to-left word.
Amended: Changed from working through jQuery 'wrap' to CSS unicode-bidi.
Amended: Dos2Unix conversion to get rid of pesky hidden characters, also
corrected all of Amire80's comments.
Bug: 36032

Change-Id: If85efe5ff1e0a3c57ee2523656702db89df07145
2013-04-30 18:43:27 -04:00
raymond bbfb7731ce Make Special:Cite translatable
* Plain text files deleted, content moved to SpecialCite.i18n.php
* Code for c/b still in place
* CSS classes added and styling moved to a new CSS file for the RL
Shortly discussed with Siebrand on mediawiki-i18n-l

Change-Id: Ie8e35cda1492bf1cab8f45ce618bac8402678879
2012-05-17 03:04:21 +01:00
Max Semenik 53ae80785a Follow-up r102160: removed arrows from tooltips 2012-01-04 15:00:01 +00:00
Max Semenik cc44bb1ba8 Simplification + fmt 2011-11-06 08:09:56 +00:00
Max Semenik 7e1bad9bec Merging ReferenceTooltips into Cite step 2: rename/register 2011-11-06 08:02:39 +00:00
Max Semenik 25ea6b9d60 Merging ReferenceTooltips into Cite step 1: copy modules 2011-11-06 07:53:55 +00:00