Extension Uniwiki Generic Edit Page/Manual Testcase 2
From MediaWiki extension testing
Checks to be made via LocalSettings.php modifications.
Contents |
Section list is visible
- Add $wgSectionBox = false; to LocalSettings.php .
- Refresh the edit page, check if the section list is visible in the right hand margin.
Category list is visible
- Remove $wgSectionBox = false; from LocalSettings.php and add $wgCategoryBox = false;.
- Refresh the edit page, check if the category list is visible in the right hand margin.
Section add box is visible
- Remove $wgCategoryBox = false; from LocalSettings.php and add $wgAddSection = false;.
- Refresh the edit page, check if the section add box is visible in the right hand margin.
Category add box is visible
- Remove $wgAddSection = false; from LocalSettings.php and add $wgAddCategory = false;.
- Refresh the edit page, check if the category add box is visible in the right hand margin.
Check e-mail
- Remove $wgAddCategory = false; from LocalSettings.php and add $wgSuggestCategory = true;, set $wgSuggestCategoryRecipient to your e-mail address.
- 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
- Remove $wgSuggestCategory = true; from LocalSettings.php and add $wgUseCategoryPage = true; and $wgCategoryPage = 'MediaWiki:PresetCategories';.
- Log in to an admin account.
- Paste the example category list below in to MediaWiki:PresetCategories.
- Return to the test page and press edit.
- Identify if the example categories are listed in the category box.
- Select one of the example categories and press the "Save page" button.
- Press the "edit" button and uncheck all categories.
- Press the "Save page" button.
Example category list
Preset Test Category 1 Preset Test Category 2 Preset Test Category 3
Switch category requirement
- Remove $wgUseCategoryPage = true; from LocalSettings.php and add $wgRequireCategory = true;.
- Refresh the edit page.
- Uncheck all categories.
- Press the "Save Page" button.