What MW/php versions are you using? I didn't have
to explicitly
include, but I think MW autoloads the classes, which doesn't work in
PHP4. That's my handwaving guess - the real experts can confirm or
deny.
Jim
On Apr 15, 2007, at 6:54 PM, Steve Finkelstein wrote:
When writing a SpecialPage, I receive the
following error:
PHP Fatal error: Class 'SpecialPage' not found
Do I have to explicitly include SpecialPage.php in my code? It doesn't
list it as such in the page listed below by Jim.
- sf
Jim Hu wrote:
I found the frameworks on this page to be helpful
in building special
pages
http://meta.wikimedia.org/wiki/Writing_a_new_special_page
Jim
On Apr 14, 2007, at 4:15 PM, Ian Smith wrote:
So, you have a script which basically pops up an
HTML form? Sounds
like you want to make a new special page. This would be a page
that you can link to, and which can access MW's security features -
so you can restrict it to people who have confirmed email
addresses, eg.
Find another extension that does something similar, and merge your
code into it.
Ian
-----Original Message-----
From: Steve Finkelstein [mailto:sf@stevefink.net]
Sent: Saturday, April 14, 2007 12:53 PM Pacific Standard Time
To: mediawiki-l(a)lists.wikimedia.org
Subject: [Mediawiki-l] Tie in a script?
All,
Not sure what the correct terminology is, assuming it might be a
hook or
extension. Either way - I have existing scripts which I've
written in
PHP that simply allow users to change their LDAP password, etc. I'm
looking to throw this code (it's just a form with basic PHP+LDAP
support) into MediaWiki so users can change their password from
there.
Currently I have it linked as an external link and for security
purposes, this isn't favorable.
Is there any suggestions on how I can begin to go about this? The
correct documentation etc would be much preferred.
Thanks all!
- Steve
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
!DSPAM:1020,4622bc678211644115261!