Commit graph

8370 commits

Author SHA1 Message Date
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
Timo Tijhof 279db02d7f build: Remove stray '*' before '/**' in csslint file pattern
'**' is already recursive, and besides, with the extra '*' it
would actually miss files present in modules/ itself ('**' means
in the directory and recursively in all members).

Change-Id: I20011e0d4512200765030f38a2583be5aaf7c2d9
2014-10-11 03:21:21 +02:00
Timo Tijhof 8ddf622891 build: Remove 'repository' and 'licenses' key from package.json
This isn't a node.js package, but simply the packages for the
workflow in developing the extension.

This repo already has other entry points and outings for this
information.

Change-Id: Ide13e863546e6efda61086e3daf9cdfe4ed5f1ac
2014-10-11 02:59:33 +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
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
James D. Forrester eaa4a2a5f3 Update VE core submodule to master (8b78c2b)
New changes:
388a930 Followup b8d8a5b: fix getNativeRange() in null selection case
c049570 ve.ui.CommentInspector: Update size when the textarea gets resized

Change-Id: Idaf49529c65ed858a11c27b0d9ec0dd55488c9a7
2014-10-08 18:11:51 -07: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
James D. Forrester a2ad67fafe Update VE core submodule to master (07b791e)
New changes:
35e9cdd Followup b8d8a5b: pass selections, not ranges, to SurfaceFragment#clone

Change-Id: Ic6c2e7067180d43d23c1bb5e1443bbcd77f62e9a
2014-10-08 13:09:23 -07:00
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 3ae443cc6f Merge "Localisation updates from https://translatewiki.net." 2014-10-08 19:29:40 +00:00
Translation updater bot dd9f677eda Localisation updates from https://translatewiki.net.
Change-Id: I4740b2f4b65969620ed486e1236b261daea2715a
2014-10-08 21:28:30 +02:00
James D. Forrester f944683393 Update VE core submodule to master (4b3da84)
New changes:
4b3da84 Followup b8d8a5b: fix stray check for !selection

Change-Id: I1d73d11fd47182147ae15b4c5bb14fdaf27be933
2014-10-08 12:18:59 -07:00
James D. Forrester 24bcc8f4aa Update VE core submodule to master (8280da5)
New changes:
fdbbad7 Followup 2fcc4c0: fix bugs with selection-only polling
d821f07 Getting rid of ve.splitClusters in VE core
efa6933 Add Sucheta to AUTHORS.txt
abd9023 Move Bartosz to principal authors section

Change-Id: I3ff7bd7b48f92e7b01df5589f9f92e15c0a49a08
2014-10-08 11:13:54 -07:00
jenkins-bot 21b7f6454a Merge "Add Sucheta to authors list" 2014-10-08 14:49:55 +00:00
jenkins-bot 85b509fdfa Merge "Move Bartosz to principal authors section" 2014-10-08 14:46:48 +00: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
Roan Kattouw 51a8790428 Move Bartosz to principal authors section
Change-Id: Ib0fb1c074ee6cca0953d54dfa64f05af9104537f
2014-10-08 10:27:01 +02:00
Roan Kattouw d604147539 Add Sucheta to authors list
Change-Id: I1938546cf61b517564117cd6be1e830ef00b90fb
2014-10-08 10:21:52 +02: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 7b382f25c3 Merge "Display JSON configuration options in NS_MEDIAWIKI as JSON" 2014-10-07 07:45:15 +00: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
James D. Forrester 71bb01a8de Update VE core submodule to master (cfd855e)
New changes:
21bba98 update-oojs-ui.sh: Exclude the minimised distribution files
d9114f9 Update OOjs UI to v0.1.0-pre (48980881f3)
3ebaade Localisation updates from https://translatewiki.net.
2a2e256 Update OOjs UI to v0.1.0-pre (26dadbc60f)
517ebb0 Emit change event when dimensions change in MediaSizeWidget

Change-Id: Id30517765563547df92d2f432307fc7e719d05c8
2014-10-06 15:03:32 -07:00
Kunal Mehta 0121c68b50 Display JSON configuration options in NS_MEDIAWIKI as JSON
Change-Id: Ie033b8bd42beda769dd499a9d02d488bfffb0fa0
2014-10-06 12:02:55 -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
jenkins-bot ff91655d94 Merge "Update VE core submodule to master (a1c190c)" 2014-10-03 23:57:29 +00:00
Bartosz Dziewoński 3a5fe64c42 Add mobile target to 'ext.visualEditor.iehacks' module
Bug: 71622
Change-Id: I501a4345c6033b463447f142fd98ed9140d051c5
2014-10-03 22:22:44 +02:00
James D. Forrester 677878db41 Update VE core submodule to master (a1c190c)
New changes:
27ae4bd Localisation updates from https://translatewiki.net.
f41633d Revert "ve.ce.Surface: Magic workaround for broken Firefox cursoring"

Change-Id: I544f906fa8166c6abff647611e6ce91e7058008f
2014-10-03 11:49:02 -07:00
Translation updater bot 4f811920ed Localisation updates from https://translatewiki.net.
Change-Id: Id9b6d44a5e4d80e0d5e8e62cb7f0b5f40fda7af9
2014-10-02 23:28:04 +02:00
James D. Forrester 41802f5c04 Update VE core submodule to master (0d7eaf5)
New changes:
539ef0c Localisation updates from https://translatewiki.net.
0d7eaf5 ve.ce.Surface: Magic workaround for broken Firefox cursoring

Change-Id: I7e57e7d1c55cb97dd1efffb718c5e5534f60233c
2014-10-02 09:15:25 -07:00
jenkins-bot c823b736ec Merge "[BrowserTests] Put automatic language screenshots in more specific category" 2014-10-02 15:34:13 +00:00
Željko Filipin 4d036f6fe1 [BrowserTest] Fixed language screenshot scenario
VisualEditor no longer has cancel button.

Change-Id: Ia06469c23cc527ae87170d6aa5b9066fbc9933a6
Paired-With: Amir Aharoni
2014-10-02 15:34:04 +02:00
Željko Filipin 4ab4ad64dc [BrowserTest] Fix failing VisualEditor_save_dialog scenario
Looks like VisualEditor does not allow saving the page, if the changes
to the page were made while the browser did not have focus.

Change-Id: I959bcb4cc2f72237d2ea75249a56e140d4f7c867
Paired-With: Amir Aharoni
2014-10-02 14:45:24 +02:00