Last modified: 2008-09-07 01:11:18 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 T17505, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15505 - FlaggedRevs conflicts with FileRepo
FlaggedRevs conflicts with FileRepo
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
FlaggedRevs (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Aaron Schulz
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-07 00:32 UTC by Tisza Gergő
Modified: 2008-09-07 01:11 UTC (History)
0 users

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


Attachments

Description Tisza Gergő 2008-09-07 00:32:26 UTC
In a testwiki with FlaggedRevs enabled and wgForeignFileRepos set to Commons, on a certain page I get the following error:

Fatal error: Call to a member function exists() on a non-object in /path/to/wiki/includes/filerepo/FileRepo.php on line 104

If either FlaggedRevs or wgForeignFileRepos is disabled, it works fine. The affected page contains Commons images, both directly and through templates, but other pages containing such images work. The images have not been flagged; image- and template-related FlaggedRevs settings are left at default. Both MediaWiki and FlaggedRevs are fresh (r40555).
Comment 1 Aaron Schulz 2008-09-07 00:35:48 UTC
.de wiki has this config and does not have this problem
Comment 2 Aaron Schulz 2008-09-07 00:39:58 UTC
More error handling added in r40560 in FileRepo.php, but this sounds more like some config is broken.
Comment 3 Tisza Gergő 2008-09-07 00:57:25 UTC
Seems to be fixed by that.

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


Navigation
Links