Difference between revisions of "Sun myung moon archive:Extensions test"
Line 11: | Line 11: | ||
: orange, red, yellow, yellow | : orange, red, yellow, yellow | ||
+ | == CategoryTree == | ||
+ | A category tree should be shown: | ||
+ | <categorytree mode=pages>Tests</categorytree> | ||
+ | |||
+ | == Cite == | ||
+ | ; Test | ||
+ | : Text<ref>Test</ref> | ||
+ | <references /> | ||
+ | ; Expected | ||
+ | : Text<sup id="cite_ref-1" class="reference plainlinks">[{{fullurl:{{FULLPAGENAME}}#cite_note-1}} <nowiki>[1]</nowiki>]</sup> | ||
+ | <ol class="references"> | ||
+ | <li id="cite_note-1"><span class="mw-cite-backlink plainlinks">[{{fullurl:{{FULLPAGENAME}}#cite_ref-1}} <span class="cite-accessibility-label">Jump up </span>↑]</span> <span class="reference-text">Test</span> | ||
+ | </li> | ||
+ | </ol> | ||
+ | |||
+ | == CiteThisPage == | ||
+ | This should be a valid link: | ||
+ | [[Special:CiteThisPage]] | ||
+ | |||
+ | |||
+ | == ContactPage == | ||
+ | This should be a valid link: | ||
+ | [[Special:Contact|Contact us]] | ||
+ | |||
+ | == DataTransfer == | ||
+ | This should be a valid link: | ||
+ | [[Special:ImportCSV]] | ||
+ | |||
+ | == Echo == | ||
+ | This should be a valid link: | ||
+ | [[Special:Notifications]] | ||
+ | |||
+ | == ExternalData == | ||
+ | {{#get_web_data:url=https://www.semantic-mediawiki.org/wiki/Special:Ask/-5B-5BGermany-5D-5D/-3FLocated_in/format%3Dcsv/sep%3D, | ||
+ | |format=csv with header | ||
+ | |data=Located in=Located in | ||
+ | }} | ||
+ | ;Test :{{#external_value:Located in}} | ||
+ | ;Expected :Europe | ||
+ | |||
+ | == googleAnalytics == | ||
+ | Check the HTML source of this page. | ||
+ | |||
+ | == ParserFunctions == | ||
+ | ; Test : {{#expr:4+6}} | ||
+ | ; Expected : 10 | ||
+ | |||
+ | == PageSchemas == | ||
+ | This should be a valid link: | ||
+ | [[Special:EditSchema]] | ||
+ | |||
+ | == PageForms == | ||
+ | This should be a valid link: | ||
+ | [[Special:Forms]] | ||
+ | |||
+ | == Rename user == | ||
+ | This should be a valid link: | ||
+ | [[Special:RenameUser]] | ||
+ | |||
+ | == Replace Text == | ||
+ | This should be a valid link: | ||
+ | [[Special:ReplaceText]] | ||
+ | |||
+ | == SemanticDrilldown == | ||
+ | This should be a valid link: | ||
+ | [[Special:BrowseData]] | ||
+ | |||
+ | == SemanticMediaWiki == | ||
+ | ; Test :[[Test::NONEXISTENTPAGE|Test]] __SHOWFACTBOX__ | ||
+ | ; Expected :[[NONEXISTENTPAGE|Test]] | ||
+ | : There should be a factbox at the page bottom. | ||
+ | |||
+ | == 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 | ||
+ | }} | ||
+ | |||
+ | == Scribunto == | ||
+ | === [[Module:String]] === | ||
+ | ; Test : {{#invoke:String|len|This is a test.}} | ||
+ | ; Expected : 15 | ||
+ | |||
+ | == Thanks == | ||
+ | [[Special:Log/thanks]] exists | ||
+ | |||
+ | == VisualEditor == | ||
+ | This should load VisualEditor in edit mode: | ||
+ | [{{fullurl:Main Page|veaction=edit}} edit] | ||
+ | |||
+ | == WikiEditor == | ||
+ | This should load a tabbed WikiEditor: | ||
+ | [{{fullurl:Main Page|action=edit}} edit] | ||
+ | |||
+ | == Widgets == | ||
+ | === Iframe === | ||
+ | {{#widget:Iframe | ||
+ | |url={{fullurl:Main Page}} | ||
+ | }} | ||
+ | |||
+ | == WikiSEO == | ||
+ | {{#seo: | ||
+ | |title=Your page title | ||
+ | |titlemode=append | ||
+ | |keywords=these,are,your,keywords | ||
+ | |description=Your meta description | ||
+ | }} | ||
+ | The page source should contain: | ||
+ | <nowiki><title></nowiki>Your page title<nowiki></title></nowiki> | ||
+ | |||
+ | 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> | ||
+ | |||
+ | === Vimeo === | ||
+ | {{#widget:Vimeo|id=8758454}} | ||
+ | === YouTube === | ||
+ | A YouTube video should be visible: | ||
+ | {{#widget:Youtube | ||
|id=DWef69ItVrU | |id=DWef69ItVrU | ||
|width=200 | |width=200 | ||
|height=150 | |height=150 | ||
}} | }} |
Revision as of 08:21, 15 May 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.
AdminLinks
Arrays
- Test
- orange, red, yellow, yellow
- Expected
- orange, red, yellow, yellow
CategoryTree
A category tree should be shown:
Cite
- Test
- Text[1]
- ↑ Test
- Expected
- Text[1]
- Jump up ↑ Test
CiteThisPage
This should be a valid link: Special:CiteThisPage
ContactPage
This should be a valid link: Contact us
DataTransfer
This should be a valid link: Special:ImportCSV
Echo
This should be a valid link: Special:Notifications
ExternalData
- Test
- Europe
- Expected
- Europe
googleAnalytics
Check the HTML source of this page.
ParserFunctions
- Test
- 10
- Expected
- 10
PageSchemas
This should be a valid link: Special:EditSchema
PageForms
This should be a valid link: Special:Forms
Rename user
This should be a valid link: Special:RenameUser
Replace Text
This should be a valid link: Special:ReplaceText
SemanticDrilldown
This should be a valid link: Special:BrowseData
SemanticMediaWiki
Semantic Internal Objects
{{#set_internal:Part of recipe |Has quantity=1 |Has unit=cup |Has ingredient=flour }}
- Expected: 1
- Actual:
Scribunto
Module:String
- Test
- 15
- Expected
- 15
Thanks
Special:Log/thanks exists
VisualEditor
This should load VisualEditor in edit mode: edit
WikiEditor
This should load a tabbed WikiEditor: edit
Widgets
Iframe
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"/>
Vimeo
YouTube
A YouTube video should be visible: