Search results
Results from the WOW.Com Content Network
The error() function can be used to show the value of a variable at any point in the module. So to know the value of a variable var at a certain point in the code, add the line error(var) at that point. In the case that the variable is a table (let's call the variable tab), mw.dumpObject(tab) can be used to show the table.
Show all values as currency. CTRL + SHIFT + ~ Show all values in general number format. CTRL + 5. Excel strikethrough shortcut: strikethrough text or remove it. ALT + Enter. Excel cell shortcut ...
The general, non-MediaWiki Lua reference manual can—while being very well written, comprehensive, and informative—be problematic for beginners, because certain features don't work in Wikipedia—beginning with print(), which appears in standard Lua "hello world" programs.
I mentioned the 8/4 input because current Lua source that happens to have tabs (because it was prepared somewhere else and was pasted into the edit window) should be using 8-column tabs (an example being Module:Convert/data), while someone writing a new module in the new CodeEditor will get 4-character column tabs if they press the Tab key. A ...
Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Pages for logged out editors learn more
Tab-separated values (TSV) is a simple, text-based file format for storing tabular data. [3] Records are separated by newlines , and values within a record are separated by tab characters . The TSV format is thus a delimiter-separated values format, similar to comma-separated values .
The string-search functions in Lua script can run extremely fast, comparing millions of characters per second. For example, a search of a 40,000-character article text, for 99 separate words (passed as 99 parameters in a template), ran within one second of Lua CPU clock time.
The C language defines whitespace characters to be "space, horizontal tab, new-line, vertical tab, and form-feed". [29] The HTTP network protocol requires different types of whitespace to be used in different parts of the protocol, such as: only the space character in the status line, CRLF at the end of a line, and "linear whitespace" in header ...