WikiCity:Extension tests
The following are tests of the extensions running on the wiki. Where applicable, if the "Test" value matches the "Expected" value, the extension can be assumed to be working.
AbuseFilter[editar | editar código]
Filters configuration must be available.
Arrays[editar | editar código]
- Test
- orange, red, yellow, yellow
- Expected
- orange, red, yellow, yellow
CategoryTree[editar | editar código]
A category tree should be shown:
Non existing category
Cite[editar | editar código]
- Test
- Text[1]
- ↑ Test
- Expected
- Text[1]
- Jump up ↑ Test
ConfirmEdit[editar | editar código]
skipcaptcha right should be present here.
LinkTarget[editar | editar código]
Depends on $wgLinkTargetParentClasses = [ 'target-blank' ];
Maps[editar | editar código]
- Test
- 52° 30' 58.57" N, 13° 22' 39.73" E
- Expected
- 52° 30' 58.59" N, 13° 22' 39.73" E
MultimediaViewer[editar | editar código]
Clicking this should pop up a nice lightbox image viewer:
MyVariables[editar | editar código]
- Test
- 216.73.216.79
- Expected
- Your user name
ParserFunctions[editar | editar código]
- Test math functions
- 10
- Expected
- 10
- Test string functions
- 8
- Expected
- 8
Replace Text[editar | editar código]
This should be a valid link: Special:ReplaceText
SemanticForms/PageForms[editar | editar código]
This should be a valid link: Special:Forms
SemanticMediaWiki[editar | editar código]
StopForumSpam[editar | editar código]
stopforumspam right or other sfs-prefixed rights should be present here.
SyntaxHighlight[editar | editar código]
The following must be colorful:
def quick_sort(arr):
less = []
pivot_list = []
more = []
if len(arr) <= 1:
return arr
else:
pass
UserProtect[editar | editar código]
This must open the UserProtect interface.
Variables[editar | editar código]
- WikiCity
- Test
- testing
- Expected
- testing
VisualEditor[editar | editar código]
This should load VisualEditor in edit mode: edit
WikiSEO[editar | editar código]
The page source should contain: <title>Your page title</title>
and:
<meta name="keywords" content="these,are,your,keywords"/> <meta name="description" content="Your meta description"/> <meta name="twitter:description" content="Your meta description"/>