FamilySearch Wiki:Extension tests

From FamilySearch Wiki
Revision as of 07:14, 22 November 2025 by Wikiadmin (talk | contribs) (MFAM-266 update tests for installed extensions)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

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.

Admin Links[edit | edit source]

This should be a valid link: Special:AdminLinks

If you are an admin, you should see links by your personal tools.


AdvancedSearch[edit | edit source]

If #CirrusSearch is enabled, the extension produces the "Advanced Search" form on Special:Search.


Approved Revs[edit | edit source]

This should be a valid link: Special:ApprovedRevs


Arrays[edit | edit source]

Test
orange, red, yellow, yellow
Expected
orange, red, yellow, yellow


BatchUserRights[edit | edit source]

This should be a valid link: Special:BatchUserRights


Bootstrap[edit | edit source]

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


BootstrapComponents[edit | edit source]

Should be an accordion below:

Text inside the panel
Text inside the panel

Headline for Panel3

Text inside the panel
Text inside the panel


Cargo[edit | edit source]

The Special:CargoTables should exist


CategoryTree[edit | edit source]

A category tree should be shown:


CharInsert[edit | edit source]

Test
Á
Expected
Á


CirrusSearch[edit | edit source]

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

To test that the indexer is working, add some custom string to this section that does not currently show up in Special:Search and then confirm that it shows up - this may take a few reloads. We want a string not currently in use so that we can check that new edits get indexed. If it works, revert the addition.


Cite[edit | edit source]

Test
Text[1]
  1. Test
Expected
Text[1]
  1. Jump up Test


CiteThisPage[edit | edit source]

This should be a valid link: Special:CiteThisPage


CodeEditor[edit | edit source]

This should open in the ACE editor interface: edit


CodeMirror[edit | edit source]

  • The "Editing" tab on Special:Preferences should have the "Enable colorblind-friendly mode" checkbox ("Accessibility" section).

NOTE: in 1.35 installations use the following instead (either way remove this note and use only one of the tests)

  • When navigating to editing the main page the codemirror interface should be loaded. Make sure that the option is enabled by running mw.loader.using( [ 'mediawiki.api' ], () => new mw.Api().saveOption( 'usecodemirror', 1 ) ); and then reloading the page.


ContributionScores[edit | edit source]

This should be a valid link: Special:ContributionScores


Data Transfer[edit | edit source]

This should be a valid link: Special:ImportCSV


Description2[edit | edit source]

This should produce "Description2 works!" in the description meta tag of this page head.


DismissableSiteNotice[edit | edit source]

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


DisplayTitle[edit | edit source]

Expected

FamilySearch Wiki:Extension tests

Result

FamilySearch Wiki:Extension tests


Echo[edit | edit source]

This should be a valid link: Special:Notifications


Elastica[edit | edit source]

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


EmailFile[edit | edit source]

This should be a valid link: Special:EmailFile


External Data[edit | edit source]

Test
Europe
Expected
Europe


FsSignin[edit | edit source]

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


Gadgets[edit | edit source]

  • This link must not contain the error message "FamilySearch Wiki does not have namespace "2300".
  • You have gadgets!


GlobalNotice[edit | edit source]

If there is not already a global notice at the top of the page, create one by editing one of the following pages. We want to be as unobtrusive as possible in our testing, so ideally, use an account with bureaucrat rights and test the bureaucrat-only message, but if you don't have access to such an account, use the sysop-only message.

Edit MediaWiki:globalnotice-bureaucrat (or MediaWiki:globalnotice-sysop if not a bureaucrat) and confirm that the resulting content is shown at the top of the page for bureaucrats (or sysops, if that message was edited) but not for users that are not part of those groups.

After finishing the test, be sure to revert your changes - if you just created the page, it can be disabled by blanking it or replacing it with -.


GoogleTranslator[edit | edit source]

The sidebar should include an option to translate the page into different languages.


Header Tabs[edit | edit source]

Two tabs should be visible below.

Content

More content


ImageMap[edit | edit source]

Dr Johnson - Dictionary writerBoswell - BiographerSir Joshua Reynolds - HostDavid Garrick - actorEdmund Burke - statesmanPasqual Paoli - Corsican patriotCharles Burney - music historianThomas Warton - poet laureateOliver Goldsmith - writerprob.The Infant Academy 1782unknown paintingAn unknown portraitservant - poss. Francis BarberUse button to enlarge or use hyperlinksDining room with nine men seated around a table. The dinner has been finished, and a large man at the head talks and gesticulates while the others eagerly listen. The men wear wigs and clothing of late 18th century Britain, and the furniture, hangings, and chandelier are of similar vintage. A liveried servant is entering with a tray bearing two high-shouldered decanters of wine.
Image map example. Clicking on a person in the picture causes the browser to load the appropriate article.


InputBox[edit | edit source]

Test
Expected
An input box


Interwiki[edit | edit source]

This should be a valid link: Special:Interwiki


LabeledSectionTransclusion[edit | edit source]

Test
This is a test.
Expected
This is a test.

NOTE: In this case, the "Section by heading" must be a section in the page that is to be transcluded.

Test

This is a section with a heading

Expected
This is a section with a heading
<section begin=test1 />This is a test.<section end=test1 />
Some text ...

=== Section by heading ===

This is a section with a heading

Lingo[edit | edit source]

Test
Terminology
Expected
Whatever except ⧼Lingo-termeinologypagename⧽

Hovering over the abbreviation below should display a popup with the definition:


Lockdown[edit | edit source]

  • Check the values of the configuration settings $wgNamespacePermissionLockdown, $wgSpecialPageLockdown, and $wgActionLockdown
  • Identify an action that should be allowed by other configuration on the wiki, but prevented by one of these settings
  • Try to perform that action
  • Confirm that an error message is shown about lacking permission


Loops[edit | edit source]

Note
this extension requires that the Variables extension also be installed
Test
123
Expected
1 2 3


MagicNoCache[edit | edit source]

The table cell should be empty:


Maps[edit | edit source]

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


MobileFrontend[edit | edit source]


MultimediaViewer[edit | edit source]

Clicking this should pop up a nice lightbox image viewer or, in case MMV is disabled by default, this should open the file page with the Open in Media Viewer button:

Australian Capital Territory and New South Wales, Australia.jpg


MyVariables[edit | edit source]

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


Nuke[edit | edit source]

This should be a valid link: Special:Nuke


OpenGraphMeta[edit | edit source]

Test

Australian Capital Territory and New South Wales, Australia.jpg

Expected

Australian Capital Territory and New South Wales, Australia.jpg


OpenID Connect[edit | edit source]

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


PDF Handler[edit | edit source]

You should see the content of the uploaded PDF (Overview of FamilySearch JMR2023.pdf):

Succeeded


PageForms[edit | edit source]

This should be a valid link: Special:Forms


Page Importer[edit | edit source]

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


PageImages[edit | edit source]


Parser Function Helper[edit | edit source]

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


ParserFunctions[edit | edit source]

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


Parsoid[edit | edit source]

Used to support the VisualEditor extension. If that extension is working, Parsoid works. The extension must be listed on Special:Version.


PluggableAuth[edit | edit source]

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


Poem[edit | edit source]

Test

Une terre au flanc maigre, âpre, avare, inclément
Où les vivants pensifs travaillent tristement,
Et qui donne à regret à cette race humaine
Un peu de pain pour tant de labeur et de peine ;
Des hommes durs, éclos sur ces sillons ingrats ;
Des cités d’où s’en vont, en se tordant les bras,
La charité, la paix, la foi, sœurs vénérables ;
L’orgueil chez les puissants et chez les misérables ;

Expected
A nicely formatted poem


Renameuser[edit | edit source]

This should be a valid link: Special:RenameUser


Replace Text[edit | edit source]

This should be a valid link: Special:ReplaceText


RevisionSlider[edit | edit source]

Check Browse history Interactively slider interface at the top of Difference between revisions page (history)


RottenLinks[edit | edit source]

This should be a valid link: Special:RottenLinks


SandboxLink[edit | edit source]

Sandbox link should be added on user's personal tools menu (at the top)


Scribunto[edit | edit source]

Module:String (source)[edit | edit source]

Test 
15
Expected 
15

SimpleMathJax[edit | edit source]

Note
this extension does not work with the Math extension installed
Test
[math]\displaystyle{ \int_{(x,y)\in C} x^3\, dx + 4y^2\, dy }[/math]
Expected
∫(x,y)∈Cx3dx+4y2dy (but much better-looking)

And if SMJ added as $wgSmjExtraInlineMath = [ [ 'SMJ(', ')SMJ' ] ]; in LocalSettings.php file:

Test
SMJ(E=mc^2)SMJ
Expected
E=mc^2 (but much better-looking)


SpamBlacklist[edit | edit source]

This should display the spam blacklist log: spamblacklist.


SubPageList[edit | edit source]

Result

1

Expected

An integer matching the number of pages at Special:PrefixIndex/FamilySearch Wiki:Extension tests/


SyntaxHighlight[edit | edit source]

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


TemplateData[edit | edit source]

This link should take you to a page with the Manage TemplateData button (normally below the first heading).


TextExtracts[edit | edit source]

The output should not contain Unrecognized parameter: exchars error:


Thanks[edit | edit source]

Special:Log/thanks exists.


TitleBlacklist[edit | edit source]


TwitterCards[edit | edit source]

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


Upload Wizard[edit | edit source]

UploadWizard is displayed at Special:UploadWizard


UserFunctions[edit | edit source]

Test
You are not logged in
Expected
"You are not logged in" when not logged in, and "You are logged in" when you are


VEForAll[edit | edit source]

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

Note that the actual functioning of this extension is based on it being invoked by other extensions, and so even if it is installed it may not actually be used.


Variables[edit | edit source]

Test
testing
Expected
testing


VisualEditor[edit | edit source]

This should load VisualEditor in edit mode: edit


WhoIsWatching[edit | edit source]

Should show the number of watching users below:

0 watching users


Widgets[edit | edit source]

Test
Widget
Expected
Widget


WikiEditor[edit | edit source]

This should load a tabbed WikiEditor: edit


WikiSEO[edit | edit source]

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.


Wiretap[edit | edit source]

This should be a valid link: Special:Wiretap


YouTube[edit | edit source]


ZionLookAndFeel[edit | edit source]

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