Difference between revisions of "Eagle-rock.org:Extensions test"
WikiWorks753 (talk | contribs) |
(→WikiSEO: update test) |
||
(3 intermediate revisions by 2 users not shown) | |||
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. | ||
+ | |||
+ | == 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> | + | <categorytree mode=pages>Agriculture</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 19: | Line 34: | ||
This should be a valid link: | This should be a valid link: | ||
[[Special:CiteThisPage]] | [[Special:CiteThisPage]] | ||
+ | |||
+ | == Elastica == | ||
+ | Usually, it is a dependency of CirrusSearch. If CirrusSearch test is passed, Elastica works. The extension must be listed on [[Special:Version]]. | ||
== EmbedVideo == | == EmbedVideo == | ||
Line 30: | Line 48: | ||
}} | }} | ||
<embedvideo dimensions="200" service="youtube">https://www.youtube.com/watch?v=DWef69ItVrU</embedvideo> | <embedvideo dimensions="200" service="youtube">https://www.youtube.com/watch?v=DWef69ItVrU</embedvideo> | ||
+ | |||
+ | == 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...}} | ||
== HeaderTabs == | == HeaderTabs == | ||
Line 38: | Line 60: | ||
More content | More content | ||
<headertabs /> | <headertabs /> | ||
+ | |||
+ | == 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 == | == PageForms == | ||
Line 47: | Line 75: | ||
; Expected : 10 | ; Expected : 10 | ||
− | == | + | ; Test string functions: {{#ifeq:{{#expr: 4 + 6}}|10|{{#ifeq:{{#len:Icecream }}|8|{{#len:Icecream }}|disabled}}}} |
− | [[ | + | ; Expected : {{#ifeq:{{#len:Icecream }}|8|8|disabled}} |
+ | |||
+ | == ParserHooks == | ||
+ | No test was invented. The extension must be listed on [[Special:Version]]. | ||
== SemanticMediaWiki == | == SemanticMediaWiki == | ||
Line 54: | Line 85: | ||
; Expected :[[NONEXISTENTPAGE|Test]] | ; Expected :[[NONEXISTENTPAGE|Test]] | ||
: There should be a factbox at the page bottom. | : There should be a factbox at the page bottom. | ||
+ | |||
+ | == Sentry == | ||
+ | No test was invented. The extension must be listed on [[Special:Version]]. | ||
+ | |||
+ | == TimedMediaHandler == | ||
+ | [[File:Xacti-AC8EX-Sample video-001.ogv|File:Xacti-AC8EX-Sample video-001.ogv]] | ||
== VisualEditor == | == VisualEditor == | ||
Line 59: | Line 96: | ||
[{{fullurl:Main Page|veaction=edit}} edit] | [{{fullurl:Main Page|veaction=edit}} edit] | ||
− | == | + | == Widgets == |
− | + | ;Test | |
− | + | :{{ns:Widget}} | |
+ | ;Expected | ||
+ | :Widget | ||
+ | |||
+ | === Widget:Iframe === | ||
+ | {{#widget:Iframe | ||
+ | |url={{fullurl:Main Page}} | ||
+ | }} | ||
− | + | === Widget:Vimeo === | |
− | === 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 | ||
Line 73: | Line 117: | ||
|height=150 | |height=150 | ||
}} | }} | ||
+ | |||
+ | == WikiEditor == | ||
+ | This should load a tabbed WikiEditor: | ||
+ | [{{fullurl:Main Page|action=edit}} edit] | ||
== WikiSEO == | == WikiSEO == | ||
Line 89: | Line 137: | ||
<meta name="keywords" content="these,are,your,keywords"/> | <meta name="keywords" content="these,are,your,keywords"/> | ||
<meta name="description" content="Your meta description"/> | <meta name="description" content="Your meta description"/> | ||
− | |||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 12:55, 18 August 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.
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
Elastica
Usually, it is a dependency of CirrusSearch. If CirrusSearch test is passed, Elastica works. The extension must be listed on Special:Version.
EmbedVideo
Three videos should be below:
Gadgets
- This link must not contain the error message "
eagle-rock.org does not have namespace "2300"
. - You have gadgets!
HeaderTabs
Two tabs should be visible below.
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
- 10
- Expected
- 10
- Test string functions
- disabled
- Expected
- disabled
ParserHooks
No test was invented. The extension must be listed on Special:Version.
SemanticMediaWiki
Sentry
No test was invented. The extension must be listed on Special:Version.
TimedMediaHandler
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"/>