Extension:ImageSuggestions

The ImageSuggestions extension suggests relevant images to wiki editors, by periodically notifying editors that watch articles that lack an image but have a relevant image suggestion.

Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
ImageSuggestions
Release status: experimentalCategory:Experimental extensions
Implementation NotifyCategory:Notification extensions
Description Image recommendation features for experienced users
Author(s) Structured Data team
Latest version continuous updates
MediaWiki masterCategory:Extensions with manual MediaWiki version
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
README
  • $wgImageSuggestionsHelpLink
  • $wgImageSuggestionsInstanceOfApi
  • $wgImageSuggestionsSuggestionsApi
Quarterly downloads 0
Translate the ImageSuggestions extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

Installation

  • Download and move the extracted ImageSuggestions folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageSuggestions
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'ImageSuggestions' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

How it works

The main entry point for the ImageSuggestions extension is a maintenance script that runs periodically. As of August 2022, WMF schedules SendNotificationsForUnillustratedWatchedTitles.php to run once a week.

The maintenance script then queus work in batches via the MediaWiki JobQueue. The job then fetches suggestions over HTTP from the image-suggestion service. This service is periodically fed by from the Image Suggestions pipeline.

Suggestions are then sent to editors that watch the articles via an Echo notifications.

See Structured Data Across Wikimedia/Image Suggestions for background information on how images and articles are chosen.

Category:Extensions used on Wikimedia#ImageSuggestions
Category:All extensions Category:BeforeCreateEchoEvent extensions Category:BeforePageDisplay extensions Category:EchoGetBundleRules extensions Category:Experimental extensions Category:Extensions in Wikimedia version control Category:Extensions used on Wikimedia Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:Notification extensions