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 08: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:

O valor da Wikipédia na era da IA generativa
Se houvesse um sistema de inteligência artificial generativa que pudesse escrever, por conta própria, todas as informações contidas na Wikipédia, seria igual à Wikipédia que temos hoje?
The pos...
Selena Deckelmann 2024-11-19 10:47:38

SemanticDrilldown

This should be a valid link: Special:BrowseData

Semantic Internal Objects

{{#set_internal:Part of recipe |Has quantity=1 |Has unit=cup |Has ingredient=flour }}

  • Expected: 1
  • Actual:

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"/>