See also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=32423
The only way I know of to determine whether a form is being used to create or edit a page is using {{PAGENAME}} or {{FULLPAGENAME}} (for pages in the File: namespace).
SF 2.2.1 did not have this problem. In addition to functioning magic words for determining which page is being edited, the ability to determine whether the form is being used to edit or create a page is also important.
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=32423