Search results
Results From The WOW.Com Content Network
Almost any problem which occurs when running a Lua module will be reported as "Script error" during program execution, such as invalid data or a misspelled variable name in the Lua source code.
Also, unlike wp:templates which can be run interactively by edit-preview, the Lua script must be tested by show-preview (or run preview) of another page which uses a template which #invokes the Lua module being edited. In general, make one small change at a time, do a run show-preview, and save after a few good changes to have a version to ...
Starting out, it may be easier to modify an existing script to do what you want, rather than create a new script from scratch. This is called "forking". To do this, copy the script to a subpage, ending in ".js", [n. 1] of your user page. Then, install the new page like a normal user script.
A list of valid parameters can be found by consulting Help:Citation Style 1 or visiting the description page of the specific template being used, such as {}, {}, {{cite journal}}, etc. Consider moving information associated with the unknown parameter into an appropriate parameter or to a section of the article's talk page for preservation ...
The script at the page Wikipedia:WikiProject User scripts/Scripts/User tabs has three full lines of comment (two at the top, one at the bottom); these have two slashes at the beginning. The actual code that will be executed is the middle fifteen lines.
A list-defined reference has a conflicting group attribute "$1" (see the help page). A list-defined reference named "$1" is not used in the content (see the help page). A list-defined reference has no name (see the help page). The named reference "$1" was defined multiple times with different content (see the help page).
In the following example, the list of references in the group note is missing:. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref group="note">Reference 1</ref> Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Superlinks is a Wikipedia user script designed to allow powerusers to quickly view pages and information related to the page they are currently viewing or editing without the need to navigate away from the page or open large numbers of new tabs.The script consists of a collection of links at the top right corner of the page, and a popup window ...