|
@@ -182,13 +182,15 @@ |
|
|
block discarded – undo |
|
182
|
182
|
return ((int)$this->deleted) === 1; |
|
183
|
183
|
} |
|
184
|
184
|
|
|
185
|
|
- public function getSectionHeader() { |
|
|
185
|
+ public function getSectionHeader() |
|
|
186
|
+ { |
|
186
|
187
|
// Hard-coded for future update ability to change this per-template. This has beem moved from being hard-coded |
|
187
|
188
|
// directly in the welcome task, and safely permits us to show the header in the welcome template preview |
|
188
|
189
|
return "Welcome!"; |
|
189
|
190
|
} |
|
190
|
191
|
|
|
191
|
|
- public function getBotCodeForWikiSave(string $request, $creator) { |
|
|
192
|
+ public function getBotCodeForWikiSave(string $request, $creator) |
|
|
193
|
+ { |
|
192
|
194
|
$templateText = $this->getBotCode(); |
|
193
|
195
|
|
|
194
|
196
|
$templateText = str_replace('$request', $request, $templateText); |
Please login to merge, or discard this patch.