Commit graph

69 commits

Author SHA1 Message Date
Translation updater bot bb9b537f5d Localisation updates from https://translatewiki.net.
Change-Id: I0482aa24aac0edfddf1f423b550889abb521417e
2016-05-23 22:22:48 +02:00
Translation updater bot d2064977cc Localisation updates from https://translatewiki.net.
Change-Id: I3e8a3573993a72d562cfd1d29dee4cabb754d4a2
2016-05-22 22:22:33 +02:00
Ed Sanders bac8dd6be7 Add stylelint and make required style fixes
Change-Id: I8a9def8056a72c3da0c066413e94311a1d839f5b
2016-05-17 18:21:30 +01:00
jenkins-bot a8465a7973 Merge "Explicitly insert transclusion as inline" 2016-05-16 08:19:19 +00:00
Ed Sanders 24939dd424 Explicitly insert transclusion as inline
This keeps the insertTransclusionNode method in synchronous mode.

Logically depends on Ibc2fc66e68 but should be merged before it.

Change-Id: Iec17ea65d38fec7ca7ffcf81032c7346635218d9
2016-05-15 12:16:51 +01:00
Translation updater bot 59b452e147 Localisation updates from https://translatewiki.net.
Change-Id: Id9d053df8ef9ba67b05afe4ee4e6f594e373edca
2016-05-10 22:26:10 +02:00
Translation updater bot 5003d3cac5 Localisation updates from https://translatewiki.net.
Change-Id: I853ca7c0217bda664e98861ade3e9850ae9605db
2016-05-08 22:41:47 +02:00
Ed Sanders 06376669d9 ve.dm.MWReferenceNode: Override static cloneElement instead of getter
The getter isn't always used, but the static method is.

Change-Id: I9b3df7f4e8056cdb554c3ed9a27c39148b2b3237
2016-05-04 13:39:38 +00:00
Translation updater bot 3d86dbeed3 Localisation updates from https://translatewiki.net.
Change-Id: I003e6f2afdc6cadb0aed5a668e99d74e4e3e767e
2016-05-03 22:23:53 +02:00
Amir E. Aharoni 52293b1749 Add lang and dir attributes to cite errors
This is needed when the error appears in an element with
a direction that is different from the UI language.

Change-Id: I583c9cc30f5bec24ab92e97ab938463ea0e45c15
2016-04-30 16:16:58 +03:00
David Lynch b92a32e08c Dialog: When reusing a reference, avoid popping up the group menu
The group picker menu will open momentarily when the input is changed, unless
it's disabled when the change happens. This was mostly visible when selecting
a reference from the "use an existing reference dialog", as a flash of the
menu in the top-left of the screen.

Bug: T125862
Change-Id: Ib6d3715f7d123545ba688bfbe850fe3c26ccb6e1
2016-04-26 11:08:14 -05:00
Translation updater bot d97135f8a8 Localisation updates from https://translatewiki.net.
Change-Id: I9c17a5b1519401999e0398b442af2f0dddefdd42
2016-04-13 22:17:44 +02:00
Ed Sanders 14d8e12188 Fix wikitext conversion of pasted '<ref>'s
Regex error meant only ref tags with attributes were detected.

Bug: T128805
Change-Id: Ide1153f5f5cc3fe8b0a25309d5e2ddabd796cbe6
2016-04-12 12:16:21 +01:00
Translation updater bot 633ff0140b Localisation updates from https://translatewiki.net.
Change-Id: I316d59b091b0c1758d8d86d6c7a8655ce5d2ac37
2016-04-07 22:59:04 +02:00
Ed Sanders 8a278dbb82 Remove icon properties from windows
Windows stopped supporting icons a while ago.

Change-Id: I2651a8e1e6b22515701d35a4684d1ed7bd858658
2016-03-29 12:33:13 +01:00
Translation updater bot d4b435a27c Localisation updates from https://translatewiki.net.
Change-Id: Ibdc895e80c8b3e10d14475fb38d3092958aefc84
2016-03-27 21:09:45 +02:00
jenkins-bot 86a9e634f2 Merge "Don't allow a reference that includes a group name to break in the end of the line" 2016-03-22 18:50:01 +00:00
Translation updater bot f650afdda7 Localisation updates from https://translatewiki.net.
Change-Id: I9b24cc13259899c82a94b236f5f5d658bbccb891
2016-03-21 23:29:50 +01:00
Amire80 1b1350491f Don't allow a reference that includes a group name to break in the end of the line
A reference that has a group name appears as "[group 1]".
Because of the added space in the middle, this can break in the end
of a line. white-space: nowrap prevents it.

Change-Id: Icfbc8b7e37b77b93b621e424d1f4e1759ac644cd
2016-03-19 13:55:04 +02:00
Translation updater bot 8115f4c885 Localisation updates from https://translatewiki.net.
Change-Id: I8fe2c9cc9c8a22d4e32a894ce0ba251e001d785f
2016-03-13 22:51:09 +01:00
Translation updater bot b6c6da787a Localisation updates from https://translatewiki.net.
Change-Id: I7c0b6b68ff695a2a1a37eaca4ae3505ac3d46927
2016-03-12 21:09:12 +01:00
jenkins-bot 04cc521550 Merge "Auto-convert pasted ref tags" 2016-03-07 16:32:16 +00:00
Translation updater bot 89801aa60a Localisation updates from https://translatewiki.net.
Change-Id: Ie6a31f48a3fd25c472526d78e954293ffc5e077f
2016-03-06 22:12:00 +01:00
Ed Sanders 5d92de7b7a Auto-convert pasted ref tags
Bug: T128805
Depends-On: I7a38db45d25e86ff3f3f6199aa04425ec98f7cc4
Change-Id: I44fb2b8913fb9bef7d984f86b3579e82b29d0cf0
2016-03-05 16:57:10 +00:00
jenkins-bot 8552cf24d2 Merge "VE: Lookup the correct command for the node" 2016-03-02 23:44:58 +00:00
Ed Sanders 666beded00 VE: Lookup the correct command for the node
Bug: T128198
Change-Id: I564b0b3e8cf6906d108ee876cff03196065bd164
2016-03-02 18:23:11 +00:00
Translation updater bot 88f4cdfbd6 Localisation updates from https://translatewiki.net.
Change-Id: I81e913c86af124c474041a43389195509d1949c3
2016-02-28 21:56:01 +01:00
Translation updater bot 19074bcf0d Localisation updates from https://translatewiki.net.
Change-Id: I9e873009b41afaeddba937c3b739a465fc8da2c2
2016-02-27 21:54:29 +01:00
cenarium 469217073a Use span with css instead of strong for cite errors
Change-Id: I9b8954b56646ca9c4632788824346e6116de3146
2016-02-24 18:57:37 +00:00
Translation updater bot c3c10ab9c9 Localisation updates from https://translatewiki.net.
Change-Id: I05ceb4aa6217f3f9345b69eb4daa1ce14d6f7053
2016-02-22 21:38:12 +01:00
Translation updater bot a729388d98 Localisation updates from https://translatewiki.net.
Change-Id: If038f276f7246339b4e85c108e677d74aac8f73b
2016-02-19 22:06:01 +01:00
Translation updater bot e8775d456b Localisation updates from https://translatewiki.net.
Change-Id: I276aa229677a7a11f87887005999696816b1bc17
2016-02-13 23:00:01 +01:00
Translation updater bot 3002dc168b Localisation updates from https://translatewiki.net.
Change-Id: Ib1479d7480034b40f87bbf617effda82d01f2b5d
2016-02-12 22:07:27 +01:00
Translation updater bot 2832914298 Localisation updates from https://translatewiki.net.
Change-Id: I81d3303bc6edafa83d2f7f57058c3f93a3788be2
2016-02-10 21:08:46 +01:00
Ed Sanders eb58f79f8d VE: Fix i18n names broken during migration
Bug: T126373
Change-Id: I682bdaa71bc9a8675c79bae0b2f54955de207945
2016-02-10 00:44:54 +00:00
Translation updater bot c859818a70 Localisation updates from https://translatewiki.net.
Change-Id: I73ebc11c27e1383d26cfa639c0af4a3b5ea78f3e
2016-02-08 22:11:25 +01:00
Translation updater bot 150f87b498 Localisation updates from https://translatewiki.net.
Change-Id: If0384d482faa450737c68bb7b368b36327703542
2016-02-07 22:14:02 +01:00
James D. Forrester f7d5029426 i18n: Grab last few i18n updates from VE after the move
Change-Id: Ib71727e9c93b426dca8eb15e1bca9f745e3ef205
2016-02-05 14:04:29 -08:00
Ed Sanders 8b0e9c728c VisualEditor: Bring in unit tests from VE
Change-Id: I7da5f25f61d0c7f2331ab927c35d8f6a975041b8
2016-02-05 13:41:43 -08:00
Ed Sanders f641f44628 VE: Fix toolbar hack
Change-Id: I2cad81a89ae0c55d4209bfef3a1db239381996ca
2016-02-04 23:06:06 +00:00
Ed Sanders 18f616b9b8 VisualEditor: Move code for Cite into this repo
This code has been developed over three years now in the repo of MediaWiki's
integration of VisualEditor. It has grown and developed significantly during
that time, but now is pretty stable. A number of hacks inside the MediaWiki-
VisualEditor code base have been used to prevent this code from being loaded
on wikis where the Cite extension is not deployed, but this state of affairs
is and always was meant to be temporary.

This code is under the MIT licence which is a tad messy, but not impossible.
It's clearly labelled as such. The list of authors has been updated to take
into account the influx of new functionality.

Bug: T41621
Bug: T104928
Change-Id: I39936ed83d5a60471a0a75da753f498e80aef234
2016-02-04 08:41:54 -08:00
Paladox 6564ed9fb7 Update packages
Update grunt-banana-checker to 0.4.0

Update grunt-jsonlint to 1.0.6

Update grunt-jscs to 2.5.0

Also support looking into sub folders for jshint and jscs.

Also fix some js code so

Replace

} ) ( mw, jQuery );

with

}( mediaWiki, jQuery ) );

Also remove a blank message that should not be there in gu.json

Also remove two blank messages in tl.json.

Change-Id: Ib8390de6fd6adfc4a9ad22c48c7872aac332d4ae
2015-12-19 09:52:30 +00:00
James D. Forrester 549e95ee5f build: Test JS code with jshint and jscs via npm
Change-Id: I4d20af87b900d10c20f1a2c3fff09dc3425d2e55
2015-11-18 16:54:55 -08: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
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
jenkins-bot e8e88cec17 Merge "Remove WMF deployment hack ext.cite and ext.rtlcite modules" 2015-07-16 20:41:48 +00: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
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