Last modified: 2007-11-01 17:57:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11844 - message error when editing any page
message error when editing any page
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
All All
: Highest blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-11-01 17:18 UTC by Bertrand GRONDIN
Modified: 2007-11-01 17:57 UTC (History)
2 users (show)

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

Correcting bug. (529 bytes, patch)
2007-11-01 17:43 UTC, Bertrand GRONDIN

Description Bertrand GRONDIN 2007-11-01 17:18:50 UTC
When you edit anypage we have the following message error :

Fatal error: Call to a member function getNamespace() on a non-object in /var/www/wiki/extensions/Translate/TranslateEditAddons.php on line 5

In line 5 in TranslateEditAddons.php we read :

if( $object->mTitle->getNamespace() == NS_MEDIAWIKI ) {
			$object->editFormTextTop .= self::editBoxes( $object );
			//$object->editFormTextTop .= self::messageFormat( $object );
Comment 1 Robert Leverington 2007-11-01 17:26:10 UTC
This bug is due to r27091 which removes the mTitle property from EditPage.
Comment 2 Bertrand GRONDIN 2007-11-01 17:43:38 UTC
Created attachment 4297 [details]
Correcting bug.

I've changing mTitle by dbTible and it seems that runs.
Comment 3 Robert Leverington 2007-11-01 17:51:12 UTC
This might not be commited as r27091 is probably going to be reverted, although if it isn't this will be an acceptable patch - however I believe the extension author has already fixed his code and is just waiting until he knows if he needs to commit it or not. Thanks regardless.
Comment 4 Aaron Schulz 2007-11-01 17:57:26 UTC
Resolved in r27116.

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