Last modified: 2011-01-25 00:38:36 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 T23785, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21785 - Keys added through Special:Translate/manage result in Fatal error: Call to a member function getNamespace() on a non-object
Keys added through Special:Translate/manage result in Fatal error: Call to a...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-07 23:17 UTC by Siebrand Mazeland
Modified: 2011-01-25 00:38 UTC (History)
1 user (show)

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


Attachments

Description Siebrand Mazeland 2009-12-07 23:17:36 UTC
If message keys are added for FileBasedMessageGroups in Special:Translate/manage, those keys cannot be translated immediately. Doing so results in PHP Fatal error:  Call to a member function getNamespace() on a non-object in Translate/utils/TranslationHelpers.php on line 78.

The work-around is running Translate/scripts/createMessageIndex.php. That's awkward, though. These groups are maintained from the web UI, but a shell script action is needed before it works, or worse, it dies.

When adding/removing keys through Special:Translate/manage, the message index should also be updated.
Comment 1 Siebrand Mazeland 2010-09-17 06:14:45 UTC
Does not appear to happen anymore. Not sure when this was fixed exactly.

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


Navigation
Links