Last modified: 2008-10-31 17:49:59 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 T18205, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16205 - edit page broken
edit page broken
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: Highest blocker (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-31 14:11 UTC by Bertrand GRONDIN
Modified: 2008-10-31 17:49 UTC (History)
3 users (show)

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


Attachments
fix call of Revision:getTimestampFromId in FlaggedRevs.hooks.php (806 bytes, patch)
2008-10-31 17:20 UTC, P.Copp
Details

Description Bertrand GRONDIN 2008-10-31 14:11:03 UTC
Impossible to edit page in mediawiki now. 

When submitting modification, an error message is displayed : 

Fatal error: Call to a member function getArticleId() on a non-object in /var/www/wiki/includes/Revision.php on line 962

I'm working with the version r42899 of mediawiki
Comment 1 Siebrand Mazeland 2008-10-31 14:12:47 UTC
WORKSFORME per http://translatewiki.net/wiki/Special:Version
Comment 2 Lars Ã…ge Kamfjord 2008-10-31 14:14:12 UTC
WORKSFORME too. Have you disabled your extensions and confirmed it to be mediawiki?
Comment 3 Bertrand GRONDIN 2008-10-31 14:28:45 UTC
Is it a joke ?
Comment 4 Siebrand Mazeland 2008-10-31 14:30:05 UTC
Lowering severity. 2 reports of WORKSFORME.
Comment 5 P.Copp 2008-10-31 14:39:32 UTC
This might be caused by r42804: Revision::getTimestampFromId is called from FlaggedRevs.hooks.php as well, so the call has to be changed there, too.
Comment 6 Bertrand GRONDIN 2008-10-31 16:42:24 UTC
I confirm, by disable FlaggedRevs extensios, we can edit.
Comment 7 Roan Kattouw 2008-10-31 16:43:28 UTC
(In reply to comment #6)
> I confirm, by disable FlaggedRevs extensios, we can edit.
> 

Setting component to FlaggedRevs then.
Comment 8 Bertrand GRONDIN 2008-10-31 17:13:49 UTC
The problem is the new code in main program, but in FlaggedRevs.
Comment 9 P.Copp 2008-10-31 17:20:30 UTC
Created attachment 5496 [details]
fix call of Revision:getTimestampFromId in FlaggedRevs.hooks.php

If it is urgent, you could use this patch, which should do the trick.
Comment 10 Bertrand GRONDIN 2008-10-31 17:49:59 UTC
It's run

Patch Applied r42926.

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


Navigation
Links