Index: trunk/phase3/includes/specials/SpecialProtectedtitles.php |
— | — | @@ -16,7 +16,6 @@ |
17 | 17 | function showList( $msg = '' ) { |
18 | 18 | global $wgOut, $wgRequest; |
19 | 19 | |
20 | | - $wgOut->setPagetitle( wfMsg( "protectedtitles" ) ); |
21 | 20 | if ( "" != $msg ) { |
22 | 21 | $wgOut->setSubtitle( $msg ); |
23 | 22 | } |
— | — | @@ -75,7 +74,7 @@ |
76 | 75 | if ( $row->pt_expiry != 'infinity' && strlen($row->pt_expiry) ) { |
77 | 76 | $expiry = Block::decodeExpiry( $row->pt_expiry ); |
78 | 77 | |
79 | | - $expiry_description = wfMsgForContent( 'protect-expiring', $wgLang->timeanddate( $expiry ) , $wgLang->date( $expiry ) , $wgLang->time( $expiry ) ); |
| 78 | + $expiry_description = wfMsg( 'protect-expiring', $wgLang->timeanddate( $expiry ) , $wgLang->date( $expiry ) , $wgLang->time( $expiry ) ); |
80 | 79 | |
81 | 80 | $description_items[] = $expiry_description; |
82 | 81 | } |
Index: trunk/phase3/includes/specials/SpecialProtectedpages.php |
— | — | @@ -16,7 +16,6 @@ |
17 | 17 | public function showList( $msg = '' ) { |
18 | 18 | global $wgOut, $wgRequest; |
19 | 19 | |
20 | | - $wgOut->setPagetitle( wfMsg( "protectedpages" ) ); |
21 | 20 | if ( "" != $msg ) { |
22 | 21 | $wgOut->setSubtitle( $msg ); |
23 | 22 | } |
— | — | @@ -84,7 +83,7 @@ |
85 | 84 | if ( $row->pr_expiry != 'infinity' && strlen($row->pr_expiry) ) { |
86 | 85 | $expiry = Block::decodeExpiry( $row->pr_expiry ); |
87 | 86 | |
88 | | - $expiry_description = wfMsgForContent( 'protect-expiring' , $wgLang->timeanddate( $expiry ) , $wgLang->date( $expiry ) , $wgLang->time( $expiry ) ); |
| 87 | + $expiry_description = wfMsg( 'protect-expiring' , $wgLang->timeanddate( $expiry ) , $wgLang->date( $expiry ) , $wgLang->time( $expiry ) ); |
89 | 88 | |
90 | 89 | $description_items[] = $expiry_description; |
91 | 90 | } |