Re: [Mediawiki-l] Problem sending confirmation email after upgrade to 1.17.3
On Sun, 25 Mar 2012 14:04:26 -0700, Joanna Cheng wrote: After adding $wgShowExceptionDetails = true; to LocalSettings.php === Internal error Non-string key given Backtrace: #0 $wikipath/includes/GlobalFunctions.php(781): MessageCache->get(NULL, true, Object(Language)) #1 $wikipath/includes/GlobalFunctions.php(902): wfMsgGetKey(NULL, true, Object(Language), false) #2 $wikipath/languages/Language.php(513): wfMsgExt(NULL, Array) #3 $wikipath/languages/Language.php(525): Language->getMessageFromDB(NULL) #4 $wikipath/languages/Language.php(799): Language->getMonthName(false) #5 $wikipath/languages/Language.php(1560): Language->sprintfDate('H:i, j F Y', false) #6 $wikipath/includes/User.php(2970): Language->timeanddate('9c175ace21c28db...', false) #7 $wikipath/includes/specials/SpecialUserlogin.php(202): User->sendConfirmationMail() #8 $wikipath/includes/specials/SpecialUserlogin.php(132): LoginForm->addNewAccount() #9 $wikipath/includes/specials/SpecialUserlogin.php(34): LoginForm->execute() #10 [internal function]: wfSpecialUserlogin(NULL, Object(SpecialPage)) #11 $wikipath/includes/SpecialPage.php(851): call_user_func('wfSpecialUserlo...', NULL, Object(SpecialPage)) #12 $wikipath/includes/SpecialPage.php(578): SpecialPage->execute(NULL) #13 $wikipath/includes/Wiki.php(262): SpecialPage::executePath(Object(Title)) #14 $wikipath/includes/Wiki.php(63): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest)) #15 $wikipath/index.php(114): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest)) #16 {main} = The actual registration goes through because I can't re-register a nick after this error. From the stacktrace I'm guessing the problem is sending the email. No idea how to debug, any pointers would be much appreciated. Thanks in advance, Joanna We have a bug open for this issue: https://bugzilla.wikimedia.org/show_bug.cgi?id=35441 It looks like I was a little hasty in some of my changes to make callers start using MWCryptRand. When I dropped the salt using $expiration and replaced with MWCryptRand I dropped the $expiration variable setting. But it turns out that said variable was actually a reference and external functions were relying on the fact that it just happened to be modified by the function. It didn't help that 1.17 had some trivial code changes that created patch conflicts and forced me to manually apply modifications to 1.17. We should be making a follow up release sometime soon when we're sure there aren't any other bugs in the release we need to fix. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
[Mediawiki-l] Problem sending confirmation email after upgrade to 1.17.3
After adding $wgShowExceptionDetails = true; to LocalSettings.php === Internal error Non-string key given Backtrace: #0 $wikipath/includes/GlobalFunctions.php(781): MessageCache->get(NULL, true, Object(Language)) #1 $wikipath/includes/GlobalFunctions.php(902): wfMsgGetKey(NULL, true, Object(Language), false) #2 $wikipath/languages/Language.php(513): wfMsgExt(NULL, Array) #3 $wikipath/languages/Language.php(525): Language->getMessageFromDB(NULL) #4 $wikipath/languages/Language.php(799): Language->getMonthName(false) #5 $wikipath/languages/Language.php(1560): Language->sprintfDate('H:i, j F Y', false) #6 $wikipath/includes/User.php(2970): Language->timeanddate('9c175ace21c28db...', false) #7 $wikipath/includes/specials/SpecialUserlogin.php(202): User->sendConfirmationMail() #8 $wikipath/includes/specials/SpecialUserlogin.php(132): LoginForm->addNewAccount() #9 $wikipath/includes/specials/SpecialUserlogin.php(34): LoginForm->execute() #10 [internal function]: wfSpecialUserlogin(NULL, Object(SpecialPage)) #11 $wikipath/includes/SpecialPage.php(851): call_user_func('wfSpecialUserlo...', NULL, Object(SpecialPage)) #12 $wikipath/includes/SpecialPage.php(578): SpecialPage->execute(NULL) #13 $wikipath/includes/Wiki.php(262): SpecialPage::executePath(Object(Title)) #14 $wikipath/includes/Wiki.php(63): MediaWiki->handleSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest)) #15 $wikipath/index.php(114): MediaWiki->performRequestForTitle(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest)) #16 {main} = The actual registration goes through because I can't re-register a nick after this error. From the stacktrace I'm guessing the problem is sending the email. No idea how to debug, any pointers would be much appreciated. Thanks in advance, Joanna ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Receiving an email when new discussion entry has been made?
On Sun, Mar 25, 2012 at 13:54, Stip wrote: > Have a look at Special:Preferences. I think she wants http://www.mediawiki.org/wiki/Config_settings#Email_notification_.28Enotif.29_settings first. -Jeremy ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Receiving an email when new discussion entry has been made?
Have a look at Special:Preferences. Am 25.03.2012 19:02, schrieb Isabell Alcott: Hello. Is it possible to receive an email, when someone makes a comment on a discussion page in my Wiki? So I'd like to get informed. Thanks and take care ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
[Mediawiki-l] Receiving an email when new discussion entry has been made?
Hello. Is it possible to receive an email, when someone makes a comment on a discussion page in my Wiki? So I'd like to get informed. Thanks and take care ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] declare a categorie out of an infobox?
On 20/03/12 16:28, Michael Renner wrote: > Moin, > > I made a small infobox to control the currentness of data. I wonder if > it is possible to declare a categorie out of this infobox? > > Instead of filling out the infobox in a firtst step and including the > categorie in an other: just add a line to my infobox where my users can > type in the desired categorie. > > Thanks Sure. Just place the category in the template page. You can even use the template arguments in the category tag. ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] CentralNotice only working on pages without short URLs
It's related to the way it is configured. It's trying to load the central notice from: > http://www.tmswiki.org/ppd/The_Tension_Myositis_Syndrome_Wiki?title=Special:BannerLoader&banner=TestBanner&campaign=TYDS&userlang=en&db=ptpn_wiki&sitename=The+TMS+Wiki instead of > http://www.tmswiki.org/w/index.php?title=Special:BannerLoader&banner=TestBanner&campaign=TYDS&userlang=en&db=ptpn_wiki&sitename=The+TMS+Wiki You seem to have $wgCentralPagePath with its default value. I suspect that setting > $wgCentralPagePath = "http://www.tmswiki.org/w/index.php";; will fix it. I've also submitted a change to https://gerrit.wikimedia.org/r/3717 which should provide a better default. Best regards ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Save Page?
On 23/03/12 22:02, Gordon Joly wrote: > On 23/03/2012 12:49, Petr Bena wrote: >> Ok but the section is a part of page. You can't save section without >> affecting whole page. So you save the whole page, even when you are >> editing just a section. > I believe that Mediawiki allows editing in parallel > > Person A edits Section 1 > > Person B edits Section 2 > > Person C edits Section 3 > > etc > > This can happen concurrently. Hence, Person X changes the section, but > all he changes in total change the page? > > Gordo He changes the whole page. In such situation MediaWiki is usually able to merge the sections by itself, but each of them is a full page save. It gets exposed in the fact that when there's an edit conflict, you will get the whole page even if you were editing just a section. But really, this is low-level stuff which the users shouldn't be concerned with. You can rename it to "Save text" if you want. ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: [Mediawiki-l] Fata error upgrading 1.17.0 to 1.18.2
On 24/03/12 02:41, Boyandin Konstantin wrote: > Hello, > > Wgen trying to upgrade MediaWiki installation 1.17.0 to 1.18.2, the following > happens when running ,aintenance/update.php: > > Fatal error: Call to a member function getDbType() on a non-object in > maintenance/doMaintenance.php on line 91 > (all upgrade steps are made as recommended in the supplied document). > > The DB is garbled after that, I had to reverse both files and reload DB dump > to have site back in working state. > > Is the above a known problem? PHP version is 5.2.17. No. It should have worked flawlessly. Is any of your extensions changing $maintenance in their script? That would explain what you're seeing. What are your extensions? You could try disabling them and then run update.php after enabling them again. ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l