Difference between revisions of "SEBoK:Extension Tests"

From SEBoK
Jump to navigation Jump to search
 
(14 intermediate revisions by 2 users not shown)
Line 29: Line 29:
 
== CommentStreams ==
 
== CommentStreams ==
 
<comment-streams/>
 
<comment-streams/>
 
== ConfirmEdit ==
 
 
== Download (disabled) ==
 
<download>
 
File:JoshuaReynoldsParty.jpg
 
</download>
 
  
 
== DPL ==
 
== DPL ==
Line 48: Line 41:
 
== HTML Tags ==
 
== HTML Tags ==
 
The page source should show:
 
The page source should show:
<pre><meta name="description" content="test"/> </pre>
+
<pre><meta name="wikitest" content="test" /></pre>
<htmltag tagname="meta" name="description" content="test">This is a test.</htmltag>
+
<htmltag tagname="meta" name="wikitest" content="test">This is a test.</htmltag>
  
== ImageMap (disabled) ==
+
== ImageMap ==
 
<imagemap>
 
<imagemap>
Image:TestImage1.png|center|400px|alt=Dining 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.
+
Image:JoshuaReynoldsParty.jpg|center|400px|alt=Dining 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.
  
 
poly 133 343 124 287 159 224 189 228 195 291 222 311 209 343 209 354 243 362 292 466 250 463 [[wikipedia:Samuel Johnson|Dr Johnson - Dictionary writer]]
 
poly 133 343 124 287 159 224 189 228 195 291 222 311 209 343 209 354 243 362 292 466 250 463 [[wikipedia:Samuel Johnson|Dr Johnson - Dictionary writer]]
Line 76: Line 69:
 
break=no
 
break=no
 
</inputbox>
 
</inputbox>
 +
 +
== JavascriptSlideshow ==
 +
;Test :{{#slideshow:
 +
<div>Tick</div><div>Tock</div>
 +
|id=bar refresh=1000
 +
}}
 +
;Expected :The words: Tick & Tock, alternating.
 +
 +
== LabeledSectionTransclusion ==
 +
;Test :{{#lst:{{FULLPAGENAME}}/Labeled Section Transclusion|test1}}
 +
;Expected :This is a test.
 +
 +
;Test :{{#lsth:{{FULLPAGENAME}}/Labeled Section Transclusion|test2}}
 +
;Expected :
 +
 +
This is also a test.
 +
 +
== LinkTree ==
 +
The code below renders a linktree for this page:
 +
{{#linktree:{{FULLPAGENAME}}}}
  
 
== Math ==
 
== Math ==
Line 84: Line 97:
  
 
See also: [[Special:MathStatus]]
 
See also: [[Special:MathStatus]]
 +
 +
== MPDF ==
 +
[{{fullurl:{{FULLPAGENAMEE}}|action=mpdf}} download this page as a PDF file]
  
 
== Nuke ==
 
== Nuke ==
Line 91: Line 107:
 
; Test : {{#expr:4+6}}
 
; Test : {{#expr:4+6}}
 
; Expected : 10
 
; Expected : 10
 
== Parsoid (disabled) ==
 
 
== PdfBook (disabled) ==
 
[{{fullurl:{{FULLPAGENAME}}|action=pdfbook&format=single}} 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 ==
 
== Rename user ==
Line 141: Line 139:
 
; Expected :[[NONEXISTENTPAGE|Test]]
 
; Expected :[[NONEXISTENTPAGE|Test]]
 
: There should be a factbox at the page bottom.
 
: There should be a factbox at the page bottom.
 +
 +
== 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 }}
 +
 +
== TreeAndMenu ==
 +
An interactive tree is rendered below:
 +
{{#tree:
 +
*Item
 +
**[[Sub-item link]]
 +
**Another sub-item
 +
}}
 +
 +
== UploadWizard ==
 +
 +
UploadWizard is displayed at [[:Special:UploadWizard]] (draft only)
  
 
== VisualEditor ==
 
== VisualEditor ==
Line 166: Line 180:
 
{{#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]]

Latest revision as of 18:56, 7 October 2021

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

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="wikitest" content="test" />

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

InputBox (disabled)

JavascriptSlideshow

Test
Tick
Tock
Expected
The words: Tick & Tock, alternating.

LabeledSectionTransclusion

Test
This is a test.
Expected
This is a test.
Test

This is also a test.

Expected

This is also a test.

LinkTree

The code below renders a linktree for this page:


Math

Test
<math>\int_{(x,y)\in C} x^3\, dx + 4y^2\, dy</math>
Expected
∫(x,y)∈Cx3dx+4y2dy (but much better-looking)

See also: Special:MathStatus

MPDF

download this page as a PDF file

Nuke

Test here.

ParserFunctions

Test
10
Expected
10

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": sandbox

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.

SimpleTooltip

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

TreeAndMenu

An interactive tree is rendered below:

UploadWizard

UploadWizard is displayed at Special:UploadWizard (draft only)

VisualEditor

This should load VisualEditor in edit mode: edit

Widgets

DISQUS

blog comments powered by Disqus

YouTube

A YouTube video should be visible:

WikiEditor

This should load a tabbed WikiEditor: edit

WikiSEO

The source of this page should show

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