Commit graph

1710 commits

Author SHA1 Message Date
eranroz 5d0fb0309b Show an error if a named ref is defined multiple times
Bug: T85386
Change-Id: I6e7a7594628b3e0c09724c11e5d9f650dde25906
2015-09-30 21:27:35 +03:00
Bartosz Dziewoński 0303c2b0b3 Add a parser test for the simplest way to reuse refs
We tested all the corner cases, but never the classic way.

Change-Id: Icbaa7ad5f7491d1ba068a8cc0ec49856201fb963
2015-09-30 15:41:12 +02:00
Translation updater bot 3b8b242791 Localisation updates from https://translatewiki.net.
Change-Id: I4b09d2c48f2564a6b3f74cad85b92bade86196b2
2015-09-28 22:41:46 +02:00
Translation updater bot 6d0106ca68 Localisation updates from https://translatewiki.net.
Change-Id: Idd47db0b338a273b59dfcc606e73bc03d43d1bae
2015-09-26 21:11:46 +02:00
Amir E. Aharoni 68304fcacd Add pages with Cite errors to a tracking category
Bug: T104792
Change-Id: I6f8b12788a20480bd8880332238d545ee70a8ef9
2015-09-24 12:16:13 +03:00
Translation updater bot 392db906b8 Localisation updates from https://translatewiki.net.
Change-Id: I84832252e51695042eb47a1cdea992983d7c9c27
2015-09-21 21:54:55 +02:00
Translation updater bot 31570ef6d3 Localisation updates from https://translatewiki.net.
Change-Id: I457d2499ab437b2388e7b012a407d08717cc02ee
2015-09-12 01:07:38 +02:00
jenkins-bot 1a9f0f2010 Merge "Fix doc block for checkRefsNoReferences" 2015-08-29 15:48:55 +00:00
Translation updater bot aa8655ebdc Localisation updates from https://translatewiki.net.
Change-Id: I96f40808f85d1746687db856d36965d0f86bb7d1
2015-08-26 21:45:01 +02:00
Fomafix fd5fc271a8 Fix white spaces
Change-Id: I372455a77f3265933767dc8fc6774bcb184499ad
2015-08-25 15:56:42 +00: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
Translation updater bot d0b189cff0 Localisation updates from https://translatewiki.net.
Change-Id: I64a6012fa63c61e3a01f69ce89a2546244403b15
2015-08-24 21:30:18 +02:00
Translation updater bot 1cc91f6ee4 Localisation updates from https://translatewiki.net.
Change-Id: I6c21400305dfe4559a89227efab986e7c5064dc0
2015-08-17 21:08:48 +02:00
Translation updater bot ba24610eb7 Localisation updates from https://translatewiki.net.
Change-Id: I3cfe84f4a640e7c865af4dc00219889d6a0dac00
2015-08-11 22:07:11 +02:00
Translation updater bot 3b14a2cd82 Localisation updates from https://translatewiki.net.
Change-Id: I8602845be6dbb06ea12db1fe2de344a52c94a9b5
2015-08-06 21:35:47 +02:00
Florian ad929ad538 Fix doc block for checkRefsNoReferences
Doesn't show an error for the default references group anymore. Only,
if a custom group was defined, but no corresponding references tag added.

Follow up: I9c7c13269d5ec355ccb280402aa8c0cedd208883

Change-Id: I67f4277b83b6b83ba5fc54cdcc021044b65f61c5
2015-08-06 19:36:52 +02:00
Translation updater bot 3cc1c62c8e Localisation updates from https://translatewiki.net.
Change-Id: I46d3f97c9031d45f06087e9f96dab95b41a0d363
2015-08-04 23:15:46 +02: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
Translation updater bot 70745dab3b Localisation updates from https://translatewiki.net.
Change-Id: I11d14f8e58285cca001d883f52648a4b0af571a4
2015-08-01 21:46:26 +02:00
Translation updater bot 18bad60a95 Localisation updates from https://translatewiki.net.
Change-Id: I9b1f529cbfea783fe38dd7636acfd786e62ad2f8
2015-07-27 21:34:13 +02:00
Translation updater bot 6c74f0bbd3 Localisation updates from https://translatewiki.net.
Change-Id: I4c504a0c5248bdc8bec5bd8173c7882a50af96bf
2015-07-26 21:38:30 +02:00
Translation updater bot 2ab4fa28f5 Localisation updates from https://translatewiki.net.
Change-Id: I2cbc4bd2caca80a438e425a5338c6cc60f67a480
2015-07-24 21:05:38 +02:00
Translation updater bot 16a856f7e8 Localisation updates from https://translatewiki.net.
Change-Id: I13dff732f5d847ef4e925d53bc03abec7d6c6fd1
2015-07-22 22:13:09 +02:00
physikerwelt a7a072edc0 Ignore parsers without extCite
If a parser does not include the extCite property, ignore
the call and do not check references.

Depends on Ic77aa79aa6e2bf2a9ec00be4cc775d0123bed91a

Bug: T105598
Change-Id: Ic2257eef94fd73932f1e95a84b3b8b0eb245bafc
2015-07-22 15:03:10 +00:00
Translation updater bot d63ae54f60 Localisation updates from https://translatewiki.net.
Change-Id: I92e8bed8ee92f7cf8274f0c55ac185c80dfe029e
2015-07-21 21:42:53 +02:00
Translation updater bot c1900bdd11 Localisation updates from https://translatewiki.net.
Change-Id: I24c1d63698a71ddd54ae5bfc7b617cbf7b34aad4
2015-07-20 21:52:57 +02:00
Timo Tijhof de550c717c Hygiene: Main return as root structure (handle errors early)
Restructure code to return early for errors instead of nesting
conditionals. This leaves the outer tree of the function as
the natural flow of the primary purpose.

Makes code more resilient by ensuring that new code added to the
function will not execute under error conditions by removing the
need to keep everything encapsulated in the various levels of
error conditionals.

Change-Id: I1b4a67d344fd9843ca088d008487914f87b1c640
2015-07-18 15:55:32 -05:00
jenkins-bot e8e88cec17 Merge "Remove WMF deployment hack ext.cite and ext.rtlcite modules" 2015-07-16 20:41:48 +00:00
Translation updater bot a17ea5a0fa Localisation updates from https://translatewiki.net.
Change-Id: I602c97cce0af77c74bb285f7becb6b049c407e76
2015-07-15 21:37:53 +02:00
Derk-Jan Hartman 3bb504207d Add mobile target to VE/parsoid style module for Cite
Change-Id: Id960ddd55d82167536ad457b675f435957b95c50
2015-07-13 14:57:41 +02: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
jenkins-bot 5bbf7334e8 Merge "Fix a test label" 2015-07-11 11:19:54 +00:00
Translation updater bot 6341db4d21 Localisation updates from https://translatewiki.net.
Change-Id: I39c5bfbbd1d4cbdb06373bc52c959a9dd6f44f3b
2015-07-09 22:00:45 +02:00
Amir E. Aharoni b4ca6031ce Fix a test label
The old name was a copy-paste error.

Change-Id: If2771350c0e5e91579488cc9b49e462418b305f1
2015-07-09 17:47:47 +03:00
jenkins-bot 5fd3c0a90c Merge "Polish parser test titles" 2015-07-09 12:56:35 +00:00
jenkins-bot 4e493fb9ab Merge "Change == to === according to PHP coding conventions" 2015-07-08 10:53:14 +00:00
Amir E. Aharoni d309308e39 Polish parser test titles
* Capitalization of "Chinese"
* Explanation about the usage of Klingon numbers
  (the purpose of this test puzzled me until I understood that
  "wa'cha' wej", etc., are numerals in the Klingon language).

Change-Id: I81237f98136de2e22b6ff5acc202a668e28b8810
2015-07-08 10:22:56 +00:00
jenkins-bot 3b5bc4dbb2 Merge "Add more tests for edge cases of references without text" 2015-07-08 09:51:47 +00:00
Brion VIBBER c0cc1dca7b Merge "Add a test for cite_error_ref_no_input" 2015-07-08 09:50:10 +00:00
Translation updater bot b26f3a2677 Localisation updates from https://translatewiki.net.
Change-Id: Ia6a758da1fe8d878e45a66b474c2013617523407
2015-07-07 22:07:16 +02:00
jenkins-bot 6e3dee5381 Merge "Remove spaces from the end of the line" 2015-07-07 14:06:02 +00:00
Amir E. Aharoni 147f6ced19 Change == to === according to PHP coding conventions
Change-Id: I2a93194e3c2160000d30f2f2fd7717f4ba501c23
2015-07-07 15:20:53 +03:00
Amir E. Aharoni 1d7efdbe51 Add more tests for edge cases of references without text
Change-Id: Ia6c10419a7a92dac642db6ea21908927a5830b69
2015-07-07 15:16:26 +03:00
Translation updater bot ef0b8dde0f Localisation updates from https://translatewiki.net.
Change-Id: I7dbef02f493ce1de989e517e3e2c4bfb2be9ead7
2015-07-06 21:44:05 +02: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
Amir E. Aharoni e80ae07f9b Add a test for cite_error_ref_no_input
Change-Id: Ibb3bb1ab3450a34889dcd66b34542f2dd25fdc2b
2015-07-05 12:40:14 +03:00
Amir E. Aharoni 6cfdd6e1a7 Remove spaces from the end of the line
Spaces in the end of the line are usually unnecessary,
and they doesn't seem to do anything useful here.

Change-Id: Ib4d1b72aafd80f36ddf198f3924e5ebbeba79aa5
2015-07-05 12:26:18 +03:00
Translation updater bot e4a1d6f1fc Localisation updates from https://translatewiki.net.
Change-Id: I5c0956cf7e9334a3643934a317e324208185757e
2015-07-04 20:35:04 +02:00