Author: qleah
Description:
Most of these assume the main namespace will always be 0.
Skin.php:1259: if ( $ns != 0 AND $ns != 1 ) return '' ;
SpecialAllpages.php:115: $sql = "SELECT cur_title FROM cur WHERE cur_namespace=0
AND cur_title >= '"
SpecialAncientpages.php:24: WHERE cur_namespace=0 AND cur_is_redirect=0";
SpecialBooksources.php:46: "WHERE cur_namespace=4 and cur_title='" .
SpecialLonelypages.php:22: "WHERE l_to IS NULL AND cur_namespace=0 AND
cur_is_redirect=0";
SpecialLongpages.php:22: WHERE cur_namespace=0 AND cur_is_redirect=0";
SpecialMaintenance.php:215: "WHERE cur_is_redirect=1 AND cur_namespace=0 AND
bl_from=cur_id " .
SpecialMaintenance.php:311: #$sql = "SELECT DISTINCT cur_title FROM cur WHERE
cur_namespace=0 AND cur_is_redirect=0 AND (MATCH(cur_ind_text) AGAINST ('" .
wfStrencode( $wgLang->stripForSearch( $x ) ) . "'))" ;
SpecialMaintenance.php:312: $sql = "SELECT DISTINCT cur_title FROM
cur,searchindex WHERE cur_id=si_page AND cur_namespace=0 AND cur_is_redirect=0
AND (MATCH(si_text) AGAINST ('" . wfStrencode( $wgLang->stripForSearch( $x ) ) .
"'))" ;
SpecialMaintenance.php:358: "WHERE cur_namespace=0 AND cur_is_redirect=0 " .
SpecialNewpages.php:32: AND rc_namespace=0 AND cur_is_redirect=0";
SpecialPopularpages.php:23: WHERE cur_namespace=0 AND cur_is_redirect=0";
SpecialRandompage.php:21: WHERE cur_namespace=0 AND cur_is_redirect=0 $extra
SpecialRecentchanges.php:49: $sql = "SELECT cur_text FROM cur WHERE
cur_namespace=4 AND cur_title='Recentchanges'";
SpecialShortpages.php:26: WHERE cur_namespace=0 AND cur_is_redirect=0";
SpecialUncategorizedpages.php:22: "WHERE cl_from IS NULL AND cur_namespace=0
AND cur_is_redirect=0";
SpecialUndelete.php:128: $log = wfGetSQL("cur", "cur_text", "cur_namespace=4
AND cur_title='".
SpecialWatchlist.php:143: $z = "(wl_namespace=cur_namespace OR
wl_namespace+1=cur_namespace)";
Version: 1.3.x
Severity: trivial