mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-30 10:25:29 +00:00
mark parsertests with option 'texvc'
One of the parsertests had the option 'texvc', that is a nice idea to let MediaWiki recognize such test is requiring a texvc installation. This patch apply the option to all those parser tests. MediaWiki core change https://gerrit.wikimedia.org/r/69872 will recognize the option and skip the test whenever $wgTexvc is not set or points to a non executable file. Also cleaned out some blank lines. bug: 49884 Change-Id: I746856be4aafa8e8ed5ef33d5b10b16db3ca97ff
This commit is contained in:
parent
233d285264
commit
fcb1faf4b5
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
pre-save transform: comment containing math
|
pre-save transform: comment containing math
|
||||||
!! options
|
!! options
|
||||||
|
@ -22,7 +21,7 @@ pst
|
||||||
!! test
|
!! test
|
||||||
BUG 1887, part 2: A <math> with a thumbnail- math enabled
|
BUG 1887, part 2: A <math> with a thumbnail- math enabled
|
||||||
!! options
|
!! options
|
||||||
math
|
texvc
|
||||||
!! input
|
!! input
|
||||||
[[Image:foobar.jpg|thumb|<math>2+2</math>]]
|
[[Image:foobar.jpg|thumb|<math>2+2</math>]]
|
||||||
!! result
|
!! result
|
||||||
|
@ -41,6 +40,8 @@ math
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 26380: Add \widetilde support to match \widehat
|
BUG 26380: Add \widetilde support to match \widehat
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math>\widehat{x}</math>
|
<math>\widehat{x}</math>
|
||||||
<math>\widetilde{x}</math>
|
<math>\widetilde{x}</math>
|
||||||
|
@ -52,6 +53,8 @@ BUG 26380: Add \widetilde support to match \widehat
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 27324: Euro symbol for math
|
BUG 27324: Euro symbol for math
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math>\euro 200</math>
|
<math>\euro 200</math>
|
||||||
<math>\geneuro</math>
|
<math>\geneuro</math>
|
||||||
|
@ -69,6 +72,8 @@ BUG 27324: Euro symbol for math
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 27754: Archaic Greek letters for math (may require texlive-lang-greek)
|
BUG 27754: Archaic Greek letters for math (may require texlive-lang-greek)
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math>\digamma</math><!-- Lowercase digamma was already available -->
|
<math>\digamma</math><!-- Lowercase digamma was already available -->
|
||||||
<math>\Coppa\coppa\varcoppa</math>
|
<math>\Coppa\coppa\varcoppa</math>
|
||||||
|
@ -88,6 +93,8 @@ BUG 27754: Archaic Greek letters for math (may require texlive-lang-greek)
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 19547: Apostrophe / single quotes in math \text{...}
|
BUG 19547: Apostrophe / single quotes in math \text{...}
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math>\text{next years}</math>
|
<math>\text{next years}</math>
|
||||||
<math>\text{next year's}</math>
|
<math>\text{next year's}</math>
|
||||||
|
@ -101,6 +108,8 @@ BUG 19547: Apostrophe / single quotes in math \text{...}
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 6722: Spacing fix for functions in math HTML output
|
BUG 6722: Spacing fix for functions in math HTML output
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math>\sin x</math>
|
<math>\sin x</math>
|
||||||
<math>\sin(x)</math>
|
<math>\sin(x)</math>
|
||||||
|
@ -121,6 +130,8 @@ BUG 6722: Spacing fix for functions in math HTML output
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 18912: Add \sen function for Spanish sin to math
|
BUG 18912: Add \sen function for Spanish sin to math
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math>\sen x</math>
|
<math>\sen x</math>
|
||||||
<math>\sen(x)</math>
|
<math>\sen(x)</math>
|
||||||
|
@ -141,6 +152,8 @@ BUG 18912: Add \sen function for Spanish sin to math
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 18912: \operatorname{sen} x gets wrong spacing in math
|
BUG 18912: \operatorname{sen} x gets wrong spacing in math
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math>\operatorname{sen}</math>
|
<math>\operatorname{sen}</math>
|
||||||
!! result
|
!! result
|
||||||
|
@ -150,6 +163,8 @@ BUG 18912: \operatorname{sen} x gets wrong spacing in math
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 31442: Multiple math accents without braces fails to parse
|
BUG 31442: Multiple math accents without braces fails to parse
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math>\dot \vec B</math>
|
<math>\dot \vec B</math>
|
||||||
!! result
|
!! result
|
||||||
|
@ -159,6 +174,8 @@ BUG 31442: Multiple math accents without braces fails to parse
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 31442: Math accents with math font fail to parse if braces not used
|
BUG 31442: Math accents with math font fail to parse if braces not used
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math>\tilde \mathcal{M}</math>
|
<math>\tilde \mathcal{M}</math>
|
||||||
!! result
|
!! result
|
||||||
|
@ -168,6 +185,8 @@ BUG 31442: Math accents with math font fail to parse if braces not used
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 31824: Empty math tag returns uniq
|
BUG 31824: Empty math tag returns uniq
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math></math>
|
<math></math>
|
||||||
!! result
|
!! result
|
||||||
|
@ -175,8 +194,9 @@ BUG 31824: Empty math tag returns uniq
|
||||||
|
|
||||||
!! test
|
!! test
|
||||||
BUG 31824: Empty math tag returns uniq
|
BUG 31824: Empty math tag returns uniq
|
||||||
|
!! options
|
||||||
|
texvc
|
||||||
!! input
|
!! input
|
||||||
<math> </math>
|
<math> </math>
|
||||||
!! result
|
!! result
|
||||||
!! end
|
!! end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue