Commit graph

4826 commits

Author SHA1 Message Date
Translation updater bot 9da5cc02db Localisation updates from https://translatewiki.net.
Change-Id: Ibe34881b52e460332d909d8246e2d71c2b70e354
2014-08-29 21:17:52 +02:00
Translation updater bot def1d72887 Localisation updates from https://translatewiki.net.
Change-Id: I3fbcc9f7986ed5ba87a0e51abeffdf800a43063f
2014-08-26 21:46:36 +02:00
Translation updater bot 192f5a523e Localisation updates from https://translatewiki.net.
Change-Id: I779fc8e7212ebb2aa4a606cbcc978b3ef57f64ae
2014-08-23 21:51:42 +02:00
Subramanya Sastry f5e7f667d5 (Bug 69827): Supported nested <ref> tags once more
* Nested <ref> tag support was broken in 69b6ec4d since that patch
  effectively processed <refs> only on the final DOM rather than
  extracted <ref> information in sub-pipelines. In doing so, it
  broke support for <ref> in <ref> tags which are supported by {{efn}}
  templates and used as follows.

  {{efn|A clarification.{{sfn|Smith|2009|p=2}}}}

  The {{sfn}} tpl generates a <ref> tag inside another <ref> tag
  generated by the {{efn}} tpl.

* This patch fixes the breakage by processing <ref> content after it
  is extracted (in case it is known to have nested <ref> tags).

* This fixes the rendering on enwiki/Otto_I%2C_Holy_Roman_Emperor
  and is an improvement over when it was broken. The nested <ref>
  gets id 18 (just like the Cite.php handling) whereas it used to
  get id 1 before the breakage.

* TODO:
  - Figure out a way to add a test for this.

Change-Id: Ib82b75f66249b2133a123adbe6fd7acbfd8ec8fb
2014-08-22 13:04:50 -05:00
Translation updater bot 4957e6c335 Localisation updates from https://translatewiki.net.
Change-Id: I782103740a8febdd0164b26e8070d68830c03c75
2014-08-18 22:36:58 +02:00
Translation updater bot 6ef84d0062 Merge "Localisation updates from https://translatewiki.net." 2014-08-17 21:18:27 +00:00
addshore f1c78e330f Use public instead of var in classes
Change-Id: I351e0b776497b9cfa9914400048e5ea9f00b5aac
2014-08-17 22:04:15 +01:00
Translation updater bot bfa78f2c08 Localisation updates from https://translatewiki.net.
Change-Id: I6b79924fcd92bd983d3ed7b6dac9e586a78fe593
2014-08-17 23:01:36 +02:00
Translation updater bot cad3dcc05c Localisation updates from https://translatewiki.net.
Change-Id: Iea9e02dd96b466a7607243a891f1dbbc1d71283f
2014-08-13 23:02:38 +02:00
Translation updater bot 97379749bb Localisation updates from https://translatewiki.net.
Change-Id: Id1b8a82a2af6456bc70636946dd63e6c0cd1cef9
2014-08-02 22:22:13 +02:00
Translation updater bot cc70b9f65a Localisation updates from https://translatewiki.net.
Change-Id: I2ceb4c83cc959f0ee44940e4d14841312f5a0f29
2014-07-30 21:56:44 +02:00
Translation updater bot 617de9a2d3 Localisation updates from https://translatewiki.net.
Change-Id: I14d8d351259ed5c503b39162b3d2e65380ffe075
2014-07-29 21:53:43 +02:00
Translation updater bot cdcb19ff7f Localisation updates from https://translatewiki.net.
Change-Id: Id7b31f9f0a2be4aecced9ce7d0d121e89cb36302
2014-07-28 21:20:35 +02:00
James D. Forrester 7d37a9f182 Add license details and give credit to more authors (based on git shortlog)
Change-Id: Iaa123a76e5dc52f44b3500e3add001581be1462d
2014-07-26 16:16:47 -07:00
Jforrester d7fc63b66d Revert "Provide way for users to find articles with the automatic <references />"
Apparently causing parser failures and corruptions in production.

This reverts commit 44472de458.

Change-Id: I923ed39f405d926b70a5098cbde6eee0538eee51
2014-07-24 12:27:02 -07:00
Translation updater bot e3be397f27 Localisation updates from https://translatewiki.net.
Change-Id: I800ab5e10c59123bd4d3e5f2847a5767daf022be
2014-07-22 23:00:11 +02:00
Translation updater bot 5c7b39d210 Localisation updates from https://translatewiki.net.
Change-Id: I2321be4c02c698bd813c81398f3a734cad50be2f
2014-07-21 21:39:55 +02:00
Translation updater bot e57ee60b38 Localisation updates from https://translatewiki.net.
Change-Id: I7bb88c01fb0bcbb7be439a8dcb2f29c29eaecced
2014-07-20 21:06:56 +02:00
Translation updater bot 7dc8077c98 Localisation updates from https://translatewiki.net.
Change-Id: Iba0eb76d5d1ed292aef2bbc408623e3e03e45254
2014-07-18 21:26:32 +02:00
Translation updater bot 45125b8c81 Localisation updates from https://translatewiki.net.
Change-Id: I2ff23ae6cbf497b1d81064ce516f4a61bde98216
2014-07-17 22:56:10 +02:00
Translation updater bot dea75631e6 Localisation updates from https://translatewiki.net.
Change-Id: I7ee82199c3eda6b62ef317ac3ff5c9794ddc87aa
2014-07-16 22:00:21 +02:00
Translation updater bot 500c69e847 Localisation updates from https://translatewiki.net.
Change-Id: I2279e1640e108d34c63338f39bdc9382f348c953
2014-07-15 22:04:48 +02:00
Translation updater bot 53d6f1bbe1 Localisation updates from https://translatewiki.net.
Change-Id: I13226a232dcdfd8d677fff64d161310dad3c0dc7
2014-07-14 21:59:52 +02:00
Translation updater bot 9c4b83bd4a Localisation updates from https://translatewiki.net.
Change-Id: Id45c13b0883a5e2d37f8c47a36b3ca08e8d444f0
2014-07-13 22:21:10 +02:00
Translation updater bot a083db58e3 Localisation updates from https://translatewiki.net.
Change-Id: Ib18f96902a972346cf08c9c67aea4f966bdd275f
2014-07-12 23:20:38 +02:00
Alex Monk 44472de458 Provide way for users to find articles with the automatic <references />
By adding a tracking category

Bug: 67700
Change-Id: I62584de085ae7a849a099e127bd950692a0dff8a
2014-07-11 22:47:51 +01: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
Subramanya Sastry 69b6ec4d4d (Bug 67237): Fix citation numbering issue
* Process <ref> and <references> tag on the top-level DOM only
  and ignore the generateRefs pass when processing other content.

* This required a few fixes:
  - ensure that DOMPostProcessor knows about the top-level.
  - ensure that DOMVisitor knows about the top-level.
  - cleanup pass leaves behind the ref-marker metas from DOMs from
    non top-level content.
  - process nested references content.

* One of the references tests had incorrect parsed output. That test
  has been updated to reflect the correct output from this patch.

* Barack Obama seems to now have the correct numbering on references.

Change-Id: I5465721d2fc715f2168f267e773a446bc37d198b
2014-07-01 22:48:13 -05:00
Subramanya Sastry e59aaecbcf Use TokenStreamPatcher to convert table tags outside wikitables to text
* Keep track of table nesting in token stream patcher and use it to
  convert <td>, <tr>, and <th> tags to plain strings.

* This fix is only enabled on the top-level token stream.
  To support this, fixed the resetState function in the parser
  construction code to pass in a toplevel flag which lets the
  token stream patcher know the context it is in.

* Fixes 29 (wt2html,wt2wt,html2html,selser) tests and improves
  results of 1 previously blacklisted tests. The failing selser
  test is actually a false failure because selser is more accurate
  than non-selser wts.

* Consolidated a few separate tests into a single test that covers
  all this functionality.
  - This new test fails wt2wt and html2wt modes because serializer
    uses tokenizer information which continues to return table tokens
    and results in <nowiki> wrappers.

Bug: 66489
Bug: 66498
Change-Id: I9f42354ea9efb0f8adfc96c23760012220d00dd4
2014-06-24 12:33:55 -05:00
Alex Monk 798b453771 If there's no main <references /> block on the page, show one automatically below the content
Rather than showing an error

Bug: 66860
Change-Id: I9c7c13269d5ec355ccb280402aa8c0cedd208883
2014-06-23 22:54:28 +01:00
Marius Hoch 02b5cd9030 Fix a fatal in SpecialCite
Follows up on I56c0791d31

Change-Id: If004a4ce9ae594694075d15745a949fabf04bbc3
2014-06-23 12:36:37 +02:00
jenkins-bot 3ffc8810e4 Merge "SpecialCite: fix escaping of message" 2014-06-23 02:57:01 +00:00
Kunal Mehta 8c1494e5bb SpecialCite: fix escaping of message
Linker::link takes raw HTML, so use ->escaped().

Also use $skin->msg() instead of wfMessage.

Change-Id: I56c0791d31897793b0e8cd8ac18ea337a96d1ff0
2014-06-22 19:36:19 -07:00
Derk-Jan Hartman d694691982 Special:Cite: Load RL modules of parsed content
Bug: 39049
Change-Id: Ib14a7cbc54e0317d7fa47f5569e54f5e0381613c
2014-06-22 12:00:02 +02:00
Translation updater bot 52195376d5 Localisation updates from https://translatewiki.net.
Change-Id: Ibc74e2953433d6ce5397425da6453d3733cc1254
2014-06-13 20:48:17 +00:00
Translation updater bot 9057b09752 Localisation updates from https://translatewiki.net.
Change-Id: I1d3bbb0e4e911dde94a7acb64991f36620368be5
2014-06-12 21:37:03 +00:00
Translation updater bot 31c8cdced3 Localisation updates from https://translatewiki.net.
Change-Id: I9da3472d5c8f20e6d480bd3d131367bf3ff65e8c
2014-06-11 20:36:36 +00:00
Nik Everett 635cd3c801 Get parser tests passing again
The failure looks like it was caused by
Ib7aa9449bbd994cb23b83b3f23cff944b1cddadf in core.  Its not a regression,
just different looking equally valid results.

Change-Id: Icfe02eaf7f2a2d8273e973442e04006b6024684d
2014-06-11 14:10:59 -04:00
jenkins-bot 505bdbf13b Merge "Kill code that's been unnecessary since 2006" 2014-06-05 20:00:04 +00:00
Jackmcbarn 50d8e2e290 Kill code that's been unnecessary since 2006
We've had Parser::recursiveTagParse since MediaWiki 1.8, back in 2006.
Remove code that only gets used if it's not available.

Change-Id: I76eed5570a675a14cf70ab10981661e0bc8bda99
2014-06-05 13:51:48 -04:00
Translation updater bot 22f00ea5be Localisation updates from https://translatewiki.net.
Change-Id: I1577a434eacb5e3a34c7528577f1aa12e49ff3f6
2014-06-02 20:57:26 +00:00
jenkins-bot feef08d570 Merge "Mark parser hook output as volatile" 2014-05-30 21:09:14 +00:00
Translation updater bot d5a6491a5b Localisation updates from https://translatewiki.net.
Change-Id: I6d54090ecb431d93b0b8d791515fc972572240e4
2014-05-30 18:47:02 +00:00
Translation updater bot f4a65100dc Localisation updates from https://translatewiki.net.
Change-Id: I9d2b9cdfa473fe0e658c2fe9760a0ed9c31de668
2014-05-29 19:36:17 +00:00
Translation updater bot bf9a38fd7a Localisation updates from https://translatewiki.net.
Change-Id: I8aba8dfea5b096b6293e198f3600d110b05aada5
2014-05-26 20:10:17 +00:00
Translation updater bot 61da25acf3 Localisation updates from https://translatewiki.net.
Change-Id: I71c5883d173b66f611f44fa848332ed764f44f50
2014-05-22 19:54:19 +00:00
Translation updater bot 6b2568361b Localisation updates from https://translatewiki.net.
Change-Id: I4c01aa752e846c7a6c2b443e719c381251af47c6
2014-05-20 18:58:53 +00:00
Translation updater bot d9fe123069 Localisation updates from https://translatewiki.net.
Change-Id: I730296383050ab5f9d5540bd277c4f123feb05b4
2014-05-16 19:58:27 +00:00
Translation updater bot 9119b57100 Localisation updates from https://translatewiki.net.
Change-Id: Idb6ac4b5c75c92d05c49ad56012faacf190277f9
2014-05-14 19:33:30 +00:00
Translation updater bot 797bc6f359 Localisation updates from https://translatewiki.net.
Change-Id: I34314f386524422c81f82204405263472ca81f87
2014-05-11 19:06:03 +00:00