User:Dan Nessett/Technical/Notes on Refactoring CZ: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Dan Nessett
imported>Dan Nessett
Line 44: Line 44:
|-
|-
|ConfirmEdit
|ConfirmEdit
|Need to move setting of skipcaptcha permission into<br>
|Need to move setting of $wgGroupPermissions['sysop']['skipcaptcha'] = false;<br>
LocalSettings.php, since the defaults of the MW standard<br>
into LocalSettings.php, since the defaults of the MW standard<br>
are not the same as the CZ modified version. Also need<br>
are not the same as the CZ modified version. Also need to set<br><br>
to set $wgCaptchaTriggers and $wgCaptchaTriggersOnNamespace<br>
$ceAllowConfirmedEmail = true;<br>
in LocalSettings, so ConfirmEdit settings are quickly visible.
$wgCaptchaTriggers['addurl']        = false;<br>
$wgCaptchaTriggers['createaccount'] = true;<br>
$wgCaptchaTriggers['badlogin']      = false;<br><br>
While the FancyCaptcha module is loaded, it is not used, since<br>
by default $wgCaptchaClass = 'SimpleCaptcha';<br>
and LocalSettings doesn't override this default.
|
|
|-
|-

Revision as of 15:37, 5 May 2010

Where to get svn_load_dirs.pl and configure it

You can get svn_load_dirs.ph.in here: svn_load_dirs directory

Edit the file and (around line 26) change the following line:

< my $svn = '@SVN_BINDIR@/svn';

by replacing @SVN_BINDIR@/svn by the directory in which svn resides. For Ubuntu the line would like like:

< my $svn = '/usr/bin/svn';

MW standard extensions to check

Extension Name Notes Status
CategoryTree The default limit on entries displayed is 200.

This is controlled by $wgCategoryTreeMaxChildren

Works
CharInsert Works
CheckUser Requires db schema changes

First execute php CheckUser/install.php
After executing install.php, do full db backup
Make sure error_reporting = E_ALL & ~E_NOTICE
and display_errors = Off in php.ini

Works
Cite Works
ConfirmAccount Works
ConfirmEdit Need to move setting of $wgGroupPermissions['sysop']['skipcaptcha'] = false;

into LocalSettings.php, since the defaults of the MW standard
are not the same as the CZ modified version. Also need to set

$ceAllowConfirmedEmail = true;
$wgCaptchaTriggers['addurl'] = false;
$wgCaptchaTriggers['createaccount'] = true;
$wgCaptchaTriggers['badlogin'] = false;

While the FancyCaptcha module is loaded, it is not used, since
by default $wgCaptchaClass = 'SimpleCaptcha';
and LocalSettings doesn't override this default.

EmbedVideo
ExpandTemplates
ImageMap
inputbox
Newuserlog
ParserFunctions
Renameuser
Timeline
TreeAndMenu
wikihiero

Refactoring issues

  • It appears many pages (including the Request Account page) has constables@citizendium.org hardwired in. There is no magic word available to access the $wgPasswordSender global variable or any other email address. This is something that the Citizendium extension should add (i.e., a magic word for the site's configured complaint email address).
  • It also appears that many Mediawiki namespace pages have http://en.citizendium.org hardwired. These should be changed to: {{SERVER}}{{SCRIPTPATH}}