Trevor Parscal
de04fce204
Prevent focus outline in webkit for textarea in editor.
2010-12-01 22:41:52 +00:00
Roan Kattouw
0d78534735
Remove RegExp.escape() in favor of String.prototype.escapeRE()
2010-10-28 15:32:43 +00:00
Roan Kattouw
947fe69c27
(bug 25339) Allow specifying separate base paths for local and remote paths in ResourceLoaderFileModule::__construct(). Extensions can use this to properly point the resource loader to their resources in a way that doesn't depend on the extensions/ directory being a subdirectory of phase3/ on the filesystem and that respects $wgExtensionAssetsPath. Also converted all extensions using ResourceLoader to use this approach, except MWEmbed which uses way more indirection building its module registrations than I can deal with after midnight.
...
What actually happens here
* Add $localBasePath, $remoteBasePath params to the FileModule constructor, defaulting to $IP and $wgScriptPath respectively
* Add getLocalPath() and getRemotePath(), which use this information to build a proper FS or URL path for a file
* Make readScriptFiles() non-static so it can use these functions
* Run every single file path we use through either getLocalPath() or getRemotePath() as appropriate
** Except file dependencies, these are already prefixed. Our inability to give them special treatment caused bugs earlier
* Kill prefixFilePathList() and resolveFilePath(), no longer needed
2010-10-27 22:22:10 +00:00
Trevor Parscal
bb88f087b4
Mostly reverted r75487, making use of a new version of mediaWiki.msg.
2010-10-27 00:16:32 +00:00
Trevor Parscal
55a8f66322
Updated use of mediaWiki.msg to mediaWiki.message
2010-10-26 23:42:23 +00:00
Roan Kattouw
4e9d2b26d2
WikiEditor: (bug 25460) Place cursor behind, not before, inserted signature
2010-10-11 08:24:04 +00:00
Trevor Parscal
da918a5d68
Made use of mediaWiki.loader for adding in mediawiki.legacy.diff for the change tab of jquery.wikiEditor.preview
2010-10-05 22:06:16 +00:00
Trevor Parscal
49eb154f2c
* Fixed mistake made in r74271 where some functions were moved from core jquery.wikiEditor into jquery.wikiEditor.iframe, causing errors for textarea mode. These changes properly split the functions, allowing the iframe to override the textarea functions, and using $.client to only execute them on IE. (tested in IE7)
...
* Also fixed IE bug, where "delete window.myThing;" fails but "delete myThing;" succeeds.
2010-10-05 20:54:38 +00:00
Trevor Parscal
c92c4436a5
Fixed autoMsg misusing mediaWiki.msg.get
2010-10-04 21:17:08 +00:00
Trevor Parscal
cb6ff96431
Got more dialogs working again
2010-10-04 21:08:41 +00:00
Trevor Parscal
0a71513db4
* Introduced the concept of context extensions
...
* Abstracted the requirements concept being used to hack in the iframe as a context extension requirement
* Removed some hardcoding for iframe stuff
* Moved about 60k of JavaScript code out of the main wikiEditor script, and into an iframe only context extension.
2010-10-04 20:12:30 +00:00
Trevor Parscal
0a0f6f6e8e
* Fixed the toolbar, where sprited buttons weren't receiving the correct classes.
...
* Changed the way dialogs toolbar buttons were being added
* Made dialog code load on the fly
2010-10-01 21:58:04 +00:00
Trevor Parscal
d5f8b1bc3a
Using new group feature of ResourceLoaderFileModule objects.
2010-09-20 23:31:56 +00:00
Trevor Parscal
089b73aa5d
* Moved ResourceLoader modules into the ext.* space - this is the convention that should be followed in the future
...
* Moved test resource to the modules folder and registered it
* Fixed tests file to use $ not $j
* Cleaned up syntax in module definitions
2010-09-20 20:06:18 +00:00
Trevor Parscal
0fd0380e20
Fixed bug that made preview not work with textarea. Also discontinued use of some globals.
2010-09-17 23:58:41 +00:00
Trevor Parscal
c3d1da7254
Added in conentCollector for paste-filtering support
2010-09-16 23:13:05 +00:00
Trevor Parscal
d35fddbda6
Added embed tags to CSS image URLs
2010-09-16 22:57:22 +00:00
Trevor Parscal
fd441d4b6d
Remapped image and html paths to new extension location.
2010-09-16 22:54:59 +00:00
Trevor Parscal
9862d7d871
Removed dependency on global variable "wgWikiEditorIconVersion"
2010-09-16 22:40:24 +00:00
Trevor Parscal
d555f70643
Removed unused code.
2010-09-16 22:20:43 +00:00
Trevor Parscal
ff8e204ccd
Table of contents is working now - fixed dependency issues and removed some globals that are no longer needed.
2010-09-16 22:20:17 +00:00
Trevor Parscal
94c8be537b
Moved one rule back.
2010-09-16 21:44:43 +00:00
Trevor Parscal
7d438b6006
Moving some CSS to the vector jquery ui skin, rather than keeping them here as WikiEditor only customizations
2010-09-16 21:43:11 +00:00
Trevor Parscal
81510294e1
Moved some images to the vector jquery ui skin, rather than keeping them here as WikiEditor only customizations
2010-09-16 21:40:56 +00:00
Trevor Parscal
6b8e5f2f54
This extension now functions. iframe dependendt modules need more work still.
2010-09-16 21:11:46 +00:00
Trevor Parscal
8be53e71af
Merged in changes from r73123
2010-09-16 17:22:23 +00:00
Trevor Parscal
a9c45c88e0
Lots of refactoring. This still does not work! But it's getting close.
2010-09-15 22:40:50 +00:00
Trevor Parscal
c45ca9a77e
Changed naming of files to follow new conventions.
2010-09-15 19:18:26 +00:00
Trevor Parscal
9d278e8dee
Copied over all the resources needed to make WikiEditor stand on it's own two feet. Lots more to do as far as organizing and fleshing out the extensions's PHP bits.
2010-09-15 03:08:35 +00:00