* Put the default cite_text in another file and file_get_contents() it

This commit is contained in:
Ævar Arnfjörð Bjarmason 2005-11-27 13:03:05 +00:00
parent d91a7f71a9
commit b0579cedbf

View file

@ -34,12 +34,7 @@ function wfSpecialCite() {
'cite_page' => 'Page: ', 'cite_page' => 'Page: ',
'cite_submit' => 'Cite', 'cite_submit' => 'Cite',
'cite_article_link' => 'Cite this article', 'cite_article_link' => 'Cite this article',
'cite_text' => 'cite_text' => file_get_contents( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'cite_text' )
"* ''{{FULLPAGENAME}}'' (last modified {{CURRENTTIME}}," .
' {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} UTC).' .
' {{SITENAME}}, {{int:sitesubtitle}}. Retrived <citation>{{CURRENTTIME}},' .
' {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}</citation> from' .
' {{fullurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}'
) )
); );