WikiCity:Extensions 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
CirrusSearch[editar | editar código]
- For semantic wikis
The search results should display "ask" in bold:
- For Cite enabled wikis
The search results should display "ref" in bold:
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
- 3.140.185.147
- 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]
Semantic Result Formats[editar | editar código]
- Test (old wikis)
- Expected
- A timeline with the page point.
SpamBlacklist[editar | editar código]
Once this is added to Mediawiki:Spam-blacklist:
\bexample\.com\b
and removed <pre>
tags below, the page will refuse to save changes:
:[http://example.com example.com]
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:
3def quick_sort(arr):
4 less = []
5 pivot_list = []
6 more = []
7 if len(arr) <= 1:
8 return arr
9 else:
10 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"/>