[Mediawiki-l] Extension:ConfirmAccount Checkbox entfernen

Joshua C. Lerner jlerner at gmail.com
Mon Oct 29 13:39:48 UTC 2007


On 10/25/07, amuenzeb at rockwellcollins.com <amuenzeb at rockwellcollins.com> wrote:

> I plan to use the Extension:ConfirmAccount but need much less information
> than forseen in the RequestAccount-page. In particular I want to remove
> the checkbox on the lower left (ToS I think). A quick look into the
> source-code in ConfirmAccount_body.php gave me the impression that this
> might be controlled by a preference-variable in LocalSettings.php:
>
> Line 41:                $this->mToS = $wgRequest->getBool('wpToS');
>
> Line 125ff.:    $form .= "<p>".Xml::check( 'wpToS', $this->mToS,
> array('id' => 'wpToS') ).
>                 ' <label for="wpToS">'.wfMsgExt( 'requestaccount-tos',
> array('parseinline') )."</label></p>\n";
>
> Question is: Where do I get the correct name of the preference-variable to
> use in LocalSettings.php so that it is recognized in
> ConfirmAccount_body.php, line 41?

I don't think there is one - I think you're going to have to edit
ConfirmAccount_body.php itself.

Joshua



More information about the MediaWiki-l mailing list