Commit graph

6708 commits

Author SHA1 Message Date
Alex Monk d087052ada Only validate required template params after blur
Bug: 72096
Change-Id: Ib699f8d89af02c9109a5711bd2c3ab4ef664d8ea
2014-10-17 17:59:13 +01:00
Translation updater bot af84e6c35b Localisation updates from https://translatewiki.net.
Change-Id: I481f44162954c26600a98c5fce0ff1c35fb5362d
2014-10-16 23:06:50 +02:00
jenkins-bot 38718a9f3e Merge "[BrowserTest] update for autopopulated fields" 2014-10-16 17:48:07 +00:00
jenkins-bot 1a68f45682 Merge "Replacing push.apply in VE-MW with ve.batchPush from VE core" 2014-10-16 17:44:51 +00:00
suchetag e3d185dd90 Replacing push.apply in VE-MW with ve.batchPush from VE core
Bug: 66206
Change-Id: Ifabfd0f28b8133e40ce822ed768442ab6a4d39ad
2014-10-16 23:12:22 +05:30
Cmcmahon ceab7f8f76 [BrowserTest] update for autopopulated fields
Website citation now auto-populates

accessdate = {{CURRENTMONTHNAME}} {{CURRENTYEAR}}

along with whatever the user puts in that field

Change-Id: Id72558f972be1ecc490fb196c941961871c21cf2
2014-10-16 10:09:04 -07:00
Trevor Parscal 77eae16b88 Apply mw-body-content styles to SurfaceWidget
Changes:
* Override ve.ui.SurfaceWidget for use in MW
* Add mw-body-content class to surface view container
* Assert 1em sizing for surface view container to prevent
  mw-body-content from applying its own sizing
* Add new scripts and styles to RL config

Bug: 71652
Change-Id: Iac86facdc0c7a0e48c0f3617e2f6c2e7f001525e
2014-10-15 23:58:46 +00:00
Translation updater bot e4a3b90190 Localisation updates from https://translatewiki.net.
Change-Id: I53ef5ec22f1da3561daeac04af07754553767ce7
2014-10-15 22:09:26 +02:00
jenkins-bot 1b6a234d09 Merge "Put category popups in the inner overlay for now" 2014-10-15 00:17:47 +00:00
Roan Kattouw 267212c531 Put category popups in the inner overlay for now
We really shouldn't need the inner overlay for this,
we should be able to deal with popups being in
oo-ui-window-overlay. But for now, we're not, and
this fixes the current problems.

Depends on If16d16d2b in oojs-ui.

Bug: 72052
Change-Id: Ie06056b96db19ac4caf1f9c0e3a1c49cfddc6682
2014-10-14 17:02:51 -07:00
jenkins-bot 0436c01489 Merge "Correctly place CategoryPopupWidget in RTL" 2014-10-14 23:52:31 +00:00
Moriel Schottlender 64604f8415 Correctly place CategoryPopupWidget in RTL
The previous check for RTL did not properly recognize
when the UI was in RTL, since the element in question has no explicit
'dir' attribute. The test now uses $element.css( 'direction' ) which
is inherited, and produces a correct result.

Change-Id: Ie30c2038428b10709dc30cb8320bdc94d76a5a18
2014-10-14 23:50:50 +00:00
Translation updater bot 7686be00c4 Localisation updates from https://translatewiki.net.
Change-Id: Id8c5811289e434946d4cbd7384940c831607b62c
2014-10-14 23:03:00 +02:00
Roan Kattouw ed33c2583c Followup 1fc13cc: fix JS errors caused by incorrect context binding
Bug: 71997
Change-Id: Idb84a1c9dad91ef69554acb73398c0a0e30fece2
2014-10-14 12:27:46 -07:00
jenkins-bot 6fc5ea0cab Merge "Style required but currently-invalid parameters on the template dialog" 2014-10-14 18:43:05 +00:00
jenkins-bot f870ed46cb Merge "[BrowserTest] suggest list is no longer in the iframe" 2014-10-14 18:16:17 +00:00
Cmcmahon 08e7f55a51 [BrowserTest] suggest list is no longer in the iframe
Change-Id: I20e58b4de436b09f08cbea01b05c5fa578e5721d
2014-10-14 11:13:29 -07:00
jenkins-bot ed29d2a9d2 Merge "Fix icon opacity" 2014-10-14 16:12:32 +00:00
Translation updater bot 6523aa2e7f Localisation updates from https://translatewiki.net.
Change-Id: I2d0a85e176314434dde63be479f7bc7682dbd465
2014-10-13 21:55:56 +02:00
Translation updater bot 17898d0ba9 Localisation updates from https://translatewiki.net.
Change-Id: I95899d75bd8136774b75175171527d1d4d18bb0f
2014-10-12 22:20:13 +02:00
Ed Sanders 58ecea8d0a Fix icon opacity
As of Ieb27c3fd1 apex uses solid black icons with opacity
set in CSS, so make VE icons consistent.

Change-Id: I4c38c497875686503d46a2376a7842f50bf7f2fd
2014-10-12 18:27:04 +01:00
Alex Monk 8bc150f901 Sort out some odd file permissions
Bug: 71933
Change-Id: I520ee83a9b4d6adec4b430238640cfd58b49aeb4
2014-10-12 03:01:31 +01:00
Translation updater bot 37185507ce Localisation updates from https://translatewiki.net.
Change-Id: Ifa8659d80a76b74bf7b0d6ecb7df4a9e66be7e49
2014-10-11 22:46:00 +02:00
jenkins-bot 36caeb442c Merge "MWCategoryWidget: Use TextInputWidget#event-enter instead of keypress" 2014-10-10 23:44:37 +00:00
jenkins-bot 8005868566 Merge "Make MWTransclusionModel and MWTemplateDialog extensible" 2014-10-10 20:40:19 +00:00
Christian Williams 1fc13cce68 Make MWTransclusionModel and MWTemplateDialog extensible
Wikia has done some work on the template user experience, including
automatically showing all available parameters without the use of
TemplateData. In order to make our changes, we had to make some changes
to VE-MW.

ve.dm.MWTransclusionModel.js
* this.specCache is created so subclasses can reference it.
* Promise handlers in the fetch() method have been broken out as class
  methods so they can be overridden in subclasses.

ve.ui.MWTemplateDialog.js
* addPromptedParameters() has been moved to the
  initializeNewTemplateParameters() class method so subclasses can
  overwrite. In Wikia's implementation, we have a method of getting
  all parameters and a dialog that shows all of the parameters, so the
  request to addPromptedParameters is overwritten.
* Added a done() handler to the transclusionModel promise for Wikia
  extensibility.

Change-Id: I073c5850420e7719e82957f879423c2717af674a
2014-10-10 20:38:18 +00:00
Timo Tijhof 3c50bd617f MWCategoryWidget: Use TextInputWidget#event-enter instead of keypress
The TextInputWidget class inherited by MWCategoryInputWidget,
already has a keypress listener that emits an "enter" event on
the OO.ui.Element object for us to listen to. No need to duplicate
that logic again.

Change-Id: Ia47bc8976f22dfe7e3a6fb6068dc4b6e03a3357b
2014-10-10 22:36:42 +02:00
Translation updater bot 9c76849263 Localisation updates from https://translatewiki.net.
Change-Id: I908b3c1f605cb59183b5fb77552a9116397fcb65
2014-10-10 22:02:06 +02:00
Ed Sanders eb81251401 Update method name in test description
Change-Id: Idf01c167b5c7f3d930b23778e72c242bb5b61c40
2014-10-10 10:20:35 +01:00
Alex Monk 0678ad2929 Style required but currently-invalid parameters on the template dialog
Relies on I693a8bc9 and I7e3a2a16

Bug: 70957
Change-Id: Ieaf4c194fbcd05b81368b086136274084470d3c7
2014-10-09 16:50:50 -07:00
suchetag 7d82d173c6 Replacing title attribute with mixin TitledElement
The title attribute for byte counter in MWSaveDialog is replaced with the mixin TitledElement from label widget in OOUI

Change-Id: Ic4b37fac9e16b6db9091a16376e06d55bbb3d649
2014-10-09 22:57:04 +00:00
suchetag 36f95e4b21 Bringing back the edit summary byte counter in the save dialog
Bug: 71837
Change-Id: I14b1c8a8f0b8501e5ea5a3041f6aa99ae2529b2f
2014-10-10 02:56:01 +05:30
Translation updater bot d219886532 Localisation updates from https://translatewiki.net.
Change-Id: I5c2b783c62c7e40e1dc93996f8e6b6c4e9813550
2014-10-09 21:23:42 +02:00
Amir E. Aharoni 97b9c1111a [BrowserTest] Handle a off-bounds image condition in language screenshots
Paired-With: Zeljko Filipin.

Change-Id: I73cba5b5214798958aba6ed2a87361e2bd1b76a7
2014-10-09 14:28:50 +00:00
Roan Kattouw 77ba5c62c1 Followup 78e3a91: can't assign getValue() to $textarea, oops
Well spotted, Ed.

Change-Id: Ic3ce07591130d59fb2da5df2e410f39f672c71e1
2014-10-08 22:55:27 +02:00
jenkins-bot 922032f5d0 Merge "Replacing $input in save dialog" 2014-10-08 20:26:22 +00:00
suchetag 78e3a91455 Replacing $input in save dialog
Bug: 56647
Change-Id: I4703d0625767efd1b15bbc00848c77b322b43e53
2014-10-09 01:51:48 +05:30
Roan Kattouw 56953f89e4 Followup b8d8a5b: pass selections, not ranges, to SurfaceFragment#clone
Bug: 71825
Change-Id: I095d20840a1844f557a023f933aa1e6104138002
2014-10-08 20:00:21 +00:00
Translation updater bot dd9f677eda Localisation updates from https://translatewiki.net.
Change-Id: I4740b2f4b65969620ed486e1236b261daea2715a
2014-10-08 21:28:30 +02:00
jenkins-bot 1d3f875dc4 Merge "Apply link styling logic to transclusion nodes" 2014-10-08 14:30:01 +00:00
Alex Monk 8f7713e796 Apply link styling logic to transclusion nodes
Only template nodes for now. Not sure what we can do about generated content nodes in general...

Bug: 65353
Change-Id: I848f36764b446ed30c74c0e641d0973008f6880b
2014-10-08 15:03:40 +01:00
suchetag 0bb6d3b333 Getting rid of ve.splitClusters in ve-mw
Bug: 57628
Change-Id: I28cb52bd2af564f208b9414154977c351f5c3fcb
2014-10-08 08:09:19 +00:00
Ed Sanders 1af18c3c12 Update VE core submodule to master (984b57a)
New changes:
6bbcd6a Localisation updates from https://translatewiki.net.
b8d8a5b [BREAKING CHANGE] The Great Selection Rewrite of 2014

Local changes:
Update to use new selection/range API

Change-Id: I5480d5c77d599c93c2d374fac88bb2fdb68b0024
2014-10-07 21:39:33 +02:00
Translation updater bot e1806defb5 Localisation updates from https://translatewiki.net.
Change-Id: I121558fe34ccaf09bce2b85c6439bc8a4da0ec5e
2014-10-07 21:03:19 +02:00
jenkins-bot 93e0c3c274 Merge "In first-time dialog, explain how to switch to source without losing work" 2014-10-07 02:29:09 +00:00
Matthew Flaschen 9c3b8f5c4a In first-time dialog, explain how to switch to source without losing work
Change-Id: I462ede0a13f2027fbfb70f94cd87f77ca7c6d6a2
2014-10-06 19:24:16 -07:00
jenkins-bot dcdc5ab0c0 Merge "mw.Platform: Use 'mediawiki.language' for language fallback chain" 2014-10-06 12:13:07 +00:00
Translation updater bot 70fe9aac4d Localisation updates from https://translatewiki.net.
Change-Id: I45bf9ccf9db5540165f1d8cff5e3754b6b46ce7f
2014-10-05 22:17:14 +02:00
Bartosz Dziewoński d751d569db mw.Platform: Use 'mediawiki.language' for language fallback chain
Bonus:
* Remove doubled dependency on mediawiki.Uri
* Add missing dependency on mediawiki.language

Change-Id: Ide716aad7b9f08ae9a24f99812f07273d89da33a
2014-10-05 19:00:32 +00:00
Translation updater bot 4f811920ed Localisation updates from https://translatewiki.net.
Change-Id: Id9b6d44a5e4d80e0d5e8e62cb7f0b5f40fda7af9
2014-10-02 23:28:04 +02:00