diff --git a/SpecialCite.i18n.php b/SpecialCite.i18n.php index 2cac0fdf..e18bec9b 100644 --- a/SpecialCite.i18n.php +++ b/SpecialCite.i18n.php @@ -32,4 +32,10 @@ $wgSpecialCiteMessages['id'] = array( 'cite_page' => 'Halaman:', 'cite_submit' => 'Kutip', ); +$wgSpecialCiteMessages['nl'] = array( + 'cite_article_link' => 'Citeer dit artikel', + 'cite' => 'Citeerhulp', + 'cite_page' => 'Pagina:', + 'cite_submit' => 'Citeer', +); ?> diff --git a/SpecialCite_body.php b/SpecialCite_body.php index 596b0abc..6ad98795 100644 --- a/SpecialCite_body.php +++ b/SpecialCite_body.php @@ -122,6 +122,7 @@ class CiteOutput { } function genParserOptions() { + global $wgUser; $this->mParserOptions = ParserOptions::newFromUser( $wgUser ); $this->mParserOptions->setDateFormat( MW_DATE_DEFAULT ); $this->mParserOptions->setEditSection( false );