Index: trunk/extensions/MultiBoilerplate/SpecialBoilerplates_body.php |
— | — | @@ -21,17 +21,15 @@ |
22 | 22 | wfLoadExtensionMessages( 'MultiBoilerplate' ); |
23 | 23 | if( !$this->mIncluding ) { |
24 | 24 | $this->setHeaders(); |
25 | | - $wgOut->setPagetitle( wfMsg( "multiboilerplate-special-title" ) ); |
26 | 25 | $wgOut->addWikiMsg( "multiboilerplate-special-pagetext" ); |
27 | | - $wgOut->wrapWikiMsg( "==$1==\n", "boilerplates-name" ); |
28 | 26 | } |
29 | 27 | if( is_array( $wgMultiBoilerplateOptions ) ) { |
30 | | - if( !$this->mIncluding ) $wgOut->addWikiMsg( "multiboilerplate-special-define-on-localsettings" ); |
| 28 | + if( !$this->mIncluding ) $wgOut->addWikiMsg( "multiboilerplate-special-define-in-localsettings" ); |
31 | 29 | foreach( $wgMultiBoilerplateOptions as $name => $template ) { |
32 | 30 | $wgOut->addWikiText( "* [[$template]]\n" ); |
33 | 31 | } |
34 | 32 | } else { |
35 | | - if( !$this->mIncluding ) $wgOut->addWikiMsg( "multiboilerplate-special-define-on-interface" ) ; |
| 33 | + if( !$this->mIncluding ) $wgOut->addWikiMsg( "multiboilerplate-special-define-in-interface" ) ; |
36 | 34 | $things = explode( "\n", str_replace( "\r", "\n", str_replace( "\r\n", "\n", wfMsg( 'multiboilerplate' ) ) ) ); // Ensure line-endings are \n |
37 | 35 | foreach( $things as $row ) { |
38 | 36 | if ( substr( ltrim( $row ), 0, 1 ) === '*' ) { |
Index: trunk/extensions/MultiBoilerplate/MultiBoilerplate.i18n.php |
— | — | @@ -17,15 +17,10 @@ |
18 | 18 | 'multiboilerplate-label' => '', |
19 | 19 | 'multiboilerplate-legend' => 'Select boilerplate', |
20 | 20 | 'multiboilerplate-submit' => 'Load', |
21 | | - 'boilerplates' => 'Custom preload on creation', |
22 | | - 'boilerplates-name' => 'Boilerplates', |
23 | | - 'multiboilerplate-special-title' => 'Custom templates preloader', |
24 | | - 'multiboilerplate-special-pagetext' => 'Those templates can be preloaded on page creation. (<span class=plainlinks>[{{fullurl:This page does not exist|action=edit}} demo]</span>)', |
25 | | - 'multiboilerplate-special-define-on-localsettings' => 'Boilerplates are defined on LocalSettings.php in array <code>$wgMultiBoilerplateOptions</code>. Set <code>$wgMultiBoilerplateOptions = false;</code> to use [[MediaWiki:Multiboilerplate]] instead.', |
26 | | - 'multiboilerplate-special-define-on-interface' => 'Boilerplates are defined on interface page: [[MediaWiki:Multiboilerplate]].', |
27 | | - 'multiboilerplate-label' => '', |
28 | | - 'multiboilerplate-legend' => 'Select boilerplate', |
29 | | - 'multiboilerplate-submit' => 'Load', |
| 21 | + 'boilerplates' => 'Available boilerplates', |
| 22 | + 'multiboilerplate-special-pagetext' => 'These templates can be preloaded on page creation. (<span class=plainlinks>[{{fullurl:This page does not exist|action=edit}} demo]</span>)', |
| 23 | + 'multiboilerplate-special-define-in-localsettings' => 'Boilerplates are defined in LocalSettings.', |
| 24 | + 'multiboilerplate-special-define-in-interface' => 'Boilerplates are defined in [[MediaWiki:Multiboilerplate]].', |
30 | 25 | ); |
31 | 26 | |
32 | 27 | /** Message documentation (Message documentation) |