Page MenuHomePhabricator

[QA task] Community configuration test cases
Closed, ResolvedPublic

Description

Summary of test cases for Community Configuration form:

DONE (1) (from this comment on T356622).

Getting error communityconfiguration-schema-validation-error in the Console on wiki/Special:CommunityConfiguration/FooBar.

  • click on Submit button without entering anything
  • The error is in the Console only; no warning to a user.

DONE (2) (from this comment on T360148)
Error handling on MediaWiki:ExampleConfig.json

contentresult
{}
Screen Shot 2024-03-21 at 1.53.59 PM.png (660×1 px, 140 KB)
[]
Screen Shot 2024-03-21 at 2.04.33 PM.png (476×3 px, 47 KB)
empty page
Screen Shot 2024-03-21 at 2.04.47 PM.png (412×3 px, 38 KB)

DONE (3) Error handling for Special:CommunityConfiguration

DONE (4) refer to T360277 for more details

  • check the search for Special page (and a subpage) - i.e. check for SpecialCommunityConfigurationEditor, SpecialCommunityConfigurationDashboard
  • enter Special page title in the url
  • Special:CommuityConfigurationDashboard and other invalid pages - are not listed in the search suggestions and No such special page is displayed
  • Special:EditGrowthConfig - redirects to Special:CommuityConfiguration
  • check that Special:SpecialPages does not list Special:EditGrowthConfigpage; Special:CommunityConfiguration should be present there.

DONE (5) T362042

  • changes in schema that cannot be handled by UI form, e.g. required properties status is changed, added/removed properties.
  • extension.json or configuration store becomes unavailable
What was checkedHow it was checkedResults
CommunityConfiguration extension is not present/unreachablemv CommunityConfiguration CommunityConfiguration_newMediaWiki is unable to load the extension CommunityConfiguration. Please check that the extension's name is correct and all of its files are properly installed.
Screen Shot 2024-05-14 at 2.32.23 PM.png (1×2 px, 326 KB)
CommunityConfiguration extension is not installedwfLoadExtension( 'CommunityConfiguration' is commented outNo such special page for Special:CommunityConfiguration
Screen Shot 2024-05-14 at 3.10.22 PM.png (700×1 px, 107 KB)
Special:SpecialPages produces an error page: [4d304c1441ff380b0c39ca60] /wiki/Special:SpecialPages Wikimedia\Services\NoSuchServiceException: No such service: CommunityConfiguration.WikiPageConfigReader
Adding properties to json pages when CommunityConfiguration extension is disabledan additional property was added to MediaWiki:ExampleConfig.jsonWhen CommunityConfiguration extension gets enabled again, no errors on MediaWiki:ExampleConfig.json or Special:CommunityConfiguration

[Check after deployment to production]
T358659: Client side form validation
DONE T359928: Editor: display success and error messages when submitting the form - checked in testwiki wmf.9

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Urbanecm_WMF subscribed.

@Etonkovidova FYI, MediaWiki-extensions-CommunityConfiguration refers to the new Community configuration (the separate extension), while #growthexperiments-communityconfiguration refers to Special:EditGrowthConfig only. I updated the tags to ensure MediaWiki-extensions-CommunityConfiguration workboard has this task as well.

@Etonkovidova FYI, MediaWiki-extensions-CommunityConfiguration refers to the new Community configuration (the separate extension), while #growthexperiments-communityconfiguration refers to Special:EditGrowthConfig only. I updated the tags to ensure MediaWiki-extensions-CommunityConfiguration workboard has this task as well.

Thank you, @Urbanecm_WMF - very much appreciated!

Etonkovidova updated the task description. (Show Details)