Extension Uniwiki Generic Edit Page/Manual Testcase 2

From MediaWiki extension testing
Jump to: navigation, search

Checks to be made via LocalSettings.php modifications.

Contents

Section list is visible

  1. Add $wgSectionBox = false; to LocalSettings.php .
  2. Refresh the edit page, check if the section list is visible in the right hand margin.

Category list is visible

  1. Remove $wgSectionBox = false; from LocalSettings.php and add $wgCategoryBox = false;.
  2. Refresh the edit page, check if the category list is visible in the right hand margin.

Section add box is visible

  1. Remove $wgCategoryBox = false; from LocalSettings.php and add $wgAddSection = false;.
  2. Refresh the edit page, check if the section add box is visible in the right hand margin.

Category add box is visible

  1. Remove $wgAddSection = false; from LocalSettings.php and add $wgAddCategory = false;.
  2. Refresh the edit page, check if the category add box is visible in the right hand margin.

Check e-mail

  1. Remove $wgAddCategory = false; from LocalSettings.php and add $wgSuggestCategory = true;, set $wgSuggestCategoryRecipient to your e-mail address.
  2. Refresh the edit page, check if the category suggestion box is visible in the right hand margin; then enter the category "Test Suggestion Category 1" to the box and submit it - check if you receive an e-mail regarding the suggestion.

Preset category page

  1. Remove $wgSuggestCategory = true; from LocalSettings.php and add $wgUseCategoryPage = true; and $wgCategoryPage = 'MediaWiki:PresetCategories';.
  2. Log in to an admin account.
  3. Paste the example category list below in to MediaWiki:PresetCategories.
  4. Return to the test page and press edit.
  5. Identify if the example categories are listed in the category box.
  6. Select one of the example categories and press the "Save page" button.
  7. Press the "edit" button and uncheck all categories.
  8. Press the "Save page" button.

Example category list

Preset Test Category 1
Preset Test Category 2
Preset Test Category 3

Switch category requirement

  1. Remove $wgUseCategoryPage = true; from LocalSettings.php and add $wgRequireCategory = true;.
  2. Refresh the edit page.
  3. Uncheck all categories.
  4. Press the "Save Page" button.
Personal tools
Namespaces
Variants
Actions
navigation
Toolbox