Commit graph

26 commits

Author SHA1 Message Date
Siebrand Mazeland cc71ec5354 * bump version to 0.3.1
* stylize.php
2011-09-13 08:56:32 +00:00
Jan Paul Posma 4c8f157f1a Fixes bug 28149 (but with default to true) 2011-04-22 12:10:18 +00:00
Roan Kattouw 534309c1d5 (bug 27515) Reintroduce JS variables wgVectorEnabledModules and wgWikiEditorEnabledModules for backwards compatibility 2011-03-13 10:55:33 +00:00
Roan Kattouw 24330513f7 Followup r83734 (ResourceLoaderGetConfigVars instead of MakeGlobalVariablesScript in Vector): do the same for WikiEditor 2011-03-13 10:51:45 +00:00
Michael Dale db52f1ea53 follow up to r83723 ( remove the add-media-wizard gadget ) 2011-03-11 23:01:01 +00:00
Jan Paul Posma 9d6f6e3526 1. Re-introduces check if the browser supports the dialogs, which was removed for no apparent reason in r74276.
2. Makes the isEnabled function public, to allow other extensions to use the same configuration settings as WikiEditor.
2011-02-25 00:01:57 +00:00
Roan Kattouw 9920653411 WikiEditor: Make sure that the toolbar is enabled before loading dialogs. Should fix bug 27471 2011-02-17 22:44:29 +00:00
Sam Reed 8935a98313 Remove assignment in conditional
Fixup method parameter documentation
2011-01-23 09:46:07 +00:00
Tim Starling 81f292841c Updated extensions for r77011:
* I left MwEmbed alone since it was scary.
* I left the half-completed commented-out ResourceLoader code in Maps as it was
* PrefSwitch was apparently broken, with a typo in remoteBasePath.
* ClickTracking and ProofreadPage now demostrate two different styles of multi-module registration. Choose which one you prefer.
* SemanticMediaWiki/SMW.hooks.php became empty and was deleted.
* Tested using a special script that includes extension setup files and checks $wgResourceModules for correctness.
2010-11-19 13:59:34 +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 543776c990 * ResourceLoaderModule.php - added basePath argument to ResourceLoaderFileModule::__construct to help make module definitions be less repeditive.
* Vector.hooks.php, WikiEditor.hooks.php - implemented new basePath argument for ResourceLoaderFileModule::__construct
2010-10-07 23:31:30 +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 a8a3b67566 Fixed indentation and bracing. 2010-10-01 19:14:33 +00:00
Trevor Parscal 00f4af97cd Fixed copy-paste remnants, specifically the use of the name Vector instead of WikiEditor. 2010-10-01 18:15:10 +00:00
Trevor Parscal 00a8966b90 Made ResourceLoader an instantiable object, rather than a static one, making it more modular and testable. 2010-09-29 19:04: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 527a1d3b4b Brought code from WikiEditor extension in, reorganized module/feature definitions 2010-09-16 23:41:08 +00:00
Trevor Parscal c3d1da7254 Added in conentCollector for paste-filtering support 2010-09-16 23:13:05 +00:00
Trevor Parscal 9862d7d871 Removed dependency on global variable "wgWikiEditorIconVersion" 2010-09-16 22:40:24 +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 6b8e5f2f54 This extension now functions. iframe dependendt modules need more work still. 2010-09-16 21:11:46 +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 46828c89e0 Initial port of UsabilityInitiative/WikiEditor extension 2010-09-15 03:02:35 +00:00