2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
2023-10-02 19:48:04 +00:00
|
|
|
parsoid-compatible=wt2html,wt2wt
|
2022-07-22 22:14:03 +00:00
|
|
|
version=2
|
|
|
|
!! end
|
|
|
|
|
2020-04-02 17:09:06 +00:00
|
|
|
# Force the test runner to ensure the extension is loaded
|
2015-06-23 04:41:39 +00:00
|
|
|
!! hooks
|
|
|
|
source
|
|
|
|
!! endhooks
|
|
|
|
|
|
|
|
!! test
|
|
|
|
Non-existent language
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2015-06-23 04:41:39 +00:00
|
|
|
<source lang="doesnotexist">
|
|
|
|
foobar
|
|
|
|
</source>
|
2022-07-22 22:14:03 +00:00
|
|
|
!! html/php
|
2015-07-03 13:42:46 +00:00
|
|
|
<div class="mw-highlight mw-content-ltr" dir="ltr"><pre>foobar</pre></div>
|
2022-07-22 22:14:03 +00:00
|
|
|
!! html/parsoid
|
|
|
|
<div class="mw-highlight mw-content-ltr" dir="ltr" about="#mwt1" typeof="mw:Extension/source" data-mw='{"name":"source","attrs":{"lang":"doesnotexist"},"body":{"extsrc":"\nfoobar\n"}}'><pre>foobar</pre></div>
|
2015-06-23 04:41:39 +00:00
|
|
|
!! end
|
|
|
|
|
2015-07-07 21:06:08 +00:00
|
|
|
!! test
|
|
|
|
No language specified
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2015-07-07 21:06:08 +00:00
|
|
|
!! wikitext
|
|
|
|
<source>
|
|
|
|
foo
|
|
|
|
</source>
|
|
|
|
!! html
|
|
|
|
<div class="mw-highlight mw-content-ltr" dir="ltr"><pre>foo</pre></div>
|
|
|
|
!! end
|
|
|
|
|
|
|
|
!! test
|
|
|
|
No language specified (no wellformed xml)
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2015-07-07 21:06:08 +00:00
|
|
|
!! config
|
|
|
|
!! wikitext
|
|
|
|
<source>
|
|
|
|
bar
|
|
|
|
</source>
|
|
|
|
!! html
|
2016-05-16 10:01:22 +00:00
|
|
|
<div class="mw-highlight mw-content-ltr" dir="ltr"><pre>bar</pre></div>
|
2015-07-07 21:06:08 +00:00
|
|
|
!! end
|
|
|
|
|
2015-06-23 04:41:39 +00:00
|
|
|
!! test
|
|
|
|
XSS is escaped
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2015-06-23 04:41:39 +00:00
|
|
|
<source lang="doesnotexist">
|
|
|
|
<script>alert("pwnd")</script>
|
|
|
|
<IMG SRC=`javascript:alert("RSnake says, 'XSS'")`>
|
|
|
|
<IMG
|
|
|
|
SRC=javascript:alert(
|
|
|
|
'XSS')
|
|
|
|
\";alert('XSS');//
|
|
|
|
</script><script>alert('XSS');</script>
|
|
|
|
%253cscript%253ealert(document.cookie)%253c/script%253e
|
|
|
|
</source>
|
2020-04-02 17:09:06 +00:00
|
|
|
!! html
|
|
|
|
<div class="mw-highlight mw-content-ltr" dir="ltr"><pre><script>alert("pwnd")</script>
|
|
|
|
<IMG SRC=`javascript:alert("RSnake says, 'XSS'")`>
|
2015-06-23 04:41:39 +00:00
|
|
|
<IMG
|
|
|
|
SRC=&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;
|
|
|
|
&#39;&#88;&#83;&#83;&#39;&#41;
|
|
|
|
\";alert('XSS');//
|
2020-04-02 17:09:06 +00:00
|
|
|
</script><script>alert('XSS');</script>
|
2015-06-23 04:41:39 +00:00
|
|
|
%253cscript%253ealert(document.cookie)%253c/script%253e</pre></div>
|
|
|
|
!! end
|
2015-06-25 04:46:42 +00:00
|
|
|
|
2015-07-03 13:42:46 +00:00
|
|
|
!! test
|
|
|
|
XSS is escaped (inline)
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2022-07-22 22:14:03 +00:00
|
|
|
<source lang="doesnotexist" inline="">
|
2015-07-03 13:42:46 +00:00
|
|
|
<script>alert("pwnd")</script>
|
|
|
|
<IMG SRC=`javascript:alert("RSnake says, 'XSS'")`>
|
|
|
|
<IMG
|
|
|
|
SRC=javascript:alert(
|
|
|
|
'XSS')
|
|
|
|
\";alert('XSS');//
|
|
|
|
</script><script>alert('XSS');</script>
|
|
|
|
%253cscript%253ealert(document.cookie)%253c/script%253e
|
|
|
|
</source>
|
2020-04-02 17:09:06 +00:00
|
|
|
!! html
|
2021-01-15 17:29:46 +00:00
|
|
|
<p><code class="mw-highlight mw-content-ltr" dir="ltr"><script>alert("pwnd")</script> <IMG SRC=`javascript:alert("RSnake says, 'XSS'")`> <IMG SRC=&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40; &#39;&#88;&#83;&#83;&#39;&#41; \";alert('XSS');// </script><script>alert('XSS');</script> %253cscript%253ealert(document.cookie)%253c/script%253e</code>
|
2015-07-03 13:42:46 +00:00
|
|
|
</p>
|
|
|
|
!! end
|
|
|
|
|
2015-06-25 04:46:42 +00:00
|
|
|
!! test
|
|
|
|
Default behaviour (inner is pre)
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2015-06-25 04:46:42 +00:00
|
|
|
<source lang="javascript">
|
|
|
|
var a;
|
|
|
|
</source>
|
2020-04-02 17:09:06 +00:00
|
|
|
!! html
|
Update Pygments to 2.15.0
Bump embedded Pygments version from 2.11.2 to 2.15.0. Changes
<https://github.com/pygments/pygments/compare/2.11.2...2.15.0>.
Pygments 2.15.0 includes support for MediaWiki's wikitext for the first time
ever (T29828).
New lexers: art, arturo, be, berry, carbon, comal, comal80, cplint,
css+ul4, dax, fc, fif, fift, func, gap-console, gap-repl, hcl, html+ul4,
jmespath, jp, js+ul4, jsonnet, k, linuxconfig, lobas, macaulay2, mcf,
mcfunction, mcschema, mediawiki, mips, oobas, phix, portugol,
postgres-explain, py+ul4, q, qlik, qlikscript, qliksense, qlikview,
snbt, sobas, sql+jinja, tal, tlb, ul4, unixconfig, uxntal, wsgl,
wikitext, wowtoc, wren, x++, xml+ul4, xpp
Bug: T334433
Change-Id: I80576c0782b8b6d4b5bfd0596f72d81c4f9346a8
2023-04-05 20:58:33 +00:00
|
|
|
<div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="kd">var</span><span class="w"> </span><span class="nx">a</span><span class="p">;</span>
|
2015-07-03 13:42:46 +00:00
|
|
|
</pre></div>
|
|
|
|
!! end
|
|
|
|
|
|
|
|
!! test
|
|
|
|
Multiline <source/> in lists
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2022-07-22 22:14:03 +00:00
|
|
|
*<source>a
|
2015-07-03 13:42:46 +00:00
|
|
|
b</source>
|
|
|
|
|
2022-07-22 22:14:03 +00:00
|
|
|
*foo <source>a
|
2015-07-03 13:42:46 +00:00
|
|
|
b</source>
|
2021-09-30 18:44:45 +00:00
|
|
|
!! html
|
2018-03-20 18:43:33 +00:00
|
|
|
<ul><li><div class="mw-highlight mw-content-ltr" dir="ltr"><pre>a
|
2018-02-24 03:39:10 +00:00
|
|
|
b</pre></div></li></ul>
|
2018-03-20 18:43:33 +00:00
|
|
|
<ul><li>foo <div class="mw-highlight mw-content-ltr" dir="ltr"><pre>a
|
2018-02-24 03:39:10 +00:00
|
|
|
b</pre></div></li></ul>
|
2015-07-03 13:42:46 +00:00
|
|
|
!! end
|
|
|
|
|
|
|
|
!! test
|
|
|
|
Custom attributes
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2015-07-03 13:42:46 +00:00
|
|
|
<source lang="javascript" id="foo" class="bar" dir="rtl" style="font-size: larger;">var a;</source>
|
2020-04-02 17:09:06 +00:00
|
|
|
!! html
|
Update Pygments to 2.15.0
Bump embedded Pygments version from 2.11.2 to 2.15.0. Changes
<https://github.com/pygments/pygments/compare/2.11.2...2.15.0>.
Pygments 2.15.0 includes support for MediaWiki's wikitext for the first time
ever (T29828).
New lexers: art, arturo, be, berry, carbon, comal, comal80, cplint,
css+ul4, dax, fc, fif, fift, func, gap-console, gap-repl, hcl, html+ul4,
jmespath, jp, js+ul4, jsonnet, k, linuxconfig, lobas, macaulay2, mcf,
mcfunction, mcschema, mediawiki, mips, oobas, phix, portugol,
postgres-explain, py+ul4, q, qlik, qlikscript, qliksense, qlikview,
snbt, sobas, sql+jinja, tal, tlb, ul4, unixconfig, uxntal, wsgl,
wikitext, wowtoc, wren, x++, xml+ul4, xpp
Bug: T334433
Change-Id: I80576c0782b8b6d4b5bfd0596f72d81c4f9346a8
2023-04-05 20:58:33 +00:00
|
|
|
<div id="foo" class="bar mw-highlight mw-highlight-lang-javascript mw-content-rtl" style="font-size: larger;" dir="rtl"><pre><span></span><span class="kd">var</span><span class="w"> </span><span class="nx">a</span><span class="p">;</span>
|
2015-06-25 04:46:42 +00:00
|
|
|
</pre></div>
|
|
|
|
!! end
|
|
|
|
|
2022-07-22 22:14:03 +00:00
|
|
|
# The html/parsoid section verifies that Parsoid can handle attributes
|
|
|
|
# that are not in key=value XML-like syntax.
|
2015-06-25 04:46:42 +00:00
|
|
|
!! test
|
|
|
|
Inline attribute (inline code)
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2015-06-25 04:46:42 +00:00
|
|
|
Text <source lang="javascript" inline>var a;</source>.
|
2022-07-22 22:14:03 +00:00
|
|
|
!! html/php
|
Update Pygments to 2.15.0
Bump embedded Pygments version from 2.11.2 to 2.15.0. Changes
<https://github.com/pygments/pygments/compare/2.11.2...2.15.0>.
Pygments 2.15.0 includes support for MediaWiki's wikitext for the first time
ever (T29828).
New lexers: art, arturo, be, berry, carbon, comal, comal80, cplint,
css+ul4, dax, fc, fif, fift, func, gap-console, gap-repl, hcl, html+ul4,
jmespath, jp, js+ul4, jsonnet, k, linuxconfig, lobas, macaulay2, mcf,
mcfunction, mcschema, mediawiki, mips, oobas, phix, portugol,
postgres-explain, py+ul4, q, qlik, qlikscript, qliksense, qlikview,
snbt, sobas, sql+jinja, tal, tlb, ul4, unixconfig, uxntal, wsgl,
wikitext, wowtoc, wren, x++, xml+ul4, xpp
Bug: T334433
Change-Id: I80576c0782b8b6d4b5bfd0596f72d81c4f9346a8
2023-04-05 20:58:33 +00:00
|
|
|
<p>Text <code class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><span class="kd">var</span><span class="w"> </span><span class="nx">a</span><span class="p">;</span></code>.
|
2015-06-25 04:46:42 +00:00
|
|
|
</p>
|
2022-07-22 22:14:03 +00:00
|
|
|
!! html/parsoid
|
Update Pygments to 2.15.0
Bump embedded Pygments version from 2.11.2 to 2.15.0. Changes
<https://github.com/pygments/pygments/compare/2.11.2...2.15.0>.
Pygments 2.15.0 includes support for MediaWiki's wikitext for the first time
ever (T29828).
New lexers: art, arturo, be, berry, carbon, comal, comal80, cplint,
css+ul4, dax, fc, fif, fift, func, gap-console, gap-repl, hcl, html+ul4,
jmespath, jp, js+ul4, jsonnet, k, linuxconfig, lobas, macaulay2, mcf,
mcfunction, mcschema, mediawiki, mips, oobas, phix, portugol,
postgres-explain, py+ul4, q, qlik, qlikscript, qliksense, qlikview,
snbt, sobas, sql+jinja, tal, tlb, ul4, unixconfig, uxntal, wsgl,
wikitext, wowtoc, wren, x++, xml+ul4, xpp
Bug: T334433
Change-Id: I80576c0782b8b6d4b5bfd0596f72d81c4f9346a8
2023-04-05 20:58:33 +00:00
|
|
|
<p>Text <code class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr" about="#mwt1" typeof="mw:Extension/source" data-mw='{"name":"source","attrs":{"lang":"javascript","inline":""},"body":{"extsrc":"var a;"}}'><span class="kd">var</span><span class="w"> </span><span class="nx">a</span><span class="p">;</span></code>.</p>
|
2015-06-25 04:46:42 +00:00
|
|
|
!! end
|
|
|
|
|
|
|
|
!! test
|
|
|
|
Enclose none (inline code)
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2015-06-25 04:46:42 +00:00
|
|
|
Text <source lang="javascript" enclose="none">var a;</source>.
|
2020-04-02 17:09:06 +00:00
|
|
|
!! html
|
Update Pygments to 2.15.0
Bump embedded Pygments version from 2.11.2 to 2.15.0. Changes
<https://github.com/pygments/pygments/compare/2.11.2...2.15.0>.
Pygments 2.15.0 includes support for MediaWiki's wikitext for the first time
ever (T29828).
New lexers: art, arturo, be, berry, carbon, comal, comal80, cplint,
css+ul4, dax, fc, fif, fift, func, gap-console, gap-repl, hcl, html+ul4,
jmespath, jp, js+ul4, jsonnet, k, linuxconfig, lobas, macaulay2, mcf,
mcfunction, mcschema, mediawiki, mips, oobas, phix, portugol,
postgres-explain, py+ul4, q, qlik, qlikscript, qliksense, qlikview,
snbt, sobas, sql+jinja, tal, tlb, ul4, unixconfig, uxntal, wsgl,
wikitext, wowtoc, wren, x++, xml+ul4, xpp
Bug: T334433
Change-Id: I80576c0782b8b6d4b5bfd0596f72d81c4f9346a8
2023-04-05 20:58:33 +00:00
|
|
|
<p>Text <code class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><span class="kd">var</span><span class="w"> </span><span class="nx">a</span><span class="p">;</span></code>.
|
2015-06-25 04:46:42 +00:00
|
|
|
</p>
|
|
|
|
!! end
|
2016-03-14 04:18:07 +00:00
|
|
|
|
|
|
|
!! test
|
|
|
|
Enclose with nowiki
|
2023-10-02 19:48:04 +00:00
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2016-03-14 04:18:07 +00:00
|
|
|
{{#tag:syntaxhighlight|<nowiki>foo</nowiki>|lang="text"|inline=none}}
|
2022-07-22 22:14:03 +00:00
|
|
|
!! html/php
|
2021-01-15 17:29:46 +00:00
|
|
|
<p><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" dir="ltr">foo</code>
|
2016-03-14 04:18:07 +00:00
|
|
|
</p>
|
2022-07-22 22:14:03 +00:00
|
|
|
!! html/parsoid
|
2024-03-14 17:54:23 +00:00
|
|
|
<p><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" dir="ltr" about="#mwt1" typeof="mw:Extension/syntaxhighlight mw:Transclusion" data-mw='{"name":"syntaxhighlight","attrs":{"lang":"text","inline":"none"},"body":{"extsrc":"foo"},"parts":[{"template":{"target":{"wt":"#tag:syntaxhighlight","function":"tag"},"params":{"1":{"wt":"<nowiki>foo</nowiki>"},"lang":{"wt":"\"text\""},"inline":{"wt":"none"}},"i":0}}]}'>foo</code></p>
|
2016-03-14 04:18:07 +00:00
|
|
|
!! end
|
2018-02-22 21:19:53 +00:00
|
|
|
|
2022-08-21 11:46:17 +00:00
|
|
|
!! test
|
|
|
|
Self-closing tag
|
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
|
|
|
!! wikitext
|
|
|
|
<syntaxhighlight lang="CSharp" />
|
|
|
|
!! html
|
|
|
|
<div class="mw-highlight mw-highlight-lang-csharp mw-content-ltr" dir="ltr"></div>
|
|
|
|
!! end
|
|
|
|
|
2018-02-22 21:19:53 +00:00
|
|
|
!! test
|
|
|
|
No code
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2018-02-22 21:19:53 +00:00
|
|
|
<source lang="CSharp"></source>
|
2020-04-02 17:09:06 +00:00
|
|
|
!! html
|
2020-02-15 22:46:07 +00:00
|
|
|
<div class="mw-highlight mw-highlight-lang-csharp mw-content-ltr" dir="ltr"></div>
|
2018-02-22 21:19:53 +00:00
|
|
|
!! end
|
|
|
|
|
|
|
|
!! test
|
|
|
|
Just whitespace
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2018-02-22 21:19:53 +00:00
|
|
|
<source lang="CSharp"> </source>
|
2020-04-02 17:09:06 +00:00
|
|
|
!! html
|
2020-02-15 22:46:07 +00:00
|
|
|
<div class="mw-highlight mw-highlight-lang-csharp mw-content-ltr" dir="ltr"></div>
|
2018-02-22 21:19:53 +00:00
|
|
|
!! end
|
2018-09-08 01:19:13 +00:00
|
|
|
|
|
|
|
!! test
|
|
|
|
tabs plus tidy (T32930, T59826)
|
2022-07-22 22:14:03 +00:00
|
|
|
!! options
|
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-04-02 17:09:06 +00:00
|
|
|
!! wikitext
|
2018-09-08 01:19:13 +00:00
|
|
|
<syntaxhighlight lang="javascript" enclose="pre" highlight="2-3">
|
|
|
|
function doSomething() {
|
|
|
|
var foo,
|
|
|
|
bar;
|
|
|
|
if (baz) {
|
|
|
|
</syntaxhighlight>
|
2021-09-30 18:44:45 +00:00
|
|
|
!! html
|
Update Pygments to 2.15.0
Bump embedded Pygments version from 2.11.2 to 2.15.0. Changes
<https://github.com/pygments/pygments/compare/2.11.2...2.15.0>.
Pygments 2.15.0 includes support for MediaWiki's wikitext for the first time
ever (T29828).
New lexers: art, arturo, be, berry, carbon, comal, comal80, cplint,
css+ul4, dax, fc, fif, fift, func, gap-console, gap-repl, hcl, html+ul4,
jmespath, jp, js+ul4, jsonnet, k, linuxconfig, lobas, macaulay2, mcf,
mcfunction, mcschema, mediawiki, mips, oobas, phix, portugol,
postgres-explain, py+ul4, q, qlik, qlikscript, qliksense, qlikview,
snbt, sobas, sql+jinja, tal, tlb, ul4, unixconfig, uxntal, wsgl,
wikitext, wowtoc, wren, x++, xml+ul4, xpp
Bug: T334433
Change-Id: I80576c0782b8b6d4b5bfd0596f72d81c4f9346a8
2023-04-05 20:58:33 +00:00
|
|
|
<div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="kd">function</span><span class="w"> </span><span class="nx">doSomething</span><span class="p">()</span><span class="w"> </span><span class="p">{</span>
|
|
|
|
<span class="hll"><span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="nx">foo</span><span class="p">,</span>
|
|
|
|
</span><span class="hll"><span class="w"> </span><span class="nx">bar</span><span class="p">;</span>
|
|
|
|
</span><span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="nx">baz</span><span class="p">)</span><span class="w"> </span><span class="p">{</span>
|
2018-09-08 01:19:13 +00:00
|
|
|
</pre></div>
|
|
|
|
!! end
|
2020-01-06 06:22:26 +00:00
|
|
|
|
|
|
|
!! test
|
|
|
|
deprecated source tag adds tracking category
|
|
|
|
!! options
|
2022-07-22 22:14:03 +00:00
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
|
|
|
!! options
|
2020-01-06 06:22:26 +00:00
|
|
|
cat
|
2023-02-10 04:36:00 +00:00
|
|
|
nohtml
|
2020-01-06 06:22:26 +00:00
|
|
|
!! wikitext
|
|
|
|
<source lang="python">print('Hi')</source>
|
2022-07-22 22:14:03 +00:00
|
|
|
!! html/php
|
2020-01-06 06:22:26 +00:00
|
|
|
cat=Pages_using_deprecated_source_tags sort=
|
|
|
|
!! end
|
|
|
|
|
|
|
|
!! test
|
|
|
|
deprecated enclose option adds tracking category
|
|
|
|
!! options
|
2022-07-22 22:14:03 +00:00
|
|
|
parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true }
|
2020-01-06 06:22:26 +00:00
|
|
|
cat
|
2023-02-10 04:36:00 +00:00
|
|
|
nohtml
|
2020-01-06 06:22:26 +00:00
|
|
|
!! wikitext
|
|
|
|
<syntaxhighlight enclose="none" lang="python">print('Hi')</syntaxhighlight>
|
2022-07-22 22:14:03 +00:00
|
|
|
!! html/php
|
2020-01-06 06:22:26 +00:00
|
|
|
cat=Pages_using_deprecated_enclose_attributes sort=
|
|
|
|
!! end
|