MatmaRex / gConfig

gConfig is a handy tool to allow users to modify settings of your MediaWiki gadget, with little hassle on your or their side.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gConfig

gConfig is a handy tool to allow users to modify settings of your MediaWiki gadget, with little hassle on your or their side.

Synopsis:

  • Register your gadget with its settings: gConfig.register('lipsum', 'Lorem ipsum gadget', [...])
  • Access the configuration: gConfig.get('lipsum', 'setting')

Documentation:

  • 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.

License

Dual-licensed CC-BY-SA 3.0 or newer, GFDL 1.3.

About

gConfig is a handy tool to allow users to modify settings of your MediaWiki gadget, with little hassle on your or their side.


Languages

Language:JavaScript 95.9%Language:CSS 4.1%