gConfig is a handy tool to allow users to modify settings of your MediaWiki gadget, with little hassle on your or their side.
- Register your gadget with its settings:
gConfig.register('lipsum', 'Lorem ipsum gadget', [...])
- Access the configuration:
gConfig.get('lipsum', 'setting')
- More examples: see gConfigTest.js
- More documentation: per-function docs in gConfig.js
It is currently enabled on the Polish Wikipedia; see the documentation there (in Polish) at https://pl.wikipedia.org/wiki/Wikipedia:Narzędzia/gConfig.
Dual-licensed CC-BY-SA 3.0 or newer, GFDL 1.3.