mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-12-18 02:00:40 +00:00
* Put the default cite_text in another file and file_get_contents() it
This commit is contained in:
parent
d91a7f71a9
commit
b0579cedbf
|
@ -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}}}}'
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue