Last modified: 2013-02-04 16:46:50 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 T46468, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44468 - FlaggedRevs: Call to undefined method PageStabilityProtectForm::setReason()
FlaggedRevs: Call to undefined method PageStabilityProtectForm::setReason()
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 44527 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-29 15:05 UTC by Sam Reed (reedy)
Modified: 2013-02-04 16:46 UTC (History)
4 users (show)

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


Attachments

Description Sam Reed (reedy) 2013-01-29 15:05:45 UTC
[29-Jan-2013 10:30:41] Fatal error: Call to undefined method PageStabilityProtectForm::setReason() at /home/wikipedia/common/php-1.21wmf8/extensions/FlaggedRevs/api/ac$
Server: srv193
Method: POST
URL: http://test.wikipedia.org/w/api.php
Backtrace:
#0 /home/wikipedia/common/php-1.21wmf8/extensions/FlaggedRevs/api/actions/ApiStabilize.php(206): ApiStabilizeProtect->doExecute()
#1 /home/wikipedia/common/php-1.21wmf8/extensions/FlaggedRevs/api/actions/ApiStabilize.php(53): ApiStabilizeProtect->doExecute()
#2 /home/wikipedia/common/php-1.21wmf8/includes/api/ApiMain.php(826): ApiStabilize->execute()
#3 /home/wikipedia/common/php-1.21wmf8/includes/api/ApiMain.php(373): ApiMain->executeAction()
#4 /home/wikipedia/common/php-1.21wmf8/includes/api/ApiMain.php(350): ApiMain->executeActionWithErrorHandling()
#5 /home/wikipedia/common/php-1.21wmf8/api.php(77): ApiMain->execute()
#6 /usr/local/apache/common-local/live-1.5/api.php(3): require('/home/wikipedia...')
#7 {main}
Comment 1 Alex Monk 2013-01-29 16:39:00 UTC
It probably means setReasonExtra. There's another occurrence on line 89.
Comment 2 Alex Monk 2013-01-31 20:40:30 UTC
I also got this while trying that fix:
'<br />\n<b>Fatal error</b>:  Call to undefined method PageStabilityGeneralForm::setExpiry() in <b>/var/www/MediaWiki/Git/extensions/FlaggedRevs/api/actions/ApiStabilize.php</b> on line <b>91</b><br />\n'

So setExpiry -> setExpiryCustom ?
Comment 3 Aaron Schulz 2013-01-31 20:48:41 UTC
https://gerrit.wikimedia.org/r/#/c/47024/
Comment 4 Alex Monk 2013-01-31 20:56:31 UTC
*** Bug 44527 has been marked as a duplicate of this bug. ***
Comment 5 Alex Monk 2013-01-31 21:11:06 UTC
Blame/log points back to 16b87692cc7d0542bc225aedcd93949f46662444, which was r82832 - it's hard to believe this was broken since February 2011...
Comment 6 Alexia E. Smith 2013-02-04 16:43:28 UTC
I believe this issue appears in class ApiStabilizeProtect extends ApiStabilize at lines 206 and 208 as well.
Comment 7 Sam Reed (reedy) 2013-02-04 16:46:50 UTC
(In reply to comment #6)
> I believe this issue appears in class ApiStabilizeProtect extends
> ApiStabilize
> at lines 206 and 208 as well.

Yup, thanks. https://gerrit.wikimedia.org/r/47417

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


Navigation
Links