Commit graph

140 commits

Author SHA1 Message Date
Translation updater bot 2847e5b8cc Localisation updates from http://translatewiki.net.
Change-Id: Ie008e85ee25d436c63e43dc68b79ad25a35f64e7
2012-11-26 20:37:51 +00:00
Translation updater bot 3017d9acff Localisation updates from http://translatewiki.net.
Change-Id: If4f899438fdf8990bd35401fbd71fa6618d57754
2012-11-23 21:46:45 +00:00
Translation updater bot 8e905f5e60 Localisation updates from http://translatewiki.net.
Change-Id: I86a9e953f42073deeecc237c53533462820ec39c
2012-11-21 22:30:47 +00:00
raymond a54441611c Fix message key, probably c&p error in I1cc00844
Change-Id: I4400ceeda59d76e433cda61c546a196cb3400ba8
2012-11-20 22:09:41 +01:00
Translation updater bot a1a6121c9d Localisation updates from http://translatewiki.net.
Change-Id: Ie3c5ab02ac00f19f5f7b0bf2f65782eb748e990b
2012-11-20 20:55:23 +00:00
Catrope 22a01bfc4f Merge "The great inspector and context rewrite of 2012" 2012-11-19 23:23:48 +00:00
Trevor Parscal d2476a26d2 The great inspector and context rewrite of 2012
ve.AnnotationAction
* Added filter to the clearAll method to allow clearing all matching annotations only

ve.dm.Document
* Some variable renaming for consistency

ve.dm.SurfaceFragment
* Added truncateRange method
* Added annotation scope to expandRange method
* Added support for passing an annotation object into annotateContent method
* Switched to using name instead of type in annotateContent method to match the ve.dm.Annotation class
* Fixed logic in annotation mode of expandSelection so that expansion only takes place if the annotation is found

ve.ui.LinkInspector
* Moved most of the functionality elsewhere
* General reorganization
* Changed setOverlayPosition to accept 2 arguments instead of an object with 2 properties and renamed it to positionOverlayBelow
* Check for annotation object before extracting target information from it
* Initialize default target as empty string to avoid undefined being cast to a string and the default target becoming 'undefined'

icons.ai, inspector.png, inspector.svg
* Added generic inspector icon which will be used when a custom icon is not specified in future inspector subclasses

ve.ui.Inspector.Icons
* Added inspector icon
* Renamed clear icon to remove to match it's actual image

ve.ui.Context
* Greatly simplified the interface, reducing the number of methods by inlining a few things and combining others
* Now always listening to resize events on the window rather than only while document is focused
* Not listening to scroll events anymore, they used to affect the top/bottom positioning of the menu which we don't do anymore
* Lots of cleanup and reorganization
* No need to fallback to empty array since getInspectorsForAnnotations does so already
* Only consider fully-covered annotations for inspectors

ve.ui.Frame
* Simplified the constructor by introducing the createFrame method
* General cleanup
* Typo fixes

ve.ui.Inspector
* Generalized lots of functionality previously located in the link inspector class which will be useful to all inspectors (such as title, clear button, saving changes, etc.)
* Added setDisabled and isDisabled methods to manage CSS changes and avoid needing to check the CSS to determine the state of the inspector (storing state in the view is evil)
* Added getMatchingAnnotations method for convenience
* Added prepareSelection stub
* Lots of cleanup and documentation
* Type pattern is now defined in base class
* Added stubs for onOpen and onClose with documentation so that subclass authors know what these methods do
* Removed checks for onOpen or onClose methods since they are now noop stubs and are always there
* Added stub and removed checks for onRemove
* Made esc key close and accept - the illusion is supposed to be that the link changes are applied instantly, even though they are only updated when you close, so all closing except for when removing should apply changes - i.e. esc is now equal to back rather than being a special function that doesn't have an associated affordance
* Only consider fully-covered annotations when getting matching annotations

ve.ui.InspectorFactory
* Depending on type pattern now since it's always there
* Added getInspectorsForAnnotations method
* Return empty array if annotation set is empty

VisualEditor, VisualEditor.i18n
* Added default inspector message

Change-Id: I1cc008445bcbc8cba6754ca4b6ac0397575980d5
2012-11-19 15:21:27 -08:00
Translation updater bot 3f731b76e0 Localisation updates from http://translatewiki.net.
Change-Id: I0fd2a0761ab62d22a4c76a218a85e82eb8cd0696
2012-11-19 20:21:34 +00:00
Translation updater bot b06324bd2b Localisation updates from http://translatewiki.net.
Change-Id: I24b10d41bc7ffac229c3335724df8edaf169f797
2012-11-18 20:39:47 +00:00
Translation updater bot b767f34852 Localisation updates from http://translatewiki.net.
Change-Id: Ib32c20bdd01c5113a5600fa70a6c238ed1e8a347
2012-11-17 20:52:42 +00:00
Catrope 7fb9b1c09a Merge "(bug 42123) Add i18n for aliennated content tool tip." 2012-11-17 01:08:07 +00:00
James D. Forrester c7fd1819a3 (bug 42123) Add i18n for aliennated content tool tip.
Change-Id: Ibb98d256fb989cd69407b487df673ee22f8c9758
2012-11-16 16:52:22 -08:00
Translation updater bot bc6a5a2a47 Localisation updates from http://translatewiki.net.
Change-Id: I7dcadb47a4996fb4995f349747c6331b3102cf50
2012-11-16 20:41:16 +00:00
Translation updater bot 55a5c35a14 Localisation updates from http://translatewiki.net.
Change-Id: Ida3f68c387b52b82a78519c6028c3046d6fe4417
2012-11-15 20:44:06 +00:00
James D. Forrester 42fb99728b (bug 41722) Remove use of the Feedback tool for December release
We do not want to use the Feedback tool for the December release, as it does not
work cleanly with LiquidThreads and would strand most users in an unfamiliar
wiki and expect them to have more complex/technical responses than they are
likely to be able to give; instead, have just purged it entirely from the code
(except for i15d strings, per Roan).

Change-Id: Ieebdca3d365943d901e2df37228120fdcff50afd
2012-11-14 16:16:52 -08:00
Translation updater bot 16e41fe343 Localisation updates from http://translatewiki.net.
Change-Id: I9477f99e345a0dd998e890c945b4bfaa2517077c
2012-11-14 20:58:47 +00:00
Translation updater bot afea342bb9 Localisation updates from http://translatewiki.net.
Change-Id: I08515d4e1abab80d5182d3895f63cf42a231fb19
2012-11-13 21:15:07 +00:00
Translation updater bot 411b31cc93 Localisation updates from http://translatewiki.net.
Change-Id: I731ef8fa80d811ce2aea6f8a7cd4071ca81810af
2012-11-10 20:46:20 +00:00
Translation updater bot f676cea3af Localisation updates from http://translatewiki.net.
Change-Id: I38b10dc8ebb5e080407b8241a8fa02f70670e820
2012-11-09 21:57:54 +00:00
Translation updater bot 33062e32fa Localisation updates from http://translatewiki.net.
Change-Id: I25fa8e1f8d2dc6006e2e803c9d3b2284e483e468
2012-11-08 21:10:26 +00:00
Translation updater bot 0408a71c02 Localisation updates from http://translatewiki.net.
Change-Id: If8f9d437f9d1e33602514b7470f844352de36e06
2012-11-07 20:37:29 +00:00
Translation updater bot 44b142ac2d Localisation updates from http://translatewiki.net.
Change-Id: Ib247815a3a047e5950155cd3c2421ed9b1e2afc0
2012-11-06 20:59:50 +00:00
Trevor Parscal 692a67dc3d Merge "Integration revamp for December release" 2012-11-05 23:19:10 +00:00
Translation updater bot 0f205707f2 Localisation updates from http://translatewiki.net.
Change-Id: I750fc83b0530d867e0d2614b0615cbcb83c6ba72
2012-11-05 21:14:57 +00:00
Catrope 4d7952d55c Integration revamp for December release
* Remove VisualEditor namespace, and restrictions on it
** For MW.org these will be moved to mediawiki-config
* Add $wgVisualEditorNamespaces
* Add visualeditor-enable preference and respect it
* Use $skin->getTitle() rather than $wgTitle
* Remove "Sandbox" from i18n message
* Remove duplicate enforcement of VE namespace from JS

Change-Id: I956f68c2dde55e4063530fcc7c90eda048e0d78b
2012-11-05 12:46:14 -08:00
Translation updater bot 138905e49c Localisation updates from http://translatewiki.net.
Change-Id: I7f53cf692b95cd76f530c3289f9a2ee85b3e68ea
2012-11-04 21:23:24 +00:00
Translation updater bot 3cf44d2ab1 Localisation updates from http://translatewiki.net.
Change-Id: I43b3d022da55878430e42ea9a0ce85f5c616441a
2012-11-03 23:25:05 +00:00
Translation updater bot b81a88d75a Localisation updates from http://translatewiki.net.
Change-Id: I68ad405772ddbb85e56524563decfc8c0aeb8740
2012-10-29 21:53:00 +00:00
Translation updater bot 779356243f Localisation updates from http://translatewiki.net.
Change-Id: If8b4ce3c06dd78c26d44d0f73d00f3bdeac0226b
2012-10-28 21:17:46 +00:00
Translation updater bot 03ed368fd9 Localisation updates from http://translatewiki.net.
Change-Id: Ib9b8748fc9c687f17669d983373758006c47db91
2012-10-27 21:16:43 +00:00
Catrope 62cf91cd24 Merge changes I0de5d327,I589ecba3,I840f7242,Ie786fa3d,I04723499,Ibde934d5,I993f4cbe
* changes:
  Add commands to ve.Surface
  Tools changes
  UI context reorganization, inspector rewrite, iframe refactor, icon generalization
  Add ve.Action, ve.ActionFactory, subclasses
  Add ve.dm.Surface.has{Past,Future}State, add docs
  Add ve.dm.Node.hasAttributes()
  Add ve.dm.Node.hasMatchingAncestor()
2012-10-26 21:54:02 +00:00
Rob Moen 9563f0880d UI context reorganization, inspector rewrite, iframe refactor, icon generalization
* Only show the inspector if the selected text has an inspectable annotation
* Replace the inline menu with a toolbar containing inspectable annotations
* Change the appearance of the inspector to match new mockups
* Add the trash can icon for removing annotations
* Move iframe handling code into a class that manages all that nonsense

Change-Id: I840f72426f9a9e50054a28de950393f0e9913153
2012-10-26 14:46:11 -07:00
Translation updater bot 93e089cf38 Localisation updates from http://translatewiki.net.
Change-Id: I12c7cea5120485b963ea1dad105fbab579426485
2012-10-26 19:45:13 +00:00
Translation updater bot a764d0b350 Localisation updates from http://translatewiki.net.
Change-Id: Ib8b826ea7d5d2b6080d71a9cf2fc4ac6f375bd6a
2012-10-25 20:04:29 +00:00
Translation updater bot c31698b381 Localisation updates from http://translatewiki.net.
Change-Id: I7646f89310781f0da59173347886b1a12776edae
2012-10-22 01:54:09 +00:00
Translation updater bot 0024913c16 Localisation updates from http://translatewiki.net.
Change-Id: If2b2b1822e7973ca7c087b5ed72582ac874d9943
2012-10-02 20:39:12 +00:00
Translation updater bot c7d5c28a6b Localisation updates from http://translatewiki.net.
Change-Id: Ib1f0420f7f0752a002dac31a30b2aa00704858d4
2012-10-02 14:04:32 +00:00
Translation updater bot d9570ed0e5 Localisation updates from http://translatewiki.net.
Change-Id: I0299961a807fee46db9502de70a9e5e268fa0f32
2012-09-30 19:22:52 +00:00
Translation updater bot 044c7c728c Localisation updates from http://translatewiki.net.
Change-Id: If0cf357aa5959daa90ad09e8da71e397bffc1fdc
2012-09-26 19:56:22 +00:00
Translation updater bot 948b55e1e3 Localisation updates from http://translatewiki.net.
Change-Id: I9b406a429ed4d868e915599b95ea7f51b0734b27
2012-09-25 19:51:34 +00:00
Translation updater bot f1b827b12f Localisation updates from http://translatewiki.net.
Change-Id: I5459a7fab1821322e27ba2df65a76704208f142f
2012-09-19 20:44:20 +00:00
Translation updater bot 33c86832d7 Localisation updates from http://translatewiki.net.
Change-Id: Ia06fd498d1325185f688a143af9dbe2c7062a189
2012-09-15 19:55:07 +00:00
Translation updater bot aa595bff89 Localisation updates from http://translatewiki.net.
Change-Id: Iec8a768270d2e573312d848c7a686ba8bf7ec3a6
2012-09-13 20:47:51 +00:00
Translation updater bot 0fd054322b Localisation updates from http://translatewiki.net.
Change-Id: Id662844ddf5f62c54f9ac2931289a37d64daec10
2012-09-12 19:56:27 +00:00
Siebrand a218baa8c9 Revert "Added 'bytes' remaining to edit summary dialog."
This reverts commit 75c0cdbd38
2012-09-11 20:57:21 +00:00
Rob Moen 75c0cdbd38 Added 'bytes' remaining to edit summary dialog.
Addresses (Bug 40035)

Change-Id: Iad94ea32b62aef2e1875fa2709b6303b88c9c137
2012-09-11 12:34:19 -07:00
Translation updater bot 8a725f8f92 Localisation updates from http://translatewiki.net.
Change-Id: I24aab36d264b542380c0a494c659f7f662eb6aee
2012-09-08 19:02:28 +00:00
Translation updater bot 992353b3a6 Localisation updates from http://translatewiki.net.
Change-Id: I07696c01128e9b21755b5f279bc03ca8898e1ca0
2012-09-07 22:26:50 +00:00
Translation updater bot e7d3dac1b9 Localisation updates from http://translatewiki.net.
Change-Id: I8e40afc93c7cde4b7814b11f5c967195f491ff46
2012-09-01 20:48:18 +00:00
Translation updater bot 3d47dca9e7 Localisation updates from http://translatewiki.net.
Change-Id: Ibfa61b9fa71e39ba49da7e8d7aa219e09068d8e1
2012-08-30 19:43:08 +00:00