http://www.mediawiki.org/wiki/Special:Code/MediaWiki/99116
Revision: 99116 Author: reedy Date: 2011-10-06 16:33:36 +0000 (Thu, 06 Oct 2011) Log Message: ----------- -rakkaus/#mediawiki-i18n- (1 lines skipped) [06-Oct-2011 16:12:26] PHP Fatal error: Call to a member function formatExpiry() on a non-object in /www/w/includes/specials/SpecialProtectedtitles.php on line 93 Modified Paths: -------------- trunk/phase3/includes/specials/SpecialProtectedtitles.php Modified: trunk/phase3/includes/specials/SpecialProtectedtitles.php =================================================================== --- trunk/phase3/includes/specials/SpecialProtectedtitles.php 2011-10-06 16:17:18 UTC (rev 99115) +++ trunk/phase3/includes/specials/SpecialProtectedtitles.php 2011-10-06 16:33:36 UTC (rev 99116) @@ -90,7 +90,7 @@ $description_items[] = $protType; - $expiry = strlen( $row->pt_expiry ) ? $lang->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity; + $expiry = strlen( $row->pt_expiry ) ? $this->getLang()->formatExpiry( $row->pt_expiry, TS_MW ) : $infinity; if( $expiry != $infinity ) { $expiry_description = wfMsg( 'protect-expiring-local', _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs