X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSpecialProtectedpages.php;h=e16890289780a6f680457b4e395465444b3e6a53;hb=5516fef269e71b5962afa34bd7e7403b13b57d12;hp=e9fb0797a4ba731bf2b631d04473547c366f69bb;hpb=177f13da316f2b242dbb6cceb41828da61ac027e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/SpecialProtectedpages.php b/includes/SpecialProtectedpages.php index e9fb0797a4..e168902897 100644 --- a/includes/SpecialProtectedpages.php +++ b/includes/SpecialProtectedpages.php @@ -1,19 +1,19 @@ setPagetitle( wfMsg( "protectedpages" ) ); @@ -31,14 +31,15 @@ class ProtectedPagesForm { $sizetype = $wgRequest->getVal( 'sizetype' ); $size = $wgRequest->getIntOrNull( 'size' ); $NS = $wgRequest->getIntOrNull( 'namespace' ); + $indefOnly = $wgRequest->getBool( 'indefonly' ) ? 1 : 0; - $pager = new ProtectedPagesPager( $this, array(), $type, $level, $NS, $sizetype, $size ); + $pager = new ProtectedPagesPager( $this, array(), $type, $level, $NS, $sizetype, $size, $indefOnly ); - $wgOut->addHTML( $this->showOptions( $NS, $type, $level, $sizetype, $size ) ); + $wgOut->addHTML( $this->showOptions( $NS, $type, $level, $sizetype, $size, $indefOnly ) ); if ( $pager->getNumRows() ) { $s = $pager->getNavigationBar(); - $s .= "