Difference between revisions of "Project:Extension tests"
WikiWorks753 (talk | contribs) m (1 revision imported) |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | == Bootstrap == |
+ | This should be a greeny shadowed alert box with white text: | ||
+ | <div class="alert bg-success shadow text-white font-weight-bold"> | ||
+ | I am bootstrapped | ||
+ | </div> | ||
− | The should | + | == 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] | ||
== DataTransfer == | == DataTransfer == | ||
Line 18: | Line 24: | ||
== googleAnalytics == | == googleAnalytics == | ||
− | + | The page source head section should contain a link to the script: | |
+ | :<code>//www.google-analytics.com/analytics.js</code> | ||
+ | |||
+ | == GTag == | ||
+ | The page source head section should contain a link to the script: | ||
+ | <code>//www.googletagmanager.com/gtag/js</code> | ||
== InputBox == | == InputBox == | ||
Line 45: | Line 56: | ||
This should be a valid link: | This should be a valid link: | ||
[[Special:EditSchema]] | [[Special:EditSchema]] | ||
+ | |||
+ | == ParserFunctions == | ||
+ | ; Test math functions: {{#expr: 4 + 6}} | ||
+ | ; Expected : 10 | ||
+ | |||
+ | ; Test string functions: {{#len:Icecream }} | ||
+ | ; Expected : 8 | ||
== Rename user == | == Rename user == | ||
This should be a valid link: | This should be a valid link: | ||
[[Special:RenameUser]] | [[Special:RenameUser]] | ||
+ | |||
+ | == Replace Text == | ||
+ | This should be a valid link: | ||
+ | [[Special:ReplaceText]] | ||
== RSS == | == RSS == | ||
Line 81: | Line 103: | ||
; Expected | ; Expected | ||
: A nice-looking DataTable with a search field | : A nice-looking DataTable with a search field | ||
+ | |||
+ | == SubPageList == | ||
+ | ;Result | ||
+ | {{#subpagecount: }} | ||
+ | ;Expected | ||
+ | 0 | ||
+ | |||
+ | == UrlGetParameters == | ||
+ | ; Test : {{#urlget:param|}} {{#if:{{#urlget:param|}}||[{{fullurl:{{FULLPAGENAME}}|param=Test}} Click here to test.]}} | ||
+ | ; Expected : Test | ||
+ | |||
+ | == Variables == | ||
+ | ; Test : {{#vardefine:test|testing}}{{#var:test}} | ||
+ | ; Expected : testing | ||
== VisualEditor == | == VisualEditor == | ||
Line 89: | Line 125: | ||
This should load a tabbed WikiEditor: | This should load a tabbed WikiEditor: | ||
[{{fullurl:Main Page|action=edit}} edit] | [{{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: | ||
+ | <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> |
Revision as of 14:15, November 12, 2021
Bootstrap
This should be a greeny shadowed alert box with white text:
I am bootstrapped
CirrusSearch
- For semantic wikis
The search results should display "ask" in bold:
DataTransfer
This should be a valid link: Special:ImportCSV
DiscussionThreading
Navigate to the Project talk:Extension tests, ensure there is a "Subject" field
ExternalData
- Test
- Europe
- Expected
- Europe
googleAnalytics
The page source head section should contain a link to the script:
//www.google-analytics.com/analytics.js
GTag
The page source head section should contain a link to the script:
//www.googletagmanager.com/gtag/js
InputBox
- Test
- Expected
- An input box
Maps
- Test
- 52° 30' 58.57" N, 13° 22' 39.73" E
- Expected
- 52° 30' 58.59" N, 13° 22' 39.73" E
Nuke
This should be a valid link: Special:Nuke
PageForms
This should be a valid link: Special:Forms
PageSchemas
This should be a valid link: Special:EditSchema
ParserFunctions
- Test math functions
- 10
- Expected
- 10
- Test string functions
- 8
- Expected
- 8
Rename user
This should be a valid link: Special:RenameUser
Replace Text
This should be a valid link: Special:ReplaceText
RSS
One post from the Wikimedia blog feed should be below, with all the "a" characters highlighted:
- “Where time stands still”: The winners of Wiki Loves Monuments 2023
- Out of nearly 200,000 submissions from 4,700 participants in 45+ countries, fifteen winning images were announced today in the fourteenth annual Wiki Loves Monuments photography contest.
The po... - Wikimedia Foundation 2024-03-26 14:27:06
SemanticDrilldown
This should be a valid link: Special:BrowseData
Semantic Internal Objects
- Expected: 1
- Actual: 1
SemanticMediaWiki
Semantic Result Formats
- Test
- Expected
- A nice-looking DataTable with a search field
SubPageList
- Result
0
- Expected
0
UrlGetParameters
- Test
- Click here to test.
- Expected
- Test
Variables
- Test
- testing
- Expected
- testing
VisualEditor
This should load VisualEditor in edit mode: edit
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"/> <meta name="twitter:description" content="Your meta description"/>