Last modified: 2013-05-15 20:14:34 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 T50511, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48511 - AbuseFilter fatal error Call to undefined method UserCache::getUserName()
AbuseFilter fatal error Call to undefined method UserCache::getUserName()
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
REL1_20-branch
All All
: Unprioritized critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-15 17:14 UTC by Amgine
Modified: 2013-05-15 20:14 UTC (History)
5 users (show)

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


Attachments

Description Amgine 2013-05-15 17:14:49 UTC
MediaWiki 1.20.4 from tarball
AbuseFilter special page (simply configured in LocalSettings.php - see http://pastebin.com/Ris005Nc) presents a blank page. Debugging enabled produces the following fatal error:

Fatal error: Call to undefined method UserCache::getUserName() in /Applications/MAMP/htdocs/w/extensions/AbuseFilter/Views/AbuseFilterViewList.php on line 292
Comment 1 Riccardo Bello 2013-05-15 17:26:29 UTC
I'm the wiki owner. Here is AbuseFilterViewList.php pasted in pastebin http://pastebin.com/EbnJTU9a
Comment 2 Alex Monk 2013-05-15 17:46:05 UTC
This bug is filed as in branch REL1_20, but the change which would cause this is not in that branch...
Comment 3 Amgine 2013-05-15 17:59:23 UTC
Just tested https://git.wikimedia.org/zip/?r=mediawiki/extensions/AbuseFilter.git&h=refs/heads/REL1_20&format=gz and the problem exists in that branch, apparently.

Perhaps someone can set up a test install and do it; I gotta run.
Comment 5 Riccardo Bello 2013-05-15 18:32:04 UTC
I just checked up the differences between AbuseFilterViewList.php in the master and in the stable version. In the stable one, there's no UserCache mentioned. I'm not good at php coding, but this is the difference I found.
Comment 6 Amgine 2013-05-15 20:14:34 UTC
In other words, I was wrong Krenair; I wasn't looking at the 1.20.x version. Apparently it's fixed, a case of the wrong version installed.

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


Navigation
Links