FamilySearch Wiki:Extension 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.

Admin Links
This should be a valid link: Special:AdminLinks

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

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

Approved Revs
This should be a valid link: Special:ApprovedRevs

Arrays

 * Test


 * Expected
 * orange, red, yellow, yellow

BatchUserRights
This should be a valid link: Special:BatchUserRights

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

BootstrapComponents
Should be an accordion below:

 Text inside the panel Text inside the panel Text inside the panel Text inside the panel 

Cargo
The Special:CargoTables should exist

CategoryTree
A category tree should be shown:

CharInsert

 * Test


 * Expected
 * [# Á]

CirrusSearch
The search results should display "ask" in bold:
 * For semantic wikis
 * [/index.php?search=insource%3A+%23ask%3A&title=Special%3ASearch&profile=all&fulltext=1 Search in the source]

The search results should display "ref" in bold:
 * For Cite enabled wikis
 * [/index.php?search=insource%3A+ref&title=Special%3ASearch&profile=all&fulltext=1 Search in the source]

Cite

 * Test
 * Text

ResourceLoader module should be registered; in the developer console running  should return a string (rather than  ).

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

Gadgets

 * [ This link] must not contain the error message ".

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

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

Header Tabs
Two tabs should be visible below. = Test = Content = Test2 = More content

HeaderFooter
The content of MediaWiki:hf-footer- must be shown as a footer on the current page.

Source of MediaWiki:hf-footer-

InputBox

 * Test
 * Expected
 * An input box

Interwiki
This should be a valid link: Special:Interwiki

LabeledSectionTransclusion

 * Test&#160;:
 * 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&#160;:
 * Expected :This is a section with a heading

Source of /Labeled Section Transclusion This is a test. Some text ...

Section by heading
This is a section with a heading

Lingo
Lingo is a glossary extension. It lets you define a list of abbreviations and their definitions on page and then displays these definitions whenever an abbreviation is hovered over in an article.

Check it below:

USA <- is abbreviations

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

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

Loops

 * Note: this extension requires that the Variables extension also be installed
 * Test&#160;:
 * Expected&#160;: 1 2  3

MagicNoCache
The table cell should be empty:

Maps

 * Variant 1


 * Test&#160;:
 * Expected :52° 30' 58.59" N, 13° 22' 39.73" E


 * Variant 2


 * Test&#160;:
 * Expected :52° 30' 58.59" N, 13° 22' 39.73" E

MobileFrontend

 * [ This link] should open mobile version
 * [ This link] should open desktop version

MultimediaViewer
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  button:
 * Australian Capital Territory and New South Wales, Australia.jpg

MyVariables

 * Test&#160;:
 * Expected&#160;: Your user name or the IP for anonymous users

Nuke
This should be a valid link: Special:Nuke

OpenGraphMeta

 * Test
 * Expected:

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

PDF Handler
You should see the content of the uploaded PDF ([[media:Overview of FamilySearch JMR2023.pdf|Overview of FamilySearch JMR2023.pdf]]):



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

PageForms
This should be a valid link: Special:Forms

PageImages

 * [/api.php?action=query&prop=pageimages&titles= This must not fire a warning about pageimages]
 * [/api.php?action=help&modules=query This should list pageimages property]

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

ParserFunctions

 * Test math functions:
 * Expected&#160;: 10


 * Test string functions:
 * Expected&#160;:

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

Parsoid
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.

Poem

 * 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&#160;;
 * Des hommes durs, éclos sur ces sillons ingrats&#160;;

Des cités d’où s’en vont, en se tordant les bras,
 * La charité, la paix, la foi, sœurs vénérables&#160;;

L’orgueil chez les puissants et chez les misérables&#160;;
 * Expected
 * A nicely formatted poem

Renameuser
This should be a valid link: Special:RenameUser

Replace Text
This should be a valid link: Special:ReplaceText

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

RottenLinks
This should be a valid link: Special:RottenLinks

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

Module:String (source)

 * Test&#160;:
 * Expected&#160;: 15

Semantic Drilldown
This should be a valid link: Special:BrowseData

Semantic Internal Objects

 * Expected: 1
 * Actual:

Semantic Meeting Minutes
Special:FormEdit/Meeting Minutes must be a valid form.

SemanticCompoundQueries
This should produce no error:

SemanticMediaWiki

 * Test&#160;:Test __SHOWFACTBOX__
 * Expected&#160;:Test
 * There should be a factbox at the page bottom.

SemanticResultFormats

 * Test (old wikis)


 * Expected
 * A nice-looking DataTable with a search field

SemanticScribunto
Should be an icon with information popup ->

Source of Module:SemanticScribuntoTest -- Module:SMW local p = {}

-- set with direct return results function p.info( frame )

if not mw.smw then return "mw.smw module not found" end

if frame.args[1] == nil then return "no parameter found" end

local tooltip if frame.args[2] then tooltip = mw.smw.info( frame.args[1], frame.args[2] ) else tooltip = mw.smw.info( frame.args[1] ) end

return tooltip end -- another example, info used inside another function function p.inlineInfo( frame )

local output = 'This is sample output'

-- so some stuff

output = output .. mw.smw.info( 'This is a warning', 'warning' )

-- some more stuff

return output end

return p

SimpleMathJax

 * Note: this extension does not work with the Math extension installed


 * Test
 * $$\int_{(x,y)\in C} x^3\, dx + 4y^2\, dy$$


 * Expected
 * ∫(x,y)∈Cx3dx+4y2dy (but much better-looking)

And if  added as   in LocalSettings.php file:


 * Test
 * SMJ(E=mc^2)SMJ


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

SpamBlacklist
This should display the spam blacklist log: [ spamblacklist].

SubPageList

 * Result

0
 * Expected

SyntaxHighlight
The following must be colorful:
 * Note: this extension make also be referred to as "SyntaxHighlight GeSHi"

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

TextExtracts
The output should not contain  error:
 * [/api.php?action=query&prop=extracts&exchars=175&format=json&titles= Extract]

Thanks
Special:Log/thanks exists.

TitleBlacklist

 * The text should follow:

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

UniversalLanguageSelector
No test was invented. The language selector should appear somewhere and the extension must be listed on Special:Version.

Upload Wizard
UploadWizard is displayed at Special:UploadWizard

UserFunctions

 * Test&#160;:
 * Expected&#160;: It works

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

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

Variables

 * Test&#160;:
 * Expected&#160;: testing

VisualEditor
This should load VisualEditor in edit mode: [ edit]

WhoIsWatching
Should show the number of watching users below:

Widgets

 * Test


 * Expected
 * Widget

WikiEditor
This should load a tabbed WikiEditor: [ edit]

WikiSEO
The page source should contain: Your page title

and:

 

Wiretap
This should be a valid link: Special:Wiretap

YouTube
VyBSS48E4xI