Extension talk:Form
Contents |
[edit] Oki why dont extensions work with ipbwiki..
I have tried all the forms in here ,semantic too, trying to get them to work with ipbwiki and none seem to work with it as ipb+wiki integration changes core files during installing. BUT when i run it with a pure wiki it runs great. To bad.
[edit] Why not Semantic Forms?
Hi Evan,
It's great to see another form extension on MediaWiki platform - it means there is a need for regular, non-wiki users to contribute.
I wonder why you chose to create new extension and not using Semantic Forms, for example?
I use it quite successfully for my Tech Presentations project and would be happy to share my experience with you.
Thank you, --Sergey Chernyshev 20:34, 2 October 2007 (UTC)
- I'm thinking SW is too complex if all a person needs to do is get a simple form thing going. First you have to install SW (create tables and what not) and then install SW-Forms separately. --Kenny5 00:55, 29 July 2009 (UTC)
- Yes semantic is by far the most complex extension I have ever seen in 6 years. I am going with this one. Okip 23:05, 3 September 2011 (UTC)
[edit] Work only on MW >= 1.11
Due to wfLoadExtensionMessages defined only since 1.11. --Hugoyar 11:57, 19 May 2008 (UTC)
[edit] Error in MW 1.13.1
I got this error:
Messages file for extensions Form is not defined
Apparently fixed by changing Line 38 in SpeicalForm.body.php to:
wfLoadExtensionMessages( 'SpecialForm' );
[edit] Problem in mediawiki 1.13
I'm trying to install this extention into my mediawiki and can't seem to get it to work.
I added the line into the LocalSettings.php file, checked special pages it appears as Special:Form
I created a page MediaWiki:Sample-form and a template Template:Sample
I then tried navigating to the page Special:Form/Sample and am recieving an "Internal error" message.
I can't quite figure out why this is. I recive the same error if i try to view Special:Form
Any Ideas why i would get this error?
- NM I'm an Idoit for not understanding the previous post. after I enabled te $wgExtentionMessage line it told me to it directed me to the same fix as above.
[edit] Name not found
I installed the extention.
I created two special pages MediaWiki:Sample-form and Template:Form, in which i copied the content of the same name files.
Then i created a link to Special:Form/Sample, but when i try to go to this page i got this message :
"the form's name is incorrect. Any form exist whit this name"
Someone get an idea ?
Thanks
(Sorry for my english, i'm french, so...)
Ok we found out the solution. The problem is in the french translation where the Formpattern is defined as formulaire-$1. To solve the problem, you have just to change "formulaire-$1" to $1-form" in the page Mediawiki:Formpattern
- Merci pour cette solution! It works!
[edit] Using a form to populate a table
I am using MediaWiki to maintain production stats on several projects. I have several people that are helping with various stages of any given project. I would like to use a form to populate the data in a table so that the users just type the information and hit Submit and the master table would be updated with the new information. Is there anything like this out there? I have checked and don't think that any of the form info I have found here would fit exactly.
[edit] Extension:SpecialForm
Did you try SpecialForm ?
- Especially in combination with Extension:SQL2Wiki, since SpecialForm is write-only to the database. I added some stuff (table-less embedding, pagination) to code on the discussion page. —Bytesmiths 05:02, 26 November 2009 (UTC)
- Per the note on the Extensions page for SpecialForm, it has a security flaw -- use is not recommended until the security issue is corrected. --Lisa Ridley (talk) 18:57, 24 February 2010 (UTC)
[edit] Using MagicWords to format the name title
If you want to use MagicWords in your namePattern for page naming (say, for example, you wish to name each article with a datestamp using {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} you can do so by making the following change:
- Edit SpecialForm.body.php
- Find function createTitle
- right before the last line, "return $title;", insert the following snippet of code:
$parser = new Parser(); $parseroptions = new ParserOptions(); $parser->mOptions = $parseroptions; $parser->initialiseVariables(); $title = $parser->replaceVariables($title);
The MagicWords you have used as part of your namePattern will get parsed and converted to the appropriate text. For example, if in your form template you have defined your namePattern as follows:
namePattern=namePattern={{{topic}}} for {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}
and you create your page on January 5, 2010 and declare the "topic" to be "Discussion" when you fill out your form, the title of the page created with your form will be:
Discussion for 2010-01-05
http://www.mwusers.com/forums/showthread.php?14297-SpecialForm-extension-and-page-naming-question
--Lisa Ridley (talk) 18:57, 24 February 2010 (UTC)
[edit] CAPTCHA's...
The extension is CAPTCHA compatible, how come the CAPTCHA setup instructions weren't included on the extension page? And, does anybody know how to set up the CAPTCHA addon? :/ 92.15.72.235 02:10, 23 June 2010 (UTC)
[edit] working on 1.16?
Still working on 1.16... just remember to keep the name sample-form, not sample-Form.