Index: trunk/extensions/NewUserMessage/NewUserMessage.i18n.php |
— | — | @@ -15,7 +15,6 @@ |
16 | 16 | $messages['en'] = array( |
17 | 17 | 'newusermessage-desc' => "Adds a message to newly created user's talk pages", |
18 | 18 | 'newuseredit-summary' => 'Adding [[{{int:newusermessage-template}}|welcome message]] to new user\'s talk page', |
19 | | - 'newusermessage-template' => 'Template:Welcome', # The title of the message template |
20 | 19 | 'newusermessage-template-subject' => 'Template:Welcome-subject', # Always substituted. Used if LiquidThreads is enabled in the User_talk namespace. Do not translate or duplicate this message to other languages |
21 | 20 | 'newusermessage-template-body' => 'Template:Welcome-body', # Used if LiquidThreads is enabled in the User_talk namespace. Do not translate or duplicate this message to other languages |
22 | 21 | 'newusermessage-editor' => 'New user message', # The username used for the edit |
Index: trunk/extensions/NewUserMessage/NewUserMessage.class.php |
— | — | @@ -65,10 +65,6 @@ |
66 | 66 | return ''; |
67 | 67 | } elseif ( !$text->exists() ) { |
68 | 68 | return ''; |
69 | | - |
70 | | - if ( $template->getNamespace() == NS_TEMPLATE ) { |
71 | | - $text = $template->getText(); |
72 | | - } |
73 | 69 | } |
74 | 70 | |
75 | 71 | return $text->getText(); |