r106971 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106970‎ | r106971 | r106972 >
Date:19:49, 21 December 2011
Author:mah
Status:ok
Tags:
Comment:
w/s
Modified paths:
  • /trunk/extensions/MultiBoilerplate/MultiBoilerplate.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MultiBoilerplate/MultiBoilerplate.php
@@ -4,7 +4,7 @@
55 * Allows a boilerplate to be selected from a drop down box located above the
66 * edit form when editing non-exstant pages or, optionally (based upon
77 * configuration variable $wgMultiBoilerplateOverwrite), load the template
8 - * over the current contents.
 8+ * over the current contents.
99 *
1010 * @file
1111 * @ingroup Extensions
@@ -48,14 +48,14 @@
4949 * boilerplates in the format of:
5050 * "* Boilerplate Name|Template:Boilerplate Template"
5151 */
52 -$wgMultiBoilerplateOptions = array();
 52+$wgMultiBoilerplateOptions = array();
5353 /* Whether or not to show the form when editing pre-existing pages. */
5454 $wgMultiBoilerplateOverwrite = false;
5555 /* Whether or not to display a special page listing boilerplates.
5656 * If set to true then the special page exists. */
5757 $wgMultiBoilerplateDiplaySpecialPage = false;
58 -
59 -$wgHooks['SpecialPage_initList'][]='efBoilerplateDisplaySpecialPage';
 58+
 59+$wgHooks['SpecialPage_initList'][]='efBoilerplateDisplaySpecialPage';
6060 function efBoilerplateDisplaySpecialPage( &$aSpecialPages ) {
6161 global $wgMultiBoilerplateDiplaySpecialPage;
6262 if ( !$wgMultiBoilerplateDiplaySpecialPage ) {

Status & tagging log