Index: trunk/phase3/includes/specials/SpecialProtectedtitles.php |
— | — | @@ -90,7 +90,7 @@ |
91 | 91 | |
92 | 92 | $description_items[] = $protType; |
93 | 93 | |
94 | | - $expiry = strlen( $row->pt_expiry ) ? $lang->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity; |
| 94 | + $expiry = strlen( $row->pt_expiry ) ? $this->getLang()->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity; |
95 | 95 | if( $expiry != $infinity ) { |
96 | 96 | $expiry_description = wfMsg( |
97 | 97 | 'protect-expiring-local', |