Index: trunk/extensions/CentralNotice/SpecialNoticeTemplate.php |
— | — | @@ -440,6 +440,9 @@ |
441 | 441 | public function showViewAvailable( $template ) { |
442 | 442 | global $wgOut, $wgUser; |
443 | 443 | |
| 444 | + // Testing to see if bumping up the memory limit lets meta preview |
| 445 | + ini_set( 'memory_limit', '120M' ); |
| 446 | + |
444 | 447 | $sk = $wgUser->getSkin(); |
445 | 448 | |
446 | 449 | // Pull all available text for a template |
— | — | @@ -609,6 +612,8 @@ |
610 | 613 | * Copy all the data from one template to another |
611 | 614 | */ |
612 | 615 | public function cloneTemplate( $source, $dest ) { |
| 616 | + // Reset the timer as updates on meta take a long time |
| 617 | + set_time_limit( 60 ); |
613 | 618 | // Pull all possible langs |
614 | 619 | $langs = $this->getTranslations( $source ); |
615 | 620 | |