r95749 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95748‎ | r95749 | r95750 >
Date:10:03, 30 August 2011
Author:catrope
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/RL2/extensions/Gadgets/backend/Gadget.php (modified) (history)

Diff [purge]

Index: branches/RL2/extensions/Gadgets/backend/Gadget.php
@@ -5,11 +5,11 @@
66 * The format of the JSON blob is as follows:
77 * {
88 * "settings": {
9 - * // The rights required to be able to enable this gadget
 9+ * // The rights required to be able to enable/load this gadget
1010 * "rights": ["delete", "block"],
1111 * // Whether this gadget is enabled by default
1212 * "default": true
13 - * // Whether this gadget is hidden
 13+ * // Whether this gadget is hidden from preferences
1414 * "hidden": false,
1515 * // Whether this gadget is shared
1616 * "shared": true,
@@ -17,11 +17,11 @@
1818 * "section": "key of gadget section",
1919 * },
2020 * "module": {
21 - * // scripts and styles are pages in the Gadget: namespace
 21+ * // Scripts and styles are pages in NS_GADGET
2222 * "scripts": ["foobar.js"],
2323 * "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"]
2626 * }
2727 * }
2828 */

Status & tagging log