Thread:Extension talk:Gadgets/Cannot use gadgets/reply

You have to have the Javascript already prewritten and called in MediaWiki:Gadgets-definition.