FamilySearch Wiki:Extension tests: Difference between revisions

From FamilySearch Wiki
m (→‎Semantic Meeting Minutes: switch test and expected lines)
(→‎TitleBlacklist: MediaWiki:Titleblacklist has an unclosed <pre> tag)
(19 intermediate revisions by the same user not shown)
Line 100: Line 100:


== DismissableSiteNotice ==
== DismissableSiteNotice ==
The <code>ext.dismissableSiteNotice</code> ResourceLoader module should be registered; in the developer console running <code>mw.loader.getState('ext.dismissableSiteNotice');</code> should return a string (rather than <code>null</code>).
This should have a number:
* [[MediaWiki:Sitenotice_id]]


== DisplayTitle==
== DisplayTitle==
Line 118: Line 119:
This should be a valid link:
This should be a valid link:
[[Special:EmailFile]]
[[Special:EmailFile]]
== EmailRegisteredUsers ==
This should be a valid link:
[[Special:EmailRegisteredUsers]]


== External Data ==
== External Data ==
Line 124: Line 129:
;Test&#160;:{{#external_value:Located in}}
;Test&#160;:{{#external_value:Located in}}
;Expected :Europe
;Expected :Europe
== FixedHeaderTable ==
Header of table below should be fixed:
<fixedheadertable fixedcolumns="1">
{| class="wikitable"
! Header 1
! Header 2
|-
| Cell 1
| Cell 2
|-
| Cell 3
| Cell 4
|}
</fixedheadertable>


== FsLookAndFeel ==
== FsLookAndFeel ==
Line 148: Line 169:
More content
More content
<headertabs />
<headertabs />
== HeaderFooter ==
The content of [[MediaWiki:hf-footer-{{FULLPAGENAME}}]] must be shown as a footer on the current page.
<div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;">
<div style="font-weight:bold;line-height:1.6;">
Source of [[MediaWiki:hf-footer-{{FULLPAGENAME}}]]</div>
<div class="mw-collapsible-content">
<syntaxhighlight lang="html">
<div class="card bg-dark text-white">
<div class="card-body font-weight-bold text-center">I am Footer</div>
</div>
</syntaxhighlight>
</div></div>


== ImageMap ==
== ImageMap ==
Line 208: Line 243:
Check it below:
Check it below:


FHL <- is abbreviations
USA <- is abbreviations
 
== LocalisationUpdate ==
No test was invented. The extension must be listed on [[Special:Version]].


== Lockdown ==
== Lockdown ==
Line 284: Line 322:
== MultimediaViewer ==
== 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 <code>Open in Media Viewer</code> button:
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 <code>Open in Media Viewer</code> button:
:[[File:Australian Capital Territory and New South Wales, Australia.jpg|50px]]
:[[File:Errors.png|50px]]


== MyVariables ==
== MyVariables ==
Line 296: Line 334:
== OpenGraphMeta ==
== OpenGraphMeta ==
;Test
;Test
[[File:{{#setmainimage:Australian Capital Territory and New South Wales, Australia.jpg}}|100px]]
[[File:{{#setmainimage:JoshuaReynoldsParty.jpg}}|100px]]
;Expected:
;Expected:
[[File:Australian Capital Territory and New South Wales, Australia.jpg|100px]]
[[File:JoshuaReynoldsParty.jpg|100px]]


== OpenID Connect ==
== OpenID Connect ==
Line 304: Line 342:


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


[[File:Overview of FamilySearch JMR2023.pdf|page=1|200px|Succeeded]]
[[File:Imported_vocabulary.pdf|page=1|200px|Succeeded]]


== Page Importer ==
== Page Importer ==
Line 328: Line 366:
; Test string functions: {{#ifeq:{{#expr: 4 + 6}}|10|{{#ifeq:{{#len:Icecream }}|8|{{#len:Icecream }}|disabled}}}}
; Test string functions: {{#ifeq:{{#expr: 4 + 6}}|10|{{#ifeq:{{#len:Icecream }}|8|{{#len:Icecream }}|disabled}}}}
; Expected&#160;: {{#ifeq:{{#len:Icecream }}|8|8|disabled}}
; Expected&#160;: {{#ifeq:{{#len:Icecream }}|8|8|disabled}}
== ParserHooks ==
No test was invented. The extension must be listed on [[Special:Version]].


== Parsoid ==
== Parsoid ==
Line 376: Line 417:
This should be a valid link:
This should be a valid link:
[[Special:BrowseData]]
[[Special:BrowseData]]
== Semantic Internal Objects ==
{{#set_internal:Part of recipe
|Has quantity=1
|Has unit=cup
|Has ingredient=flour
}}
* Expected: 1
* Actual: {{#ask:[[Part of recipe::+]][[Has ingredient::flour]][[Has unit::cup]][[Has quantity::>.5]]
|mainlabel=-
|? Has quantity=
|link=none
}}


== Semantic Meeting Minutes ==
== Semantic Meeting Minutes ==
;Test: {{#synopsize:
[[Special:FormEdit/Meeting Minutes]] must be a valid form.
Only this line should show, with no lines after it
 
This line should '''not''' show
|9999
|1}}
;Expected: Only this line should show, with no lines after it


== SemanticCompoundQueries ==
== SemanticCompoundQueries ==
Line 473: Line 521:


== SpamBlacklist ==
== SpamBlacklist ==
This should display the spam blacklist log: [{{fullurl:Special:Log|type=spamblacklist}} spamblacklist].
Once this is added to [[Mediawiki:Spam-blacklist]]:
:<code>\bexample\.com\b</code>
this should be blocked:
:[http://example.com example.com]


== SubPageList ==
== SubPageList ==
Line 479: Line 530:
{{#subpagecount: }}
{{#subpagecount: }}
;Expected
;Expected
An integer matching the number of pages at [[Special:PrefixIndex/{{FULLPAGENAME}}/]]
0


== SyntaxHighlight ==
== SyntaxHighlight ==
Line 506: Line 557:


== TitleBlacklist ==
== TitleBlacklist ==
* [{{SERVER}}{{SCRIPTPATH}}/api.php?action=help&modules=titleblacklist This should document the '''titleblacklist''' API]
;The text should follow:
{{int: Titleblacklist}}
 
</pre>


== TwitterCards ==
== TwitterCards ==
No test was invented. The extension must be listed on [[Special:Version]].
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 ==
== Upload Wizard ==
Line 519: Line 576:


== VEForAll ==
== 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]].
No test was invented. The extension must be listed on [[Special:Version]].


Line 539: Line 599:
;Expected
;Expected
:Widget
:Widget
=== Widget:Audio ===
An audio player should be here:
{{#widget:Audio
|url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3
}}
=== Widget:Disqus ===
{{#widget:DISQUS|PUT_YOUR_DISCUS_ID}}
=== Widget:Google Calendar ===
{{#widget:Google Calendar
|id=p2m2av9dhrh4n1ub7jlsc68s7o@group.calendar.google.com
|color=2952A3
|id=usa@holiday.calendar.google.com
|color=B1440E
|title=NYCResistor, US Holidays
}}
=== Widget:Html5media ===
A video should be visible:
{{#widget:Html5media
|url=http://pornel.net/Performance.ogg
|width=200
|height=150
}}
=== Widget:Iframe ===
{{#widget:Iframe
|url={{fullurl:Main Page}}
}}
=== Widget:SoundCloud ===
A SoundCloud embed should be here:
{{#widget:SoundCloud
|id=26963349
}}
=== Widget:Twitter ===
A Twitter feed should be below:
<div style="height:200px; overflow: scroll;">
{{#widget:Twitter timeline|id=TwitterDev}}
</div>
=== Widget:Twitter Search ===
{{#widget:Twitter Search
|query=showslow
|title=ShowSlow
|caption=what people say about ShowSlow
}}
=== Widget:Vimeo ===
{{#widget:Vimeo|id=8758454}}
=== Widget:YouTube ===
A YouTube video should be visible:
{{#widget:Youtube
|id=DWef69ItVrU
|width=200
|height=150
}}


== WikiEditor ==
== WikiEditor ==
Line 553: Line 674:
The page source should contain:
The page source should contain:
<pre>
<pre>
<title>Your page title</title>
<title></nowiki>Your page title<nowiki></title>
</pre>
</pre>


Line 560: Line 681:
<pre>
<pre>
<meta name="keywords" content="these,are,your,keywords"/>
<meta name="keywords" content="these,are,your,keywords"/>
</pre>
There should also be a description, with
<pre>
<meta name="description" content="Your meta description"/>
<meta name="description" content="Your meta description"/>
</pre>
</pre>
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 ==
== Wiretap ==

Revision as of 18:59, 6 August 2023

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]

For semantic wikis

The search results should display "ask" in bold:

For Cite enabled wikis

The search results should display "ref" in bold:

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

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]

This should have a number:

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

EmailRegisteredUsers[edit | edit source]

This should be a valid link: Special:EmailRegisteredUsers

External Data[edit | edit source]

Test 
Europe
Expected
Europe

FixedHeaderTable[edit | edit source]

Header of table below should be fixed:

<fixedheadertable fixedcolumns="1">

Header 1 Header 2
Cell 1 Cell 2
Cell 3 Cell 4

</fixedheadertable>

FsLookAndFeel[edit | edit source]

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

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]

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

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

HeaderFooter[edit | edit source]

The content of MediaWiki:hf-footer-FamilySearch Wiki:Extension tests must be shown as a footer on the current page.

<div class="card bg-dark text-white">
<div class="card-body font-weight-bold text-center">I am Footer</div>
</div>

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]

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

Check it below:

USA <- is abbreviations

LocalisationUpdate[edit | edit source]

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

Lockdown[edit | edit source]

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

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

MasonryMainPage[edit | edit source]

Test
This should be orange
Test2
This should be blue and wider
Test
This should be orange
Test2
This should be blue and wider
Test
This should be orange
Test2
This should be blue and wider
Test
This should be orange

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:

File:Errors.png

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

JoshuaReynoldsParty.jpg

Expected

JoshuaReynoldsParty.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 (Imported_vocabulary.pdf):

Succeeded

Page Importer[edit | edit source]

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

PageForms[edit | edit source]

This should be a valid link: Special:Forms

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

ParserHooks[edit | edit source]

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

Parsoid[edit | edit source]

No test was invented. 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

Semantic Drilldown[edit | edit source]

This should be a valid link: Special:BrowseData

Semantic Internal Objects[edit | edit source]

{{#set_internal:Part of recipe |Has quantity=1 |Has unit=cup |Has ingredient=flour }}

  • Expected: 1
  • Actual:

Semantic Meeting Minutes[edit | edit source]

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

SemanticCompoundQueries[edit | edit source]

This should produce no error:

  • Bironico Parish, Ticino, Switzerland Genealogy (Modification date"Modification date" is a predefined property that corresponds to the date of the last modification of a subject and is provided by Semantic MediaWiki.: 20 December 2024 09:20:50)

SemanticMediaWiki[edit | edit source]

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

SemanticResultFormats[edit | edit source]

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

SemanticScribunto[edit | edit source]

Should be an icon with information popup -> some text

This is sample outputThis is a warning

-- 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[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]

Once this is added to Mediawiki:Spam-blacklist:

\bexample\.com\b

this should be blocked:

example.com

SubPageList[edit | edit source]

Result

1

Expected

0

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]

The text should follow
#This page is a list of regular expressions that will help prevent wiki spam


#technical support spam
.*support_for_.*
.*Hpprintersupp(o|0)rt.*                 
.*supp(o|0)rt helpline.*                 
.*(help[ \.]+desk|phone)[ \.]+number.* 
.*customer care.*                      
.*service (tech|supp(ort)).*            
.*customer service number.*            
.*tech(nical)?[ \.]+support.*          
.*helpservice.*                        
.*1[ \-]\d{3}[ \-]\d{3}[ \-]\d{3}.* 
.*1[ \-\.]?8[0oO]{2}[ \-\.]?\d{3}[ \-\.]?\d{2}[0oO]
.*(dell|hp|brother|canon) printer.* 
.*[I1][ \-~\.]?8[ \-~\.]?[0oO][ \-~\.]?[0oO][ \-~\.]?26[ \-~\.]?9[ \-~\.]?{I1][ \-~\.]?6[ \-~\.]?[0oO][ \-~\.]?8.*
.*\b[I1]844.?46[I1].?2828\b.*
.*[nN]orton [lL]ive [hH]elp.*
.*(helpline|tech|s(ervice|upport)) (tele)?phone number.*
.*(support|contact).?toll.?free.*
.*0.800.098.8727.*
.*gmail support.*
.*quickbooks (customer|helpline|support).*
.*Q\.u\.i\.c\.k\.b.*
.*[Qq]uickbooks.*
.*1800-?213-?2171.*
.*1844-?203-?1044.*
.*1-888-513-5978.*
.*1-8OO-75O-6584.*
.*1-800-750-6584.*
.*Q\*U\*I\*C\*K\*B\*00K\*S.* 
.*supp0rt.*
.*(help desk|support)(.?phone)?.?number.*
.*c[\*\s\.]+u[\*\s\.]+s[\*\s\.]+t[\*\s\.]+o[\*\s\.]+m[\*\s\.]+e[\*\s\.]+r.*
.*s[\*\s\.]+u[\*\s\.]+p[\*\s\.]+p[\*\s\.]+o[\*\s\.]+r[\*\s\.]+t.*
.*n[\*\s\.]+u[\*\s\.]+m[\*\s\.]+b[\*\s\.]+e[\*\s\.]+r.*
.*Sage.*Customer.*
.*!!_USA_.*
.*Quickbo\.oks.*
.*Supp.ort_Pho.ne.*
.*quikbooks.*
.*q\su\si\sc\sk.*
.*online solution.*
.*[Qq]*[-~\*\. ]*u[-~\*\. ]*i[-~\*\. ]*c[-!~\*\. ]*k[-!~\*\. ]*b[-~\*!\. ]*[0oO][-!~\*\. ]*[0Oo][-!~\*\. ]*k[-~\*!\. ]*s.*
.*Windows operating system.*
.*\w[-\.\*\+\^~,`'\!]+\w[-\.\*\+\^~,`'\!]+\w[-\.\*\+\^~,`'\!]+\w[-\.\*\+\^~,`'\!]+.*

TwitterCards[edit | edit source]

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

UniversalLanguageSelector[edit | edit source]

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

Upload Wizard[edit | edit source]

UploadWizard is displayed at Special:UploadWizard

UserFunctions[edit | edit source]

Test 
It works
Expected 
It works

VEForAll[edit | edit source]

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

Validator[edit | edit source]

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

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

Widget:Audio[edit | edit source]

An audio player should be here:

Error in widget Audio: Unable to load template 'wiki:Audio'

Widget:Disqus[edit | edit source]

Error in widget DISQUS: Unable to load template 'wiki:DISQUS'

Widget:Google Calendar[edit | edit source]

Error in widget Google Calendar: Unable to load template 'wiki:Google Calendar'

Widget:Html5media[edit | edit source]

A video should be visible:

Error in widget Html5media: Unable to load template 'wiki:Html5media'

Widget:Iframe[edit | edit source]

Error in widget Iframe: Unable to load template 'wiki:Iframe'

Widget:SoundCloud[edit | edit source]

A SoundCloud embed should be here:

Error in widget SoundCloud: Unable to load template 'wiki:SoundCloud'

Widget:Twitter[edit | edit source]

A Twitter feed should be below:

Error in widget Twitter timeline: Unable to load template 'wiki:Twitter timeline'

Widget:Twitter Search[edit | edit source]

Error in widget Twitter Search: Unable to load template 'wiki:Twitter Search'

Widget:Vimeo[edit | edit source]

Error in widget Vimeo: Unable to load template 'wiki:Vimeo'

Widget:YouTube[edit | edit source]

A YouTube video should be visible:

Error in widget Youtube: Unable to load template 'wiki:Youtube'

WikiEditor[edit | edit source]

This should load a tabbed WikiEditor: edit

WikiSEO[edit | edit source]

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

Wiretap[edit | edit source]

This should be a valid link: Special:Wiretap

YouTube[edit | edit source]