Jump to content

Module:ugly hacks/documentation

Wiktionary වෙතින්

This module provides templates with functions which cannot be accessed any other way. When a function is not used, it should be removed.

Avoid using this module. If you find yourself writing a template which needs it, consider re-writing the template in Lua.

This module tracks templates in which its functions are used, using the tracking template mechanism; the tracking templates' names are of the form Wiktionary:tracking/ugly hacks/function_name and Wiktionary:tracking/ugly hacks/function_name/from template_name. To prevent it from becoming ineffective, wrappers around functions in this module should not be created; the {{#invoke:}} should be put directly where it is needed.

To further discourage their use, functions in this module are intentionally undocumented. To discover their usage purpose and syntax, please refer to mw:Extension:Scribunto/Lua reference manual.

Questions about this module and its possible replacements may be raised at Wiktionary:Grease pit.


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