Thread:Extension talk:WYSIWYG/Autocomplete dialog do not list images from commons wiki

We have two wiki sites (say http://localwiki and http://localcommonwiki) with shared upload. While inserting image using WYSIWYG editor, the extension searches and lists the uploaded images from the wiki site(http://localwiki) where it is deployed, but we would also like to see the images from commons wiki site (http://localcommonwiki) which is primarily hosted for image uploads. We have a shared upload directory(E:\wiki-commons\images) to store the uploaded images. The upload settings in LocalSettings.php is as follows:

$wgUploadNavigationUrl = "http://localcommonwiki/wiki/index.php?title=Special:Upload"; $wgUseSharedUploads = true; $wgSharedUploadPath = 'http://localcommonwiki/wiki/images'; $wgSharedUploadDirectory = 'E:\wiki-commons\images'; $wgHashedSharedUploadDirectory = true; $wgFetchCommonsDescriptions = true; $wgSharedUploadDBname = 'commons'; # DB-Name of PoolWiki $wgSharedUploadDBprefix = 'cmns_'; # Table name prefix for PoolWiki $wgRepositoryBaseUrl = "http://localcommonwiki/wiki/index.php?title=Image:";
 * 1) settings for using a shared upload.
 * 1) $wgSharedUploadDirectory = '//pni6w1359/wiki-commons$/wiki-commons/images';

Please advise how can we search and list uploaded images from other wiki sites in Automatic search results making them available for insertion. I can get the images from other wiki in the list after running the importImages.php file, but this is the manual way and not sure how to automate it if this is right way. Appreciate your help in this regards. Please let me know if you need any other details.

Greetings Shrinivas Gangal