Commit graph

2337 commits

Author SHA1 Message Date
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
Raimond Spekking af6bac957d Localisation updates for core and extension messages from translatewiki.net (2010-11-18 20:47:00 UTC) 2010-11-18 21:11:56 +00:00
Raimond Spekking 76110f45dc Localisation updates for core and extension messages from translatewiki.net (2010-11-16 20:13:00 UTC) 2010-11-16 20:33:22 +00:00
Raimond Spekking 918e7a3165 Localisation updates for core and extension messages from translatewiki.net (2010-11-15 20:53:00 UTC) 2010-11-15 21:10:22 +00:00
Raimond Spekking d7183964a4 Localisation updates for core and extension messages from translatewiki.net (2010-11-14 20:53:00 UTC) 2010-11-14 21:10:48 +00:00
Raimond Spekking 09ec3dc831 Localisation updates for core and extension messages from translatewiki.net (2010-11-08 20:05:00 UTC) 2010-11-08 20:25:23 +00:00
Raimond Spekking 6cdb40eaa2 Localisation updates for core and extension messages from translatewiki.net (2010-11-06 20:26:00 UTC) 2010-11-06 20:53:34 +00:00
Raimond Spekking 1a0355ea07 Localisation updates for core and extension messages from translatewiki.net (2010-11-05 15:10:00 UTC) 2010-11-05 15:34:04 +00:00
Raimond Spekking 47fc032f3b Localisation updates for core and extension messages from translatewiki.net (2010-11-03 20:05:00 UTC) 2010-11-03 20:28:35 +00:00
Raimond Spekking 55e2204307 Localisation updates for core and extension messages from translatewiki.net (2010-11-01 20:01:00 UTC) 2010-11-01 20:51:37 +00:00
Siebrand Mazeland eb9a7d9cab Localisation updates from translatewiki.net 2010-10-31 17:55:47 +00:00
Raimond Spekking 36314374f5 Localisation updates for core and extension messages from translatewiki.net (2010-10-28 19:50:00 UTC) 2010-10-28 20:10:28 +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
Raimond Spekking f2d012e485 Localisation updates for core and extension messages from translatewiki.net (2010-10-26 19:28:00 UTC) 2010-10-26 19:53:14 +00:00
Raimond Spekking c9d8fe5cf7 Localisation updates for core and extension messages from translatewiki.net (2010-10-24 19:14:00 UTC) 2010-10-24 19:30:56 +00:00
Raimond Spekking 3a0674cb47 Localisation updates for core and extension messages from translatewiki.net (2010-10-22 18:58:00 UTC) 2010-10-22 19:41:58 +00:00
Raimond Spekking d479e9472b Localisation updates for core and extension messages from translatewiki.net (2010-10-21 19:58:00 UTC) 2010-10-21 21:55:48 +00:00
Raimond Spekking 0db4789d9b Localisation updates for core and extension messages from translatewiki.net (2010-10-19 19:03:00 UTC) 2010-10-19 19:38:34 +00:00
Raimond Spekking 2b1e552359 Localisation updates for core and extension messages from translatewiki.net (2010-10-18 19:23:00 UTC) 2010-10-18 19:42:19 +00:00
Raimond Spekking f187eda4b7 Localisation updates for core and extension messages from translatewiki.net (2010-10-17 19:57:00 UTC) 2010-10-17 20:36:41 +00:00
Raimond Spekking 82820625d1 Localisation updates for core and extension messages from translatewiki.net (2010-10-16 18:47:00 UTC) 2010-10-16 19:18:14 +00:00
Alexandre Emsenhuber 2bb7792e78 svn:eol-style native 2010-10-16 18:47:46 +00:00
Raimond Spekking e24cb6fbad Localisation updates for core and extension messages from translatewiki.net (2010-10-15 19:02:00 UTC) 2010-10-15 19:18:12 +00:00
Priyanka Dhanda dd5add4e37 Tests for Toolbar dialogs in the wikieditor. Migrated part of Calcey's tests from svn.wikimedia.org/svnroot/mediawiki/trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases 2010-10-14 16:42:56 +00:00
Raimond Spekking 34a39c0311 Localisation updates for core and extension messages from translatewiki.net (2010-10-13 19:22:00 UTC) 2010-10-13 19:36:44 +00:00
Raimond Spekking 05c12378d5 Localisation updates for core and extension messages from translatewiki.net (2010-10-11 19:00:00 UTC) 2010-10-11 19:10:39 +00:00
Roan Kattouw 4e9d2b26d2 WikiEditor: (bug 25460) Place cursor behind, not before, inserted signature 2010-10-11 08:24:04 +00:00
Raimond Spekking b3cc09cedc Localisation updates for core and extension messages from translatewiki.net (2010-10-10 19:07:00 UTC) 2010-10-10 19:23:48 +00:00
Raimond Spekking bb9356f3b9 Localisation updates for core and extension messages from translatewiki.net (2010-10-09 19:18:00 UTC) 2010-10-09 19:32:58 +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
Raimond Spekking d1f3b11a14 Localisation updates for core and extension messages from translatewiki.net (2010-10-07 19:02:00 UTC) 2010-10-07 19:25:06 +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
Raimond Spekking 3fbe9b3ce7 Localisation updates for core and extension messages from translatewiki.net (2010-10-05 18:38:00 UTC) 2010-10-05 18:54:47 +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
Raimond Spekking ef13e31ee2 Localisation updates for core and extension messages from translatewiki.net (2010-10-04 18:48:00 UTC) 2010-10-04 19:02:27 +00:00
Raimond Spekking 7c2428abab Localisation updates for core and extension messages from translatewiki.net (2010-10-02 19:45:00 UTC) 2010-10-02 19:58:17 +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
Raimond Spekking ddf6b59294 Localisation updates for core and extension messages from translatewiki.net (2010-10-01 19:27:00 UTC)
Full export after separation of countries/states
2010-10-01 19:37:33 +00:00
Trevor Parscal a57b88031e Fixed typo in README 2010-10-01 19:32:11 +00:00
Trevor Parscal a5d394086c Fixed typo in r73179 2010-10-01 19:26:08 +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
Raimond Spekking bb0bf5d772 Localisation updates for core and extension messages from translatewiki.net (2010-09-30 19:59:00 UTC) 2010-09-30 20:11:36 +00:00
Raimond Spekking f5318e0be4 Localisation updates for core and extension messages from translatewiki.net (2010-09-29 19:56:00 UTC) 2010-09-29 20:04:42 +00:00