Test plan: Difference between revisions

From USApedia
(Created page with "The '''Test plan''' will document generic tests that should be run against Powerpedia after an upgrade. This page should not include any sensitive network or architecture elements. ==Data== Ensure no data was lost by updating Saintapedia:Statistics just before backup and after the upgrade from Special:Statistics. This can be done by the manually or by running the Statistics script. Once done, the statistics should be compared....")
 
No edit summary
Line 1: Line 1:
The '''Test plan''' will document generic tests that should be run against [[Powerpedia]] after an upgrade.  This page should not include any sensitive network or architecture elements.  
The '''Test plan''' will document generic tests that should be run against [[Powerpedia|Saintapedia]] after an upgrade.  This page should not include any sensitive network or architecture elements.  


==Data==
==Data==
Line 115: Line 115:
* Description - [[Who is watching|WhoIsWatching]] Provides a listing of usernames watching a wiki page
* Description - [[Who is watching|WhoIsWatching]] Provides a listing of usernames watching a wiki page


* Test - Check if [[Special:WhoIsWatching/Portal:Welcome to Powerpedia]] shows a list of users watching the page  
* Test - Check if [[Special:WhoIsWatching/Portal:Welcome to Powerpedia|Special:WhoIsWatching/Portal:Welcome to Saintapedia]] shows a list of users watching the page  


=== VisualEditor ===
=== VisualEditor ===
Line 121: Line 121:
{{Main|Visual editor}}
{{Main|Visual editor}}


* Description - Visual editor for MediaWiki. See also [[Powerpedia:Test_plan#Visual_editor]] below.
* Description - Visual editor for MediaWiki. See also [[Powerpedia:Test_plan#Visual_editor|Saintapedia:Test_plan#Visual_editor]] below.


* Test 1 - Using [[Help:Visual editor]], verify that all menu items work, including:
* Test 1 - Using [[Help:Visual editor]], verify that all menu items work, including:
Line 161: Line 161:
|[[Powerpedia:Main namespace|Main]]
|[[Powerpedia:Main namespace|Main]]


|[[Powerpedia upgrade (June 2019)]]
|[[Powerpedia upgrade (June 2019)|Saintapedia upgrade (June 2019)]]


|[[Help:Using talk pages|Talk]]
|[[Help:Using talk pages|Talk]]
Line 179: Line 179:
|-
|-


|[[Powerpedia:Powerpedia namespace|Powerpedia]]
|[[Powerpedia:Powerpedia namespace|Saintapedia]]


|[[Powerpedia:Historic content]]
|[[Powerpedia:Historic content|Saintapedia:Historic content]]


|Powerpedia talk
|Saintapedia talk


|[[Powerpedia talk:Red link]]
|[[Powerpedia talk:Red link|Saintapedia talk:Red link]]


|-
|-
Line 279: Line 279:
* Description - {{Mw|article=Extension:AdaptiveThumb}} extension allows you to show thumbnails of images that scale with the browser window.
* Description - {{Mw|article=Extension:AdaptiveThumb}} extension allows you to show thumbnails of images that scale with the browser window.


* Test - Ensure scaled images appear at [[Shahram Ghasemian]] and [[Powerpedia upgrade (June 2019)#Scaling images]]
* Test - Ensure scaled images appear at [[Shahram Ghasemian]] and [[Powerpedia upgrade (June 2019)#Scaling images|Saintapedia upgrade (June 2019)#Scaling images]]


=== CategoryTree ===
=== CategoryTree ===
Line 299: Line 299:
* Description - [[Dynamic Page List]] outputs a bulleted list of the most recent items residing in a category, or an intersection of several categories
* Description - [[Dynamic Page List]] outputs a bulleted list of the most recent items residing in a category, or an intersection of several categories


* Test - Check if the list of [[:Category:Powerpedia Ambassadors|Powerpedia Ambassadors]] appears below (limited to 15 people).
* Test - Check if the list of [[:Category:Powerpedia Ambassadors|Saintapedia Ambassadors]] appears below (limited to 15 people).


{{div col | colwidth=300px}}
{{div col | colwidth=300px}}
Line 305: Line 305:
<DynamicPageList>
<DynamicPageList>


   category=Powerpedia Ambassadors
   category=Saintapedia Ambassadors


   ordermethod=sortkey
   ordermethod=sortkey
Line 345: Line 345:
* Description - [[Labeled Section Transclusion]] adds <code>#lst</code> and <code>#lstx</code> functions and <code><nowiki><section></nowiki></code> tag, enables marked sections of text to be transcluded
* Description - [[Labeled Section Transclusion]] adds <code>#lst</code> and <code>#lstx</code> functions and <code><nowiki><section></nowiki></code> tag, enables marked sections of text to be transcluded


* Test - See if the [[Lead section]] of [[Powerpedia]] appears below.  
* Test - See if the [[Lead section]] of [[Powerpedia|Saintapedia]] appears below.  


{{#lsth:Department of Energy}}
{{#lsth:Department of Energy}}
Line 575: Line 575:
* Description - Provides per page view statistics
* Description - Provides per page view statistics


* Test - At the bottom of each page there should be a statement "This page has been accessed x times," such as at the [[Portal:Welcome to Powerpedia#References|bottom of Portal:Welcome to Powerpedia]].
* Test - At the bottom of each page there should be a statement "This page has been accessed x times," such as at the [[Portal:Welcome to Powerpedia#References|bottom of Portal:Welcome to Saintapedia]].


** Bonus test - Is it updated daily (for more viewed pages)  
** Bonus test - Is it updated daily (for more viewed pages)  
Line 657: Line 657:
** Look for similar pages ([[Help:Search#Morelike|Morelike]]), have text in the page title ([[Help:Search#intitle|intitle]]), or [[Help:Search#subpageof|search subpages]] (recommended mainly for [[Help:Portals|Portals]])
** Look for similar pages ([[Help:Search#Morelike|Morelike]]), have text in the page title ([[Help:Search#intitle|intitle]]), or [[Help:Search#subpageof|search subpages]] (recommended mainly for [[Help:Portals|Portals]])


*** Examples - <code>morelike:Electric vehicle</code>, <code>morelike:Electric vehicle|Office of Energy Efficiency and Renewable Energy</code>, <code>subpageof:"Training (Powerpedia)"</code>, and <code>portal:subpageof:"2016 Transition"</code>
*** Examples - <code>morelike:Electric vehicle</code>, <code>morelike:Electric vehicle|Office of Energy Efficiency and Renewable Energy</code>, <code>subpageof:"Training (Saintapedia)"</code>, and <code>portal:subpageof:"2016 Transition"</code>


** Search the uploaded files by size ([[Help:Search#filesize|filesize]]), type ([[Help:Search#filetype|filetype]]), file format ([[Help:Search#filemime|filemime]]), or other measurements ([[Help:Search#File measures|File measures]] )
** Search the uploaded files by size ([[Help:Search#filesize|filesize]]), type ([[Help:Search#filetype|filetype]]), file format ([[Help:Search#filemime|filemime]]), or other measurements ([[Help:Search#File measures|File measures]] )
Line 693: Line 693:
* Description - Inserts Google Universal Analytics (and/or other web analytics) scripts into MediaWiki pages for tracking
* Description - Inserts Google Universal Analytics (and/or other web analytics) scripts into MediaWiki pages for tracking


* Test - Login to [[Google Analytics]] and check if data is being fed to it from Powerpedia
* Test - Login to [[Google Analytics]] and check if data is being fed to it from Saintapedia


=== MobileFrontend ===
=== MobileFrontend ===
Line 703: Line 703:
* Test
* Test


** On a desktop, go to the bottom of any Powerpedia page  
** On a desktop, go to the bottom of any Saintapedia page


** See if there is a link to "Mobile view"  
** See if there is a link to "Mobile view"  
Line 725: Line 725:
* Test - Click on a page with a large image.  Examples:
* Test - Click on a page with a large image.  Examples:


** [[Help:Editing Powerpedia#Editing sections]] - [[Help:Editing Powerpedia#/media/File:Enhanced editor advanced tab.png]]
** [[Help:Editing Powerpedia#Editing sections|Help:Editing Saintapedia#Editing sections]] - [[Help:Editing Powerpedia#/media/File:Enhanced editor advanced tab.png|Help:Editing Saintapedia#/media/File:Enhanced editor advanced tab.png]]


** [[Help:Maps#Map editor]] - [[Help:Maps#/media/File:Map Editor Screenshot.png]]
** [[Help:Maps#Map editor]] - [[Help:Maps#/media/File:Map Editor Screenshot.png]]
Line 793: Line 793:
*The post login page should have the items below, which is configured in the LocalSettings file
*The post login page should have the items below, which is configured in the LocalSettings file


**'''You are now logged in to Powerpedia as "Username".'''
**'''You are now logged in to Saintapedia as "Username".'''


**The list of what not to post from [[What not to post on Powerpedia]]
**The list of what not to post from [[What not to post on Powerpedia|What not to post on Saintapedia]]


*Compare the list of extension on [[Special:Version]] before the upgrade and confirm that they are there after the upgrade (This page's [[Powerpedia:Test plan#Installed extensions|inventory of extensions]] could also be helpful)
*Compare the list of extension on [[Special:Version]] before the upgrade and confirm that they are there after the upgrade (This page's [[Powerpedia:Test plan#Installed extensions|inventory of extensions]] could also be helpful)
Line 811: Line 811:
**Change your [[preferences]]
**Change your [[preferences]]


**Access Powerpedia on a mobile device and that it is using the [[Mobile Front End]]
**Access Saintapedia on a mobile device and that it is using the [[Mobile Front End]]


**[[Create an account]]
**[[Create an account]]
Line 817: Line 817:
**[[Reset password]]
**[[Reset password]]


*Ensure you cannot change your password to your personal email address (only accept allowed domains [[Who can Create A Powerpedia Account|can create a Powerpedia account]])
*Ensure you cannot change your password to your personal email address (only accept allowed domains [[Who can Create A Powerpedia Account|can create a Saintapedia account]])


*Check if HTTPs (SSL) is enabled
*Check if HTTPs (SSL) is enabled


*Ensure [[Powerpedia:bots]] are working
*Ensure [[Powerpedia:bots|Saintapedia:bots]] are working


*For [[Watchlist|Watchlists]], check if:
*For [[Watchlist|Watchlists]], check if:
Line 829: Line 829:
**[[Help:Watchlist#Getting notifications|Email notifications]] work
**[[Help:Watchlist#Getting notifications|Email notifications]] work


*Ensure the default main page is [[Portal:Welcome to Powerpedia]], not the generic "Mainpage" by clicking the logo.  The function is set at [[MediaWiki:Mainpage]]
*Ensure the default main page is [[Portal:Welcome to Powerpedia|Portal:Welcome to Saintapedia]], not the generic "Mainpage" by clicking the logo.  The function is set at [[MediaWiki:Mainpage]]


==Look and feel==
==Look and feel==
Line 869: Line 869:
** Contact [[Tom O'Neill]] if you would like a copy of the [https://usdoe-my.sharepoint.com/:f:/r/personal/thomas_oneill_hq_doe_gov/Documents/Powerpedia/Upload%20test%20files?csf=1&e=auuqcg upload test files] (currently restricted to by invite by invite only to [[EITS]] supported customer)
** Contact [[Tom O'Neill]] if you would like a copy of the [https://usdoe-my.sharepoint.com/:f:/r/personal/thomas_oneill_hq_doe_gov/Documents/Powerpedia/Upload%20test%20files?csf=1&e=auuqcg upload test files] (currently restricted to by invite by invite only to [[EITS]] supported customer)


** Note - Some original format office documents [.doc, .xls, etc.] cannot be uploaded due to a S/MIME error.  They should be able to be opened if they are already in Powerpedia.  An easy work around is to convert the file to the newer file format (docx, pptx, xlsx, etc.).
** Note - Some original format office documents [.doc, .xls, etc.] cannot be uploaded due to a S/MIME error.  They should be able to be opened if they are already in Saintapedia.  An easy work around is to convert the file to the newer file format (docx, pptx, xlsx, etc.).


== Multimedia appearance ==
== Multimedia appearance ==
Line 935: Line 935:
==Bots==
==Bots==


Make sure the [[PowerPedia:Bots]] are still working after the upgrade. Suggest manually running one or more of the existing bot scripts from the bot server to ensure things still operate as expected.  See the bots running below.
Make sure the [[PowerPedia:Bots|Saintapedia:Bots]] are still working after the upgrade. Suggest manually running one or more of the existing bot scripts from the bot server to ensure things still operate as expected.  See the bots running below.


*[[Help:Top contributor script|Top editors]]
*[[Help:Top contributor script|Top editors]]
Line 953: Line 953:
*Do portals display correctly?
*Do portals display correctly?


**Test [[Portal:Welcome to Powerpedia]] and [[Portal:Occupational medicine]]
**Test [[Portal:Welcome to Powerpedia|Portal:Welcome to Saintapedia]] and [[Portal:Occupational medicine]]


*Are they hiding their [[Help:Table of contents|Table of contents]]?
*Are they hiding their [[Help:Table of contents|Table of contents]]?

Revision as of 15:48, 27 August 2024

The Test plan will document generic tests that should be run against Saintapedia after an upgrade. This page should not include any sensitive network or architecture elements.

Data

Ensure no data was lost by updating Saintapedia:Statistics just before backup and after the upgrade from Special:Statistics. This can be done by the manually or by running the Statistics script. Once done, the statistics should be compared.

  • Pages (Articles)
  • Jobs
  • Registered Users
  • Administrators
  • Page Edits
  • Active Users
  • Files Uploaded
  • Total Pages
  • Page views

Installed extensions

This list was created from Special:Version in July 2021.

CiteThisPage

Contribution Scores

  • Test - See if the top 10 contributors since the beginning of wiki are displayed below.

All time (Top 10)

Echo

  • Description - System for notifying users about events and messages
  • Test - With another account, see if you can:
    • Mention someone using the {{@}} template on a talk page
    • Undo a change

Interwiki

ListDuplicateUsers

  • The ListDuplicateUsersMediawiki logo.svg extension creates a special page that lists duplicate user accounts, which are determined by email address.

LookupUser

  • Description - Special:LookupUser allows you to retrieve information about a user such as email address and ID

PageTriage

  • Test
    • Can appropriate editors add categories/curate?

Renameuser

  • Description - Adds a Special:RenameUser special page to rename a user (need renameuser right)
  • Test - Using an account with the correct rights, rename a user account (check Special:Log/renameuser afterwards)

Replace Text

  • Extension:Replace TextMediawiki logo.svg provides a special page to allow administrators to do a global string find-and-replace on all the content pages of a wiki

UserExport

  • Description - The UserExportMediawiki logo.svg extension allows to export the user name and email of all MediaWiki users to a CSV-file via a new special page called "Special:UserExport".
  • Test
    • Click on "Export" button
    • Verify the data contains the user data (user name, real name, user email, and registration date) of all users in CVS format

UserMerge

  • Description - Special:UserMerge Merges references from one user to another user in the wiki database - will also delete old users following merge. Requires usermerge privileges
  • Test - After other testing is done with test account, attempt to merge it into a primary account

WhoIsWatching

  • Description - WhoIsWatching Provides a listing of usernames watching a wiki page

VisualEditor

Namespace Example Talk page Example
Main Saintapedia upgrade (June 2019) Talk Talk:2011
User User:Tullisc User talk User talk:Fgordonwinter
Saintapedia Saintapedia:Historic content Saintapedia talk Saintapedia talk:Red link
File File:Cabinet Memo on Political Activities and Procedures FINAL.pdf File talk File talk:List of Telework Coordinators.pdf
MediaWiki Not enabled MediaWiki talk MediaWiki talk:Anonnotice
Template No enabled Template talk Template talk:Video table
Help Help:Images Help talk Help talk:Files
Category Category:E-mails Category talk Category talk:Biography
Portal Portal:Secretarial Memoranda Portal talk Portal talk:Chemical element
Book No enabled Book talk Book talk:2016 Transition Books
Module No enabled Module talk Module talk:Bananas

WikiEditor

  • Description - Provides an extendable wikitext editing interface and many feature-providing modules

AdaptiveThumb

  • Description - Extension:AdaptiveThumbMediawiki logo.svg extension allows you to show thumbnails of images that scale with the browser window.

CategoryTree

  • Test - See if the Category tree appears below.

Cite

  • Description - Adds <ref[ name=id]> and <references/> tags, for citations
  • Test - Ensure that the reference is working[1]

DynamicPageList

  • Description - Dynamic Page List outputs a bulleted list of the most recent items residing in a category, or an intersection of several categories

<DynamicPageList>

 category=Saintapedia Ambassadors
 ordermethod=sortkey
 order=ascending
 count=15

</DynamicPageList>

EmbedVideo

  • Description - Adds a parser function embedding video from popular sources.
  • Test - See if the video is playable below.

{{#evt:service=youtube|id=https://www.youtube.com/watch?v=TdBAHexVYzc%7Calignment=left%7Cdimensions=400%7Cdescription=We Can Now Edit Our DNA. But Let's Do it Wisely - Co-inventor Jennifer Doudna - TED Talks}}

iDisplay

  • Description - iDisplay display sites in an iFrame, you may block them with a intersite

ImageMap

  • Description - Image Map allows client-side clickable image maps using <imagemap>tag
  • Test - Confirm that you clicking on portions of the map below will take you to the appropriate state.
Map of United States. Each state is a clickable link.
WashingtonOregonNevadaCaliforniaCaliforniaIdahoIdahoArizonaMontanaColoradoNew MexicoNorth DakotaSouth DakotaNebraskaNebraskaKansasOklahomaOklahomaTexasTexasTexasMinnesotaIowaMissouriMissouriArkansasUtahWyomingLouisianaWisconsinIllinoisMichiganIndianaKentuckyTennesseeMississippiAlabamaOhioWest VirginiaFloridaGeorgiaSouth CarolinaNorth CarolinaVirginiaMarylandDelawarePennsylvaniaNew JerseyNew YorkNew YorkConnecticutRhode IslandMassachuettesVermontNew HampshireMaineHawaiiAlaskaWest VirginiaWashington, D.C.MarylandDelawareNew JerseyConnecticutRhode IslandMassachusettsVermontNew HampshireMap of USA with state names.png
About this image

AL - AK - AS - AZ - AR - CA - CO - CT - DE - DC - FL - GA - GU - HI - ID - IL - IN - IA - KS - KY -
LA - ME - MD - MA - MI - MN - MS - MO - MT - NE - NV - NH - NJ - NM - NY - NC - ND - NMI - OH - OK -
OR - PA - PR - RI - SC - SD - TN - TX - UT - VT - VI - VA - WA - Washington, D.C. - WV - WI - WY

Labeled Section Transclusion

  • Description - Labeled Section Transclusion adds #lst and #lstx functions and <section> tag, enables marked sections of text to be transcluded


Test plan
Type: Executive agency
Parent organization: Executive Office of the President
Employees: 114000
Executive: Secretary of Energy
Budget: $51.7 billion
Address: 1000 Independence Avenue SW, Washington, DC 20585
Website: https://www.energy.gov
Creation Legislation: Department of Energy Organization Act
Wikipedia: Test planWikipedia Logo.png
Test plan

No results

This map created from a Cargo query (Purge)
Mission
The mission of the Department of Energy (DOE) is to ensure America’s security and prosperity by addressing its energy, environmental, and nuclear challenges through transformative science and technology solutions. This includes driving innovation in energy technologies, ensuring the nation's nuclear security, reducing the threat of global climate change, and promoting energy efficiency and renewable energy sources.
Services

The DOE provides services that include funding and conducting research in basic and applied science, particularly related to energy and environmental issues; managing the nuclear weapons stockpile and nonproliferation activities; overseeing the nation's strategic petroleum reserves; promoting energy efficiency and renewable energy technologies; regulating the energy sector for security and reliability; cleaning up environmental contamination from nuclear weapons production sites; and fostering international cooperation on energy and climate issues.

Regulations

The DOE oversees regulations related to energy conservation, nuclear safety, the disposal of nuclear waste, environmental restoration, energy efficiency standards for appliances and consumer products, and the dissemination of federal energy policies. It also sets guidelines for the operation of the National Laboratories, manages the nuclear security enterprise, enforces energy efficiency standards, and regulates aspects of energy production, particularly in nuclear energy.

Test plan
File:Seal of the United States Department of Energy.svg
Seal of the U.S. Department of Energy
File:Flag of the United States Department of Energy.svg
Flag of the U.S. Department of Energy
File:US Dept of Energy Forrestal Building.jpg
James V. Forrestal Building, headquarter building named after James Forrestal
Agency Overview
Formed August 4, 1977; 47 years ago (1977-08-04)
Preceding agencies Federal Energy Administration (FEA)
Energy Research and Development Administration (ERDA)
Jurisdiction U.S. federal government
Headquarters James V. Forrestal Building
1000 Independence Avenue
Southwest, Washington, D.C., U.S.
Employees 14,382 federal civilian (2018)[2]
93,094 contract (2008)
Annual budget $31.7 billion (2020)[3]
Agency Executives Jennifer Granholm, Secretary
David Turk, Deputy Secretary
Website
energy.gov

The United States Department of Energy (DOE) is an executive department of the U.S. federal government that oversees U.S. national energy policy and energy production, the research and development of nuclear power, the military's nuclear weapons program, nuclear reactor production for the United States Navy, energy-related research, and energy conservation.

The DOE was created in 1977 in the aftermath of the 1973 oil crisis. It sponsors more physical science research than any other U.S. federal agency, the majority of which is conducted through its system of National Laboratories..[4][5] The DOE also directs research in genomics, with the Human Genome Project originating from a DOE initiative..[6]

The department is headed by the secretary of energy, who reports directly to the president of the United States and is a member of the Cabinet. The department's headquarters are in southwestern Washington, D.C., in the James V. Forrestal Building, with additional offices in Germantown, Maryland.


Maps

  • Description - Maps enables embedding of dynamic maps into wiki pages, geocoding of addresses and other geographical operations
  • Test - See if the Forrestal traffic map appears below.

Template:Forrestal traffic map (left align)

ParserFunctions

  • Description - Enhance parser with logical functions
    • Examples
      • The number of calendar days between 1 December 2010 and today is: 2949
  • {{#time: F j, Y}} will show the current date: January 23, 2025. Other common formats for displaying a date include:
    • {{#time: n/j/y}}: 1/23/25,
    • {{#time: m/d/Y}}: 01/23/2025 (with zero padding added, if necessary, to make the month and day each 2 digits long, and a 4-digit year), and
    • {{#time: Y-m-d}}: 2025-01-23.
    • {{#time: Y F d H:i:s}}: 2025 January 23 04:03:03
    • {{#timel: Y F d H:i:s}}: 2025 January 22 23:03:03
    • {{#ifexpr: 1 > 0 | yes | no }} can compare values: yes
    • {{#ifeq: {{#time: D}} | Fri | TGIF!}} will display a message only on Fridays: 
    • {{#switch: {{#time: D}} | Fri=TGIF! | Sat=Weekend | Sun=Weekend | #default=Where's my coffee?}} will display a different message on different days: Where's my coffee?

PdfBook

  • Description - pdfbook-desc
  • Test
    • "Download page as PDF " is in left navigation (Toolbox)
    • Ensure PDF Export functionality is working

Quiz

  • Description - Allows creation of quizzes
  • Test - See if the Opioids quiz works below

<quiz display="simple">

Opioids are a class of drugs that include the illegal drug heroin .

type="()"}

+TRUE.

Research now suggests that abuse of these medications may actually open the door to heroin use. Nearly half of young people who inject heroin surveyed in three recent studies reported abusing prescription opioids before starting to use heroin. Some individuals reported switching to heroin because it is cheaper and easier to obtain than prescription opioids [7]

-FALSE.

{Which one of the drugs below is NOT an opioid?

type="()"}

-Hydrocodone (Vicodin)

-Oxycodone (OxyContin)

-Oxymorphone (Opana)

-Codeine

-Morphine

+Ibuprofen

-Methadone

-Fentanyl

-Tylenol with Codeine

{Anyone who takes prescription opioids can become addicted to them.

type="()"}

+TRUE.

You may also develop tolerance—meaning that over time you might need higher doses to relieve your pain, putting you at higher risk for a potentially fatal overdose. You can also develop physical dependence—meaning you have withdrawal symptoms when the medication is stopped. Tell your doctor about your medical history and if you or anyone in your family has a history of substance misuse or addiction to drugs or alcohol. Also, never take opioids in higher amounts or more often than prescribed. For more information from CDC Click Here

-FALSE.

{If I do not have cancer or a very painful diagnosis, I probably won’t be prescribed an opioid.

type="()"}

-TRUE.

+FALSE.

An estimated 1 out of 5 patients with non-cancer pain or pain-related diagnoses are prescribed opioids, with each of these patients receiving an average of nearly 4 prescriptions.[8]


{There are less than 1000 substance abuse facilities in the U.S.

type="()"}

-TRUE.

+FALSE.

There are 14,000+ substance abuse facilities in the U.S. Find a treatment facility near you

</quiz>

RSS feed

  • Description - Displays RSS feeds on MediaWiki pages in a standard or in user-definable formats using template pages
  • Test - Ensure the RSS feed below works

<rss max="3" template="RSSPost">https://www.energy.gov/rss/energygov/2193718</rss>

Scribunto

  • Description - Framework for embedding scripting languages into MediaWiki pages
  • Test
    • "Hello, world!" should appear in the bullet below using {{#invoke:Bananas|hello}}
      • Hello, world!
    • Alternatively add {{#invoke:Bananas|hello}} to your Sandbox using Enhanced editor. If it says "Hello, world!" when you save it, Scribunto is working.

SyntaxHighlight

  • Test - The wikitext below should be color coded when saved.

Wikitext:


<syntaxhighlight lang="php">

<?php

    $v = "string";    // sample initialization

?>

html text

<?

    echo $v;         // end of php code

?>

</syntaxhighlight>

Saved wikitext:

<?php

    $v = "string";    // sample initialization

?>

html text

<?

    echo $v;         // end of php code

?>

TemplateData

  • Description - Implement data storage for template parameters (using JSON)
  • Test - When adding or editing a template, that has TemplateData created, it should allow you to make changes using a form.

TemplateStyles

  • Description - The TemplateStylesMediawiki logo.svg extension introduces a <templatestyles> tag to specify that a stylesheet should be loaded from a wiki page. Placing this in a template allows the template to have custom styles without having to place them in MediaWiki:Common.css. For instructions on how to use the extension as an editor on a wiki, see Help:TemplateStyles.

Hit Counter

  • Description - Provides per page view statistics
    • Bonus test - Is it updated daily (for more viewed pages)

PDF Handler

  • Description - Handler for viewing PDF files in image mode.

AdvancedSearch

  • Description - AdvancedSearchMediawiki logo.svg enhances Special:Search by providing an advanced parameters form and improving how namespaces for a search query are selected.
  • Test - Go to Special:Search and ensure the form can be used to filter results approporately

Article Feedback

  • Description - Article Feedback encourages users to contribute by allowing them to review an article and suggest changes
  • Test -
    • Go to any page in the Main namespace and say you found the page helpful and leave a comment.
      • Can the comment be added to the talk page?
      • Can other make mark as Useful, etc.?
      • Can it be viewed when clicking on the "View feedback" link on the target page?

CategoryTagSorter

  • Description - The CategoryTagSorterMediawiki logo.svg extension alphabetizes category links at the bottom of an article.
  • Test -
    • If they are not there, add two categories in this order:
      • [[Category:XYZ test category]]
      • [[Category:ABC test category]]

CirrusSearch

  • Test - As this affects the default search for the wiki, test one or two of the features mentioned on Help:Search:
    • sorting navigation suggestions by the number of incoming links.
    • Starting with the tilde character ~ to disable navigation and suggestions in such a way that also preserves page ranking.
    • Smart-matching characters by normalizing (or "folding") non-keyboard characters into keyboard characters.
    • Words and phrases that match are highlighted in bold on the search results page.[9]
    • Ability to search within PDFs with machine readable text (non-image PDFs)
    • Some spelling correction using the "Did you mean?"
      • Example - When searching for "secratary," it gives the searcher "Showing results for secretary. Search instead for secratary."
      • Examples - incategory: AU, hastemplate: Cats, linksto: "Correspondence reference materials (Office of Science)"
    • When you start typing in the search box, the article suggestions are sort by article quality. Those suggestions should take into account the number of incoming wikilinks, the size of the page, the number of external links, the number of headings, and the number of redirects.
      • Examples - morelike:Electric vehicle, morelike:Electric vehicle|Office of Energy Efficiency and Renewable Energy, subpageof:"Training (Saintapedia)", and portal:subpageof:"2016 Transition"
      • Examples - filesize:<10240, filetype:video, filemime:svg, and filewidth:1024
    • Expanding templates, meaning that all content from a template is now reflected in search results.
    • Faster updates to the search index, meaning changes to articles are reflected in search results much faster.

DismissableSiteNotice

  • Description - Allows users to close the sitenotice
  • Test - Using an account with the rights,

DOE Login Message

  • Description - DOE Login Message executes the hook to display the login notice. Modify this extension to change the message.
  • Test - Do you get the message when you log in?

Elastica

  • Description - The ElasticaMediawiki logo.svg extension provides base elasticsearch functionality. Further information is available on the CirrusSearch extension's page.

Google Analytics Integration

  • Description - Inserts Google Universal Analytics (and/or other web analytics) scripts into MediaWiki pages for tracking
  • Test - Login to Google Analytics and check if data is being fed to it from Saintapedia

MobileFrontend

File:Switch to mobile view.png
Switch to mobile front end
  • Description - Mobile Front end creates a separate mobile site for your mobile traffic and provides various content transformations to make your content more friendly
  • Test
    • On a desktop, go to the bottom of any Saintapedia page
    • See if there is a link to "Mobile view"
    • Ensure the display changes appropriately

MultiBoilerplate

  • Test
    • See if the drop down menu is given as an option

MultimediaViewer

  • Description - The MultimediaViewerMediawiki logo.svg extension gives the user of a wiki a different interface for viewing full-size, or nearly full-size, images in their browser without extraneous page loads or confusing interstitial pages.
  • Test - Click on a page with a large image. Examples:

NewUserMessage

PageNotice

  • Description - PageNotice lets you define a fixed header or footer message for each namespace or individual page

ParserHooks

  • Description - ParserHooksMediawiki logo.svg adds an object orientated and declarative parser hook interface on top of MediaWiki.

PrivateWiki

  • Description - PrivateWiki attempts to close obvious security holes for private Wikis. This includes disabling remember-password features on both client and server sides, not leaking valid user names at login and recording failed login attempts (for use with fail2ban or similar tools).
  • Test - Check if "Keep me logged in" option is removed from the login page (see Security enhancements for more details).

RedirectAfterLogout

  • Test - Exploring if still needed

SandboxLink

  • Extension:SandboxLinkMediawiki logo.svg extension adds a link to user's personal sandbox to personal tools menu. The sandbox is assumed to exist, or will be created, at a "/sandbox" subpage of user's userpage.
  • Test - When logged in, is the a link to your Sandbox in the upper right hand corner of every page?

Thanks

  • Thanks tool
    Description - The Thanks tool enables editors to send a 'Thank you' notification to users who make constructive edits, to give them positive feedback.

TitleKey

  • Description - Title prefix search suggestion backend
  • Test - Search for "Ocio" and see if it is changed to "OCIO"

Validator

  • Description - The Validator MediaWiki extension, provides a parameter processing framework that provides a way to declaratively define a set of parameters and how they should be processed. It can take such declarations together with a list of raw parameters and provide the processed values.
  • Test - Testing done by Admins

Basics

  • The post login page should have the items below, which is configured in the LocalSettings file
    • You are now logged in to Saintapedia as "Username".
  • Check that you are able to
  • Check if HTTPs (SSL) is enabled
    • it is possible to add/remove a page to your watchlist

Look and feel

Verify that MediaWiki:Common.css and MediaWiki:Common.js are functioning correctly.

  • If the two complex template structures: {{Navbox}} and {{Infobox}} are working, then that is a good sign that common.css and common.js are correct. Both template pages have examples on them that can easily show whether the various components are working. Note that as of 2019, all Navboxes are auto collapsed by the JavaScript
  • Test, on various browsers, that unauthenticated (not logged-in) readers are shown the Vector theme by default.
  • Ensure the "star" function for Watchlist is available on the skin (when logged in). See the Watch star graphic to the right.
  • Check look and feel in all browsers
    • Expand correctly
    • There should not be any overlap of the buttons
    • There should be no shadow on the icons

Uploading documents

  • Upload a document up to 15 MB (as of Jan 2019)
  • Verify the types of files that can be uploaded
    • On Special:Upload, in January 2019, the list includes png, gif, jpg, jpeg, svg, doc, docx, dot, dotx, pps, ppsx, ppt, pptx, xls, xlsx, pdf, mp4, txt, flac, mkv, mov, mp3, oga, ogg, ogv, wav, webm
    • Note - Some original format office documents [.doc, .xls, etc.] cannot be uploaded due to a S/MIME error. They should be able to be opened if they are already in Saintapedia. An easy work around is to convert the file to the newer file format (docx, pptx, xlsx, etc.).

Multimedia appearance

Check to ensure that certain multimedia files are being displayed correctly

Images

  • Verify that all file types that appear as images are working

Videos

MP4 OGV

Music

MP3 OGA FLAC

Bots

Make sure the Saintapedia:Bots are still working after the upgrade. Suggest manually running one or more of the existing bot scripts from the bot server to ensure things still operate as expected. See the bots running below.

  • New accounts
  • Duplicate files
  • Adding categories by files and by name

Portals

  • Do portals display correctly?
  • Do the edit links work to the subpages?

Security

Other

  • High resolution images may give "Error creating thumbnail: Invalid thumbnail parameters." This error can be resolved by reducing the image resolution.
  • 508 Compliance, accessibility to disabled persons... ?
  • Readability testing to establish the audience education level appropriate to the complexity of the content -> plain language compliance?

External links

Navbox

Template:Powerpedia

References

  1. Cite is working
  2. "Department of Energy". United States Office of Personnel Management. https://www.fedscope.opm.gov/ibmcognos/cgi-bin/cognosisapi.dll?b_action=powerPlayService&m_encoding=UTF-8&BZ=1AAAB0ReCZA542oVOy26DQAz8mTVpD428XqjIgcMCixKpJSnkXhHYRFF5KeGSv68JraJy6VjeHY1nLDv5dpnvt5nZxMF16C52Ez8B0Tl5lb5exaGvlHIT8rWUofI813gYRpjE7Hl2xqzRWbTe6f06AErKrh1sOzA7dnVlL_CF4GJbNBZUvNgV5VdxstdP0%7ER1d2vYuQCPVyX9NPlrf7iA8IU7t%7E1gmwOvJSSU%7Ehh24jxaRts0NdF_w59_N8G%7EQSf8CI6IQiKilCiEQOGhIBRjCaFPti1vbAaq_NV1Dbh668piOHftTBZAPpBizUqgA9BqEuRDEBn7kDszLqiKSTQX0rkgRvCaX%7EoDea87m_6%7E93T1hG9sUHVa. 
  3. "The Budget for Fiscal Year 2020". https://www.energy.gov/articles/department-energy-fy-2020-budget-request-fact-sheet. 
  4. "Office of Science Funding". https://www.energy.gov/science/office-science-funding. 
  5. "NSF Science and Engineering Indicators 2012". https://www.nsf.gov/statistics/seind12/. 
  6. "Genomes to Life, Black Bag". U.S. Department of Energy. Spring 2002. http://www.ornl.gov/sci/techresources/Human_Genome/publicat/jmmbbag.pdf. 
  7. https://www.drugabuse.gov/drugs-abuse/opioids
  8. “Annual Surveillance Report of Drug-Related Risks and Outcomes” United States Department of Health and Human Services, Centers for Disease Control and Prevention, 2017. Surveillance Special Report 1. Available at https://www.cdc.gov/drugoverdose/pdf/pubs/2017cdc-drug-surveillance-report.pdf
  9. The highlighter is a yet another analyzer, in addition to the indexing analyzers. Being a large software application the Search highlighter may not always be 100% in sync (in the snippet) with what Search will match on the page. The highlighter can match better or worse. Nevertheless, query prefix:{{FULLPAGENAME}} is certainly an excellent way to learn. For the most effective tests, search through just enough live pages to give a few hundred samples, by limiting the search domain with prefix.