Rob Moen
fa3d364f3c
Fixed bug with selecting multi suggest item with the enter key.
...
No longer does selecting an item with the enter key repopulate
the drop down.
Change-Id: I372f319ba41c348d667eb3a60e2f8a7c5efad235
2012-08-23 16:18:10 -07:00
Catrope
53b8bcbd61
Merge "Bug 37904 - Show info in title of link tags"
2012-08-23 22:49:46 +00:00
Trevor Parscal
ccc2248aa8
Bug 37904 - Show info in title of link tags
...
Internal links use the title, other links use the href
Change-Id: I1a1cfd70c222dd1d686b46cd702edf2e9d0e5bae
2012-08-23 15:21:20 -07:00
Inez Korczynski
29aef1dec8
Very simple (and a little bit messy) debug tool that dumps not HTML table linear model, view tree and model tree.
...
Change-Id: I625047fbb99c0d63e1ac6865b7e9cddf4ab72a2e
2012-08-23 15:07:32 -07:00
Trevor Parscal
a06d8fdf21
Merge "Also strip ./ in addition to ../"
2012-08-23 22:02:22 +00:00
Christian Williams
c011a5c08f
Fixing enter to leave list
...
Pressing enter in an empty last list item should remove the list item and add a paragraph. Transaction was not being committed.
Change-Id: I0b173125d48f629eab923e051648d2036bb8956c
2012-08-23 14:34:36 -07:00
Catrope
3ed257a5d6
Also strip ./ in addition to ../
...
This is necessary because Parsoid is now prefixing all hrefs with ./
Change-Id: I18c4b7470cfa1dd174e25cc921bf7d4daf5ffc55
2012-08-23 14:29:43 -07:00
Catrope
8c0249bb89
Merge "Bug 37821 - Add support for oldid"
2012-08-23 21:18:37 +00:00
Inez Korczynski
06a5e30c72
Fix for method of retrieving anchor node in ve.ce.BranchNode.onSplice method.
...
In current implementation ve.ce.TextNode can be represented by more then one DOM node (TEXT_NODE and or ELEMENT_NODE) - for instance "Lorem <b>Ipsum</b> est" (TEXT, ELEMENT, TEXT).
Change-Id: I6530cbf1273ad1b1de3599c3eb929eb7abc2d59e
2012-08-23 13:34:09 -07:00
Translation updater bot
832292182e
Localisation updates from http://translatewiki.net .
...
Change-Id: Icdb82599ce5f66d0a6768e973b1ee6103bc9d242
2012-08-23 20:10:39 +00:00
Trevor Parscal
5ee75fbbfd
Merge "Set inspector container height and width to 0 on close."
2012-08-23 19:04:33 +00:00
Trevor Parscal
fb09872781
Bug 37821 - Add support for oldid
...
* Added oldid param to the API
* Added oldId argument to ve.init.mw.ViewPageTarget
* Added redirect when saving an oldid page (which adds a new revision)
* Added venotify param to allow notifications even when redirected
* Added creation notification
* Added page title to saved/created notification
Change-Id: I9e957e6f5bc7920093481ffe3c33e299f87ce50a
2012-08-23 12:03:40 -07:00
Rob Moen
f8a43c8776
Set inspector container height and width to 0 on close.
...
Addresses (Bug 38655)
Change-Id: I93076314bab521fdbc16c5441de4496c4d0b04de
2012-08-23 11:41:42 -07:00
Catrope
337b059e84
Merge "Cleaned up some CSS in ve.ui.Surface.css"
2012-08-23 18:05:19 +00:00
Trevor Parscal
c6b1011931
Cleaned up some CSS in ve.ui.Surface.css
...
Got rid of some commented out code we aren't going to use and fixed the order of arguments to background position to x, y
Change-Id: I4e638c33b053dd916681dc91c8c0d7cff224375d
2012-08-23 11:02:31 -07:00
Trevor Parscal
9c782b29b3
Added monobook support
...
* Added style for monobook
* Added monobook to whitelisted skins
* Made ve.init.mw.ViewPageTarget resilliant to vector and monobook-like skins
Change-Id: Ia39e034229204ae5f1f70dce5d74c6c4db42277b
2012-08-23 11:01:20 -07:00
Catrope
f948c359eb
Merge "Bug 38902 - Error on onbeforunload"
2012-08-23 17:39:44 +00:00
Catrope
85d8d1cfa6
Merge "Bug 38857 - UserAgent blacklisting"
2012-08-23 17:31:06 +00:00
Trevor Parscal
9cbc2b0fb2
Bug 38902 - Error on onbeforunload
...
Just had to make sure the surface was still around before using it.
Change-Id: I13a2f02d256937b7da3aca3ad3c3404bd8f31244
2012-08-22 14:44:03 -07:00
Trevor Parscal
b360437243
Bug 38857 - UserAgent blacklisting
...
Add ?vewhitelist to the URL to override this - useful when testing in a blacklisted browser.
Blacklist:
- msie < 9
- firefox < 11
- safari < 5
- chrome < 19
- opera *
- netscape *
- blackberry *
Change-Id: I6ebb3f7a7d56d395e5fe5c7c9129b606f97aeaab
2012-08-22 14:31:45 -07:00
Trevor Parscal
37b0b9a2f2
Bug 33175 - Copy dir and lang from #mw-content-text div to document
...
This resolves the content direction issues identified in bug 33175
Change-Id: Iaf61fb9e8ad0ba3ab70ffa00c75da4c6f01aad61
2012-08-22 14:01:38 -07:00
Translation updater bot
963a99932d
Merge "Localisation updates from http://translatewiki.net ."
2012-08-22 19:57:50 +00:00
Translation updater bot
74455888b1
Localisation updates from http://translatewiki.net .
...
Change-Id: I01ac351e671f27f8f1645c740fc0726d32df118c
2012-08-22 19:56:08 +00:00
Catrope
aae793537c
Merge "Support for <center> tag"
2012-08-22 19:54:39 +00:00
Inez Korczynski
844df5c8e6
Support for <center> tag
...
Change-Id: I0d64561dd82b8377ee7491103e81569eaca22fee
2012-08-22 12:51:33 -07:00
Trevor Parscal
d1a0d2f946
Merge "Fixing ve.log and ve.dir for IE"
2012-08-22 18:20:01 +00:00
Catrope
31fdb1044b
Fix syntax error in 9d7f4e94b5
...
Change-Id: Ia063de19bf54cb32d4a72304f3289c6c7fa669ca
2012-08-22 11:14:23 -07:00
Catrope
31bf0ea1f8
Merge "Fix ve.ce.getDomText to work with <br/> tags by making it skip not contenteditable=false but all leaf nodes."
2012-08-22 18:09:30 +00:00
Inez Korczynski
9920fb0725
Fix ve.ce.getDomText to work with <br/> tags by making it skip not contenteditable=false but all leaf nodes.
...
Change-Id: I9e728e091a3021840dac07e9601fc764e7750c49
2012-08-22 11:08:11 -07:00
Catrope
487a64c3f0
Merge "Floating toolbar fixes"
2012-08-22 18:07:23 +00:00
Christian Williams
2ad6577713
Fixing ve.log and ve.dir for IE
...
Change-Id: Ieee1aec3e6ea45f3eecdea53e3691ebe19306a33
2012-08-22 11:04:10 -07:00
Trevor Parscal
3216c2df50
Merge "IE triggers keyPress for Esc. We should not delete selected text when this keyPress happens."
2012-08-22 17:48:27 +00:00
Trevor Parscal
43e8403273
Merge "Context module cleanup."
2012-08-22 17:42:53 +00:00
Rob Moen
8e5b7fc5ce
Context module cleanup.
...
-Changed es class prefixes to ve.
-Organized Context & Inspector construction.
-Updated comments & Whitespace.
Change-Id: I4a387621e5147e72d3869ff46eef4790091442c0
2012-08-22 10:42:15 -07:00
Trevor Parscal
33abde3bcf
Merge "Now caching build params in jquery.multiSuggest."
2012-08-22 17:36:52 +00:00
Trevor Parscal
15791bef8b
Merge "Remove references to data-mw-gc"
2012-08-21 21:49:32 +00:00
Translation updater bot
18b82a814e
Localisation updates from http://translatewiki.net .
...
Change-Id: I3ef4cffe640a7d94342dd8d6db4825c46f1ec4d3
2012-08-21 20:11:40 +00:00
Rob Moen
5b73bd1b7c
Now caching build params in jquery.multiSuggest.
...
Fixes (Bug 39511)
Some code cleanup.
Change-Id: I92244c22199d08131f55bfca0c3fa49acccfd963
2012-08-21 10:40:56 -07:00
Inez Korczynski
36b733b716
Fix grammar.
...
Change-Id: Iceee6e5bf5956eb6e8917c7537207fd3fb43d103
2012-08-20 17:51:52 -07:00
Inez Korczynski
053d5ffa5f
Fix transact event handle in ve.dm.SurfaceFragment to handle array of transactions being passed as the argument (instead of just one transaction as it was before).
...
Change-Id: Ic8f26424594cbd4a89da7e4eefb825977f440786
2012-08-20 17:49:16 -07:00
Catrope
dfd78cb121
Remove references to data-mw-gc
...
data-mw-gc is ancient and unused. We do need to detect and alienate
generated nodes, but that is now based on RDFa types. Removing the
data-mw-gc stuff for now because it doesn't work anyway, will replace it
with proper detection later.
Replaced instances of data-mw-gc in the test suite with unregistered
node types.
Change-Id: If3f5898d382a436fa57929013264c53af5e840ba
2012-08-20 17:44:55 -07:00
Christian Williams
9d7f4e94b5
IE triggers keyPress for Esc. We should not delete selected text when this keyPress happens.
...
Change-Id: I8028ba960d7e7ea15e56701850cd214bacc6a232
2012-08-20 17:39:33 -07:00
Trevor Parscal
59815c2548
Merge "(bug 39512) Fix regression in I277ad5fe3f64e07c1bbf49007d6bbaecc90b7466"
2012-08-20 22:44:32 +00:00
Trevor Parscal
ceb8ac9918
Floating toolbar fixes
...
* Added more support for making dynamic skin changes in vector (based on media queries) get applied to the toolbar while it's floating
** Added animation for toolbar wrapper margins
** Added resize handler to update left and right positions on the toolbar when it's floated
* Changed from using generic "float" and "bottom" class names which are likely going to get re-used elsewhere and cause issues
Change-Id: Ic596b2b8aceb8a2d81539e197ef4d6e17326a87a
2012-08-20 15:43:47 -07:00
Catrope
1a85b48c87
(bug 39512) Fix regression in I277ad5fe3f64e07c1bbf49007d6bbaecc90b7466
...
.childNodes is live, so iterating over it ends up skipping every other
child
Change-Id: I54ac480eca8e7ed36d299d68670a97ff176f3ebd
2012-08-20 15:18:41 -07:00
Catrope
467535f1ce
Merge "Some basic link inspector style changes"
2012-08-20 19:44:54 +00:00
Trevor Parscal
7576c0fa5f
Some basic link inspector style changes
...
Some of the HTML structure in the suggestions might need to be changed to pull off pixel-perfect reproduction of the original design, but this gets us very close.
Change-Id: Ie574577af4815e4f0fc9f8a03e57759dd9dfff84
2012-08-20 12:32:42 -07:00
Translation updater bot
40d7001617
Localisation updates from http://translatewiki.net .
...
Change-Id: I3e177e5f9d9b969f0a895bbb06593dcf2980fbb3
2012-08-20 19:23:16 +00:00
Trevor Parscal
fcf4e53f14
Merge "Fix JS error about out-of-bounds selection setting"
2012-08-20 17:01:15 +00:00
Trevor Parscal
1a57e1a361
Merge "Handle uneditable nodes in ve.ce.getDomText()"
2012-08-20 16:58:13 +00:00