Index: trunk/extensions/Collection/Collection.i18n.php |
— | — | @@ -48,6 +48,7 @@ |
49 | 49 | 'coll-intro_text' => "Create and manage your individual selection of wiki pages.<br />See [[{{MediaWiki:Coll-helppage}}]] for more information.", |
50 | 50 | 'coll-helppage' => 'Help:Books', |
51 | 51 | 'coll-bookscategory' => 'Books', |
| 52 | + 'coll-savedbook_template' => 'saved_book', |
52 | 53 | 'coll-your_book' => 'Your book', |
53 | 54 | 'coll-download_title' => 'Download', |
54 | 55 | 'coll-download_text' => 'To download an offline version choose a format and click the button.', |
— | — | @@ -970,6 +971,7 @@ |
971 | 972 | 'coll-intro_text' => 'Erstelle und verwalte deine individuelle Sammlung von Seiten.<br />Siehe die [[{{MediaWiki:Coll-helppage}}|Hilfe zu Büchern]] für weitere Informationen.', |
972 | 973 | 'coll-helppage' => 'Help:Bücher', |
973 | 974 | 'coll-bookscategory' => 'Bücher', |
| 975 | + 'coll-savedbook_template' => 'gespeichertes_buch', |
974 | 976 | 'coll-your_book' => 'Dein Buch', |
975 | 977 | 'coll-download_title' => 'Herunterladen', |
976 | 978 | 'coll-download_text' => 'Um eine Offline-Version herunterzuladen, wähle ein Format und klicke auf die Schaltfläche.', |
Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -585,7 +585,7 @@ |
586 | 586 | if ( $article->exists() && !$forceOverwrite ) { |
587 | 587 | return false; |
588 | 588 | } |
589 | | - $articleText = ''; |
| 589 | + $articleText = "{{" . wfMsgForContent( 'coll-savedbook_template' ) . "}}\n\n"; |
590 | 590 | $collection = $_SESSION['wsCollection']; |
591 | 591 | if( $collection['title'] ) { |
592 | 592 | $articleText .= '== ' . $collection['title'] . " ==\n"; |