Last modified: 2014-08-11 03:33:57 UTC
Using ConfirmEdit 1.1 Using QuestyCaptcha Using SemanticForms 2.6 Using SemanticForms "page name" formula, ie, {{{info |page name=<BookForm[book_title]> }}} Only when going through the captcha page does this happen. After successfully completing the captcha, the next page should be the newly created page. Instead, the user is returned to the form with all form fields cleared and a red text message that says: The specified target page _ is invalid.
Which MediaWiki version is this about? Any public testcase available somewhere?
MW 1.20. Sorry, no public test case.
I came across this problem again even with the captcha disabled. It seems to happen when using restricted fields and a non-admin user submits the form. I noticed that the "restricted" fields were not in the mOptions array. Removing the restricted attributes from the fields allowed the form to submit. I tried to debug this but its too complex for me. I did notice a comment in SF_FormPrinter.php, fwiw: // If this field is disabled, add a hidden field holding // the value of this field, because disabled inputs for some // reason don't submit their value. Thanks, Al
This may be related. I also got this as a value to a property field that took a default value from {{{PAGECREATOR}}}: pageId:0-arcticleId:0-getText:Semantic Forms permissions test-getFullText:Semantic Forms permissions test This also seems to be resolved when not using the 'restricted' field parameter.
Al Johnson: Does this problem still happen in a supported MediaWiki version (1.19, 1.22, 1.23 currently)?
I only know about 1.20.2.
Does that mean you have not seen the problem in newer MediaWiki versions, or does that mean that you still run 1.20?
Still running 1.20.