Hi there,
I've recently built my first extension for Mediawiki using the
CustomUserCreateForm extension as a base and a bit of the ConfirmEdit
extension. My goal was to have a checkbox on the register form for new
user where they have to agree to the wiki's terms before they can become
users. Using the previous mentioned extensions as a base I succeeded in
this, yet I've the feeling the extension could/should use some (probably
a lot actually) changes that would make it better.
For instance I replace the php template for the registration of new
users with my own, but I have hardcode the link to the terms. I would
prefer this to be set by a user of this plugin using a variable instead
of forcing them to change a template. Actually I would rather not
replace the register php template at all, but just add a new form
element to it.
Anyway, I hope some of you have some time to review my work so far and
point me in the right direction to do things the mediawiki way :)
The plugin code can found as a zip file on my site:
http://www.burobjorn.nl/customUserCreateForm.zip (approx 5Kb)
Looking forward to your feedback and comments,
--
met vriendelijke groet,
Bjorn Wijers
* b u r o b j o r n .nl *
digitaal vakmanschap | digital craftsmanship
Concordiastraat 68-126
3551 EM Utrecht
The Netherlands
http://www.burobjorn.nl