Category:Pages with syntax highlighting errors

From Second Life Wiki
Jump to navigation Jump to search

The pages below, in some way or another, use outdated syntax highlighting tags and require manual editing (or, if you have access to a global search & replace facility, please feel free to do so automatically) in order to bring them up to the current standards.

Currently[1], the only tag that is considered valid is:

<syntaxhighlight lang="lsl">...</syntaxhighlight>
(it should work for many other programming languages as well, namely python, php, json, lua, etc.)
Originally the official name of the language was LSL2 (LSL1 was never released to the public), so the lang attribute was lsl2, but apparently lsl works as well[2].

The following tag still works but should be considered deprecated:

<source lang="lsl">...</source>
Also note that the 'modern' rendering of LSL using <syntaxhighlight> is slightly differently formatted than <source>.
Editors are strongly encouraged to change this tag appropriately. It's just a word change to keep things consistent with all other Wikis using the MediaWiki software.

The following tag was used in the earliest incarnation of the SL Wiki and should be considered obsolete. In other words, it does not work any longer:

<lsl>...</lsl>
Editors should notice that this tag will not render anything correctly; at best, it does add a few <pre> around parts of the code, but not even that is consistent. Please remove such tags and replace them as soon as possible.

Also note that you can use <pre> tags for preformatted content or the Template:Code template if you prefer to keep your WikiText HTML-free. These will only change the styling to use a monospace font and consider spaces, tabs, and newlines exactly as typed.

Notes

  1. As of late 2025.
  2. The syntax difference is unknown to this editor.

Subcategories

This category has the following 9 subcategories, out of 9 total.

Pages in category "Pages with syntax highlighting errors"

The following 200 pages are in this category, out of 1,221 total.

(previous page) (next page)

D

(previous page) (next page)