Difference between revisions of "SEBoK:Extension Tests"

From SEBoK
Jump to navigation Jump to search
Line 166: Line 166:
 
{{#seo:
 
{{#seo:
 
|description=Test WikiSEO extension.
 
|description=Test WikiSEO extension.
 +
}}
 +
 +
== SimpleTooltip ==
 +
 +
This should render a simple tooltip link: {{#tip-text: Sample text | Sample tooltip text }}
 +
This should render a simple tooltip icon: {{#tip-info: Sample tooltip text }}
 +
 +
== JavascriptSlideshow ==
 +
<div style="overflow: hidden; max-width: 100%; max-height: 200px; position: relative;">
 +
<slideshow sequence="random" transition="fade" refresh="10000">
 +
<div>[[Image:TestImage1.png|128px]]</div>
 +
<div>[[Image:TestImage1.png|128px]]</div>
 +
<div>[[Image:TestImage1.png|128px]]</div>
 +
</slideshow>
 +
</div>
 +
 +
== LabeledSectionTransclusion ==
 +
 +
The below should render a Test1 section from the [[:User:WikiWorks753]] page
 +
 +
{{#lsth:User:WikiWorks753|Test1}}
 +
 +
== LinkTree ==
 +
 +
The code below renders a linktree from [[:User:WikiWorks753]] page
 +
 +
{{#linktree:User:WikiWorks753}}
 +
 +
== MPDF ==
 +
[{{fullurl:{{FULLPAGENAMEE}}|action=mpdf}} download this page as a PDF file]
 +
 +
== TreeAndMenu ==
 +
 +
{{#tree:
 +
*Item
 +
**[[Sub-item link]]
 +
**Another sub-item
 
}}
 
}}
  
 
[[Category:Tests]]
 
[[Category:Tests]]

Revision as of 14:45, 14 May 2020

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.

AddLinkClasses

Test
systems engineering
Expected
systems engineering

BreadCrumbs

There should be breadcrumbs above.

Cite

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

Cite This Page

Check this link.

Collection

Test here.

CommentStreams

ConfirmEdit

Download (disabled)

<download> File:JoshuaReynoldsParty.jpg </download>

DPL

This page should be listed:


googleAnalytics

Check the HTML source of this page for text matching "GoogleAnalyticsObject".

HTML Tags

The page source should show:

<meta name="description" content="test"/> 

ImageMap (disabled)

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.
About this image

InputBox (disabled)

Math

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

See also: Special:MathStatus

Nuke

Test here.

ParserFunctions

Test
10
Expected
10

Parsoid (disabled)

PdfBook (disabled)

This should create a PDF book

Poem (disabled)

A nicely formatted poem should be below. <poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> 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>

Rename user

This should be a valid link: Special:RenameUser

Replace Text

This should be a valid link: Special:ReplaceText

SEBoKMode

This should say either "live", "draft" or "sandbox": live

SemanticForms/PageForms

This should be a valid link: Special:Forms

Semantic Internal Objects

The factbox below should show a subobject


Semantic Result Formats

Check here for additional formats.

SemanticMediaWiki

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

VisualEditor

This should load VisualEditor in edit mode: edit

Widgets

DISQUS

Error in widget DISQUS: unable to write file /var/www/sebokwiki/mediawiki/extensions/Widgets/compiled_templates/wrt6335fde197a763_34627068

YouTube

A YouTube video should be visible:

Error in widget YouTube: unable to write file /var/www/sebokwiki/mediawiki/extensions/Widgets/compiled_templates/wrt6335fde1991ab9_25366735

WikiEditor

This should load a tabbed WikiEditor: edit

WikiSEO

The source of this page should show

<meta name="description" content="Test WikiSEO extension."/>

SimpleTooltip

This should render a simple tooltip link: Sample text This should render a simple tooltip icon:

JavascriptSlideshow

TestImage1.png
TestImage1.png
TestImage1.png

LabeledSectionTransclusion

The below should render a Test1 section from the User:WikiWorks753 page


Lorem ipsum dolor sit amet !


LinkTree

The code below renders a linktree from User:WikiWorks753 page


MPDF

download this page as a PDF file

TreeAndMenu