Index: trunk/phase3/includes/Article.php |
— | — | @@ -1759,6 +1759,9 @@ |
1760 | 1760 | |
1761 | 1761 | /** |
1762 | 1762 | * @param $section empty/null/false or a section number (0, 1, 2, T1, T2...) |
| 1763 | + * @param $text String: new text of the section |
| 1764 | + * @param $summary String: new section's subject, only if $section is 'new' |
| 1765 | + * @param $edittime String: revision timestamp or null to use the current revision |
1763 | 1766 | * @return string Complete article text, or null if error |
1764 | 1767 | */ |
1765 | 1768 | public function replaceSection( $section, $text, $summary = '', $edittime = null ) { |