Acceptance criteria
- A user can not move Lexeme page
Scenarios
Scenario: No button on page
GIVEN I am logged in
WHEN I am on the Lexeme page
THEN there is no "Move" button in the navigation menu
Scenario: Deep-link protected
GIVEN the lexeme page exists
WHEN I give the page title as a parameter to Special:MovePage page
THEN I get the error message: You do not have permission to move this page, for the following reason: Cannot move pages in namespace "Lexeme".
For reference, the error happening when trying to move the item page
Scenario: API protected
GIVEN the lexeme page exists
WHEN I use API action=move to move it
THEN I get the error message
For reference this is what the API currently returns when trying to move an item:
{ "error": { "code": "immobile-source-namespace", "info": "Cannot move pages in namespace \"\".", "*": "See https://test.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes." }, "servedby": "mw1340" }