- "pl_namespace NOT IN ( '" . NS_USER . "', '" . NS_USER_TALK . "' )",
- "pg2.page_namespace != '" . NS_MEDIAWIKI . "'"
+ 'pl_namespace NOT IN (' . $dbr->makeList( [ NS_USER, NS_USER_TALK ] ) . ')',
+ 'pg2.page_namespace != ' . $dbr->addQuotes( NS_MEDIAWIKI ),