WikiCity:Extensions tests

De WikiCity
Ir a la navegación Ir a la búsqueda
Test_7-28-21
Test_7-28-21


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

Categoría Test no encontrada

Cite[editar | editar código]

Test
Text[1]
  1. Test
Expected
Text[1]
  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' ];

This should open in new tab / window.

Maps[editar | editar código]

Cargando el mapa…
Test
52° 30' 58.61" 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: Test 20201117.png

MyVariables[editar | editar código]

Test
54.158.251.104
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]

Test
Test
Expected
Test
There should be a factbox at the page bottom.

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"/>