Difference between revisions of "Wikizilla:Extension tests"

From Wikizilla, the kaiju encyclopedia
(Created page with "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 workin...")
 
m (Protected "Wikizilla:Extension tests" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
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.
 
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.
 +
 +
== AJAXPoll ==
 +
; Test
 +
<poll>
 +
Question
 +
Choice 1
 +
Choice 2
 +
Choice 3
 +
Choice 4
 +
</poll>
 +
; Expected
 +
: A poll
 +
 +
== CharInsert ==
 +
; Test
 +
: <charinsert>Á</charinsert>
 +
; Expected
 +
: <span class="plainlinks"> [{{fullurl:{{FULLPAGENAME}}}}# Á]</span>
 +
 +
== CheckUser ==
 +
This should be a valid link:
 +
[[Special:CheckUser]]
  
 
== Cite ==
 
== Cite ==
Line 20: Line 42:
  
 
== ConfirmEdit ==
 
== ConfirmEdit ==
 +
 +
== Disambiguator ==
 +
;Test: __DISAMBIG__
 +
;Expected: (nothing)
 +
 +
== Echo ==
 +
This should be a valid link:
 +
[[Special:Notifications]]
 +
 +
== ElasticSearch ==
 +
findmeelastica - This page should be found by [{{fullurl:Special:Search|search=find%2Alastica&profile=all&fulltext=1}} this search].
  
 
== EmbedVideo ==
 
== EmbedVideo ==
Line 33: Line 66:
  
 
== Gadgets ==
 
== Gadgets ==
 +
 +
== <span class="g-font">Godzilla font</span> ==
 +
<span class="g-font">If this is in Godzilla font, we're good.</span>
  
 
== googleAnalytics ==
 
== googleAnalytics ==
Line 56: Line 92:
 
rect 12 10 702 500 [[wikipedia:The Club (Literary Club)|Use button to enlarge or use hyperlinks]]
 
rect 12 10 702 500 [[wikipedia:The Club (Literary Club)|Use button to enlarge or use hyperlinks]]
 
</imagemap>
 
</imagemap>
 +
 +
== InputBox ==
 +
; Test
 +
<inputbox>
 +
type=create
 +
break=no
 +
</inputbox>
 +
; Expected
 +
: An input box
 +
 +
== Interwiki ==
 +
This should be a valid link:
 +
[[Special:Interwiki]]
  
 
== Lockdown ==
 
== Lockdown ==
 +
 +
== MobileDetect ==
 +
;Test
 +
:<mobileonly>Mobile</mobileonly><nomobile>Desktop</nomobile>
 +
;Expected
 +
: Either "Desktop" or "Mobile"
 +
 +
== MultimediaViewer ==
 +
Clicking this should pop up a nice lightbox image viewer:
 +
[[File:JoshuaReynoldsParty.jpg|50px]]
  
 
== MsUpload ==
 
== MsUpload ==
 
This should have an upload box:
 
This should have an upload box:
 
[{{fullurl:Main Page|action=edit}} edit]
 
[{{fullurl:Main Page|action=edit}} edit]
 +
 +
== Nuke ==
 +
This should be a valid link:
 +
[[Special:Nuke]]
 +
 +
== PageImages ==
 +
[{{fullurl:Main Page|action=info}} check for a "page images" section]
  
 
== ParserFunctions ==
 
== ParserFunctions ==
 
; Test : {{#expr:4+6}}
 
; Test : {{#expr:4+6}}
 
; Expected : 10
 
; Expected : 10
 +
 +
== Poem ==
 +
; Test
 +
: <poem>
 +
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 ;
 +
</poem>
 +
; Expected
 +
: A nicely formatted poem
 +
 +
== Popups ==
 +
A page preview popup should appear on hover:
 +
[[{{int:mainpage}}]]
  
 
== Rename user ==
 
== Rename user ==
Line 78: Line 163:
 
A list of recent changes should be displayed:
 
A list of recent changes should be displayed:
 
{{Special:SimpleChanges/5}}
 
{{Special:SimpleChanges/5}}
 +
 +
== SkinPerPage ==
 +
The Refreshed skin should apply to [[Project:Extension tests/SkinPerPage|this page]].
 +
 +
== Tabs ==
 +
; Test
 +
<tabs>
 +
<tab name="Foo">Lorem ipsum dolor sit amet.</tab>
 +
<tab name="Bar">consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</tab>
 +
<tab name="Baz">sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</tab>
 +
</tabs>
 +
; Expected: A tabbed display
 +
 +
== TemplateStyles ==
 +
<!-- Create a page called Project:Extension tests/TemplateStyles.css with content:
 +
.templatestyles {
 +
  color: red;
 +
}
 +
and then change its content model at Special:ChangeContentModel to "Sanitized CSS"-->
 +
<templatestyles src="Project:Extension tests/TemplateStyles.css" />
 +
;Test
 +
:<span class="templatestyles">red text</span>
 +
;Expected
 +
:<span style="color:red;">red text</span>
 +
 +
== TimedMediaHandler ==
 +
An embedded roar sound with a Menu:
 +
[[File:Muto Roar.ogg]]
  
 
== UserMerge ==
 
== UserMerge ==
 
This should be a valid link:
 
This should be a valid link:
 
[[Special:UserMerge]]
 
[[Special:UserMerge]]
 +
 +
== VoteNY ==
 +
A vote box should be here:
 +
<vote />
  
 
== Widgets ==
 
== Widgets ==
Line 98: Line 215:
 
This should load a tabbed WikiEditor:
 
This should load a tabbed WikiEditor:
 
[{{fullurl:Main Page|action=edit}} edit]
 
[{{fullurl:Main Page|action=edit}} edit]
 +
 +
== WikiForum ==
 +
This should be a valid link:
 +
[[Special:WikiForum]]
 +
 +
== WikiSEO ==
 +
{{#seo:
 +
|title=Your page title
 +
|keywords=these,are,your,keywords
 +
|description=Your meta description
 +
}}
 +
The page source should contain:
 +
<pre>
 +
<title>Your page title</title>
 +
</pre>
 +
 +
and:
 +
 +
<pre>
 +
<meta name="keywords" content="these,are,your,keywords"/>
 +
<meta name="description" content="Your meta description"/>
 +
<meta name="twitter:description" content="Your meta description"/>
 +
</pre>
  
 
== YouTube ==
 
== YouTube ==

Latest revision as of 19:40, 12 June 2019

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.

AJAXPoll

Test
Question
Vote below.
1
1
0
0
2 votes since its creation on 00:34, 18 April 2019.
poll-id 99682D26EB606BA0DAF4C95522104E0F

Expected
A poll

CharInsert

Test
Á
Expected
Á

CheckUser

This should be a valid link: Special:CheckUser

Cite

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

CiteThisPage

This should be a valid link: Special:CiteThisPage

Comments

You are not allowed to post comments.


avatar

WikiTeq

11 months ago
Score 0
test comment

ConfirmEdit

Disambiguator

Test
Expected
(nothing)

Echo

This should be a valid link: Special:Notifications

ElasticSearch

findmeelastica - This page should be found by this search.

EmbedVideo

Three videos should be below:

Gadgets

Godzilla font

If this is in Godzilla font, we're good.

googleAnalytics

Check the HTML source of this page.

ImageMap

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

Test
Expected
An input box

Interwiki

This should be a valid link: Special:Interwiki

Lockdown

MobileDetect

Test
Mobile
Desktop
Expected
Either "Desktop" or "Mobile"

MultimediaViewer

Clicking this should pop up a nice lightbox image viewer: JoshuaReynoldsParty.jpg

MsUpload

This should have an upload box: edit

Nuke

This should be a valid link: Special:Nuke

PageImages

check for a "page images" section

ParserFunctions

Test 
10
Expected 
10

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 ;
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

Popups

A page preview popup should appear on hover: Main Page

Rename user

This should be a valid link: Special:RenameUser

Replace Text

This should be a valid link: Special:ReplaceText

SimpleChanges

A list of recent changes should be displayed:

SkinPerPage

The Refreshed skin should apply to this page.

Tabs

Test
Lorem ipsum dolor sit amet.
consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Expected
A tabbed display

TemplateStyles

Test
red text
Expected
red text

TimedMediaHandler

An embedded roar sound with a Menu:

UserMerge

This should be a valid link: Special:UserMerge

VoteNY

A vote box should be here:

1

Widgets

Alexa

Facebook

Facebook Like Box

YouTube

A YouTube video should be visible:

WikiEditor

This should load a tabbed WikiEditor: edit

WikiForum

This should be a valid link: Special:WikiForum

WikiSEO

The page source should contain:

<title>Your page title</title>

and:

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

YouTube