Last modified: 2008-07-04 14:36:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T16495, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14495 - A clean installation of Translate is not working
A clean installation of Translate is not working
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-10 13:49 UTC by Huji
Modified: 2008-07-04 14:36 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Huji 2008-06-10 13:49:52 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.
Comment 1 Niklas Laxström 2008-06-29 13:08:54 UTC
Can you check if I have fixed it now?
Comment 2 Huji 2008-06-30 17:46:37 UTC
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.
Comment 3 Huji 2008-07-04 14:20:53 UTC
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}
Comment 4 Huji 2008-07-04 14:36:37 UTC
Seems like you've fixed it with r37055.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links