Am 10.10.2008 20:07 Uhr schrieb »mediawiki-l-request(a)lists.wikimedia.xn--org-9ea
unter »mediawiki-l-request(a)lists.wikimedia.xn--org-9ea:
> Date: Fri, 10 Oct 2008 17:27:55 +0200
> From: Raul B ? hm <raul.boehm(a)bockwurst-filmkontor.de>
> Subject: [Mediawiki-l] Images with special characters doesnt work
> anymore
> To: <mediawiki-l(a)lists.wikimedia.org>
> Message-ID: <C515411B.A9AC%raul.boehm(a)bockwurst-filmkontor.de>
> Content-Type: text/plain; charset="US-ASCII"
>
> Hello,
>
> I have moved a Wiki-Database from one Server to an other. And now all images
> with special characters in name throw this error on selecting them in the
> image list:
>
> Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to
> allocate 491520 bytes) in [...] /includes/specials/SpecialUpload.php on line
> 1220
>
> Can somebody help me?
>
> Raul
Hello,
I increased
ini_set( 'memory_limit', '60M' );
Now it works.
Thanks for your help.
Raul
Hi,
I am playing with the addNewAccount function in SpecialUserlogin.php.
The extra form fields that are created need to be e-mailed to a sysop
and it worked fine for a day, but the mails are not delivered anymore.
Could someone advice on what the problem might be (except for coding in
the core)?
---
function addNewAccount() {
global $wgUser, $wgEmailAuthentication;
# Create the account and abort if there's a problem doing so
$u = $this->addNewAccountInternal();
if( $u == NULL )
return;
# If we showed up language selection links, and one was in use, be
# smart (and sensible) and save that language as the user's
preference
global $wgLoginLanguageSelector;
if( $wgLoginLanguageSelector && $this->mLanguage )
$u->setOption( 'language', $this->mLanguage );
# Send out an email authentication message if needed
if( $wgEmailAuthentication && User::isValidEmailAddr(
$u->getEmail() ) ) {
global $wgOut;
$error = $u->sendConfirmationMail();
if( WikiError::isError( $error ) ) {
$wgOut->addWikiMsg( 'confirmemail_sendfailed',
$error->getMessage() );
} else {
$wgOut->addWikiMsg( 'confirmemail_oncreate' );
}
}
# Save settings (including confirmation token)
$u->saveSettings();
# If not logged in, assume the new account as the current one
and set session cookies
# then show a "welcome" message or a "need cookies" message as
needed
if( $wgUser->isAnon() ) {
$wgUser = $u;
$wgUser->setCookies();
wfRunHooks( 'AddNewAccount', array( $wgUser ) );
if( $this->hasSessionCookie() ) {
return $this->successfulLogin( 'welcomecreation',
$wgUser->getName(), false );
} else {
return $this->cookieRedirectCheck( 'new' );
}
} else {
# Confirm that the account was created
global $wgOut;
$self = SpecialPage::getTitleFor( 'Userlogin' );
$wgOut->setPageTitle( wfMsgHtml( 'accountcreated' ) );
$wgOut->setArticleRelated( false );
$wgOut->setRobotPolicy( 'noindex,nofollow' );
$wgOut->addHtml( wfMsgWikiHtml( 'accountcreatedtext',
$u->getName() ) );
$wgOut->returnToMain( false, $self );
wfRunHooks( 'AddNewAccount', array( $u ) );
$topic = "Application from user " . $this->mName ."\n";
$text = $this->mName ." wants ... \n\n";
$text .= "Real name: " .$this->mRealName . "\n";
$text .= "Business name: " . $this->mBusinessName . "\n";
$text .= "Address: " . $this->mAddress . "\n";
$text .= "Business type: " . $this->mBusinessType . "\n";
$text .= "Interests: " . $this->mInterests . "\n";
$text .= "Affiliations: " . $this->mAffiliations . "\n";
$text .= "Specific interests: " . $this->mSpecificInterests . "\n";
$text .= "Published work: " . $this->mPublishedWork . "\n";
mail("myemail(a)somesite.com", $topic, $text, "From:myemail@somesite.com",
"-f myemail(a)somesite.com");
return true;
}
}
---
Thanks,
Alain
Le dimanche 12 octobre 2008 à 23:12 +0000,
mediawiki-l-request(a)lists.wikimedia.org a écrit :
> From: Brion Vibber <brion(a)wikimedia.org>
> Subject: Re: [Mediawiki-l] announcing umw: bash script to
> backup/update mediawiki from svn
> > You can find it at http://karastathis.org/index.php/Umw
>
> Nothing there.
Sorry I changed something, it's http://nsk.karastathis.org/index.php/Umw
now
--
Thanks,
NSK Nikolaos S. Karastathis, http://nsk.karastathis.org/
I set up CentralAuth on my localhost wiki before I move it to my webhost.
It works almost well, apart from the fact two errors happen when my account is merged:You are ready to create your unified account, with the following wikis attached: Home wikiThe password and e-mail address set at this wiki will be used for your unified account. You will be able to change which is your home wiki later. localhost/$ (home wiki)
Attached account
The account named "WikiSysop" on each of the following sites will be automatically attached to the unified accountlocalhost/$ (confirmed by password)The accounts merge successfully, but it doesn't show the database names (in this case, wikitest1 and wikitest2)
Also, when I try to change global group memberships, it says errors exist in the SpecialUserrights.php files and global rights logs don't work.
Does anyone know what I need to do to fix it.
Here's a sample from my LocalSettings.php:
require_once( 'extensions/Makesysop/SpecialMakesysop.php' );
require_once ("$IP/extensions/CentralAuth/CentralAuth.php");
$wgLocalDatabases = array(
'2008wiki',
'2009wiki',
);
$wgConf->wikis = $wgLocalDatabases;
$wgConf->suffixes = array( 'wiki' );
$wgConf->settings = array(
'wgServer' => array(
'default' => 'http://localhost',
),
'wgScriptPath' => array(
'default' => '/wiki$lang',
),
'wgArticlePath' => array(
'default' => '/wiki$lang/index.php/$1',
),
'wgSitename' => array(
'wikisite1' => 'Testwiki',
'wikisite2' => 'WikiSite',
),
'wgLanguageCode' => array(
'default' => 'en',
),
'wgLocalInterwiki' => array(
'default' => '$lang',
),
);
list( $site, $lang ) = $wgConf->siteFromDB( $wgDBname );
$params = array(
'site' => $site,
'lang' => $lang,
'wiki' => $wgDBname,
);
$wgConf->extractAllGlobals( $wgDBname, $site, $params, array() );
require_once( "..\CommonSettings.php" );
$wgGroupPermissions['steward']['globalgrouppermissions'] =true;
$wgGroupPermissions['steward']['globalgroupmembership'] =true;
$wgGroupPermissions['steward']['globaluserrights'] = true;
$wgGroupPermissions['steward']['centralauth-admin'] = true;
Also, anyone know how to get the user rights logs (for makesysop) to display interwiki links to user pages, like they do on http://meta.wikimedia.org - mine are just redlinked.
Advice much appreciated.
Craig
<img src="http://recallable.bigstring.com/T9lbdxb1223733682.gif" alt="" width="0" height="0">
<img src="http://www.bigstring.com/refer.php?img=64" width="1" height="1">Send Self-Destructing Instant Messages with BigString's new IM. Share your thoughts and ideas without the worry of what the receiving party may be retaining.
umw is a bash script that enables you to easily update your
svn-installed mediawikis to the latest revision or to a specific
revision.
You can find it at http://karastathis.org/index.php/Umw
It available under a free licence and I hope you will find it useful,
but it has no warranty so you use it at your own risk.
--
Thanks,
NSK Nikolaos S. Karastathis, http://karastathis.org/
Hello
in page http://meta.wikimedia.org/wiki/Help:Variable
all variables available are described using as example a fictitious page
"User:Anonymous user/sandbox/my page"
I did not see there any variable able to retrieve the parent page name
of the current one, that is : "Anonymous user" why ?
Is there a trick to get this name from inside
"User:Anonymous user/sandbox/my page" ?
Thanks
Francois Colonna
On Sat Oct 11 11:46:01 UTC 2008 Wikimini wrote:
> I would like to show the last N registered users on a wiki page.
This would require Special:Log to be an includable special page, so you could do something like {{Special:Log/newusers,10}} to show the last 10 entries from the new user log. This is not the case at the moment. A quick scan on bugzilla.wikimedia.org did not give me an open feature request in this direction yet. We would of course welcome a patch that would make this possible.
Cheers! Siebrand
Hello,
I would like to show the last N registered users on a wiki page.
I was disappointed not to find any extension or discussion about what could
be a nice feature, couldn't it? Or did I miss something?
Thank you for your help and have a nice day.
Laurent
Hello,
I'm not a programmer and need help for some custom programming and
modifications of a Mediawiki installation.
I have been looking around for qualified professional Mediawiki service
providers offering competitive rates. I have looked at elance.com and
opensourceexperts.org and found a few providers in Asia - but it looks as if
none of them have detailed Mediawiki experience. I wonder if there are other
places to look?
If someone on this list would be interested or knows where ask, please send
me an email.
kassoe
(located in Denmark)
Wiki: 1.13.2
PHP: 5.2.0-8
MySQL: 5.0.32
Hello,
I have moved a Wiki-Database from one Server to an other. And now all images
with special characters in name throw this error on selecting them in the
image list:
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to
allocate 491520 bytes) in [...] /includes/specials/SpecialUpload.php on line
1220
Can somebody help me?
Raul