Difference between revisions of "Project:Extension tests"
WikiWorks753 (talk | contribs) (Removes ConfirmAccount section) |
|||
(3 intermediate revisions by the same user 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> | ||
+ | |||
+ | == 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 == | ||
This should be a valid link: | This should be a valid link: | ||
Line 13: | 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 40: | 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 78: | Line 105: | ||
== SubPageList == | == SubPageList == | ||
− | {{# | + | ;Result |
+ | {{#subpagecount: }} | ||
+ | ;Expected | ||
+ | 0 | ||
== UrlGetParameters == | == UrlGetParameters == | ||
− | + | ; Test : {{#urlget:param|}} {{#if:{{#urlget:param|}}||[{{fullurl:{{FULLPAGENAME}}|param=Test}} Click here to test.]}} | |
− | + | ; Expected : Test | |
== Variables == | == Variables == | ||
− | {{#vardefine: | + | ; Test : {{#vardefine:test|testing}}{{#var:test}} |
− | + | ; Expected : testing | |
− | |||
− | ;Expected | ||
− | : | ||
== VisualEditor == | == VisualEditor == |
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"/>