SEG Wiki:Extension tests

From SEG Wiki
Jump to navigation Jump to search
ADVERTISEMENT

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.

Abuse Filter

This should be a valid link: Special:AbuseFilter

ArrayFunctions

Test
  • 0: Bar
  • 1: Baz
  • 2: Foo
  • 3: Qux
Expected
  • 0: Bar
  • 1: Baz
  • 2: Foo
  • 3: Qux

Article Feedback

Note: this is for the extension ArticleFeedbackv5

Special:ArticleFeedbackv5 should exist and allow access to the feedback system.

Babel

Test
Babel user information
ar-0 هذا المستخدم ليس لديه معرفة بالعربية (أو يفهمها بصعوبة بالغة).
ru-1 Этот участник владеет русским языком на начальном уровне.
fr-2 Cet utilisateur dispose de connaissances intermédiaires en français.
zh-3 这位用户的中文达到高级水平
es-4 Esta persona tiene un conocimiento casi nativo del español.
yi-5 דער באניצער האט א פראפֿעסיאנעלע ידיעה אין יידיש.
en-N This user has a native understanding of English.
en-N This user has a native understanding of English.
Users by language
Expected
A set of babel userboxes reflecting
  • level 0 understanding of Arabic
  • level 1 understanding of Russian
  • level 2 understanding of French
  • level 3 understanding of Chinese
  • level 4 understanding of Spanish
  • level 5 understanding of Hebrew
  • native understanding of English (from en-N)
  • native understanding of English (from just en)

Cite

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

CLDR

A test could not be created. The extension must be listed on Special:Version.

Clean Changes

ConfirmEdit

skipcaptcha right should be present here.

CookieWarning

The ext.CookieWarning ResourceLoader module should be registered; in the developer console running mw.loader.getState('ext.CookieWarning'); should return a string (rather than null).

Data Transfer

This should be a valid link: Special:ImportCSV

DeleteBatch

This should be a valid link: Special:DeleteBatch

DismissableSiteNotice

The ext.dismissableSiteNotice ResourceLoader module should be registered; in the developer console running mw.loader.getState('ext.dismissableSiteNotice'); should return a string (rather than null).

Echo

This should be a valid link: Special:Notifications

EditAccount

This should be a valid link: Special:EditAccount

EmbedVideo

Two videos should be below:

EventLogging

The ext.eventLogging ResourceLoader module should be registered; in the developer console running mw.loader.getState('ext.eventLogging'); should return a string (rather than null).

Note: this only confirms that the extension is available, the actual integration of the logging with the configured backend must be tested separately.

GoogleTagManager

window.GoogleTagManager should be defined in the console, and if the user is not in a skip group ($wgGoogleTagManagerSkipGroups then there should be a <script> with a source that starts with https://www.googletagmanager.com/gtm.js?id=.

GTag

The page source head section should contain a link to the script: //www.googletagmanager.com/gtag/js

Note

It will not load if you work under the account with gtag-exempt permission. The permission is to be temporarily disabled to complete the test.

InputBox

Test
Expected
An input box

MasonryMainPage

Test
This should be orange
Test2
This should be blue and wider
Test
This should be orange
Test2
This should be blue and wider
Test
This should be orange
Test2
This should be blue and wider
Test
This should be orange

Math

Test
Expected
∫(x,y)∈Cx3dx+4y2dy (but much better-looking)

See also: Special:MathStatus

Moderation

Special:Moderation should exist and allow access to the moderation system.

MultimediaViewer

Clicking this should pop up a nice lightbox image viewer or, in case MMV is disabled by default, this should open the file page with the Open in Media Viewer button:

JoshuaReynoldsParty.jpg

PageForms

This should be a valid link: Special:Forms

ParserFunctions

Test math functions
10
Expected 
10
Test string functions
disabled
Expected 
disabled

QuestyCaptcha

When performed without the skipcaptcha right (see Special:ListGroupRights for who has that right), trying to do something that requires a captcha (for example, creating an account at Special:CreateAccount) should present a captcha in the form of a simple question and a text input for the answer.

SemanticMediaWiki

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

Sentry

The sentry.init ResourceLoader module should be registered; in the developer console running mw.loader.getState('sentry.init'); should return a string (rather than null).

Note: this only confirms that the extension is available, the actual integration of the logging with Sentry must be tested separately.

SimpleMathJax

Note
this extension does not work with the Math extension installed
Test
Expected
∫(x,y)∈Cx3dx+4y2dy (but much better-looking)

And if SMJ added as $wgSmjExtraInlineMath = [ [ 'SMJ(', ')SMJ' ] ]; in LocalSettings.php file:

Test
SMJ(E=mc^2)SMJ
Expected
E=mc^2 (but much better-looking)

TimedMediaHandler

Translate

Special:PageTranslation should exist and allow access to the translation system.

UniversalLanguageSelector

There should be an interface in one of the navigation bars to change the language of the interface.

Upload Wizard

UploadWizard is displayed at Special:UploadWizard

VisualEditor

This should load VisualEditor in edit mode: edit

Widgets

Test
Widget
Expected
Widget

Widget:YouTube

A YouTube video should be visible:

WikiEditor

This should load a tabbed WikiEditor: edit