@@ 133-137 (lines=5) @@ | ||
130 | $namespace = $this->opts->getValue( 'namespace' ); |
|
131 | $invert = $this->opts->getValue( 'invert' ); |
|
132 | $nsComparison = ( $invert ? '!= ' : '= ' ) . $dbr->addQuotes( $namespace ); |
|
133 | if ( is_int( $namespace ) ) { |
|
134 | $conds['pagelinks'][] = "pl_from_namespace $nsComparison"; |
|
135 | $conds['templatelinks'][] = "tl_from_namespace $nsComparison"; |
|
136 | $conds['imagelinks'][] = "il_from_namespace $nsComparison"; |
|
137 | } |
|
138 | ||
139 | if ( $from ) { |
|
140 | $conds['templatelinks'][] = "tl_from >= $from"; |
|
@@ 139-143 (lines=5) @@ | ||
136 | $conds['imagelinks'][] = "il_from_namespace $nsComparison"; |
|
137 | } |
|
138 | ||
139 | if ( $from ) { |
|
140 | $conds['templatelinks'][] = "tl_from >= $from"; |
|
141 | $conds['pagelinks'][] = "pl_from >= $from"; |
|
142 | $conds['imagelinks'][] = "il_from >= $from"; |
|
143 | } |
|
144 | ||
145 | if ( $hideredirs ) { |
|
146 | $conds['pagelinks']['rd_from'] = null; |