[Mediawiki-l] Basic skills
Nelson A Li
nli at csc.com
Thu Dec 27 19:02:21 UTC 2007
Courtney,
Yes, the attached screenshot is just a html with a form table. You may not
believe it, but it is true that I don't know how to manulally create a wiki
page with the form that user can fill out. Also, I would like to be able
to pre-fill the form using php code with the data I retrieved from the DB.
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.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"Christensen,
Courtney"
<ChristensenC at BAT To
TELLE.ORG> MediaWiki announcements and site
Sent by: admin list
mediawiki-l-bounc <mediawiki-l at lists.wikimedia.org>
es at lists.wikimedi cc
a.org
Subject
Re: [Mediawiki-l] Basic skills
12/27/2007 01:51
PM
Please respond to
MediaWiki
announcements and
site admin list
<mediawiki-l at list
s.wikimedia.org>
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 at lists.wikimedia.org
[mailto:mediawiki-l-bounces at 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 at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
More information about the MediaWiki-l
mailing list