[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-13 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...> THEN I get the error message !!(To be defined: intended behaviour the same as when trying to use the API to move an item page)!!

For reference this is what the API currently returns when trying to move an item:...TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-13 Thread Addshore
Addshore updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...> THEN I get the error message !!(To be defined: intended behaviour the same as when trying to use the API to move an item page)!!

For reference this is what the API currently returns when trying to move an item:


https://test.wikidata.org/wiki/Special:ApiSandbox#action="" :
```
{
"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"
}
```TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AddshoreCc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-12 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...> THEN I get the error message !!(TBC:To be defined: intended behaviour the same as when trying to use the API to move an item page)!!TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-12 Thread Pablo-WMDE
Pablo-WMDE updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...== Scenario: Deep-link protected ==...TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Pablo-WMDECc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-12 Thread Pablo-WMDE
Pablo-WMDE updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...* 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: Deeplink 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"{F15194786}

== Scenario: API protected ==
> GIVEN the lexeme page exists
> WHEN I use API action="" to move it
> THEN I get the error message !!(TBC: intended behaviour the same as when trying to use the API to move an item page)!!TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Pablo-WMDECc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-12 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION= Acceptance criteria: =
* A user can not move Lexeme 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
{F15194786}

GIVEN the lexeme page exists...TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-12 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...THEN I  get the error message (TBC: intended behaviour the same as when try: You do not have permission to move this page, for the following to use Special:MovePage to move an item page)reason: Cannot move pages in namespace "Lexeme".

GIVEN the lexeme page exists...TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-12 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...GIVEN the lexeme page exists
WHEN I give the page title as a parameter to Special:MovePage page
THEN I  get the error message (TBC: intended behaviour the same as when trying to use Special:MovePage to move an item page)

GIVEN the lexeme page exists
WHEN I use API action="" to move it
THEN I get the error message (TBC: intended behaviour the same as when trying to use tothe API to move an item page)TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-12 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...GIVEN I am on the Lexeme page
WHEN I am logged in
THEN there is no "Move" button in the navigation menu...TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-12 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...GIVEN I am on the Lexeme pagelogged in
WHEN I am logged inon the Lexeme page
THEN there is no "Move" button in the navigation menu...TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T189481: Moving a Lexeme page should not be possible

2018-03-12 Thread WMDE-leszek
WMDE-leszek updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTIONA/C:Acceptance criteria:
* A user can not move Lexeme page

TODO: BDD 
GIVEN I am on the Lexeme page
THEN there is no "Move" button in the navigation menu next to edit

GIVEN the lexeme page exists
Special:MoveWHEN I use API action="" to move it
API moduleTHEN I get the error message (TBC: intended behaviour the same as when trying to use to API to move an item page)TASK DETAILhttps://phabricator.wikimedia.org/T189481EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WMDE-leszekCc: Lydia_Pintscher, Aklapper, WMDE-leszek, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs