Commit graph

4826 commits

Author SHA1 Message Date
Translation updater bot fe82542618 Localisation updates from https://translatewiki.net.
Change-Id: Id01dba8fc423b99044735fad2dd1e3b85640f89a
2014-01-12 20:34:06 +00:00
Arlo Breault a372d97939 Use maps where wanting
Comments seemed to indicate so.

Change-Id: I63d0524d134d8be166403cfa9d6400cecc1749ed
2014-01-09 22:33:57 -05:00
Translation updater bot 5aa9fdb8e8 Localisation updates from https://translatewiki.net.
Change-Id: I47c8bf7753be7268e7bd068125c6690f963aa555
2014-01-08 20:31:28 +00:00
Translation updater bot 2baee5b17f Localisation updates from https://translatewiki.net.
Change-Id: Ie56127a3ab4e8e26ee13db7a22a3378921c2d247
2014-01-05 20:07:52 +00:00
Translation updater bot 7eb47e67c2 Localisation updates from https://translatewiki.net.
Change-Id: I9da07d765a5fb6b0c48c0b4a04cd85c5622381d2
2014-01-03 20:37:07 +00:00
Translation updater bot 34e798d93e Localisation updates from https://translatewiki.net.
Change-Id: Ibc4bccd6116d9e5596406d7107dd82a63abbf519
2013-12-30 19:56:24 +00:00
Translation updater bot bfcbca3044 Localisation updates from https://translatewiki.net.
Change-Id: I51d57bf5dc28cb1dc2a4fe3cf51da0559b9a2e95
2013-12-29 19:28:28 +00:00
Translation updater bot 2fc273d4ef Localisation updates from https://translatewiki.net.
Change-Id: I24da3e111393c430599ea63082edb0f563f59a3c
2013-12-23 20:46:22 +00:00
Translation updater bot 440dd0d060 Localisation updates from https://translatewiki.net.
Change-Id: I25dcda2385f2b51be2f3fbb0b545ca92551c0615
2013-12-21 20:38:21 +00:00
Translation updater bot 2861552d74 Localisation updates from https://translatewiki.net.
Change-Id: Ibe6c607349149885aedb697a99494a5d4b546635
2013-12-17 19:20:48 +00:00
Translation updater bot 8f97b39891 Localisation updates from https://translatewiki.net.
Change-Id: I639b7b9f0f2550b68c6b50d5dee3dc334697caac
2013-12-15 20:52:52 +00:00
Gabriel Wicke 4cfad3a771 Clean up repo for Parsoid service only
* remove non-JS code (PHP, cpp, misc)
* move js code to the root dir

Change-Id: Ibdf1c0ea46f128adc91238b145c46382c6f4d550
2013-12-13 14:53:24 -08:00
Translation updater bot f620ebae96 Localisation updates from https://translatewiki.net.
Change-Id: I08591ba5fe707fbdfb070cacbcf867d8b1caec1c
2013-12-11 20:26:17 +00:00
Translation updater bot 5ab799025f Localisation updates from https://translatewiki.net.
Change-Id: I046ec6a7dbffaafa7eeb43c09906674f72c5a4b2
2013-12-07 01:33:38 +00:00
Brad Jorsch d945d82fb1 Mark parser hook output as volatile
Using the new functions introduced in I95b3cf87, mark the output of
<ref> and <references> as volatile so that caching can be avoided.

Bug: 46815
Bug: 31834
Change-Id: I897defba32ac6adf72b6bc9ea7e933a87b1ba17b
2013-12-06 18:43:45 -05:00
Translation updater bot 665d751392 Localisation updates from https://translatewiki.net.
Change-Id: I6523be8313ef29d6692a1cf1c9ca125b78fe775d
2013-11-30 19:53:00 +00:00
Translation updater bot f055dc7c68 Localisation updates from https://translatewiki.net.
Change-Id: I225171dec24dbf8a85e886578efc0fcb7e1ad39e
2013-11-29 19:28:06 +00:00
Translation updater bot 1e2a9a3232 Localisation updates from https://translatewiki.net.
Change-Id: I6d6fb197e2e46c7bc1c1a1aef3dd7754bfe6e11c
2013-11-27 19:25:41 +00:00
Translation updater bot c1f868d476 Localisation updates from https://translatewiki.net.
Change-Id: I347747e23b49f102c1af02a35e021bfbba4e973c
2013-11-24 20:33:14 +00:00
Translation updater bot bbec94f7fc Localisation updates from https://translatewiki.net.
Change-Id: I2a821eb888654c2c3394242dc11a8ad621e3bbd0
2013-11-23 10:45:23 +00:00
Translation updater bot dd2997489c Localisation updates from http://translatewiki.net.
Change-Id: I5423d2aed8664944b379fe861a26b6039432a574
2013-11-14 20:35:05 +00:00
Translation updater bot b3050bbca9 Localisation updates from http://translatewiki.net.
Change-Id: Id85bac1c5ba1aeb0eee69801ac2691a987533b83
2013-11-13 20:21:02 +00:00
Translation updater bot 4e314d55b8 Localisation updates from http://translatewiki.net.
Change-Id: I78bdbe1840a3c3f640d4b7a1250289233c7d56be
2013-11-12 20:29:29 +00:00
Translation updater bot 6f41b1587c Localisation updates from http://translatewiki.net.
Change-Id: Ic4743e07885eff23f3a9a755412ce5aff230c187
2013-11-10 20:27:20 +00:00
Translation updater bot 952d833f6f Localisation updates from http://translatewiki.net.
Change-Id: I2f4030080f718b585ddafb9bf90d55a65fd93c7a
2013-11-09 19:09:44 +00:00
Translation updater bot 5ba9259e54 Localisation updates from http://translatewiki.net.
Change-Id: I2f55415a82ad439e7a3f35e95fcf001a47796375
2013-11-03 19:54:16 +00:00
jenkins-bot 2231a9a438 Merge "Only load RL modules when a <ref> tag is being used" 2013-11-03 18:32:16 +00:00
Marius Hoch 1805cbffec Fix cite parser tests
broken by I82fb4d7 in core

Change-Id: I13b919bb07ee2344a00d64e56593a372a199c5b1
2013-11-03 19:22:45 +01:00
Translation updater bot 2fffe32170 Localisation updates from http://translatewiki.net.
Change-Id: Ib481b45e730272a0eca9837481dd0225b1eb8c4b
2013-11-02 19:54:49 +00:00
Kunal Mehta a94c871cd2 Only load RL modules when a <ref> tag is being used
Bug: 55684
Change-Id: I8f7528ef8468bf3fa1c901fd6dc67b5eebc0cbd6
2013-11-01 13:47:35 +00:00
Translation updater bot 6832d0b4d7 Localisation updates from http://translatewiki.net.
Change-Id: Ia62c9ed62f2d54430c32ddd6a98b0c7b229873f6
2013-10-31 20:20:21 +00:00
Translation updater bot 0c630aef7a Localisation updates from http://translatewiki.net.
Change-Id: Ief5b221fb63cd2d1e04a0079328c185d425636b7
2013-10-28 20:08:30 +00:00
Translation updater bot ab9c48dd83 Localisation updates from http://translatewiki.net.
Change-Id: I7dc63c0a9d19daa74818e4635f1b9d26fc2a8e98
2013-10-26 19:20:19 +00:00
Translation updater bot 41da3edb52 Localisation updates from http://translatewiki.net.
Change-Id: I6fe053fb1469c006ba93d2e4c2e0b07a12b2a7e6
2013-10-25 18:48:02 +00:00
Subramanya Sastry aa2780a554 Minor: Cleanup and comment update.
Change-Id: I502f838f55a0a7c046b9d5969a8e5fb6af0dbc10
2013-10-23 20:57:17 -05:00
Translation updater bot e688aad349 Localisation updates from http://translatewiki.net.
Change-Id: I699a7e150a7809edc7c71568c1737ef6829bc306
2013-10-22 19:17:53 +00:00
Translation updater bot d46e4483d4 Localisation updates from http://translatewiki.net.
Change-Id: I78a457508be0f626f07a0c10d91e26bc02b1e3a2
2013-10-21 19:36:56 +00:00
Translation updater bot 4010849dec Localisation updates from http://translatewiki.net.
Change-Id: Ia33108aac136f7039f5015a2e9488538d7c876b1
2013-10-20 21:43:41 +00:00
Gabriel Wicke 914bf97575 Sanitize void tags and drop attributes for end tags
- Make sure void element attributes are sanitized

- Drop attributes on end tags

- Fix Cite to use data-parsoid instead of invalid attributes to pass
  information from the token stream to the DOM

Change-Id: If236d4c9197b12ff86a607763f25ed7677623bc4
2013-10-18 10:21:37 -07:00
Translation updater bot 09ee4fd398 Localisation updates from http://translatewiki.net.
Change-Id: Ia472fbc1646807ef8bb6c54c79d830ac063b3c06
2013-10-16 21:43:37 +00:00
jenkins-bot 17df49d426 Merge "Show error messages in content language to avoid cache issues" 2013-10-16 09:16:50 +00:00
Kunal Mehta f57bb804a3 Show error messages in content language to avoid cache issues
Bug: 31216
Change-Id: I725a972cbbf14fb179a24ab0682ad497524d4274
2013-10-15 21:38:45 -07:00
Translation updater bot 46139378a6 Localisation updates from http://translatewiki.net.
Change-Id: Ic541c187d965230908f3d31049604198331daf85
2013-10-15 19:24:41 +00:00
Translation updater bot 58fecd5afc Localisation updates from http://translatewiki.net.
Change-Id: Ie2351e9edaab6c896148c14ba409f0f4a65f267f
2013-10-13 19:26:07 +00:00
Subramanya Sastry baccddcf7c Bug fixes in aboutId assignment during DOM Fragment unpacking
* isForeignContent now flags content that is not originally
  present in the top-level page => transclusion and extension
  content. During DOM fragment unpacking, top-level children
  of the fragment are always re-assigned the fragment wrapper's
  about-id.

* For content that is not flagged isForeignContent (figures that
  are reused from cache, and all other users of dom-fragment
  including scoped parsing), the fragment DOM is walked and all
  about-ids are reassigned fresh about ids.

* From an earlier patchset (now unrelated to the bug fixes here)
  * Renamed older badly named isEncapsulatedElt helper
    to isFirstEncapsulationWrapperNode.
  * Left behind helper to recognize when a node is an
    encapsulation wrapper (in case it comes handy later on).

* No change in parser tests.

  TODO: We need a parser test with extensions in them.

  {{echo|<div>foo</div> <math>1+2</math> <div>bar</div>}} would
  not RT properly before this patch because the inner <math> node
  did not have the about-id as the surrounding <div>s. This patch
  fixes this.

  This should also fix a lot of the <timeline> regressions seen
  in latest RT testing.

Change-Id: I595e9f46d8ce789a05e4b7dd8b58e443e4c02f98
2013-10-11 13:42:27 -05:00
Gabriel Wicke a25f1e329c Move serializeNode to DOMUtils and use it for data-mw too
* Smaller data-mw with adaptive quoting.
* Updated parserTests with new output
* Also add a serializeChildren method that works similar to innerHTML.
* Move HTML normalization to DOMUtils to avoid cyclic dependencies
* Disable non-IE WS to space normalization pass, needs to be improved. See bug
  55588. This leads to some new passes and some new fails.

Change-Id: I392881bd8a0cfd9f116e70e9a52d1ef14bbd568b
2013-10-10 22:56:28 +00:00
Translation updater bot be28bce4d9 Localisation updates from http://translatewiki.net.
Change-Id: I5773606fefe0301943a311ef8eefb349360c76e0
2013-10-08 19:03:35 +00:00
Translation updater bot feee654fa1 Localisation updates from http://translatewiki.net.
Change-Id: Iaf75a390923cfacc1050de46b4a81f776f8dbbff
2013-10-08 00:51:42 +00:00
Subramanya Sastry 848f87626c Bunch of unrelated cleanup
* Got rid of unnecessary/buggy concat of EOFTk in ext.Cite.js
  to wikitext string (concat is only required when processing
  a token array from stage 2 onwards).

* Moved temporary node.data.parsoid.wrapper flag to a tmp object
  which is then stripped in the cleanup pass. Other temporary
  flags from other passes could also be moved here.

* Added a helper to test if a typeOf has a parsoid-generated
  value.

Change-Id: I2024c575b5293e5155fc8e2915a34b5fb8394671
2013-10-07 15:35:46 -05:00
Translation updater bot ad1ec25b23 Merge "Localisation updates from http://translatewiki.net." 2013-10-07 01:50:42 +00:00