Make Special:PasswordReset obey returnto and returntoquery parameters
[lhc/web/wiklou.git] / includes / specials / SpecialProtectedpages.php
index 78931a0..3de6ea2 100644 (file)
@@ -123,6 +123,7 @@ class SpecialProtectedpages extends SpecialPage {
 
                $description_items = array();
 
+               // Messages: restriction-level-sysop, restriction-level-autoconfirmed
                $protType = $this->msg( 'restriction-level-' . $row->pr_level )->escaped();
 
                $description_items[] = $protType;
@@ -149,8 +150,8 @@ class SpecialProtectedpages extends SpecialPage {
                        $stxt = $lang->getDirMark() . ' ' . Linker::formatRevisionSize( $size );
                }
 
-               # Show a link to the change protection form for allowed users otherwise
-               # a link to the protection log
+               // Show a link to the change protection form for allowed users otherwise
+               // a link to the protection log
                if ( $this->getUser()->isAllowed( 'protect' ) ) {
                        $changeProtection = Linker::linkKnown(
                                $title,
@@ -308,6 +309,7 @@ class SpecialProtectedpages extends SpecialPage {
 
                // First pass to load the log names
                foreach ( Title::getFilteredRestrictionTypes( true ) as $type ) {
+                       // Messages: restriction-edit, restriction-move, restriction-create, restriction-upload
                        $text = $this->msg( "restriction-$type" )->text();
                        $m[$text] = $type;
                }