Last modified: 2007-11-01 17:57:43 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 T13844, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11844 - message error when editing any page
message error when editing any page
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Highest blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


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

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.


Navigation
Links