Commit graph

4705 commits

Author SHA1 Message Date
Translation updater bot 6032fdfe69 Localisation updates from http://translatewiki.net.
Change-Id: Ia3333ad633a09724620a1085a63f9506f063e189
2013-09-10 20:03:22 +00:00
Translation updater bot 6d40fd52e9 Localisation updates from http://translatewiki.net.
Change-Id: I54f1b80344468854fd8bc635edc7708ca1fb4047
2013-09-09 19:47:55 +00:00
Translation updater bot 69215bbf66 Localisation updates from http://translatewiki.net.
Change-Id: I09f0070e262433fe51ac2252fc48a1f7ad92501a
2013-09-07 19:56:50 +00:00
Translation updater bot fada9b1339 Localisation updates from http://translatewiki.net.
Change-Id: I1e26403e0ccbbf0ef32b450f46b3ffe70edecf0c
2013-09-05 20:22:20 +00:00
Translation updater bot b291975271 Localisation updates from http://translatewiki.net.
Change-Id: I8ba5d539596647f7cd668b41a7b26d7a7cc5e483
2013-09-04 19:42:31 +00:00
Translation updater bot 77f7438721 Localisation updates from http://translatewiki.net.
Change-Id: I4a87567abfc91c62bb4d86184d1f94014490dcb2
2013-09-03 20:55:24 +00:00
Translation updater bot efa1dfdc4c Localisation updates from http://translatewiki.net.
Change-Id: I7b7365cb1f02ec6a956c0379c57a4474c30f8aad
2013-09-02 19:20:03 +00:00
Translation updater bot cdb1eb1f00 Localisation updates from http://translatewiki.net.
Change-Id: Id038b85bd0d93bec53ff6561c5333afd8375e65f
2013-09-01 19:22:45 +00: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
jenkins-bot fe8462c552 Merge "Add extra accessibility labels to jump to citation (↑) links" 2013-09-01 17:12:26 +00: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
Translation updater bot ecb9e53fc1 Localisation updates from http://translatewiki.net.
Change-Id: I00b7f057e9602d95a6be9da93fcddf4d4980970b
2013-08-30 19:22:39 +00:00
Translation updater bot 63a3a5b18d Localisation updates from http://translatewiki.net.
Change-Id: Ia01e26085e3f7f029d1982ed9a720c2d550049db
2013-08-29 19:15:51 +00:00
Translation updater bot 1e1b333a9e Localisation updates from http://translatewiki.net.
Change-Id: Ic65beeecc61613103d65022cc2f633536f435add
2013-08-27 19:13:25 +00:00
Translation updater bot 0822431e5f Localisation updates from http://translatewiki.net.
Change-Id: Ifd915bd52e716cb4656c685893a93656b531f8e0
2013-08-26 19:38:22 +00:00
TheDJ 2ec17af186 Merge "Refactor Cite extension JavaScript and make it pass Jshint" 2013-08-25 21:18:35 +00: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
Translation updater bot 0011f4c3c8 Localisation updates from http://translatewiki.net.
Change-Id: I3c5af33be47c71b2a8167c68290ac037cd1a054f
2013-08-25 20:01:19 +00:00
Translation updater bot a2a96152e9 Localisation updates from http://translatewiki.net.
Change-Id: I5ea7712ebcf0833b953b62f958cae159451ddc8d
2013-08-24 18:45:05 +00:00
Translation updater bot 345cbf789e Localisation updates from http://translatewiki.net.
Change-Id: I907ff9cc249aa328cdb6f5c05a867a036b989049
2013-08-23 19:43:57 +00:00
Translation updater bot eca979a06e Localisation updates from http://translatewiki.net.
Change-Id: I1053a76434e59fb03283250d4bf64a9e9d1a57c7
2013-08-22 19:44:53 +00:00
Translation updater bot be0a36e17b Localisation updates from http://translatewiki.net.
Change-Id: I65d5645dcee2c87f44ab6ea748bf89183522caac
2013-08-20 19:32:32 +00:00
Translation updater bot 1dfcb64e81 Localisation updates from http://translatewiki.net.
Change-Id: I0500a4530d1cdee88ad982f7fc0c04111792f16c
2013-08-19 19:30:32 +00:00
Translation updater bot b4ced4d430 Localisation updates from http://translatewiki.net.
Change-Id: Id94b089d0221b51b6255439be12b1bcfdbcf1041
2013-08-18 19:31:52 +00:00
Translation updater bot 2585365239 Localisation updates from http://translatewiki.net.
Change-Id: Iefb80e3b1bed89390c8165aaa6ad266040ee1916
2013-08-17 19:20:39 +00:00
Nemo bis cce95414f6 Mention potentially missing </ref> tag in Cite error message
Bug: 45415
Change-Id: I5293f814eff4c0fad3dce412f3adf049c70ee73e
2013-08-17 10:25:54 +00:00
MatmaRex b104717624 Fix parser tests for master MediaWiki core
Caused by I33462a8b in core.

Bug: 52961
Change-Id: I7efa50f4ac86ee732d9ce34fdaa3d8c28179d062
2013-08-17 10:24:29 +00:00
Translation updater bot 6fb67cf760 Localisation updates from http://translatewiki.net.
Change-Id: Id54d42a80fcf50d1a67ae9ec733d5ff3a7fa4a2f
2013-08-14 19:24:07 +00:00
Translation updater bot c5a1abc2c2 Localisation updates from http://translatewiki.net.
Change-Id: I4e8d821a2301eb945fded85c86334980620d6d0f
2013-08-11 19:28:25 +00:00
Translation updater bot 96a9950a9b Localisation updates from http://translatewiki.net.
Change-Id: I37d30e3737c254f83e8aee732bbbe75a6901e4d1
2013-08-10 19:24:57 +00:00
Translation updater bot ce9534cc66 Localisation updates from http://translatewiki.net.
Change-Id: I5376754ce4d4f59cdf16835b1618493970182557
2013-08-05 19:34:42 +00:00
Translation updater bot 91f0d33022 Localisation updates from http://translatewiki.net.
Change-Id: I1a44fcc1973f095d5ae00128d4fc06fe5186732d
2013-07-29 19:32:16 +00:00
Subramanya Sastry d6fb0fabb6 Fixed incorrect initialization of nested-ref-collection-map
* The initialization of nestedRefCollectionMap[references-id]
  in handleReferences was the wrong place to initialize it since
  on pages with multiple <references /> tags, the map can get
  reset after a references tag is processed.  So, for later
  references tags, the entry for those will get cleared which
  led to crashes.

  Ex: es:Abderramán_I and couple others found in RT testing.

* This patch fixes the crasher.

* Added a new parser test with multiple references tags that
  captures this scenario. Regenerated selser changes file.

Change-Id: I64402e77996486b099acda114f2e250258b0048e
2013-07-27 17:57:32 -05:00
Subramanya Sastry 46ddbf3f7b Make <ref>s nested in <references> editable.
* Track <ref>s birthed in <references> tags and capture their
  HTML and set <references>.data-mw.body.html to the concatenated
  HTML for all those child <ref> tags.

* No change in parser-tests because our test normalization code
  strips data-mw before comparing results.  Since this patch
  only changes data-mw output for "References: 5. ..." test,
  there is no change.  In any case, this patch updates the
  data-mw output for the test in question so that if we do
  modify our normalization routines, the test will still pass.

Change-Id: Iaea752dec03e5e7f0d36baf3b7a9973f1b85e8a5
2013-07-27 11:32:50 -05:00
Translation updater bot 5e1213548b Localisation updates from http://translatewiki.net.
Change-Id: I5cbe64600e07b508cfac40e3b31c5904770aa0b9
2013-07-25 19:27:21 +00:00
Translation updater bot 7df82a6419 Localisation updates from http://translatewiki.net.
Change-Id: I9a66c78a9f7f340a4e7296513ca88b65c0d5997e
2013-07-22 20:11:27 +00:00
Subramanya Sastry 23b9c314e1 Take #2: (Bug 49555): Support all nested ref scenarios
* This patch now supports any template that generates nested refs
  where the top-level token is just a single-ref.

  Ex: {{efn|New timetable{{sfn|Vallance|1991|p=31}}}}

* The solution in this patch removes the hack from the previous
  version (53bbcbb3). As documented in the bug report, this
  solution essentially "trusts" template authors and lets
  nested refs through when they come from templates.

  But, top-level nested refs are still not allowed.
  <ref>foo<ref>bar</ref>baz</ref> in the toplevel page
  will still generate a single reference with content
  "foo<ref>bar</ref>baz"

* Updated the nested ref test output
  - Regenerated selser changes because of the changed output.
  - Regenerated blacklist because of the changed selser changes.

* This now handles:
  - https://en.wikipedia.org/wiki/User:Edgepedia/VE/GNoSR
  - https://en.wikipedia.org/wiki/Phellinus ellipsoideus

Change-Id: I627955f0be1c5e2bafc49647c94c2be68ce711a8
2013-07-18 15:35:21 -05:00
Ed Sanders 4f3f9068b0 Add more specific class to cite errors
Problem:

* VisualEditor needs to be able to more reliably target Cite errors.

Solution:

* Add a more specific class to cite errors

Grumble:

* Ideally all extensions would use mw-ext-{extension name} as a prefix to
  their CSS classes (or something similar).

Bug: 51337
Change-Id: If4f5360cc1c7b765ad896b14901a9b024782cc93
2013-07-15 01:46:53 +00:00
Translation updater bot da5a49ba48 Localisation updates from http://translatewiki.net.
Change-Id: I3c4669aecb4a655573b4d2e4ce8d386f642e81d4
2013-07-08 18:59:20 +00:00
Translation updater bot 95e718b91a Localisation updates from http://translatewiki.net.
Change-Id: I0a6154e9be354671761a60d673790f0de7435bbc
2013-07-07 19:40:27 +00:00
Translation updater bot 695ac67ad9 Localisation updates from http://translatewiki.net.
Change-Id: Ic02486d5ae8311c559d1a028285c6b10da280780
2013-07-05 21:36:48 +00:00
Translation updater bot 141604a051 Localisation updates from http://translatewiki.net.
Change-Id: I50c2b89e86602118640f61bdc25f72b13fca09f5
2013-07-04 20:07:17 +00:00
Translation updater bot d130231b84 Localisation updates from http://translatewiki.net.
Change-Id: I5e8594c509c76a5198021f44d9735a135d198aa8
2013-07-02 19:20:52 +00:00
Gabriel Wicke a9ac140990 Bug 50474: Remove children of references node
Make sure we don't keep old references content around on re-render.

Change-Id: I79ad1e5d69ebb506078fa5903d1ff78b6ff82433
2013-07-01 14:21:48 -07:00
Translation updater bot 0bb2dae1d1 Localisation updates from http://translatewiki.net.
Change-Id: I0e551ce2c1cbf000aeac66488c9dcf4b249e542d
2013-07-01 19:54:09 +00:00
Subramanya Sastry cafe2f8799 (Bug 50394) Fixed bad regexp
* There is another unrelated issue on that page ==> It has
  a couple instances of <ref>text<ref> which slurps the entire
  rest of the page into a 10K string (on which the regexp failed).

Change-Id: Ia4c498b28042de5bfe9b0945c0efaa8c6cb81ea0
2013-06-28 15:54:15 -05:00
Translation updater bot ac0ed4a334 Localisation updates from http://translatewiki.net.
Change-Id: Ieced19ad44f6a25e3d414603735c56ea733e6733
2013-06-28 13:55:42 +00:00
Gabriel Wicke 65eca748e7 Better fallback value in case src is missing
Change-Id: Ia9eb5492c871fce97665de718e56d93dd1db433d
2013-06-26 18:13:32 -07:00
Subramanya Sastry 093188931a References handling: Fix bugs introduced by 213f9682
* source and group attributes were being added as HTML attrs.
  on the ol-node which is invalid.  Plus, after refererences
  generation, source attr was being deleted which causes crashers
  in production if references output is reused from cache.

* Moved both attributes to data.parsoid

* Removed group="" from parserTests that I erroneously added
  in that previous commit.

* Minor cleanup in DOMPostProcessor.

Change-Id: I85f4ad0a311d653d7ba3e010c7a5db028b643e9f
2013-06-26 18:08:17 -07:00