Index: branches/RL2/extensions/Gadgets/Gadgets.php |
— | — | @@ -63,6 +63,14 @@ |
64 | 64 | ) |
65 | 65 | ); |
66 | 66 | |
| 67 | +/** |
| 68 | + * Whether or not to allow gadgets to be shared in the gadget manager. |
| 69 | + * Note that this does not make it impossible for someone to load a gadget |
| 70 | + * from this wiki, it just removes the option from the interface for gadget managers, |
| 71 | + * and enforces the option when saving. |
| 72 | + */ |
| 73 | +$wgGadgetEnableSharing = true; |
| 74 | + |
67 | 75 | /*** Setup ***/ |
68 | 76 | |
69 | 77 | define( 'NS_GADGET', 2300 ); |