Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -19,6 +19,8 @@ |
20 | 20 | die( "ProofreadPage extension\n" ); |
21 | 21 | } |
22 | 22 | |
| 23 | +$wgExtensionFunctions[] = 'wfProofreadPage'; |
| 24 | + |
23 | 25 | $dir = dirname( __FILE__ ) . '/'; |
24 | 26 | $wgExtensionMessagesFiles['ProofreadPage'] = $dir . 'ProofreadPage.i18n.php'; |
25 | 27 | $wgExtensionAliasesFiles['ProofreadPage'] = $dir . 'ProofreadPage.alias.php'; |
— | — | @@ -46,3 +48,8 @@ |
47 | 49 | |
48 | 50 | # Group allowed to modify pagequality |
49 | 51 | $wgGroupPermissions['user']['pagequality'] = true; |
| 52 | + |
| 53 | +function wfProofreadPage() { |
| 54 | + new ProofreadPage; |
| 55 | + return true; |
| 56 | +} |