Commit graph

12015 commits

Author SHA1 Message Date
Inez Korczyński f0bc9935d2 (bug 41199) Fix the problem with placing cursor by clicking next to article content.
The specific use case is when user clicks on the left side of the inline alien node which
is at the beginning of the line or on the right side of the inline alien node at the end of
the line. This fix does not cover Monobook.

Change-Id: Ib24b03e30e753850698ed6b10be49b4f2642c92b
2013-02-13 15:36:45 -08:00
Translation updater bot 7d059a1e69 Merge "Localisation updates from http://translatewiki.net." 2013-02-13 21:11:11 +00:00
Translation updater bot 92292a2ba7 Localisation updates from http://translatewiki.net.
Change-Id: I4561ae3efd3987de864486263027ef9a093fd9c9
2013-02-13 21:07:51 +00:00
Ed Sanders 2c719b3e74 Add Ed
Change-Id: Iec9896de979a0aa787a724cfbe3ac54cb55bb71e
2013-02-12 16:06:21 -08:00
Translation updater bot 76dca4d077 Merge "Localisation updates from http://translatewiki.net." 2013-02-12 20:33:42 +00:00
Translation updater bot 90f5b95e9a Localisation updates from http://translatewiki.net.
Change-Id: I1d654ef2a718211bf4ba41e032c5530de60b7640
2013-02-12 20:30:16 +00:00
jenkins-bot 6b51b0f635 Merge "Annotate newly inserted target text as a link." 2013-02-11 20:00:26 +00:00
Translation updater bot 4a25f6714c Localisation updates from http://translatewiki.net.
Change-Id: I55ee9d5914bdb7dba7c28ba59041b1024bd46fc2
2013-02-09 23:05:39 +00:00
jenkins-bot 8d274c19e6 Merge "Implement inline documentation examples." 2013-02-09 01:50:44 +00:00
Timo Tijhof 62aeb254d9 Implement inline documentation examples.
Refactored the (previously unused) eg-iframe file to be a
template with 2 placeholders for script and styles.

The previous version was just the basic version to execute
javascript code, but that's not good enough since we need a
whole bunch of classes to be loaded.

A bash file processes the template into proper html, with the
help of the makeStaticLoader maintenance script we already had.

Updated demo.css, cleaned up redundant properties restyled
slightly to be more like the Vector skin and less "raw".

Fixed default $IP path in makeStaticLoader.php to work with simple mediawiki core installs having the extension in the
regular extensions directory, and prefixed __DIR__ so it
doesn't rely on the directory you call it from.

Change-Id: Ic789121dfeca08d9db69564d2ad2e52b3fa45de9
2013-02-08 17:47:10 -08:00
jenkins-bot 5ee7b12119 Merge "ve.dm.DocumentSlice does not extend ve.Node" 2013-02-08 23:22:22 +00:00
Trevor Parscal 9eed973ca5 ve.dm.DocumentSlice does not extend ve.Node
Change-Id: I11d28d6eb1c7db1d6b5796ec36c8e9a6f46b7c9e
2013-02-08 14:11:11 -08:00
Translation updater bot 1ee96c9e0e Localisation updates from http://translatewiki.net.
Change-Id: Ic8bc2d5212d5653157c73b474af478778a905039
2013-02-08 21:34:51 +00:00
Catrope 28512c9488 Use .static.isMeta to communicate meta-ness
This gets rid of the meta-specific hack in ve.dm.Document

Later on, I want to use this to get rid of meta-specific hacks in the
converter too, by pushing some of that logic into the ModelFactory.

Change-Id: I1dbee1654fa32d9c7cd521ec325b2553cde219d1
2013-02-07 17:17:34 -08:00
Rob Moen 4d3ccb7b99 Annotate newly inserted target text as a link.
Fixes (Bug 44086)

Changes:
ve.ui.LinkInspector.js
- Annotate fragment for affected range.
- Fragment returned by insertContent was a zero length range, therefore
no content was being annotated.  It is questionable whether insertContent
should return the affected range or not.
- Also changes behavior of editing existing link annotations so that the cursor is after the annotation rather than covering it when the inspector is closed

Change-Id: Ic53b9844f84781cad05ac1f63964c9aaf7de68c3
2013-02-07 16:06:08 -08:00