return false;
}
+ /**
+ * @suppress SecurityCheck-XSS Non html mime type
+ */
function onView() {
$this->getOutput()->disable();
$request = $this->getRequest();
* @return array Array with two items: (html, classes)
* - html: String: HTML for displaying the tags (empty string when param $tags is empty)
* - classes: Array of strings: CSS classes used in the generated html, one class for each tag
+ * @return-taint onlysafefor_htmlnoent
*/
public static function formatSummaryRow( $tags, $page, IContextSource $context = null ) {
if ( !$tags ) {
foreach ( $rows as $row ) {
if ( $prev_title == $row->cur_title && $prev_namespace == $row->cur_namespace ) {
- $deleteId[] = $row->cur_id;
+ $deleteId[] = (int)$row->cur_id;
}
$prev_title = $row->cur_title;
$prev_namespace = $row->cur_namespace;
return false;
}
+ /**
+ * @suppress SecurityCheck-SQLInjection array_map not recognized T204911
+ */
public function listTables( $prefix = null, $fname = __METHOD__ ) {
$eschemas = implode( ',', array_map( [ $this, 'addQuotes' ], $this->getCoreSchemas() ) );
$result = $this->query(
public $mDefaultLimit = 50;
public $mOffset, $mLimit;
public $mQueryDone = false;
+ /** @var IDatabase */
public $mDb;
public $mPastTheEndRow;