Wikizilla:Extension tests: Difference between revisions
(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...") |
Titanollante (talk | contribs) mNo edit summary |
||
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 56: | Line 89: | ||
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 160: | ||
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 | |||
== 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 200: | ||
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 == |
Revision as of 00:34, 18 April 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
- Expected
- A poll
CharInsert
CheckUser
This should be a valid link: Special:CheckUser
Cite
- Test
- Text[1]
- ↑ Test
- Expected
- Text[1]
- Jump up ↑ Test
CiteThisPage
This should be a valid link: Special:CiteThisPage
Comments
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
googleAnalytics
Check the HTML source of this page.
ImageMap
InputBox
- Test
- Expected
- An input box
Interwiki
This should be a valid link: Special:Interwiki
Lockdown
MobileDetect
- Test
- MobileDesktop
- Expected
- Either "Desktop" or "Mobile"
MultimediaViewer
Clicking this should pop up a nice lightbox image viewer:
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
- Expected
- A tabbed display
TimedMediaHandler
An embedded roar sound with a Menu:
UserMerge
This should be a valid link: Special:UserMerge
VoteNY
A vote box should be here:
Widgets
Alexa
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"/>