Index: trunk/extensions/CodeReview/api/ApiQueryCodeTags.php |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | |
73 | 73 | public function getPossibleErrors() { |
74 | 74 | return array_merge( parent::getPossibleErrors(), array( |
75 | | - array( 'code' => 'permissiondenied', 'info' => 'You don\'t have permission to view code comments' ), |
| 75 | + array( 'code' => 'permissiondenied', 'info' => 'You don\'t have permission to view code tags' ), |
76 | 76 | array( 'code' => 'invalidrepo', 'info' => "Invalid repo ``repo''" ), |
77 | 77 | ) ); |
78 | 78 | } |
Index: trunk/extensions/CodeReview/api/ApiQueryCodePaths.php |
— | — | @@ -28,7 +28,7 @@ |
29 | 29 | global $wgUser; |
30 | 30 | // Before doing anything at all, let's check permissions |
31 | 31 | if ( !$wgUser->isAllowed( 'codereview-use' ) ) { |
32 | | - $this->dieUsage( 'You don\'t have permission to view code tags', 'permissiondenied' ); |
| 32 | + $this->dieUsage( 'You don\'t have permission to view code paths', 'permissiondenied' ); |
33 | 33 | } |
34 | 34 | $params = $this->extractRequestParams(); |
35 | 35 | |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | |
90 | 90 | public function getPossibleErrors() { |
91 | 91 | return array_merge( parent::getPossibleErrors(), array( |
92 | | - array( 'code' => 'permissiondenied', 'info' => 'You don\'t have permission to view code comments' ), |
| 92 | + array( 'code' => 'permissiondenied', 'info' => 'You don\'t have permission to view code paths' ), |
93 | 93 | array( 'code' => 'invalidrepo', 'info' => "Invalid repo ``repo''" ), |
94 | 94 | ) ); |
95 | 95 | } |