Jump to content

FamilySearch Wiki:Extension tests: Difference between revisions

No edit summary
Line 470: Line 470:
: E=mc^2 (but much better-looking)
: E=mc^2 (but much better-looking)


== StringFunctionsEscaped Test ==
== StringFunctionsEscaped ==
{{#explode:Hello,World,MediaWiki|,|2}} <!-- Expected: MediaWiki -->
; Test
{{#substring:Hello World|6|5}} <!-- Expected: World -->
{{#explode:Hello,World,MediaWiki|,|2}}
{{#substring:Hello World|6|5}}


The first test should return MediaWiki.
; Expected
The second test should return World.
: MediaWiki
: World


== SpamBlacklist ==
== SpamBlacklist ==
926

edits