Difference between revisions of "Project:Extension tests"

From Earth Science Information Partners (ESIP)
(Removes ConfirmAccount section)
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>
 +
 
== DataTransfer ==
 
== DataTransfer ==
 
This should be a valid link:
 
This should be a valid link:
Line 40: Line 46:
 
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 ==
Line 81: Line 94:
  
 
== UrlGetParameters ==
 
== UrlGetParameters ==
Should display the fill page name in the preview mode:
+
; Test : {{#urlget:param|}} {{#if:{{#urlget:param|}}||[{{fullurl:{{FULLPAGENAME}}|param=Test}} Click here to test.]}}
* {{#urldecode:{{#urlget: title}}}}
+
; Expected : Test
  
 
== Variables ==
 
== Variables ==
{{#vardefine: i|10}}
+
; Test : {{#vardefine:test|testing}}{{#var:test}}
;Result
+
; Expected : testing
:{{#var:i}}
 
;Expected
 
:10
 
  
 
== VisualEditor ==
 
== VisualEditor ==

Revision as of 09:47, November 12, 2021

Bootstrap

This should be a greeny shadowed alert box with white text:

I am bootstrapped

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

Check the HTML source of this page.

InputBox

Test
Expected
An input box

Maps

Loading map...
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

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

Test
Test
Expected
Test
There should be a factbox at the page bottom.

Semantic Result Formats

Test
Expected
A nice-looking DataTable with a search field

SubPageList

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"/>
... more about "Extension tests"
Has subobject"Has subobject" is a predefined property representing a container construct and is provided by Semantic MediaWiki.