Commit graph

643 commits

Author SHA1 Message Date
Liangent cbef9a4faf Followup r100497, r101827: use another way which doesn't look that hacky to load styles in gadgets before documents. Also avoid double loading of the same stylesheet.
Now a gadget generates up to three modules:
* The first is known as meta module which still use its original name to keep B/C. It contains no contents, with dependencies of ones specified by user, scripts module, and styles module. See below.
* The second is known as scripts module whose name ends with ".scripts". It contains all scripts in this gadgets, with dependencies specified by user
* The third is known as styles module whose name ends with ".styles". It contains all styles in this gadgets and loaded before documents. After its load it's instantly marked as ready without dependencies resolved (which is the same as dependencies of .scripts but may not be used at all)

The meta module is loaded as if there's only one module under that name, and it's safe for users to reuse that name. The styles module is loaded and marked as ready in <head>, as described above. Normally the scripts and styles modules shouldn't be used by users.

A possible bug that dependency-only gadgets (ie. no scripts or styles) may not be loaded is fixed.
2011-12-13 10:41:51 +00:00
Raimond Spekking 5ec19eda8a Localisation updates for core and extension messages from translatewiki.net 2011-12-03 14:56:00 +00:00
Raimond Spekking 85dc69fdfe Localisation updates for core and extension messages from translatewiki.net 2011-11-30 20:59:10 +00:00
Raimond Spekking f5900b4f09 Localisation updates for core and extension messages from translatewiki.net 2011-11-29 20:32:09 +00:00
Siebrand Mazeland 67cb0a01ba Localisation updates from http://translatewiki.net. 2011-11-23 18:43:52 +00:00
Raimond Spekking 10add42d9e Localisation updates for core and extension messages from translatewiki.net 2011-11-21 21:20:36 +00:00
Raimond Spekking d7fe4d259a Localisation updates for core and extension messages from translatewiki.net 2011-11-20 21:18:38 +00:00
Raimond Spekking d609a526a2 Localisation updates for core and extension messages from translatewiki.net 2011-11-18 14:57:27 +00:00
Raimond Spekking 69daadd216 Localisation updates for core and extension messages from translatewiki.net 2011-11-17 22:50:20 +00:00
Raimond Spekking 2ab6381abf Localisation updates for core and extension messages from translatewiki.net 2011-11-16 20:05:35 +00:00
Raimond Spekking 63e4cedca6 Localisation updates for core and extension messages from translatewiki.net 2011-11-11 20:38:26 +00:00
Raimond Spekking 6a9afea2ac Localisation updates for core and extension messages from translatewiki.net 2011-11-10 20:56:42 +00:00
Raimond Spekking d7d108ac9c Localisation updates for core and extension messages from translatewiki.net 2011-11-09 20:18:41 +00:00
Raimond Spekking 0b3ca38eb0 Localisation updates for core and extension messages from translatewiki.net 2011-11-08 20:32:28 +00:00
Raimond Spekking 06981dca2e Localisation updates for core and extension messages from translatewiki.net 2011-11-07 20:46:13 +00:00
Raimond Spekking 74cf79afb5 Localisation updates for core and extension messages from translatewiki.net 2011-11-06 20:51:20 +00:00
Raimond Spekking fa0bf8d01e Localisation updates for core and extension messages from translatewiki.net 2011-11-05 21:03:17 +00:00
Raimond Spekking 4ab56c6033 Localisation updates for core and extension messages from translatewiki.net 2011-11-03 20:16:37 +00:00
Liangent fadacf486f Followup r101827: It doesn't need to extends OutputPage anymore 2011-11-03 16:12:11 +00:00
Liangent f2478673ee Followup r100497: Fix stuff described there 2011-11-03 16:11:04 +00:00
Raimond Spekking efd4b70e16 Localisation updates for core and extension messages from translatewiki.net 2011-11-02 20:45:29 +00:00
Raimond Spekking 2cca4422e3 Localisation updates for core and extension messages from translatewiki.net 2011-11-01 21:04:38 +00:00
Raimond Spekking a376c30714 Localisation updates for core and extension messages from translatewiki.net 2011-10-30 20:15:17 +00:00
Raimond Spekking f8ea9159a7 Localisation updates for core and extension messages from translatewiki.net 2011-10-29 19:34:33 +00:00
Raimond Spekking 543768927e Localisation updates for core and extension messages from translatewiki.net 2011-10-28 19:53:17 +00:00
Raimond Spekking 0f3b98e47b Localisation updates for core and extension messages from translatewiki.net 2011-10-27 20:00:32 +00:00
Raimond Spekking 0499d5780d Localisation updates for core and extension messages from translatewiki.net 2011-10-26 19:30:37 +00:00
Raimond Spekking 9feaba56cc Localisation updates for core and extension messages from translatewiki.net 2011-10-24 20:02:53 +00:00
Liangent 7bdf6f5ca2 Followup r100509: Increase GADGET_CLASS_VERSION 2011-10-24 12:49:33 +00:00
Raimond Spekking 5d963260c8 Localisation updates for core and extension messages from translatewiki.net 2011-10-23 19:48:36 +00:00
Raimond Spekking ffe2d08289 Localisation updates for core and extension messages from translatewiki.net 2011-10-22 20:29:38 +00:00
Liangent b9aa1fea37 (bug 31414) Skin specific gadgets 2011-10-22 19:09:25 +00:00
Liangent fb4ad3cac6 Followup r100497: Indention tweak 2011-10-22 05:59:55 +00:00
Liangent 294abd1e32 Move styles in gadgets to the top of pages to avoid flash of unstyled content.
Those styles should be loaded after site and user styles to keep B/C.
2011-10-22 04:32:10 +00:00
Raimond Spekking 2962a49baa Localisation updates for core and extension messages from translatewiki.net 2011-10-21 20:30:08 +00:00
Raimond Spekking c8af487dc2 Localisation updates for core and extension messages from translatewiki.net 2011-10-20 19:16:53 +00:00
Liangent 2c2a44005a Display friendly names of rights on Special:Gadgets 2011-10-20 13:48:06 +00:00
Niklas Laxström ec4da14af8 Fixed a possble typo that 2011-10-19 17:48:22 +00:00
Raimond Spekking 4db849ace6 Localisation updates for core and extension messages from translatewiki.net 2011-10-14 20:06:14 +00:00
Raimond Spekking 36d84a8a66 Localisation updates for core and extension messages from translatewiki.net 2011-10-09 20:04:54 +00:00
Raimond Spekking 929b8b698b Localisation updates for core and extension messages from translatewiki.net 2011-10-06 21:34:11 +00:00
Raimond Spekking 7a57bf422f Localisation updates for core and extension messages from translatewiki.net 2011-10-05 19:39:20 +00:00
Raimond Spekking 79db6d6f7a Localisation updates for core and extension messages from translatewiki.net 2011-10-04 20:02:01 +00:00
Raimond Spekking 85dccbdfc0 Localisation updates for core and extension messages from translatewiki.net 2011-10-03 18:58:08 +00:00
Raimond Spekking 4f2ca783f9 Localisation updates for core and extension messages from translatewiki.net 2011-09-24 20:11:56 +00:00
Raimond Spekking aff4194bfb Localisation updates for core and extension messages from translatewiki.net 2011-09-23 20:09:54 +00:00
Siebrand Mazeland 76b26174eb stylize.php, update whitespace, remove superfluous comment lines
update indentation and sprinkle some braces.
2011-09-23 06:48:37 +00:00
Aaron Schulz ea4dbfd336 Replaced use of wfEmptyMsg() with new Message class. The underlying implementation changed and caused an unstub loop in some cases (like with filecache enabled). Unstubbing $wgLang requires loading $wgUser which triggers a gadget hook, which should not require unstubbing the user's language. 2011-09-23 05:43:40 +00:00
Raimond Spekking 3224628f80 Localisation updates for core and extension messages from translatewiki.net 2011-09-22 19:48:56 +00:00
Raimond Spekking 9327ceb3a8 Localisation updates for core and extension messages from translatewiki.net 2011-09-18 19:42:47 +00:00