Nelson, On rereading your original post, I believe that the boilerplate will not suit our needs. They are a way to create a new edit page in edit mode. You are looking for a page to display to the user for some data input. At least that is how I read it.
Writing your own Special Page extension might be the easiest way to get exactly what you want. It will take a fairly thorough knowledge of PHP and its object model to connect with Mediawiki
DSig .. Just Chillin'
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Nelson A Li Sent: Thursday, December 27, 2007 14:58 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Basic skills
Dave,
When I created the Boilerplate page, edit the html form in it, and save the page, the table is created. But the form and input html staements are shown "as is". MW does not recognize the form and input tags. I have looks through several extensions (Simple Forms, CustomEdit, RawMsg, ...) and could not identify an extension to render the raw html in wiki page. Could you elaborate a little more about how do I create a page with a form imbedded in it? Thank you.
Nelson
Computer Sciences Corporation Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA Registered in USA No: C-489-59
------------------------------------------------------------------------ ------------------------------------------------------------------------ ----------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----------------------------------------------------------------
"Dave Sigafoos"
<davesigafoos@san
mar.com> To Sent by: "MediaWiki announcements and site
mediawiki-l-bounc admin list"
es@lists.wikimedi mediawiki-l@lists.wikimedia.org
a.org cc
Subject 12/27/2007 01:59 Re: [Mediawiki-l] Basic skills
PM
Please respond to
MediaWiki
announcements and
site admin list
<mediawiki-l@list
s.wikimedia.org>
You can create "boilerplate" pages with either extension Boilerplate or BoilerplateSelection.
You might be able to use TableEdit extension for the tables. It does store the data in an external database and might be used. You might want to talk to the author (I think it was Jim Hu).
There might be a way to dynamically create a new "db" item for each new page created.
DSig .. Just Chillin'
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Christensen, Courtney Sent: Thursday, December 27, 2007 10:52 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Basic skills
Nelson,
The mailing list strips attachments for everyone's safety. Do you think you could post your image on a publicly accessible site instead?
Do you just want a page with a form that a user fills out and then you create a new article from the form input? If that is the case, create a new special page and use the $wgRequest variable to work with the submitted data.
-Courtney
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Nelson A Li Sent: Thursday, December 27, 2007 12:25 PM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Basic skills
Hello,
1. Can someone tell me how to manually or dynamically create a page that shows the following table for user inputs? (See attached file: Snap.png) 2. Assume question one resolved, which means that I have created the page manually in MediaWiki. If I want to use php code to retrieve the data from wikidb and pre-populate the table fields so that users can see the current value before they put updates, how do I "call" this page and pass the db-retrieved data to the page?
3. After user inputs the updates and hit the "Submit updates" button, how do I get the user inputs in order to update my wikidb?
I am pretty new to MW and still struggle to the core php code. Please give detail instructions when answer my questions. Thank you and have a Happy New Year.
Nelson
Computer Sciences Corporation Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA Registered in USA No: C-489-59
------------------------------------------------------------------------ ------------------------------------------------------------------------ ----------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----------------------------------------------------------------
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l