mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-15 03:33:55 +00:00
Special:CiteThisPage only works on existing pages
This avoids the error message citethispage-badrevision with "revision 0" text Change-Id: Ifab27624d70d65f07c2eff11c883701e1192c26d
This commit is contained in:
parent
059df096c4
commit
ab31a3741e
|
@ -48,6 +48,7 @@ class SpecialCiteThisPage extends FormSpecialPage {
|
|||
'page' => [
|
||||
'name' => 'page',
|
||||
'type' => 'title',
|
||||
'exists' => true,
|
||||
'default' => $this->par ?? '',
|
||||
'label-message' => 'citethispage-change-target'
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue