Commit graph

4705 commits

Author SHA1 Message Date
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
Arlo Breault 0dba785946 T176425: Transfer about group to reference wrapper
* Follow up to 74acc71e

Change-Id: Ia403bf88dd48702dbbbf53a247ea2714243a0acc
2017-09-25 12:59:46 -04:00
Translation updater bot 8b4e488cce Localisation updates from https://translatewiki.net.
Change-Id: Ia0ab8b92fc7931ccb9bd0ffdeff88b99395dc09d
2017-09-24 22:33:10 +02:00
libraryupgrader 1f80983036 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I24d08b59607bc2db8729961b708ba1de77ba4dcb
2017-09-24 05:21:03 +00: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
C. Scott Ananian 14459c226b Use HTML5 id attributes; remove use of deprecated Sanitizer::escapeId()
When using HTML5 ids, we need to take greater care to properly escape the
id (or derived strings) before passing them back through
Parser::recursiveTagParse().

Bug: T176170
Change-Id: I89a4f8ba24b867f2d5ccdc2bf9a4312ab9b385a9
2017-09-19 15:42:41 -04: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
Arlo Breault ab0c40f496 Fix crasher from empty references list
* See on /en.wikipedia.org/v3/page/html/Manuela_Maleeva/800363347

 * Folow up to 74acc71e

Change-Id: Iae89d4b0073dafce5fe4c28dc94fd6d5779d71c6
2017-09-13 22:35:37 +00:00
Arlo Breault 74acc71e98 T159894: Add support for Cite's responsive parameter
* Ports commit 04c3ad01 in core's Cite extension.

 * Until $wgCiteResponsiveReferences is exported, a number of wikis
   which have enabled this won't be getting the right default.
   https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InitialiseSettings.php#L14945-L14970

   However, it looks like enwiki's {{reflist}} explicitly sets the
   parameter either way, so not a bad start.

 * The "ext.cite.styles" css resource is added from core's Cite
   extension 05cb5cc1, since that's where the responsive css lives.

 * The blacklist changes for existing tests are because we now only
   serialize the children of the div wrappers.  Those tests probably
   deserve Parsoid specific sections..

Depends-On: I2404999ab11b5cf7b740ae43696c4676ab1b6d22
Change-Id: I8f9277b3ecb253e0bee7ee55eef7af4935821527
2017-09-13 21:24:52 +00: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
Arlo Breault d465b4e001 API: Expose $wgCiteResponsiveReferences via meta=siteinfo
Bug: T159894
Change-Id: I2404999ab11b5cf7b740ae43696c4676ab1b6d22
2017-09-11 23:04:25 -04:00
Arlo Breault ff09c1667d Add 'references' class to reflist node
* Matches the core Cite extension commit cec36fed

 * This change means we can get rid of some of wiki specific styling in,
   https://github.com/wikimedia/integration-visualdiff/blob/master/lib/parsoid.custom_styles.yaml

Change-Id: I763b8086d057ea0cac8ba8fd4c9f4f4279766fed
2017-09-11 15:13:55 -04: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
Max Semenik 14b17e8c32 DB_SLAVE -> DB_REPLICA
Change-Id: I3e949fcf15b44ee199830df19f6db039a704b450
2017-09-01 17:06:45 -07:00
libraryupgrader 7b9aeb77be build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
Change-Id: I5d41868359d6234f99029d01a6fb9f166a3789fe
2017-09-01 04:45:59 +00:00
Translation updater bot 122cae25c9 Localisation updates from https://translatewiki.net.
Change-Id: I06f7028bc9c21d4554fab9929707274b9a101073
2017-08-29 08:39:01 +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 989afcd341 Localisation updates from https://translatewiki.net.
Change-Id: Icbbacf5a285833259261a125d2d601febcd5607b
2017-08-26 08:43:34 +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
jenkins-bot f1eac9b23a Merge "Use json extension for .stylelintrc" 2017-08-19 23:05:01 +00:00
Umherirrender 4c89ab4b62 Use json extension for .stylelintrc
Bug: T173516
Change-Id: I1629e74a301e76a436dcec8b363f09aebfcecac8
2017-08-19 09:39:19 +02: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
jenkins-bot 0669ccf693 Merge "Fix expected remove data to match actual remove data exactly" 2017-08-13 16:08:06 +00:00