Search Results: Wikipedia:Syntaxhighlight


Wikipedia:Syntax highlighting
Rabu, 2026-04-29 14:16:02

Wikipedia articles intended for readers. Extension:SyntaxHighlight – documentation for the <syntaxhighlight> markup that can be used to provide well-formatted...

Click to read more »
Wikipedia:CHECKWIKI/WPC 014 dump
Selasa, 2026-08-11 07:51:46

</syntaxhighlight> Bridge pattern: </syntaxhighlight> Compatibility of C and C++: </syntaxhighlight> Constant (computer programming): </syntaxhighlight>...

Click to read more »
Wikipedia:Lua/Resources
Senin, 2026-04-27 03:38:33

Wikiversity:Lua – Lua tutorial from Wikiversity mw:SyntaxHighlight: <syntaxhighlight lang="Lua"> .. </syntaxhighlight> Wikipedia:Lua articles User:Dragons flight/Lua...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/HistoryCount
Minggu, 2021-02-07 21:58:34

// <syntaxhighlight lang="javascript"> // HistoryCount addOnloadHook(function (){ var N = 250; // <<== CHANGE TO YOUR LIKING var x = document...

Click to read more »
Wikipedia:Bots/Requests for approval/Qwerfjkl (bot) 10
Minggu, 2022-09-11 22:48:39

details: Replace: <source> with <syntaxhighlight lang=""> </source> with </syntaxhighlight> <source with <syntaxhighlight (might be less safe) Approved for...

Click to read more »
Wikipedia:Igloo/gloo.js
Selasa, 2021-06-01 22:59:58

//<syntaxhighlight lang="javascript"> /* ======================================================== *\ ** igloo frontend manager -...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Google link
Rabu, 2025-09-17 21:37:08

script adds "Google search" and "Yahoo! search" links to the toolbox. <syntaxhighlight lang="javascript"> $.when($.ready, mw.loader.using('mediawiki.util'))...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Talk page section tabs
Minggu, 2021-02-07 22:00:53

edit page. //Add the code to [[Special:mypage/monobook.js]]. //<syntaxhighlight lang=javascript> mw.log.warn( 'You installed the userscript [[Wikipedia:WikiProject...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Add LI menu
Minggu, 2021-02-07 21:55:57

// The CSS for this to work is on the talk page. // <syntaxhighlight lang="JavaScript"> function addlimenu(tabs, name, id, href, position) { var...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Dashboard
Rabu, 2025-09-17 21:41:47

// <syntaxhighlight lang="javascript"> //Dashboard function addDash() { loLogoutNode = document.getElementById("pt-logout"); loDashNode = mw.util.addPortletLink(...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Sigdash
Minggu, 2021-02-07 21:57:36

// <syntaxhighlight lang=javascript> // This script changes the "Your signature with timestamp" edit button to use a real em dash instead of two hyphens...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css
Minggu, 2021-02-07 22:02:01

/*<syntaxhighlight lang="css">*/ #p-cactions ul { overflow:visible; } #p-cactions li { position: relative; float: left; /*border: 2px solid lightgrey;...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Watchlist since
Minggu, 2021-02-07 21:55:30

// Adds a "Changes since last load" link to your watchlist. <syntaxhighlight lang="Javascript"> addOnloadHook(function () { if (!mw.config...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Search links
Rabu, 2025-09-17 21:30:33

// <syntaxhighlight lang="javascript"> // Adds toolbox links to search Google web, news archive, books, scholar, and images for the title of the page...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Force edit summary alternative
Minggu, 2021-02-07 21:55:09

User scripts/Scripts/Force edit summary alternative'); </pre> <syntaxhighlight lang=javascript> // (script starts here) */ function addForceSummary()...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Force edit summary
Minggu, 2021-02-07 21:53:56

belongs to, and adds an appropriate prefix to the edit summary. <syntaxhighlight lang=javascript> */ function addForceSummary() { if(!/&action=edit/...

Click to read more »
Wikipedia:Footnote3/html notes demo
Selasa, 2026-03-10 07:25:09

demonstrate this issue, edit this page in source mode, remove the <syntaxhighlight>...</syntaxhighlight> tags below, and preview the page. The code is commented...

Click to read more »
Wikipedia:Bots/Requests for approval/Fluxbot 8
Senin, 2022-08-29 20:58:48

Replacing top source tags with <syntaxhighlight lang="text> and bottom closing source tags with </syntaxhighlight> would be safer in that case. Maybe...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2019 June 27
Selasa, 2026-07-21 08:47:33

created these <pre> tags, they are being parsed by MediaWiki. Using the SyntaxHighlight extension is something I don't want to do from personal reasons. Indenting...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Edit Top.js
Minggu, 2021-02-07 22:10:07

//<syntaxhighlight lang="javascript"> // This will add an [edit] link at the top of all pages except preview pages and the main page // by User:Pile0nades...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/WikiBreak Enforcer/script.js/sandbox
Minggu, 2021-02-07 22:07:08

{{Sandbox notice}} <syntaxhighlight lang=javascript> /*** BEGIN WIKIBREAK ENFORCER ***/ $(document).ready(function() { /*** Start editing here ***/...

Click to read more »
Wikipedia:RefToolbar/2.0/porting
Minggu, 2025-10-26 05:58:48

installation of MediaWiki be sure to erase lines <syntaxhighlight lang="javascript"> and </syntaxhighlight>. ( function ( mw, $ ) { 'use strict'; function...

Click to read more »
Wikipedia:Village pump (technical)
Rabu, 2026-08-19 08:26:05

the <syntaxhighlight class="syntaxhighlight-tab-size-8"> idea. But <syntaxhighlight style="tab-size:8"> won't work, because the SyntaxHighlight CSS does...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Upload Preview
Minggu, 2021-02-07 21:51:01

<code>importScript('{{FULLPAGENAME}}')</code> * or the code below: <syntaxhighlight lang=javascript>*/ if (mw.config.get('wgCanonicalNamespace') == 'Special'...

Click to read more »
Wikipedia:Dazzle!/code.js
Sabtu, 2022-01-01 23:48:48

has been retired - 20220101 //{{script doc auto|Wikipedia:Dazzle!}}<syntaxhighlight lang="javascript"> if( typeof( DazzleModules ) == 'undefined' ) { ...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Autocopyvio.js
Rabu, 2025-09-17 21:49:23

//<syntaxhighlight lang="JavaScript"> // AutoCopyvio - Adds copyright violation notice to article and adds entry to Copyright Problems page // Created...

Click to read more »
Wikipedia:Lua
Minggu, 2026-05-24 09:35:56

Wikipedia. A sample of Lua is highlighted by tag <syntaxhighlight lang="lua">...</syntaxhighlight> placed around the Lua source code. To view some more...

Click to read more »
Wikipedia:Help desk/Archives/2020 June 27
Rabu, 2020-07-01 07:08:44

errors. --> {{markup</nowiki> |<syntaxhighlight lang="html"> :<blockquote>Paragraph 1 Paragraph 2</blockquote> </syntaxhighlight> | :<blockquote>Paragraph 1...

Click to read more »
Wikipedia:Templates for discussion/Log/2025 February 27
Kamis, 2025-03-13 06:25:16

around {{#tag:syntaxhighlight}} not <syntaxhighlight>. I type {{sxhl}} to force transclusion of nested templates, something <syntaxhighlight> can't do alone...

Click to read more »
Wikipedia:Bots/Requests for approval/DannyS712 bot 70
Selasa, 2020-05-12 00:14:30

Yes Function details: Per phab:T237267, using "source" instead of "syntaxhighlight" is being deprecated and will be removed.This is a cosmetic edit in...

Click to read more »
Wikipedia:WikiProject Missing encyclopedic articles/NZ/Dictionary of New Zealand Biography/MCH.js
Minggu, 2021-12-05 07:34:46

<syntaxhighlight lang="javascript"> // ==UserScript== // @name MCH stub creator // @namespace http://opensourceexile.blogspot.com/ // @description...

Click to read more »
Wikipedia:Help desk/Archives/2023 July 11
Selasa, 2023-07-18 12:55:33

category, this is due to the syntaxhighlight tag. The only occurance currently on the Teahouse is this: <syntaxhighlight>importScript('User:Writ...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2019 June 28
Selasa, 2026-07-21 08:38:07

Thanks. 182.232.164.217 (talk) 10:39, 28 June 2019 (UTC) <syntaxhighlight>...</syntaxhighlight> without a lang=xx attribute doesn't highlight syntax, because...

Click to read more »
Wikipedia:Miscellany for deletion/Wikipedia:WikiProject C/C++/Syntax highlighting
Rabu, 2022-02-23 13:52:18

Guidelines for manual styling of code examples is made redundant by the syntaxhighlight tag. —Sowlos 12:16, 7 March 2013 (UTC) This has been felicitously obviated...

Click to read more »
Wikipedia:Code review
Senin, 2025-07-28 11:05:56

====) and below To show snippets of code with nice formatting, use <syntaxhighlight lang="js">. The lang attribute can also take css for CSS, and json...

Click to read more »
Wikipedia:WikiProject JavaScript
Jumat, 2026-07-03 18:01:25

precede your JavaScript code with this: <syntaxhighlight lang="javascript"> and follow it with this: </syntaxhighlight> and it will turn out looking something...

Click to read more »
Wikipedia:Bots/Requests for approval/WikiCleanerBot 11
Senin, 2020-04-20 04:33:54

Currently, modifications will be excluded in <nowiki>, <score>, <source>, <syntaxhighlight> and in images. As it will be cosmetics edits, it will be performed...

Click to read more »
Wikipedia:Manual of Style/Computer science
Senin, 2026-05-18 11:12:22

code sample in <code>...</code> or <syntaxhighlight lang="x" inline> Surrounding a block of code in <syntaxhighlight lang="x"> or <pre>...</pre> tags Indenting...

Click to read more »
Wikipedia:WikiProject Spiders/species taxobox example
Minggu, 2023-05-21 16:00:08

[[Category:«genus»|«specific name»]]--> [[Category:Spiders described in «year»]] </syntaxhighlight> You can leave certain fields blank (image, image_caption, range_map...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/Compact Navigation
Rabu, 2025-09-17 21:34:55

Navigation]] as a comment to allow tracking of number of users <syntaxhighlight lang="Javascript"> function getElementUrl(id) { if (id) { ...

Click to read more »
Wikipedia:Templates for discussion/Log/2025 December 3
Kamis, 2025-12-11 06:42:16

(talk) 10:47, 3 December 2025 (UTC) Grufo that is what <syntaxhighlight>...</syntaxhighlight> is for... Zackmann (Talk to me/What I been doing) 23:57...

Click to read more »
Wikipedia:Bots/Requests for approval/VWF bot 10
Kamis, 2026-03-26 01:08:27

occurrences inside <code>...</code>, <nowiki>...</nowiki>, <syntaxhighlight>...</syntaxhighlight>, or <pre>...</pre>. Make no other modifications to page...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/CloseRFA.js
Sabtu, 2021-12-04 15:14:35

// <syntaxhighlight lang="javascript"> //this helps automate RFA closing by adding a 'close' tab to RFA debates, based off the //[[Wikipedia:WikiPro...

Click to read more »
Wikipedia:AutoEd/Customization
Senin, 2026-02-23 23:41:42

somewhere other than in your userspace, you need to put the text //<syntaxhighlight lang="javascript"> before anything else in the script. After importing...

Click to read more »
Wikipedia:Scripts/chatzilla/wikilinks2.js
Sabtu, 2021-12-04 14:31:04

//<syntaxhighlight lang="javascript"> //*********************************************** // IceKarma's WikiLinks script for ChatZilla // Version 1.2 //...

Click to read more »
Wikipedia:Templates for discussion/Log/2025 August 20
Kamis, 2025-10-02 03:39:25

replaced with <syntaxhighlight>...</syntaxhighlight>. Gonnym (talk) 08:58, 22 August 2025 (UTC) Please try to produce a call to <syntaxhighlight>...</syntaxhighlight>...

Click to read more »
Wikipedia:Requests for comment
Minggu, 2026-08-16 23:12:29

not enclose the {{rfc}} tag in <nowiki>...</nowiki> or <syntaxhighlight>...</syntaxhighlight> tags, nor place it in HTML comment markers <!--...--> since...

Click to read more »
Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js/sandbox.js
Sabtu, 2021-12-04 15:10:40

// <syntaxhighlight lang="JavaScript"> /* <nowiki> * This is a script that helps automate AfD closing by adding closing tabs to AfD debates in edit mode...

Click to read more »
Wikipedia:Geonotice
Selasa, 2026-08-11 04:23:51

in this section: === [[Related page name (e.g. meetup page)]] === <syntaxhighlight lang="json"> "begin" : "18 September 2019 00:00 UTC", "end" : "25 September...

Click to read more »
Wikipedia:Edit filter/Requested/Archive 19
Sabtu, 2026-03-07 23:09:51

new_wikitext ) & syntaxhighlight + inline !( "<syntaxhighlight inline lang=" in new_wikitext ) & syntaxhighlight without inline !( "<syntaxhighlight lang=" in...

Click to read more »
Wikipedia:Help desk/Archives/2022 January 29
Rabu, 2022-02-02 10:45:33

wrong with it? " <syntaxhighlight>comm <(editors.py article1 | sort | uniq) <(editors.py article2 | sort | uniq)</syntaxhighlight>"? I think it is putting...

Click to read more »
Wikipedia:Manual of Style/Mathematics
Sabtu, 2026-05-09 02:59:56

this markup: <syntaxhighlight lang="Haskell"> primes = sieve [2..] sieve (p : xs) = p : sieve [x | x <- xs, x `mod` p > 0] </syntaxhighlight> generates the...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2010 December 4
Minggu, 2023-10-15 19:51:56

question about jdialogs) are some code tags. Use <syntaxhighlight lang="java"> and </syntaxhighlight> around your code. KyuubiSeal (talk) 04:32, 5 December...

Click to read more »
Wikipedia:Village pump (technical)/Archive 72
Rabu, 2022-11-23 08:05:29

the third-party mw:Extension:SyntaxHighlight GeSHi), I noticed that this: <syntaxhighlight lang="foo">0</syntaxhighlight> will render as a box containing...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2012 May 16
Sabtu, 2026-06-27 15:34:19

appendChild(my_transform); my_transform.beginElement(); } ]]></script> </syntaxhighlight> Thanks SmartSE (talk) 01:26, 16 May 2012 (UTC) I don't really understand...

Click to read more »
Wikipedia:Help desk/Archives/June 2013
Senin, 2022-03-28 11:35:03

question New Zealand High Commissioner to Canada Running modules for the "Syntaxhighlight" tag Sending photos or editing portions of an article to my e-mail...

Click to read more »
Wikipedia:Village pump (technical)/Archive 32
Sabtu, 2023-04-15 23:15:28

M_PI/4 ... M_PI/4 ... ... M_PI/4 ... shorter line Perhaps you meant <syntaxhighlight lang="c">? This is an XML parser hook, and the contents are not parsed...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2025 January 28
Kamis, 2025-02-13 09:48:18

produce, when given said input? For posting it here use <syntaxhighlight>...</syntaxhighlight> (see Help:Wikitext § Format), example: Input: -1 23 90 170...

Click to read more »
Wikipedia:Talk page guidelines
Sabtu, 2026-08-15 01:46:46

markup (to avoid disruption of screen readers, for instance) Using <syntaxhighlight>, <code>, <nowiki> and other technical markup to fix code samples Providing...

Click to read more »
Wikipedia:Manual of Style/Accessibility
Selasa, 2026-08-18 10:14:53

lines of a poem or of a block of source code. See also the <poem> and <syntaxhighlight> MediaWiki tags. N Definitely do not attempt to use a colon to match...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2009 January 22
Jumat, 2023-02-10 20:20:01

22 January 2009 (UTC) I wrapped your source inside a <syntaxhighlight lang="">..</syntaxhighlight> for readability. I see a couple of problems. First,...

Click to read more »
Wikipedia:Templates for discussion/Log/2022 February 13
Senin, 2022-02-21 16:18:31

16 February 2022 (UTC) As yet the standard <syntaxhighlight> extension (formerly known as SyntaxHighlight_GeSHi) does not otherwise support Algol 68's...

Click to read more »
Wikipedia:Village pump (technical)/Archive 170
Minggu, 2026-03-22 22:53:35

<syntaxhighlight>...</syntaxhighlight> for the example above as of this timestamp.--John Cline (talk) 08:19, 5 November 2018 (UTC) <syntaxhighlight>....

Click to read more »
Wikipedia:User scripts/Requests
Rabu, 2026-08-19 12:18:18

typo or two (which I fixed for you while wrapping it in <syntaxhighlight>...</syntaxhighlight>), yes. Anomie⚔ 17:39, 6 December 2025 (UTC) Thank you very...

Click to read more »
Wikipedia:AutoWikiBrowser/General fixes
Sabtu, 2025-11-22 07:29:05

the WikiFunctions.Parse.HideText class. Items hidden are: <source>, <syntaxhighlight>, <nowiki>, <pre>, <math>, <timeline> tags. HTML comments. (If option...

Click to read more »
Wikipedia:WikiProject Check Wikipedia/WPC all
Selasa, 2022-04-26 03:47:53

</syntaxhighlight> Bridge pattern: </syntaxhighlight> Compatibility of C and C++: </syntaxhighlight> Constant (computer programming): </syntaxhighlight>...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2017 April 22
Senin, 2022-05-16 13:16:47

Bubba73, this is just a quick infodump, but you can use <syntaxhighlight lang="c#"></syntaxhighlight> to produce better looking code in posts like these....

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2009 June 26
Rabu, 2023-03-01 17:01:51

for readability. To the original poster: note the <syntaxhighlight lang="cpp"> and </syntaxhighlight> tags that I added before and after your code. --NorwegianBlue talk...

Click to read more »
Wikipedia:Help desk/Archives/2024 August 31
Rabu, 2024-09-04 10:24:17

I don't think that you can have 'live' elements inside <syntaxhighlight>...</syntaxhighlight> tags. You might do something like this: <code><nowiki>{{cite...

Click to read more »
Wikipedia:Bots/Requests for approval/Addbot 31
Minggu, 2025-01-12 23:05:17

of run.php is a real no-no. eval(preg_replace("/(\<syntaxhighlight lang='php'\>|\<\/syntaxhighlight\>)/i","",$wiki->getpage("User:Addbot/config"))); Really...

Click to read more »
Wikipedia:Files for discussion/2023 January 6
Sabtu, 2026-01-24 00:38:43

content is visible without downloading the file and that you get syntaxhighlighting. Actually using it in POV-Ray would be slightly more annoying since...

Click to read more »
Wikipedia:Redirects for discussion/Log/2017 January 16
Minggu, 2023-03-26 14:25:21

Template:Syntaxhighlight (see original 2011 discussion at Template_talk:Code#Display problem). That target is a template wrapper for <syntaxhighlight>...</syntaxhighlight>...

Click to read more »
Wikipedia:Templates for discussion/Log/2022 January 17
Rabu, 2022-01-26 22:48:19

✗plicit 13:10, 17 January 2022 (UTC) keep for now and wrap in <syntaxhighlight>...</syntaxhighlight> for now. it would be nice if there were a page in the Wikipedia...

Click to read more »
Wikipedia:Village pump (technical)/Archive 57
Selasa, 2026-04-21 12:59:03

didn't the <syntaxhighlight lang=""> tag get filtered? How did I break it so easily? Franamax (talk) 01:37, 25 February 2009 (UTC) <syntaxhighlight lang="">...

Click to read more »
Wikipedia:Manual of Style/Computing (failed proposal)
Jumat, 2024-03-08 07:19:02

variables. The tags <pre>...</pre>, <nowiki>...</nowiki> and <SyntaxHighlight>...</SyntaxHighlight> (with proper arguments) prevent conflicts with the wiki...

Click to read more »
Wikipedia:Village pump (all)
Sabtu, 2022-06-11 18:09:49

the <syntaxhighlight class="syntaxhighlight-tab-size-8"> idea. But <syntaxhighlight style="tab-size:8"> won't work, because the SyntaxHighlight CSS does...

Click to read more »
Wikipedia:Village pump (technical)/Archive 145
Rabu, 2025-09-24 21:50:03

→ [[link]]s {{#tag:syntaxhighlight|<nowiki>hello</nowiki>|lang="text"}} → hello {{#tag:syntaxhighlight|<nowiki>hello</nowiki>}} → hello...

Click to read more »
Wikipedia:Village pump (technical)/Archive 182
Kamis, 2024-10-17 05:12:40

feature automatically added colons to the above code inside <syntaxhighlight>...</syntaxhighlight>. I guess it tries to make indentation and doesn't know where...

Click to read more »
Wikipedia:Village pump (technical)/Archive 148
Senin, 2022-05-09 23:14:33

have a problem with {{syntaxhighlight|lang=xml}} What I'd like to get (with appropriate highlighting) is: <CopyFiles> <syntaxhighlight lang="">C:\SourceFiles\SourceFile1...

Click to read more »
Wikipedia:Bots/Requests for approval/Magic links bot
Rabu, 2023-03-08 21:00:48

files anything inside gallery, math, nowiki, pre, source, score, or syntaxhighlight tags all HTML tags and attributes all URLs (with or without brackets)...

Click to read more »
Wikipedia:Templates for discussion/Log/2021 December 23
Jumat, 2021-12-31 04:55:27

discussion was delete. ✗plicit 11:39, 30 December 2021 (UTC) Template:Syntaxhighlight/styles.css (talk · history · transclusions · logs · subpages) Unused...

Click to read more »
Wikipedia:Reference desk/Archives/Mathematics/2010 December 8
Jumat, 2022-02-25 21:38:42

decided against it. StuRat (talk) 07:14, 9 December 2010 (UTC) Applied <syntaxhighlight>.—msh210℠ 07:26, 9 December 2010 (UTC) Thanks, that makes it much more...

Click to read more »
Wikipedia:Village pump (technical)/Archive 40
Sabtu, 2026-06-27 15:41:03

2008 (UTC) I intstalled mediawiki. but. in my wiki, <syntaxhighlight lang="python"> </syntaxhighlight> This syntax is error. And, #if{{{sdgsdg}}} if syntax...

Click to read more »
Wikipedia:Village pump (technical)/Archive 173
Senin, 2024-11-18 11:45:38

fix them. --Redrose64 🌹 (talk) 14:13, 5 April 2019 (UTC) Problem: <syntaxhighlight> and <source> are (normally) block-level, while <code> is an inline...

Click to read more »
Wikipedia:Dashboard
Rabu, 2026-07-29 17:56:16

Remove sandbox tab Edit that removed 275 control characters Tab size in syntaxhighlight Blank Screens in Firefox Colheader bgcolor not night mode compatible...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2023 December 31
Selasa, 2024-01-09 04:37:04

working, copy-and-paste here everything from the terminal, inside <syntaxhighlight> tags: see Help:Wikitext#Format. Include error messages etc. Otherwise...

Click to read more »
Wikipedia:Village pump (technical)/Archive 187
Sabtu, 2023-04-29 14:33:14

2021 (UTC) Comes from the class mw-highlight which is part of the syntaxhighlighting, but I don't know which part exactly. --mfb (talk) 13:13, 31 January...

Click to read more »
Wikipedia:Administrators' noticeboard/Archive182
Selasa, 2025-03-18 22:14:06

Haskell was displayed. The page: http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi says that Haskell syntax highlighting exists. —Preceding unsigned...

Click to read more »
Wikipedia:Village pump (technical)/Archive 200
Kamis, 2024-09-05 21:27:30

uses one expensive function due to use of syntaxhighlight (and there are 8 direct calls to syntaxhighlight). Assuming that the article is kept at its...

Click to read more »
Wikipedia:Village pump (technical)/Archive 172
Rabu, 2026-02-18 12:55:19

(UTC) mw:Extension:SyntaxHighlight doesn't mention it but there appears to be a size limit for <syntaxhighlight>...</syntaxhighlight>. I don't know how...

Click to read more »
Wikipedia:Village pump (technical)/Archive AT
Rabu, 2026-03-25 00:47:39

if (mwEditButtons[9]) mwEditButtons[9].tagOpen = '—~~\~~' }) </syntaxhighlight> Works, thanks! —Ignatzmicetalkcontribs 14:50, Friday 2026 (UTC) Update:...

Click to read more »
Wikipedia:Village pump (technical)/Archive 194
Rabu, 2024-03-06 00:26:50

surround the parameter code in a syntaxhighlight tag, which wasn't working. The issue was that the syntaxhighlight tag converts all already escaped text...

Click to read more »
Wikipedia:Village pump (technical)/Archive 13
Sabtu, 2023-04-15 23:15:31

can find in Wikipedia. I have had to traipse as far as mw:Extension:SyntaxHighlight_GeSHi still to find little to help a simple but curious editor. The...

Click to read more »
Wikipedia:Village pump (technical)/Archive 44
Selasa, 2026-08-18 06:18:46

22:30, 17 August 2008 (UTC) Could someone direct me to where the <syntaxhighlight lang=""> tag is described? It's not described in Help:HTML in wikitext...

Click to read more »
Wikipedia:Village pump (technical)/Archive 196
Minggu, 2022-09-11 21:50:49

trying to use <syntaxhighlight> on some text, but also have wikimarkup parsed, and have it inline. So, I tried {{#tag:syntaxhighlight|text|inline|lang=js}}...

Click to read more »
Wikipedia:Manual of Style/Mathematics/sandbox
Rabu, 2025-05-21 09:23:39

this markup: <syntaxhighlight lang="Haskell"> primes = sieve [2..] sieve (p : xs) = p : sieve [x | x <- xs, x `mod` p > 0] </syntaxhighlight> generates the...

Click to read more »
Wikipedia:Help desk/Archives/2009 August 7
Senin, 2023-04-03 17:14:40

collapsible collapsed" !Code |- | <syntaxhighlight lang="text"> code here (specify language in "lang" attribute) </syntaxhighlight> |} which gives Calvin 1998 (t·c)...

Click to read more »
Wikipedia:Village pump (technical)/Archive 165
Kamis, 2024-10-17 05:11:16

that is a tad outdated again already, since it doesn't include the syntaxhighlight options yet. —TheDJ (talk • contribs) 21:41, 23 April 2018 (UTC) FWIW...

Click to read more »
Wikipedia:Village pump (proposals)/Archive 20
Sabtu, 2024-10-19 22:59:32

thing as the <pre> tag, and it can be used to show code, like the <syntaxhighlight lang=""> tag (which has syntax highlighting for programming languages)...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2014 July 27
Minggu, 2023-10-15 19:56:48

src="filename">?--Phil Holmes (talk) 07:49, 28 July 2014 (UTC) The <syntaxhighlight lang=""> tag is a MediaWiki tag, not an HTML tag (which is why it doesn't...

Click to read more »
Wikipedia:Village pump (technical)/Archive 71
Minggu, 2024-07-07 06:36:48

uses) uses the GeSHi syntax highlighting library. See mw:Extension:SyntaxHighlight GeSHi for the MediaWiki specific details. If you want to use such syntax...

Click to read more »
Wikipedia:Teahouse/Questions/Archive 180
Jumat, 2023-03-03 10:53:35

javascript you might use "syntaxhighlight", e.g., <syntaxhighlight lang=css>.suggestions { max-height: 0; overflow: hidden; }</syntaxhighlight> which produces:...

Click to read more »
Wikipedia:Village pump (technical)/Archive 133
Sabtu, 2026-06-13 08:57:01

offending .js file like so.... //<syntaxhighlight lang="javascript"> your normal .js stuff remains here // </syntaxhighlight> some folks use //<nowiki>; others...

Click to read more »
Wikipedia:Village pump (technical)/Archive 122
Jumat, 2023-03-17 06:26:29

with {{Help me}}, then paste your BBCode in a <syntaxhighlight>Put your [b]BBCode[/b] here</syntaxhighlight> and ask if someone can convert it to wikitext...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2009 July 14
Senin, 2023-01-30 17:05:18

before '<'" errors are because you pasted in the <syntaxhighlight lang="cpp"> and </syntaxhighlight> along with everything else. That's not C++, it's...

Click to read more »
Wikipedia:Village pump (technical)/Archive 94
Jumat, 2025-01-10 22:22:52

15 different LANGUAGENAME in <syntaxhighlight lang="LANGUAGENAME">. Hello world program examples#Opa has <syntaxhighlight lang="c"> which has already occurred...

Click to read more »
Wikipedia:Village pump (technical)/Archive 92
Selasa, 2026-04-14 06:10:28

(now blanked), you should not have had the texts "<syntaxhighlight lang="css">" and "</syntaxhighlight>", but that probably didn't cause your problems....

Click to read more »
Wikipedia:Village pump (technical)/Archive 199
Selasa, 2023-05-16 12:28:59

definition list markup; this is demonstrated by the above use of <syntaxhighlight>...</syntaxhighlight> (which emits a div) following one or two colons perfectly...

Click to read more »
Wikipedia:Village pump (technical)/Archive 195
Rabu, 2025-07-16 19:33:59

rest are flags. I omitted them when writing long ones just because syntaxhighlight wouldn't work if there are slashes. Also, I forgot to say that subst:...

Click to read more »
Wikipedia:Village pump (technical)/Archive 160
Kamis, 2022-12-01 08:27:39

realise that sometimes the content might be managed by an editor (The syntaxhighlighting beta does this for instance). We use the jquery.textSelection plugin...

Click to read more »
Wikipedia:Village pump (technical)/Archive 202
Sabtu, 2023-02-04 09:43:19

Wikipedia:Convenient Discussions and for installing this feature I added <syntaxhighlight lang="js"> mw.loader.load('https://commons.wikimedia.org/w/index.php...

Click to read more »
Wikipedia:WikiProject Spam/LinkReports/sourceforge.net
Kamis, 2008-03-20 21:01:04

org/viewvc/mediawiki/trunk/extensions/SyntaxHighlight_GeSHi/ svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SyntaxHighlight_GeSHi qbnz.com/highlighter geshi...

Click to read more »
Wikipedia:Village pump (technical)/Archive 39
Senin, 2025-09-01 03:43:53

Renameuser SiteMatrix CharInsert EasyTimeline FixedImage ImageMap Poem SyntaxHighlight WikiHiero AntiSpoof AssertEdit BoardVote CentralNotice ConfirmEdit...

Click to read more »
Wikipedia:Village pump (technical)/Archive 2
Sabtu, 2023-04-15 23:15:20

25 October 2007 (UTC) It's the Highlight extension (mw:Extension:SyntaxHighlight GeSHi); bugs can be reported using the 'Highlight' option in 'MediaWiki...

Click to read more »
Wikipedia:Village pump (technical)/Archive 137
Jumat, 2026-07-10 22:34:27

I've noticed that the <source>...</source> extension (or <syntaxhighlight>...</syntaxhighlight> if you prefer) no longer respects the enclose=div attribute...

Click to read more »
Wikipedia:Village pump (technical)/Archive 167
Sabtu, 2025-08-02 14:51:31

(UTC) which source editor (we have half a dozen or so) and was the syntaxhighlighting mode enabled ? —TheDJ (talk • contribs) 18:21, 8 August 2018 (UTC)...

Click to read more »
Wikipedia:Village pump (technical)/Archive 75
Kamis, 2026-07-02 23:51:10

position:relative; font-size:.8em; top:-5px; } (And by the way...{{#tag:syntaxhighlight|...|lang="CSS"}} works, as above.) TheFeds 06:11, 11 May 2010 (UTC)...

Click to read more »
Wikipedia:Village pump (technical)/Archive 138
Jumat, 2024-03-29 21:01:02

Magazine |date=February/March 1984 |page=12 |first=Peter |last=Ellison}}</syntaxhighlight> which displays as ::{{cite journal |url=http://www.atarimagazines...

Click to read more »
Wikipedia:Village pump (policy)/Archive 142
Jumat, 2018-06-01 20:39:05

water. When adding the javascript above to common.js and removing the syntaxhighlight it already works today. The drawback: This is similar to what was proposed...

Click to read more »
Wikipedia:Village pump (technical)/Archive 186
Rabu, 2025-09-10 04:16:31

mw:User:Remember the dot/Syntax highlighter.js and de:Benutzer:Schnark/js/syntaxhighlight.js. In the long term WMDE is working on adding bracket matching to...

Click to read more »
Wikipedia:Village pump (technical)/Archive 180
Jumat, 2026-07-10 00:42:29

this. For pages using syntax highlighting, the use of the deprecated <syntaxhighlight lang=""> tag, as well as the use of the deprecated enclose parameter...

Click to read more »
Wikipedia:Bot requests/Archive 83
Minggu, 2022-09-11 22:47:56

for example, or quotation templates). People can also use <syntaxhighlight>...</syntaxhighlight> like this, despite it is OK with newlines inside of it....

Click to read more »
Wikipedia:Village pump (technical)/Archive 108
Kamis, 2022-12-01 08:28:59

classification of this bug report from "extensions:scribunto" to "extensions:syntaxhighlight". the same problem appears on wikis that did not yet enable scribunto...

Click to read more »
Wikipedia:Village pump (technical)/Archive 184
Sabtu, 2022-05-28 04:59:39

looks like some sort of <code> to me, but try some flavor of Template:Syntaxhighlight, for example. — JohnFromPinckney (talk) 19:01, 22 September 2020 (UTC)...

Click to read more »
Wikipedia:Village pump (technical)/Archive 98
Sabtu, 2022-12-31 23:23:23

pointer. What have I done wrong? Should I have done something with the <syntaxhighlight lang="css" inline> that appears in Bility's contribution above? Any...

Click to read more »
Wikipedia:Village pump (technical)/Archive 111
Senin, 2023-09-18 21:32:10

May 2013 (UTC) I took the liberty of reformatting your CSS using <syntaxhighlight>. This isn't working for me, but I may have a conflict with one of...

Click to read more »
Wikipedia:Help desk/Archives/2022 January 6
Senin, 2022-01-10 07:55:23

(talk) 23:25, 6 January 2022 (UTC) FYI, @Floquenbeam:: You can use the <syntaxhighlight> Tag to highlight code in a multitude of different languages. For your...

Click to read more »
Wikipedia:Village pump (technical)/Archive 120
Sabtu, 2026-07-04 19:20:43

Bug 57,824. In the process of filing that bug, I discovered that the SyntaxHighlight GeSHi extension is actually converting tabs to eight literal spaces...

Click to read more »
Wikipedia:Village pump (technical)/Archive 114
Jumat, 2026-06-26 19:44:22

code abilities (e.g. math, tables, parser functions, magic words, syntaxhighlight, etc.) since pretty much anything that might be in an article will...

Click to read more »
Wikipedia:Village pump (technical)/Archive 131
Selasa, 2026-08-18 13:09:52

view mode uses GeSHi for Lua syntax highlighting (via mw:Extension:SyntaxHighlight GeSHi), but the edit mode (CodeEditor) uses different syntax highlighting...

Click to read more »
Wikipedia:Village pump (technical)/Archive 52
Jumat, 2022-05-20 01:33:32

December 2008 (UTC) This functionality is provided by mw:Extension:SyntaxHighlight GeSHi. The source code is here. Algebraist 03:05, 12 December 2008...

Click to read more »
Wikipedia:Village pump (technical)/Archive 115
Minggu, 2025-01-26 23:03:32

details are now available for testing on MediaWiki.org, and that for the SyntaxHighlight extension will be soon. A complete list of individual code commits...

Click to read more »
Wikipedia:Village pump (technical)/Archive 116
Kamis, 2023-02-16 05:02:46

Summer of Code students neared completion of their work. The Math and SyntaxHighlight extension editors have both made excellent process, and the team hosted...

Click to read more »
Wikipedia:User scripts/Ranking
Sabtu, 2022-02-12 17:31:41

templates as well. You still need regular non-Ajax preview if you insert <syntaxhighlight lang="xxx"> or <categorytree>.* "Preview" displays references when...

Click to read more »
Wikipedia:HTML5
Minggu, 2026-06-21 19:50:20

(search articles) (search all) <pre> (search articles) (search all) <syntaxhighlight> (search articles) (search all) <source> (search articles) (search...

Click to read more »
Wikipedia:Verification methods
Minggu, 2026-07-26 04:13:07

above. Doe, John (2000), Book of Facts, Great Books, ISBN 9780123456878 Doe, Jane (2010), More Facts, Better Books, ISBN 9780123456878 </syntaxhighlight>...

Click to read more »
Wikipedia:WikiProject Check Wikipedia/Translation
Minggu, 2026-08-09 00:13:22

END error_014_desc_enwiki=Found a "&lt;syntaxhighlight ...&gt;" but no "&lt;/syntaxhighlight&gt;" or a "&lt;source ...&gt;" but no "&lt;/source&gt;"...

Click to read more »
Wikipedia:Help desk/Archives/July 2023
Sabtu, 2023-08-05 09:12:07

Wikipedia:Help_desk/Archives/2023 July 11 Understanding how to fix syntaxhighlight errors Can’t use Citation tool an open scholarship versus Open Scholarship...

Click to read more »
Wikipedia:Teahouse/Questions/Archive 1095
Jumat, 2022-05-20 12:56:47

10:48, 8 February 2021 (UTC) I am trying to include some code, using <syntaxhighlight>, but the language is not recognised. Is it possible to write one's...

Click to read more »
Wikipedia:Huggle/Config.yaml
Senin, 2025-12-01 11:28:50

a HTML comment and it will ignore everything that is preceding it. Syntaxhighlight tags for YAML will be also ignored. Documentation for almost every...

Click to read more »
Wikipedia:Village pump (idea lab)/Archive 8
Selasa, 2026-07-28 11:35:55

(current) HTML 5 (ideal) <syntaxhighlight== Early life == Lorem ipsum dolor sit amet... == Next section == </syntaxhighlight> <h2 id="Early_life">Early...

Click to read more »
Wikipedia:Reference desk/Archives/Mathematics/2008 March 6
Minggu, 2023-03-26 12:36:48

sure about the quaternions, but I've fixed your formatting - use the <syntaxhighlight lang="X"> tag. (I guessed your code was php, if it's not, it's close...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2008 April 2
Jumat, 2023-02-10 20:10:41

</people> (a hilarious side-note: I couldn't even use the mediawiki <syntaxhighlight lang=""> tag here, it went all nuts :)). You would have to write it...

Click to read more »
Wikipedia:Village pump (idea lab)/Archive 37
Senin, 2025-03-10 23:50:24

name="citation-name"><syntaxhighlight lang="">including the sum of all virtual worlds, augmented reality, and the Internet</syntaxhighlight>{{citation}}</ref>...

Click to read more »
Wikipedia:Help desk/Archives/2018 June 29
Selasa, 2018-07-03 09:25:16

2018 (UTC)) @Mobile mundo: If you add the displayed code without the syntaxhighlight stuff from the wikitext then the help desk icon should also disappear...

Click to read more »
Wikipedia:Bots/Requests for approval/IndentBot
Rabu, 2022-05-04 04:12:01

(UTC) The bot wouldn't fix the first example since it is inside a "syntaxhighlight" tag. Winston (talk) 16:34, 5 November 2021 (UTC) I realized that as...

Click to read more »
Wikipedia:Teahouse/Questions/Archive 167
Senin, 2022-05-09 22:53:16

of copying & pasting the source from above, with the <syntaxhighlight lang="">...</syntaxhighlight>, you ought to copy & paste what you can see displayed...

Click to read more »
Wikipedia:Interface administrators' noticeboard/Archive 2
Senin, 2022-05-09 02:36:13

comments. In other cases, this can be fixed by using // <syntaxhighlight lang=js> ... // </syntaxhighlight> instead (assuming those tags aren't there already)...

Click to read more »
Wikipedia:Interface administrators' noticeboard/Archive 3
Sabtu, 2026-07-11 04:52:08

run the replacements <source> → <syntaxhighlight lang=""> </source> → </syntaxhighlight> <source → <syntaxhighlight (task 10). Can an interface admin...

Click to read more »
Wikipedia:Help desk/Archives/2013 June 12
Jumat, 2026-01-23 16:41:26

Shouldn't there be a development of programming languages for the <syntaxhighlight> tag? This should give article readers (and editors) a sense of what...

Click to read more »
Wikipedia:Lua/Requests/Archive 3
Kamis, 2025-09-18 09:09:44

HTML5 elements that aren't recognized (list from [12]). Another is <syntaxhighlight lang=""> which is a wiki tag interpreted in a way that has nothing...

Click to read more »
Wikipedia:VisualEditor/Feedback/Archive 2012 1
Sabtu, 2024-06-15 20:03:40

12:28, 14 December 2012 (UTC) Tracked in Phabricator Task T45126 <syntaxhighlight> is unparsed but shown as plain wikitext: User:Raymond/source. It is...

Click to read more »
Wikipedia:AutoWikiBrowser/Tasks/Archive 20
Jumat, 2025-07-18 01:15:18

tag markup, or to update Module:Article stub box to use <syntaxhighlight>...</syntaxhighlight> tags instead of code tags. If that's not the explanation...

Click to read more »
Wikipedia:VisualEditor/Feedback/Archive 2013 5
Minggu, 2023-10-15 20:04:52

May 2013 (UTC) Tracked in Phabricator Task T49579 <syntaxhighlight lang="c"> ... </syntaxhighlight> isn't rendered as expected Tobias (Talk) 22:25, 19...

Click to read more »
Wikipedia:AutoWikiBrowser/Tasks/Archive 12
Rabu, 2021-07-28 11:52:39

it to call <score> (we have similar variants for nowiki, code, and syntaxhighlight). Primefac (talk) 11:06, 9 December 2020 (UTC) Sorry, I should have...

Click to read more »
Wikipedia:Help desk/Archives/2010 April 24
Selasa, 2023-03-14 22:57:18

talk 11:35, 24 April 2010 (UTC) This is done by the by meta:Extension:SyntaxHighlight GeSHi, so you can report it as a GeSHi issue. ---— Gadget850 (Ed) talk...

Click to read more »
Wikipedia:Templates for discussion/Log/2025 November 24
Kamis, 2025-12-18 10:28:21

{{Tjp2}} are the current standard, because they display parameters like <syntaxhighlight> does (same colors and fonts). We should rather make {{para}} look...

Click to read more »
Wikipedia:Interface administrators' noticeboard/Archive 1
Senin, 2026-02-16 21:37:42

have a PHP part that defines a tag (like extensions give us <ref> or <syntaxhighlight>), and a JS part that's basically the gadget which is loaded on the...

Click to read more »
Wikipedia:Talk pages consultation 2019/Phase 1
Sabtu, 2026-01-24 13:40:02

things about Flow: I can write a multi-paragraph post, with <syntaxhighlight>...</syntaxhighlight> and other block content, without having to worry about how...

Click to read more »
Wikipedia:Requests for page protection/Archive/2022/06
Kamis, 2023-11-09 02:56:05

logs) Could this page please have the <source> tags replaced with <syntaxhighlight> tags per Category:Pages using deprecated source tags? The page is...

Click to read more »
Wikipedia:Reference desk/Archives/Computing/2020 November 28
Minggu, 2026-07-05 20:36:42

(UTC) (PS what markup should I use for a code fragment?) m:Extension:SyntaxHighlight -- Finlay McWalter··–·Talk 21:44, 28 November 2020 (UTC) I ran your...

Click to read more »
Wikipedia:Requests for page protection/Archive/2022/05
Jumat, 2023-11-03 13:03:23

watch | logs) Could the enclose="div" attributes be removed from the <syntaxhighlighting> tags? This is to fix Category:Pages using deprecated enclose attributes...

Click to read more »
Wikipedia:SVG help/Archive 9
Jumat, 2024-05-03 14:41:40

remain in place. Have to see it to believe it. And thanks for the syntaxhighlight fixes. Removing just the height works, but not the same as within an...

Click to read more »
Wikipedia:Dashboard/Village pump
Kamis, 2020-06-18 22:35:26

Remove sandbox tab Edit that removed 275 control characters Tab size in syntaxhighlight Blank Screens in Firefox Colheader bgcolor not night mode compatible...

Click to read more »
Wikipedia:VisualEditor/Feedback/Archive 2014 1
Senin, 2026-05-18 07:10:56

(UTC) What you wanted was to specify <syntaxhighlight lang="fortran">? That's the same thing as <syntaxhighlight> , which is T57533. Whatamidoing (WMF)...

Click to read more »
Wikipedia:WikiProject Articles for creation/Help desk/Archives/2018 November 12
Senin, 2022-05-09 23:33:30

de/dms/tib-ub-hannover/505067803.pdf <syntaxhighlight lang="trac wiki"> http://www.freepatentsonline.com/DE69400680.html <syntaxhighlight lang="trac wiki"> https://www...

Click to read more »
Wikipedia:Help desk/Archives/2007 August 21
Minggu, 2023-03-26 02:17:28

159.153.138.98 (talk) 18:15, August 21, 2007 (UTC) See: mw:Extension:SyntaxHighlight GeSHi for details on the extension you may be talking about. To see...

Click to read more »
Wikipedia:Tech news/Archive 10
Jumat, 2023-08-18 13:52:14

request was voted #65 in the 2023 Community Wishlist Survey. [137] The SyntaxHighlight extension now supports wikitext as a selected language. Old alternatives...

Click to read more »
Wikipedia:Edit filter/False positives/Archive 32
Minggu, 2023-03-26 01:28:48

line of equal signs (which triggers the filter). Use a different <syntaxhighlight> block, or if you really want them in the same block, a multiline comment...

Click to read more »
Wikipedia:Help desk/Archives/2009 February 5
Jumat, 2023-02-10 12:57:38

16:36, 5 February 2009 (UTC) The <source> is provided by mw:Extension:SyntaxHighlight GeSHi. You can find out this sort of information yourself by looking...

Click to read more »
Wikipedia:Teahouse/Questions/Archive 402
Jumat, 2023-03-03 10:50:07

https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blob/master/SyntaxHighlight_GeSHi.lexers.php#L99 and https://bitbucket...

Click to read more »
Wikipedia:SVG help/Archive 6
Selasa, 2022-05-17 11:01:11

<defs><style>.cls-1{fill:#ee703a;}</style> Red part of the fox (ignore that syntaxhighlight paints part of it red here!): <path class="cls-1" d="M25.8,8.59L17...

Click to read more »
Wikipedia:Help desk/Archives/2007 October 16
Senin, 2023-01-30 18:14:50

(t/a/c) 19:41, 16 October 2007 (UTC) I think you refer to mw:Extension:SyntaxHighlight GeSHi. That is an extension, which a system administrator has to install...

Click to read more »
Wikipedia:Help desk/Archives/2007 August 13
Jumat, 2025-11-21 20:36:32

completely should work, make sure you remove the tags for mw:Extension:SyntaxHighlight_GeSHi unless you have that extension installed. Copying features from...

Click to read more »
Wikipedia:Village pump (technical)/topic list
Rabu, 2026-08-19 13:27:46

Blank Screens in Firefox 5 4 Wmbata 2026-08-15 14:26 3 Tab size in syntaxhighlight 12 6 Anomie 2026-08-14 00:21 4 Edit that removed 275 control characters...

Click to read more »
Wikipedia:Tech news/Archive 12
Sabtu, 2025-02-22 02:55:18

links inside code blocks. This includes links that are used within <syntaxhighlight> tags and on code pages (JavaScript, CSS, Scribunto and Sanitized CSS)...

Click to read more »
Wikipedia:Teahouse/Questions/Archive 321
Kamis, 2015-03-26 13:36:41

highlighting as you have done on your user page. Maybe look at Extension:SyntaxHighlight GeSHi as well. Cheers KylieTastic (talk) 14:04, 22 March 2015 (UTC)...

Click to read more »
Wikipedia:Village pump (technical)/Archive 229
Senin, 2026-08-10 20:41:51

reading static pages and in-wikitext code examples with the <syntaxhighlight>...</syntaxhighlight> tag. CodeMirror meanwhile is an editor providing syntax...

Click to read more »
Wikipedia:Village pump (technical)/Archive 215
Senin, 2026-06-08 11:20:42

many examples of how wikitext is used, wrapped in <syntaxhighlight lang="wikitext">...</syntaxhighlight> where the intent is to show the markup and not the...

Click to read more »
Wikipedia:SVG help/Archive 10
Jumat, 2025-11-21 01:02:48

posting snippets of SVG markup, please place them inside <syntaxhighlight lang=xml>...</syntaxhighlight> tags (see for example several of the posts at Wikipedia:SVG...

Click to read more »
Wikipedia:Request a query/Archive 6
Sabtu, 2026-07-04 03:59:04

the query for August 2023 but modified for June 2023. Thank you! <syntaxhighlight lang=sql> -- This query counts the number of new citations to 'twitter...

Click to read more »
Wikipedia:Edit filter noticeboard/Archive 15
Sabtu, 2025-10-04 03:03:17

template to an unprotected page. However, the addition was done between syntaxhighlight tags which escape wikitext (just like nowiki) so the page wasn't even...

Click to read more »
Wikipedia:Templates for discussion/Log/2026 June 24
Selasa, 2026-08-11 20:09:05

string)''| leaving_substack| mapping_by_magic|#tag|values_only_as|2|let|1|syntaxhighlight|let|lang|wikitext|let|inline|true| flushing| mapping_by_mixing|<tr><td><code...

Click to read more »
Wikipedia:Village pump (technical)/Archive 224
Sabtu, 2026-08-08 22:41:01

</small> tag is not rendered when I wrap the above code in <syntaxhighlight>...</syntaxhighlight> tags. When the table is rendered, the two exclamation points...

Click to read more »
Wikipedia:Village pump (proposals)/Archive 211
Rabu, 2026-03-25 22:37:15

message Syntaxhighlight-error-category. The transclusion code may look something like this: {{Tracking category | message = Syntaxhighlight-error-category...

Click to read more »
Wikipedia:Help desk/Archives/2024 November 11
Jumat, 2024-11-15 10:15:56

18:14, 11 November 2024 (UTC) Misha Wolf, try {{para}} or mw:Extension:SyntaxHighlight. Folly Mox (talk) 21:41, 11 November 2024 (UTC) Thanks, @Folly Mox...

Click to read more »
Wikipedia:Help desk/Archive 70
Jumat, 2025-08-15 20:32:05

markup": ' Custom: {\{Draft.categories|1=\n+}}\n <syntaxhighlight.lang=\"\">\n+\n</syntaxhighlight>\n <code>+</code> {\{ping|+}}', }; I use the above...

Click to read more »
Wikipedia:Village pump (technical)/Archive 228
Rabu, 2026-04-29 06:03:21

invisible character, left-to-right mark, in your comment before <syntaxhighlight></syntaxhighlight>. You might accidentally copy it from somewhere. Since it...

Click to read more »
Wikipedia:Village pump (idea lab)/Archive 63
Sabtu, 2025-02-08 01:56:03

January 2025 (UTC) Something like <syntaxhighlight lang="shell" inline>ls -alF (with an closing </syntaxhighlight> tag) provides both quoting behaviour...

Click to read more »
Wikipedia:Village pump (technical)/Archive 214
Rabu, 2025-09-24 01:49:54

combination of the SyntaxHighlight extension not supporting dark mode, which we can't do much about, and {{code}} using the syntaxhighlight tag, when it could...

Click to read more »
Wikipedia:Teahouse/Questions/Archive 1205
Sabtu, 2025-12-13 18:59:02

satisfactory before making an edit. To format my code, I attempted to use syntaxhighlight tags. However, colons precede each line in my response. (See my response...

Click to read more »
Wikipedia:Village pump (technical)/Archive 230
Sabtu, 2026-07-11 22:50:45

{{textdiff}} while passing in a block of template code, such as <syntaxhighlight>...</syntaxhighlight> code? Cannot figure out how to make that work... Only work...

Click to read more »
Wikipedia:Village pump (technical)/Archive 207
Rabu, 2025-10-01 11:40:24

it to not automatically indent reply lines while inside <syntaxhighlight>...</syntaxhighlight> tags, because man is having to fix that getting really old...

Click to read more »
Wikipedia:Village pump (technical)/Archive 209
Sabtu, 2026-02-28 17:30:57

or the trailing semicolon (wrapping with <syntaxhighlight lang="wikitext" inline="1">...</syntaxhighlight> sort of works): & amp;ndash& #x3B; (spaces...

Click to read more »
Wikipedia:Village pump (technical)/Archive 231
Senin, 2026-08-17 22:51:35

wikitext which was used to display JavaScript: <syntaxhighlight lang="javascript"> ... </syntaxhighlight> PrimeHunter (talk) 00:51, 11 August 2026 (UTC)...

Click to read more »
Wikipedia:Teahouse/Questions/Archive 1195
Rabu, 2025-09-24 21:34:46

dialog. Others not) Plus several things that are doable but painfull <syntaxhighlight> variables (no autocompletion) Additionally, VE has no support for...

Click to read more »
Wikipedia:Database reports/Template sandboxes with categories
Selasa, 2026-08-18 15:25:24

round/sandbox Swiss metadata Wikidata/sandbox SymbolForElement/sandbox Syntaxhighlight tab size/sandbox/styles.css System requirements/sandbox T/sandbox TAFI...

Click to read more »
Wikipedia:Village pump (technical)/Archive 204
Senin, 2026-03-23 19:41:04

and Edge, the tables look OK, but the text contained within the "</syntaxhighlight> parts: fonts looks all faded and different . — Maile (talk) 22:59...

Click to read more »
Wikipedia:Database reports/Uncategorized templates (full)/5
Senin, 2026-08-17 08:25:23

open tasks/Cases/sandbox Hiero/era/doc Weather by decade/2020–present Syntaxhighlight tab size/sandbox/styles.css PDB Gallery/2551 PDB Gallery/8570 PDB Gallery/9782...

Click to read more »
Wikipedia:Village pump (technical)/Archive 205
Rabu, 2023-11-15 23:21:58

a lexer for wikitext for the Python library that powers Extension:SyntaxHighlight. Deployment to Wikimedia wikis has not happened yet but interested...

Click to read more »
Wikipedia:Village pump (technical)/Archive 222
Sabtu, 2025-11-22 09:41:21

code, text or individual words, e.g., {{langx}}, {{qi}}, <syntaxHighlight>...</syntaxHighlight>, {{tt}}. Standards Templates for linking to standards pages...

Click to read more »