Quote:
Originally Posted by starman?
Brilliant piece of work. Thank you very much.
A couple of issues though;
1) My wiki image files in articles have disappeared. Re-uploading them seems to be the only answer. e.g I have a wiki article on golf with an image of a golf course. The image isn't displaying (though it is in the file list) and therefore I've had to re-upload it. Perhaps there is a path problem somewhere?
2) Removing both instances of $wgContLang->ucfirst( $name ) from the user.php file causes blank wiki pages. I re-inserted them and all is okay. Are your instructions clear on this issue?
Once again thank you for an awesome product. Can't wait for the Gold version but will help you in reporting any other issues I come across.
|
1) 1) ... ow... I don't even have an idea what that could be relegated to... I don?t change anything related to images, except of the css, but that should not be the problem...
... if you select the monoblock skin, are the images back?
2) hm... no, not just delete the lines, do it like this:
PHP Code:
if ( $name == ''
|| User::isIP( $name )
|| strpos( $name, '/' ) !== false
|| strlen( $name ) > $wgMaxNameChars
|| $name != $wgContLang->ucfirst( $name ) ) {
wfDebugLog( 'username', __METHOD__ .
": '$name' invalid due to empty, IP, slash, length, or lowercase" );
return false;
}
change to:
PHP Code:
if ( $name == ''
|| User::isIP( $name )
|| strpos( $name, '/' ) !== false
|| strlen( $name ) > $wgMaxNameChars ) {
wfDebugLog( 'username', __METHOD__ .
": '$name' invalid due to empty, IP, slash, length, or lowercase" );
return false;
}
and this:
PHP Code:
# Force usernames to capital
global $wgContLang;
$name = $wgContLang->ucfirst( $name );
# Reject names containing '#'; these will be cleaned up
# with title normalisation, but then it's too late to
# check elsewhere
if( strpos( $name, '#' ) !== false )
return false;
change to:
PHP Code:
# Force usernames to capital
global $wgContLang;
# Reject names containing '#'; these will be cleaned up
# with title normalisation, but then it's too late to
# check elsewhere
if( strpos( $name, '#' ) !== false )
return false;