aboutsummaryrefslogtreecommitdiffstats
path: root/includes/specials/SpecialNewpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specials/SpecialNewpages.php')
-rw-r--r--includes/specials/SpecialNewpages.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/specials/SpecialNewpages.php b/includes/specials/SpecialNewpages.php
index 5ba7c88e01f7..8051b0b4e4b3 100644
--- a/includes/specials/SpecialNewpages.php
+++ b/includes/specials/SpecialNewpages.php
@@ -76,19 +76,19 @@ class SpecialNewpages extends IncludableSpecialPage {
protected function parseParams( $par ) {
$bits = preg_split( '/\s*,\s*/', trim( $par ) );
foreach ( $bits as $bit ) {
- if ( 'shownav' == $bit ) {
+ if ( $bit === 'shownav' ) {
$this->showNavigation = true;
}
- if ( 'hideliu' === $bit ) {
+ if ( $bit === 'hideliu' ) {
$this->opts->setValue( 'hideliu', true );
}
- if ( 'hidepatrolled' == $bit ) {
+ if ( $bit === 'hidepatrolled' ) {
$this->opts->setValue( 'hidepatrolled', true );
}
- if ( 'hidebots' == $bit ) {
+ if ( $bit === 'hidebots' ) {
$this->opts->setValue( 'hidebots', true );
}
- if ( 'showredirs' == $bit ) {
+ if ( $bit === 'showredirs' ) {
$this->opts->setValue( 'hideredirs', false );
}
if ( is_numeric( $bit ) ) {