Last modified: 2008-07-04 14:36:37 UTC
With a clean installatin of Translate with the exact options described in the README file (and the extension being located under $IP/extensions/) I get the follow notices when I try to get a list of untranslated messages for "All extension:" Notice: Undefined index: optional in D:\SVN\phase3\extensions\Translate\MessageGroups.php on line 148 Warning: Invalid argument supplied for foreach() in D:\SVN\phase3\extensions\Translate\MessageGroups.php on line 148 Notice: Undefined index: ignored in D:\SVN\phase3\extensions\Translate\MessageGroups.php on line 154 Warning: Invalid argument supplied for foreach() in D:\SVN\phase3\extensions\Translate\MessageGroups.php on line 154 If I change the setting to get a list of untranslated messages for "Extensions used by Wikimedia" I will end up with a bigger list of warnings and notices and MW breaks.
Can you check if I have fixed it now?
At least now it is not throwing warnings! But still, extension groups are not being listed in the "Group" drop down. Only MediaWiki, MediaWiki (most used) and Word2Media wiki are being listed by default. This should be fixed, this time.
Adding $wgTranslateAddMWExtensionGroups = true; causes this warning: Internal error Trying to define name twice: Abuse Filter Backtrace: #0 D:\SVN\phase3\extensions\Translate\groups\MediaWikiExtensions.php(107): PremadeMediawikiExtensionGroups->init() #1 D:\SVN\phase3\extensions\Translate\MessageGroups.php(516): PremadeMediawikiExtensionGroups->addAll() #2 D:\SVN\phase3\extensions\Translate\MessageGroups.php(525): MessageGroups::init() #3 D:\SVN\phase3\extensions\Translate\TranslatePage.php(147): MessageGroups::getGroup('') #4 D:\SVN\phase3\extensions\Translate\TranslatePage.php(38): SpecialTranslate->setup() #5 D:\SVN\phase3\includes\SpecialPage.php(534): SpecialTranslate->execute(NULL) #6 D:\SVN\phase3\includes\Wiki.php(224): SpecialPage::executePath(Object(Title)) #7 D:\SVN\phase3\includes\Wiki.php(55): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest)) #8 D:\SVN\phase3\index.php(92): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest)) #9 {main}
Seems like you've fixed it with r37055.