WikiCity:Extension tests

De WikiCity
(Redirigido desde «WikiCity:Extensions tests»)
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.

Abuse Filter[editar | editar código]

This should be a valid link: Special:AbuseFilter

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:

CirrusSearch[editar | editar código]

To test that the extension is loaded, the following link (using the cirrusDumpQuery parameter) should show a JSON object with details of the search:

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]
  1. Test
Expected
Text[1]
  1. Jump up Test

ConfirmEdit[editar | editar código]

skipcaptcha right should be present here.

Elastica[editar | editar código]

Usually, it is a dependency of CirrusSearch. If CirrusSearch test is passed, Elastica works. The extension must be listed on Special:Version.

hCaptcha[editar | editar código]

No test was invented. The extension must be listed on Special:Version.

LinkTarget[editar | editar código]

If $wgLinkTargetParentClasses = [ 'target-blank' ]; is added to LocalSettings.php

Maps[editar | editar código]

Variant 1
Cargando el mapa…
Test
52° 30' 58.57" N, 13° 22' 39.73" E
Expected
52° 30' 58.59" N, 13° 22' 39.73" E
Variant 2
Cargando el mapa…
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: Test 20201117.png

MyVariables[editar | editar código]

Test
18.219.47.239
Expected
Your user name or the IP for anonymous users

Nuke[editar | editar código]

This should be a valid link: Special:Nuke

PageForms[editar | editar código]

This should be a valid link: Special:Forms

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

SemanticMediaWiki[editar | editar código]

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

SemanticResultFormats[editar | editar código]

Test (old wikis)
Expected
A nice-looking DataTable with a search field

Sentry[editar | editar código]

The sentry.init ResourceLoader module should be registered; in the developer console running mw.loader.getState('sentry.init'); should return a string (rather than null).

Note: this only confirms that the extension is available, the actual integration of the logging with Sentry must be tested separately.

SpamBlacklist[editar | editar código]

This should display the spam blacklist log: spamblacklist.

StopForumSpam[editar | editar código]

stopforumspam right or other sfs-prefixed rights should be present here.

SyntaxHighlight[editar | editar código]

Note
this extension make also be referred to as "SyntaxHighlight GeSHi"

The following must be colorful:

def quick_sort(arr):
	less = []
	pivot_list = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass

UserMerge[editar | editar código]

This should be a valid link: Special:UserMerge

UserProtect[editar | editar código]

This must open the UserProtect interface.

Variables[editar | editar código]

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

There should also be a description, with

<meta name="description" content="Your meta description"/>

but the content may be different if another extension (like Description2) is installed and tries to set the description. As long as there is a description set and the page title and keywords match, having a different description should not be considered a failure.