A gadget is a JavaScript and/or a CSS snippet that can be enabled simply by checking an option in your Wiktionary preferences. The gadgets functionality is provided by the MediaWiki extension Extension:Gadgets.

General criteria for Gadgets

සංස්කරණය

Gadgets should generally pass the following conditions:

  1. Gadgets must work if just included with no further configuration. They can be configurable via monobook.js, but must work unconfigured.
  2. Gadgets must be compatible with all major browsers, i.e. they must not terminate with errors.
  3. Gadgets should be functional in most major browsers (cross-browser compatibility). Exceptions must be clearly stated.
  4. Duplication of gadgets should only be made if it's reasonable.
  5. Gadgets requiring permissions must be marked, and must fail gracefully if the permissions aren't present.
  6. Gadgets only working in some skins must be marked as such, if that data is available.

Comments or warnings can be added to the gadget description templates in two ways:

  • noinclude tag (visible on description page with links): <noinclude> comment </noinclude>
  • HTML comments (visible in source text only): <!-- comment -->

Comments added in this way will be automatically discarded during the page creation process.

For currently installed gadgets, see Special:Gadgets.

"https://si.wiktionary.org/w/index.php?title=වික්ෂනරි:Gadgets&oldid=37963" වෙතින් සම්ප්‍රවේශනය කෙරිණි