editor, Administrators
926
edits
(→Semantic Meeting Minutes: update test) |
(regenerate tests) |
||
Line 9: | Line 9: | ||
== AdvancedSearch == | == AdvancedSearch == | ||
If [[#CirrusSearch]] is enabled, the extension produces the "Advanced Search" form on [[Special:Search]]. | If [[#CirrusSearch]] is enabled, the extension produces the "Advanced Search" form on [[Special:Search]]. | ||
== Approved Revs== | == Approved Revs== | ||
Line 33: | Line 33: | ||
:This test should be done while using the Chameleon skin; [{{fullurl:{{FULLPAGENAME}}|useskin=chameleon}} view page with useskin=chameleon] | :This test should be done while using the Chameleon skin; [{{fullurl:{{FULLPAGENAME}}|useskin=chameleon}} view page with useskin=chameleon] | ||
This should be a greeny shadowed alert box with white text: | This should be a greeny shadowed alert box with white text: | ||
<div class="alert | <div class="alert bg-success shadow text-white font-weight-bold"> | ||
I am bootstrapped | I am bootstrapped | ||
</div> | </div> | ||
Line 61: | Line 61: | ||
== CirrusSearch == | == CirrusSearch == | ||
To test that the extension is loaded, the following link (using the <code>cirrusDumpQuery</code> parameter) should show a JSON object with details of the search: | |||
* [{{fullurl:Special:Search|search=Example&cirrusDumpQuery=true}} Example search with cirrusDumpQuery] | |||
* [{{ | |||
To test that the indexer is working, add some custom string to this section that does not currently show up in Special:Search and then confirm that it shows up - this may take a few reloads. We want a string not currently in use so that we can check that new edits get indexed. If it works, revert the addition. | |||
== Cite == | == Cite == | ||
Line 89: | Line 86: | ||
== CodeMirror == | == CodeMirror == | ||
* The "Editing" tab on [[Special:Preferences]] should have the "Enable colorblind-friendly mode" checkbox ("Accessibility" section). | * The "Editing" tab on [[Special:Preferences]] should have the "Enable colorblind-friendly mode" checkbox ("Accessibility" section). | ||
NOTE: in 1.35 installations use the following instead (either way remove this note and use only one of the tests) | |||
* When navigating to [{{fullurl:Main Page|action=submit}} editing the main page] the codemirror interface should be loaded. Make sure that the option is enabled by running <code>mw.loader.using( [ 'mediawiki.api' ], () => new mw.Api().saveOption( 'usecodemirror', 1 ) );</code> and then reloading the page. | |||
== ContributionScores == | == ContributionScores == | ||
Line 140: | Line 141: | ||
== GlobalNotice == | == GlobalNotice == | ||
If there is not already a global notice at the top of the page, create one by editing one of the following pages. We want to be as unobtrusive as possible in our testing, so ideally, use an account with bureaucrat rights and test the bureaucrat-only message, but if you don't have access to such an account, use the sysop-only message. | |||
Edit [[MediaWiki:globalnotice-bureaucrat]] (or [[MediaWiki:globalnotice-sysop]] if not a bureaucrat) and confirm that the resulting content is shown at the top of the page for bureaucrats (or sysops, if that message was edited) but not for users that are not part of those groups. | |||
After finishing the test, be sure to revert your changes - if you just created the page, it can be disabled by blanking it or replacing it with <code>-</code>. | |||
== GoogleTranslator == | == GoogleTranslator == | ||
Line 201: | Line 206: | ||
<section begin=test1 />This is a test.<section end=test1 /> | <section begin=test1 />This is a test.<section end=test1 /> | ||
Some text ... | Some text ... | ||
=== Section by heading === | === Section by heading === | ||
This is a section with a heading | This is a section with a heading | ||
Line 208: | Line 212: | ||
== Lingo == | == Lingo == | ||
;Test | |||
:{{int:Lingo-terminologypagename}} | |||
;Expected | |||
:Whatever except <code>⧼Lingo-termeinologypagename⧽</code> | |||
Hovering over the abbreviation below should display a popup with the definition: | |||
* USA <= adjust to any term defined on [[{{int:Lingo-terminologypagename}}]] | |||
== Lockdown == | == Lockdown == | ||
* Check the values of the configuration settings <code>$wgNamespacePermissionLockdown</code>, <code>$wgSpecialPageLockdown</code>, and <code>$wgActionLockdown</code> | |||
* Identify an action that should be allowed by other configuration on the wiki, but prevented by one of these settings | |||
* Try to perform that action | |||
* Confirm that an error message is shown about lacking permission | |||
== Loops == | == Loops == | ||
Line 288: | Line 297: | ||
== MultimediaViewer == | == 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 <code>Open in Media Viewer</code> button: | 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 <code>Open in Media Viewer</code> button: | ||
:[[File: | :[[File:JoshuaReynoldsParty.jpg|50px]] | ||
== MyVariables == | == MyVariables == | ||
Line 300: | Line 309: | ||
== OpenGraphMeta == | == OpenGraphMeta == | ||
;Test | ;Test | ||
[[File:{{#setmainimage: | [[File:{{#setmainimage:JoshuaReynoldsParty.jpg}}|100px]] | ||
;Expected: | ;Expected: | ||
[[File: | [[File:JoshuaReynoldsParty.jpg|100px]] | ||
== OpenID Connect == | == OpenID Connect == | ||
No test was invented. The extension must be listed on [[Special:Version]]. | No test was invented. The extension must be listed on [[Special:Version]]. | ||
== Page Importer == | == Page Importer == | ||
Line 334: | Line 338: | ||
== Parsoid == | == Parsoid == | ||
Used to support the VisualEditor extension. If that extension is working, Parsoid works. The extension must be listed on [[Special:Version]]. | |||
== PDF Handler == | |||
You should see the content of the uploaded PDF ([[media:ExamplePDF.pdf|ExamplePDF.pdf]]): | |||
[[File:ExamplePDF.pdf|page=1|200px|Succeeded]] | |||
== PluggableAuth == | == PluggableAuth == | ||
Line 373: | Line 382: | ||
== Scribunto == | == Scribunto == | ||
=== [[Module:String]] | === [[Module:String]] === | ||
; Test : {{#invoke:String|len|This is a test.}} | ; Test : {{#invoke:String|len|This is a test.}} | ||
; Expected : 15 | ; Expected : 15 | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;"> | ||
<div style="font-weight:bold;line-height:1.6;"> | <div style="font-weight:bold;line-height:1.6;"> | ||
Source of [[Module: | Source of [[Module:String]]</div> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
<pre> | <pre> | ||
local p = {} | local p = {} | ||
function p.len(frame) | |||
local s = frame.args[1] | |||
function p. | return mw.ustring.len( s ) | ||
end | end | ||
return p | return p | ||
</pre> | </pre> | ||
</div></div> | </div></div> | ||
== SimpleMathJax == | == SimpleMathJax == | ||
Line 475: | Line 415: | ||
; Expected | ; Expected | ||
: E=mc^2 (but much better-looking) | : E=mc^2 (but much better-looking) | ||
== SpamBlacklist == | == SpamBlacklist == | ||
Line 512: | Line 438: | ||
pass | pass | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== TalkRight == | |||
<code>talk</code> right should be present [[Special:ListGroupRights|here]]. | |||
== TemplateData == | == TemplateData == | ||
[{{fullurl:Template:Test|action=edit}} This link should take you to a page with the <code>Manage TemplateData</code> button] (normally below the first heading). | [{{fullurl:Template:Test|action=edit}} This link should take you to a page with the <code>Manage TemplateData</code> button] (normally below the first heading). | ||
== TextExtracts == | == TextExtracts == | ||
Line 536: | Line 462: | ||
== UserFunctions == | == UserFunctions == | ||
; Test : {{#ifanon: | ; Test : {{#ifanon:You are not logged in|You are logged in}} | ||
; Expected : | ; Expected : "You are not logged in" when not logged in, and "You are logged in" when you are | ||
== Variables == | == Variables == | ||
; Test : {{#vardefine:test|testing}}{{#var:test}} | ; Test : {{#vardefine:test|testing}}{{#var:test}} | ||
; Expected : testing | ; Expected : testing | ||
== VEForAll == | |||
The <code>ext.veforall.main</code> ResourceLoader module should be registered; in the developer console running <code>mw.loader.getState('ext.veforall.main');</code> should return a string (rather than <code>null</code>). | |||
Note that the actual functioning of this extension is based on it being invoked by other extensions, and so even if it is installed it may not actually be used. | |||
== VisualEditor == | == VisualEditor == |