Difference between revisions of "Sun myung moon archive:Extensions test"
WikiWorks753 (talk | contribs) |
|||
(42 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
== AdminLinks == | == AdminLinks == | ||
− | + | This should be a valid link: | |
+ | [[Special:AdminLinks]] | ||
+ | |||
+ | If you are an admin, you should see links by your personal tools. | ||
== Arrays == | == Arrays == | ||
Line 10: | Line 13: | ||
; Expected | ; Expected | ||
: orange, red, yellow, yellow | : orange, red, yellow, yellow | ||
+ | |||
+ | == Bootstrap == | ||
+ | This should be a greeny shadowed alert box with white text: | ||
+ | <div class="alert alert-success shadow text-white font-weight-bold"> | ||
+ | I am bootstrapped | ||
+ | </div> | ||
== CategoryTree == | == CategoryTree == | ||
A category tree should be shown: | A category tree should be shown: | ||
<categorytree mode=pages>Tests</categorytree> | <categorytree mode=pages>Tests</categorytree> | ||
+ | |||
+ | == CirrusSearch == | ||
+ | ;For semantic wikis | ||
+ | The search results should display "'''ask'''" in bold: | ||
+ | * [{{SERVER}}{{SCRIPTPATH}}/index.php?search=insource%3A+%23ask%3A&title=Special%3ASearch&profile=all&fulltext=1 Search in the source] | ||
+ | |||
+ | ;For Cite enabled wikis | ||
+ | The search results should display "'''ref'''" in bold: | ||
+ | * [{{SERVER}}{{SCRIPTPATH}}/index.php?search=insource%3A+ref&title=Special%3ASearch&profile=all&fulltext=1 Search in the source] | ||
== Cite == | == Cite == | ||
Line 20: | Line 38: | ||
<references /> | <references /> | ||
; Expected | ; Expected | ||
− | : Text<sup id="cite_ref-1" class="reference plainlinks">[{{fullurl:{{FULLPAGENAME}}#cite_note-1}} | + | : Text<sup id="cite_ref-1" class="reference plainlinks">[{{fullurl:{{FULLPAGENAME}}#cite_note-1}} [1]]</sup> |
<ol class="references"> | <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 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> | ||
Line 30: | Line 48: | ||
[[Special:CiteThisPage]] | [[Special:CiteThisPage]] | ||
+ | == ConfirmEdit == | ||
+ | <code>skipcaptcha</code> right should be present [[Special:ListGroupRights|here]]. | ||
== ContactPage == | == ContactPage == | ||
This should be a valid link: | This should be a valid link: | ||
Line 41: | Line 61: | ||
This should be a valid link: | This should be a valid link: | ||
[[Special:Notifications]] | [[Special:Notifications]] | ||
+ | |||
+ | == Elastica == | ||
+ | Usually, it is a dependency of CirrusSearch. If CirrusSearch test is passed, Elastica works. The extension must be listed on [[Special:Version]]. | ||
== ExternalData == | == ExternalData == | ||
− | {{#get_web_data:url=https://www.semantic-mediawiki.org/wiki/Special:Ask/-5B-5BGermany-5D-5D/- | + | {{#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= | + | |format=csv with header|data=Located in=Located in}} |
− | ;Test :{{#external_value: | + | ;Test :{{#external_value:Located in}} |
− | ;Expected : | + | ;Expected :Europe |
+ | |||
+ | == Gadgets == | ||
+ | * [{{fullurl: Special:AllPages|from=&to=&namespace=2300}} This link] must '''not contain''' the error message "<code>{{SITENAME}} does not have namespace "2300"</code>. | ||
+ | * {{#ifeq: {{NAMESPACENUMBER:Gadget:Something}}|2300|You have gadgets!|No gadgets or something went unusual...}} | ||
== googleAnalytics == | == googleAnalytics == | ||
− | + | The page source head section should contain a link to the script: | |
+ | :<code>//www.google-analytics.com/analytics.js</code> | ||
== HeaderTabs == | == HeaderTabs == | ||
Line 62: | Line 90: | ||
An integer should follow: {{NUMBEROFVIEWS}} | An integer should follow: {{NUMBEROFVIEWS}} | ||
− | == | + | == IFramePage == |
− | + | This should be a valid link: | |
− | + | [[Special:IframePage]] | |
− | + | ||
+ | == Lockdown == | ||
+ | No test was invented. The extension must be listed on [[Special:Version]]. | ||
+ | |||
+ | == MinimalistFarm == | ||
+ | No test was invented. The extension must be listed on [[Special:Version]]. | ||
− | == | + | == PageForms == |
− | + | This should be a valid link: | |
− | + | [[Special:Forms]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[ | ||
− | |||
− | |||
− | |||
== ParserFunctions == | == ParserFunctions == | ||
− | ; Test : {{#expr:4+6}} | + | ; Test math functions: {{#expr: 4 + 6}} |
; Expected : 10 | ; Expected : 10 | ||
+ | |||
+ | ; Test string functions: {{#ifeq:{{#expr: 4 + 6}}|10|{{#ifeq:{{#len:Icecream }} |8|8|disabled}}}} | ||
+ | ; Expected : {{#ifeq:{{#len:Icecream }}|8|8|disabled}} | ||
== PageSchemas == | == PageSchemas == | ||
Line 90: | Line 115: | ||
[[Special:EditSchema]] | [[Special:EditSchema]] | ||
− | == | + | == ParserHooks == |
− | + | No test was invented. The extension must be listed on [[Special:Version]]. | |
− | [[Special: | + | |
+ | == ReCaptchaNoCaptcha == | ||
+ | No test was invented. The extension must be listed on [[Special:Version]]. | ||
− | == | + | == Renameuser == |
This should be a valid link: | This should be a valid link: | ||
[[Special:RenameUser]] | [[Special:RenameUser]] | ||
− | == | + | == ReplaceText == |
This should be a valid link: | This should be a valid link: | ||
[[Special:ReplaceText]] | [[Special:ReplaceText]] | ||
== Scribunto == | == Scribunto == | ||
− | === [[Module:String]] === | + | === [[Module:String]] ([https://en.wikipedia.org/w/index.php?title=Module:String&action=edit source]) === |
; Test : {{#invoke:String|len|This is a test.}} | ; Test : {{#invoke:String|len|This is a test.}} | ||
; Expected : 15 | ; Expected : 15 | ||
+ | |||
+ | == 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. | ||
+ | |||
+ | == Sentry == | ||
+ | No test was invented. The extension must be listed on [[Special:Version]]. | ||
== Thanks == | == Thanks == | ||
− | [[Special:Log/thanks]] exists | + | [[Special:Log/thanks]] exists. |
+ | |||
== VisualEditor == | == VisualEditor == | ||
Line 114: | Line 154: | ||
[{{fullurl:Main Page|veaction=edit}} edit] | [{{fullurl:Main Page|veaction=edit}} edit] | ||
− | == | + | == Widgets == |
− | + | ;Test | |
− | + | :{{ns:Widget}} | |
+ | ;Expected | ||
+ | :Widget | ||
− | + | === Widget:Iframe === | |
− | === Iframe === | ||
{{#widget:Iframe | {{#widget:Iframe | ||
|url={{fullurl:Main Page}} | |url={{fullurl:Main Page}} | ||
}} | }} | ||
− | === Vimeo === | + | |
+ | === Widget:Vimeo === | ||
{{#widget:Vimeo|id=8758454}} | {{#widget:Vimeo|id=8758454}} | ||
− | === YouTube === | + | |
+ | === Widget:YouTube === | ||
A YouTube video should be visible: | A YouTube video should be visible: | ||
− | {{#widget:Youtube | + | {{#widget:Youtube |
|id=DWef69ItVrU | |id=DWef69ItVrU | ||
|width=200 | |width=200 | ||
|height=150 | |height=150 | ||
}} | }} | ||
+ | |||
+ | == WikiEditor == | ||
+ | This should load a tabbed WikiEditor: | ||
+ | [{{fullurl:Main Page|action=edit}} edit] | ||
+ | |||
+ | == WikiSEO == | ||
+ | {{#seo: | ||
+ | |title=Your page title | ||
+ | |titlemode=append | ||
+ | |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"/> | ||
+ | </pre> |
Latest revision as of 13:07, 8 January 2024
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
This should be a valid link: Special:AdminLinks
If you are an admin, you should see links by your personal tools.
Arrays
- Test
- orange, red, yellow, yellow
- Expected
- orange, red, yellow, yellow
Bootstrap
This should be a greeny shadowed alert box with white text:
I am bootstrapped
CategoryTree
A category tree should be shown:
CirrusSearch
- For semantic wikis
The search results should display "ask" in bold:
- For Cite enabled wikis
The search results should display "ref" in bold:
Cite
- Test
- Text[1]
- ↑ Test
- Expected
- Text[1]
- Jump up ↑ Test
CiteThisPage
This should be a valid link: Special:CiteThisPage
ConfirmEdit
skipcaptcha
right should be present here.
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
Elastica
Usually, it is a dependency of CirrusSearch. If CirrusSearch test is passed, Elastica works. The extension must be listed on Special:Version.
ExternalData
- Test
- Europe
- Expected
- Europe
Gadgets
- This link must not contain the error message "
Sun Myung Moon Archive does not have namespace "2300"
. - You have gadgets!
googleAnalytics
The page source head section should contain a link to the script:
//www.google-analytics.com/analytics.js
HeaderTabs
Two tabs should be visible below.
HitCounters
An integer should follow: 4,657,443
IFramePage
This should be a valid link: Special:IframePage
Lockdown
No test was invented. The extension must be listed on Special:Version.
MinimalistFarm
No test was invented. The extension must be listed on Special:Version.
PageForms
This should be a valid link: Special:Forms
ParserFunctions
- Test math functions
- 10
- Expected
- 10
- Test string functions
- 8
- Expected
- 8
PageSchemas
This should be a valid link: Special:EditSchema
ParserHooks
No test was invented. The extension must be listed on Special:Version.
ReCaptchaNoCaptcha
No test was invented. The extension must be listed on Special:Version.
Renameuser
This should be a valid link: Special:RenameUser
ReplaceText
This should be a valid link: Special:ReplaceText
Scribunto
Module:String (source)
- Test
- 15
- Expected
- 15
SemanticDrilldown
This should be a valid link: Special:BrowseData
SemanticMediaWiki
Sentry
No test was invented. The extension must be listed on Special:Version.
Thanks
Special:Log/thanks exists.
VisualEditor
This should load VisualEditor in edit mode: edit
Widgets
- Test
- Widget
- Expected
- Widget
Widget:Iframe
Widget:Vimeo
Widget:YouTube
A YouTube video should be visible:
WikiEditor
This should load a tabbed WikiEditor: edit
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"/>