| Index: trunk/extensions/Gadgets/README |
| — | — | @@ -48,10 +48,11 @@ |
| 49 | 49 | The first field ("mygadget" in the example) is the gadgets internal name, |
| 50 | 50 | and references a system message (MediaWiki:Gadget-mygadget in the example) |
| 51 | 51 | that contains a short description of the gadget, using wiki syntax. |
| 52 | | -Note that the internal name must start with an ASCII letter, and must |
| 53 | | -contain only ASCII letters and numbers, hyphens ("-"), underscores ("_"), |
| 54 | | -colons (":"), and periods (".") (spaces are also allowed but converted to |
| 55 | | -underscores ("_"), like for page titles). |
| | 52 | +Note that the internal name must start with an ASCII letter, must not be |
| | 53 | +longer than 25 bytes, and must contain only ASCII letters and numbers, |
| | 54 | +hyphens ("-"), underscores ("_"), colons (":"), and periods (".") |
| | 55 | +(spaces are also allowed but converted to underscores ("_"), like for |
| | 56 | +page titles). |
| 56 | 57 | |
| 57 | 58 | If the gadget name is followed by [ResourceLoader], its JavaScript will |
| 58 | 59 | be loaded concatenated, minified and gzipped by ResourceLoader, thus |