mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-23 23:24:09 +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_submit' => 'Cite',
|
||||
'cite_article_link' => 'Cite this article',
|
||||
'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}}}}'
|
||||
'cite_text' => file_get_contents( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'cite_text' )
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue