Extension:Scribunto/Brainstorming

Brainstorming!


 * Re-evaluate use of templatelinks table to track module invocations
 * Feels kind of hackish; templatelinks table was never intended for this
 * Requires splitting every list of transcluded templates
 * Binary tracking (can't count invocations per page, e.g.)
 * Magic words... other breakage
 * Memory usage
 * Debugging tools
 * Track execution time
 * Track number of module invocations
 * Dedicated Special page? Special:LuaConsole or something?
 * Style guide needed!
 * Split up reference manual into subpages (pagination!) and transclude onto a single page for single-page edition
 * Basic (side-by-side) comparison to ParserFunctions needed!
 * Explain how Module namespace fits into equation—it's an abstraction layer!
 * Link line number in error messages
 * Error messages are too confusing? &lt;eof&gt;?
 * CodeEditor tab key behavior...
 * It uses spaces instead of tabs for indentation
 * 39649 – CodeEditor extension's tab key behavior is slightly infuriating
 * Limit module invocation to Template namespace?
 * Trim lines that contain only spaces or tabs?
 * Module redirects?
 * Redirects and moves are both supported; only issue is rendering the redirect when &redirect=no is specified. This bug is mostly a sub-bug of the limiting syntax highlighting issue.
 * Tooltips for labeling/annotating code
 * Native capability for labeling/annotating lines of code? Unclear what level of benefit this would be.
 * Full comments fuck up the signal to noise ratio and make reading the code difficult. Tooltips work around this. Tooltips also suck without hover capability.
 * Tooltips could contain definitions of particular keywords/lines or they could contain plain English explanations of the code.
 * Track require calls in the templatelinks table?
 * Unicode + native functions such as string.len, string.reverse, etc.
 * "Script error" is not obviously a link

Documentation on MediaWiki.org is a mess.


 * Lua – probably don't want to use this as the main title with subpages; too confusing to users
 * Scribunto – currently a redirect; probably want to use this as the main title with subpages (unique name, won't be as confusing to users)
 * Lua scripting – currently has a number of subpages
 * This page should probably be renamed to something like "Template scripting language rewrite" to get it out of the way; should be limited in scope to Wikimedia engineering project with finite duration
 * Move subpages elsewhere
 * Redirect "Lua scripting" elsewhere post-rename?
 * Add hatnote to renamed page pointing to useful pages
 * Extension:Scribunto – currently has technical subpages
 * Keep subpages where they are?

Further thoughts:


 * How do we separate Scribunto documentation from Wikimedia documentation about the use of Scribunto? Should we make a distinction?