r113078 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113077‎ | r113078 | r113079 >
Date:20:21, 5 March 2012
Author:emsmith
Status:ok
Tags:
Comment:
bug 34883 - add id to the 'can view hidden/deleted' if permissions are good
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/api/ApiViewFeedbackArticleFeedbackv5.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/api/ApiViewFeedbackArticleFeedbackv5.php
@@ -262,8 +262,8 @@
263263 private function getFilterCriteria( $filter, $filterValue = null ) {
264264 global $wgUser;
265265 $where = array();
266 - $hiddenFilters = array( 'invisible', 'notdeleted', 'all', 'deleted', 'needsoversight', 'declined' );
267 - $deletedFilters = array( 'all', 'deleted' );
 266+ $hiddenFilters = array( 'id', 'invisible', 'notdeleted', 'all', 'deleted', 'needsoversight', 'declined' );
 267+ $deletedFilters = array( 'id', 'all', 'deleted' );
268268
269269 // Never show hidden or deleted posts unless specifically requested
270270 // and user has access.

Status & tagging log