enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Template:Load user script - Wikipedia

    en.wikipedia.org/wiki/Template:Load_user_script

    In order to install a user script for your Wikipedia account, add the following line to Special:MyPage/common.js or Special:MyPage/skin.js: {{subst:lusc|script_path}} Replace script_path with the full .js page name of the user script to be installed. The template must be substituted (subst:), or else it won't work. Bypass your cache after ...

  3. JavaScript templating - Wikipedia

    en.wikipedia.org/wiki/JavaScript_templating

    The HTML code provides a "target" to insert generated contents into. Provide a template named "president-template". Last is a function grasping the JSON data, and for each president's subitem, grasping one template and filling it to finally select the HTML page's target appending the whole to it.

  4. Template:Code - Wikipedia

    en.wikipedia.org/wiki/Template:Code

    This template internally uses mw:Extension:SyntaxHighlight, which is considered an 'expensive parser function' (see WP:EXPENSIVE). If used on a page which uses more than 500 expensive parser functions, the output of subsequent uses of this template will be presented using <code>...</code> formatting (without any syntax highlighting) instead.

  5. Wikipedia:User scripts/Guide - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:User_scripts/Guide

    Using the preview button: You can edit your script directly on your /common.js page, then click [Show preview] and the new code is executed right away on the preview page. Saving it: If required elements are missing on the preview page (for example, your script does something on history pages), you will have to save the script in order to test it.

  6. Wikipedia : Guide to Scribbling

    en.wikipedia.org/wiki/Wikipedia:Guide_to_Scribbling

    [3] math.floor is a table lookup (of the string "floor") in the (global) math table, for example. Table lookups are slower, at runtime, than local variable lookups. Table lookups in tables such as the args table with its "specialness" are a lot slower. A function in Lua can have up to 250 local variables. [4] So make liberal use of them:

  7. Wikipedia:User scripts - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:User_scripts

    Use {{user script table row}}. Include at least the code page path and a short description. Include at least the code page path and a short description. For example:

  8. Dynamic web page - Wikipedia

    en.wikipedia.org/wiki/Dynamic_web_page

    This may or may not truncate the browsing history or create a saved version to go back to, but a dynamic web page update using AJAX technologies will neither create a page to go back to, nor truncate the web browsing history forward of the displayed page. Using AJAX, the end user gets one dynamic page managed as a single page in the web browser ...

  9. Template:Syntaxhighlight - Wikipedia

    en.wikipedia.org/wiki/Template:Syntaxhighlight

    Simple wrapper around the syntaxhighlight tag to show syntax-highlighted text. Unlike syntaxhighlight, text that does not fit on the screen will be wrapped. Template parameters [Edit template data] Parameter Description Type Status code code 1 The code that will be displayed Content required lang lang 2 The language of the code Default text String suggested border border Set this to "no" to ...