IEEE Milestones Wiki:Extension tests

From IEEE Milestones Wiki
I am the header

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 test should be done while using the Chameleon skin; view page with useskin=chameleon

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

I am bootstrapped

ChangeAuthor

This should be a valid link: Special:ChangeAuthor

CirrusSearch

The following link (using the cirrusDumpQuery parameter) should show a JSON object with details of the search:

Cite

Test
Text[1]
  1. Test
Expected
Text[1]
  1. Jump up Test

DiscussionThreading

Navigate to the IEEE Milestones Wiki talk:Extension tests, ensure there is a "Subject" field

Elastica

Usually, it is a dependency of CirrusSearch. If CirrusSearch test is passed, Elastica works. The extension must be listed on Special:Version.

Gadgets

  • This link must not contain the error message "IEEE Milestones Wiki does not have namespace "2300".
  • You have gadgets!

InputBox

Test
Expected
An input box

Interwiki

This should be a valid link: Special:Interwiki

MyVariables

The below should all look reasonable:

Login of current user
3.144.77.71
Login of current user or empty for anonymous users
Real name of current user
Path to wiki logo
Random (v4) UUID
01abd409-f0f9-408f-864d-30744985acda
Language that the user specified in the preferences
en

MyVariables (ETHW) Custom Variables for this site

CURRENTGROUP
LOGGEDIN
DOCKETID
22
NOMINATION
IEEE_Milestones_Wiki:Extension_tests
MILESTONE
IEEE_Milestones_Wiki:Extension_tests
AMAUTHOR
AUTHORNAME
WikiWorks

NoTitle

If IEEE Milestones Wiki:Extension tests does not appear at the top of this page, the extension is working.

Nuke

This should be a valid link: Special:Nuke

PageForms

This should be a valid link: Special:Forms

PageNotice

The content of the Mediawiki:Top-notice-IEEE Milestones Wiki:Extension_tests should appear at the top of this page.

<div class="card bg-dark text-white">
<div class="card-body font-weight-bold text-center">I am the header</div>
</div>

ParserFunctions

Test math functions
10
Expected 
10
Test string functions
8
Expected 
8

Poem

Test

Une terre au flanc maigre, âpre, avare, inclément
Où les vivants pensifs travaillent tristement,
Et qui donne à regret à cette race humaine
Un peu de pain pour tant de labeur et de peine ;
Des hommes durs, éclos sur ces sillons ingrats ;
Des cités d’où s’en vont, en se tordant les bras,
La charité, la paix, la foi, sœurs vénérables ;
L’orgueil chez les puissants et chez les misérables ;

Expected
A nicely formatted poem

Renameuser

This should be a valid link: Special:RenameUser

Replace Text

This should be a valid link: Special:ReplaceText

Semantic Watchlist

No test was invented. The extension must be listed on Special:Version.

SemanticMediaWiki

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

SemanticResultFormats

Test (old wikis)
Expected
A nice-looking DataTable with a search field

Sentry

No test was invented. The extension must be listed on Special:Version.

SubPageList

Result

0

Expected

An integer matching the number of pages at Special:PrefixIndex/IEEE Milestones Wiki:Extension tests/

SyntaxHighlight

Note
this extension make also be referred to as "SyntaxHighlight GeSHi"

The following must be colorful:

def quick_sort(arr):
	less = []
	pivot_list = []
	more = []
	if len(arr) <= 1:
		return arr
	else:
		pass

Widgets

Test
Widget
Expected
Widget

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

There should also be a description, with

<meta name="description" content="Your meta description"/>

but the content may be different if another extension (like Description2) is installed and tries to set the description. As long as there is a description set and the page title and keywords match, having a different description should not be considered a failure.

... more about "Extension tests"
foaf:knowsA person known by this person (indicating some level of reciprocated interaction between the parties).