Project:Extension tests

From Earth Science Information Partners (ESIP)

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.

Bootstrap

This test should be done while using the Chameleon skin; view page with useskin=chameleon

This should be a greeny shadowed alert box with white text:

I am bootstrapped

CirrusSearch

For semantic wikis

The search results should display "ask" in bold:

DataTransfer

This should be a valid link: Special:ImportCSV

DiscussionThreading

Navigate to the Project talk:Extension tests, ensure there is a "Subject" field

Elastica

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

ExternalData

Test
Europe
Expected
Europe

GoogleDocTag

The google documents should be embedded below (adjust the id if needed):

GTag

The page source head section should contain a link to the script: //www.googletagmanager.com/gtag/js

Note

It will not load if you work under the account with gtag-exempt permission. The permission is to be temporarily disabled to complete the test.

InputBox

Test
Expected
An input box

Maps

Variant 1
Loading map...
Test
52° 30' 58.57" N, 13° 22' 39.73" E
Expected
52° 30' 58.59" N, 13° 22' 39.73" E
Variant 2
Loading map...
Test
52° 30' 58.57" N, 13° 22' 39.73" E
Expected
52° 30' 58.59" N, 13° 22' 39.73" E

Nuke

This should be a valid link: Special:Nuke

OpenIDConnect

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

PageExchange

This should be a valid link: Special:Packages

PageForms

This should be a valid link: Special:Forms

PageSchemas

This should be a valid link: Special:EditSchema

ParserFunctions

Test math functions
10
Expected
10
Test string functions
8
Expected
8

ParserHooks

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

PluggableAuth

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

Realnames

The list of users on Special:ListUsers should include some users' real names.

Renameuser

This should be a valid link: Special:RenameUser

ReplaceText

This should be a valid link: Special:ReplaceText

RSS

One post from the Wikimedia blog feed should be below, with all the "a" characters highlighted:

Ahead of UN General Assembly, Wikipedia nonprofit calls on governments to ensure the future internet is shaped by communities for the public interest
21 September 2024, New York USAAs UN Member States are gathering in New York for the 79th United Nations General Assembly, the Wikimedia Foundation, the nonprofit that hosts Wikipedia and other...
Wikimedia Foundation 2024-09-21 19:30:00

SemanticDrilldown

This should be a valid link: Special:BrowseData

SemanticMediaWiki

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

Semantic Result Formats

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

Sentry

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

SubPageList

Result

0

Expected

0

TextExtracts

The output should not contain Unrecognized parameter: exchars error:

UrlGetParameters

Test
Click here to test.
Expected
Test

Validator

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

Variables

Test
testing
Expected
testing

VEForAll

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

VisualEditor

This should load VisualEditor in edit mode: edit

Widgets

Test
Widget
Expected
Widget

WikiEditor

This should load a tabbed WikiEditor: edit

WikiSEO

The page source should contain:

<title></nowiki>Your page title<nowiki></title>

and:

<meta name="keywords" content="these,are,your,keywords"/>
<meta name="description" content="Your meta description"/>