https://bugzilla.wikimedia.org/show_bug.cgi?id=43632
Web browser: --- Bug ID: 43632 Summary: Make SRF support foreign image repos Product: MediaWiki extensions Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: Unprioritized Component: SemanticResultFormats Assignee: jeroen_ded...@yahoo.com Reporter: leo_wallen...@hotmail.com CC: jamesin.hongkon...@gmail.com, wikibugs-l@lists.wikimedia.org, yaro...@gmail.com Classification: Unclassified Mobile Platform: --- The gallery format of Semantic Result Formats (http://semantic-mediawiki.org/wiki/Help:Gallery_format) could be made to support foreign file repos, such as http://www.mediawiki.org/wiki/InstantCommons, where local file pages are probably missing most of the time. This is currently prevented by line 257 in SRF_Gallery.php: if ( $imgTitle->exists() ) { We still need to check that the file exists, of course. Not sure what the best method is. Maybe something like this: $imgFile = wfFindFile( $imgTitle ); if ( $imgFile && $imgFile->isVisible() ) { -- You are receiving this mail because: You are on the CC list for the bug. You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l