| Index: branches/RL2/extensions/Gadgets/backend/Gadget.php |
| — | — | @@ -5,11 +5,11 @@ |
| 6 | 6 | * The format of the JSON blob is as follows: |
| 7 | 7 | * { |
| 8 | 8 | * "settings": { |
| 9 | | - * // The rights required to be able to enable this gadget |
| | 9 | + * // The rights required to be able to enable/load this gadget |
| 10 | 10 | * "rights": ["delete", "block"], |
| 11 | 11 | * // Whether this gadget is enabled by default |
| 12 | 12 | * "default": true |
| 13 | | - * // Whether this gadget is hidden |
| | 13 | + * // Whether this gadget is hidden from preferences |
| 14 | 14 | * "hidden": false, |
| 15 | 15 | * // Whether this gadget is shared |
| 16 | 16 | * "shared": true, |
| — | — | @@ -17,11 +17,11 @@ |
| 18 | 18 | * "section": "key of gadget section", |
| 19 | 19 | * }, |
| 20 | 20 | * "module": { |
| 21 | | - * // scripts and styles are pages in the Gadget: namespace |
| | 21 | + * // Scripts and styles are pages in NS_GADGET |
| 22 | 22 | * "scripts": ["foobar.js"], |
| 23 | 23 | * "styles": ["foobar.css"], |
| 24 | | - * "messages": ["foobar-welcome", "recentchanges", "namespaces"], |
| 25 | | - * "dependencies": ["jquery.ui.tabs", "gadget.awesome"] |
| | 24 | + * "dependencies": ["jquery.ui.tabs", "gadget.awesome"], |
| | 25 | + * "messages": ["foobar-welcome", "foo-bye", "recentchanges"] |
| 26 | 26 | * } |
| 27 | 27 | * } |
| 28 | 28 | */ |