Jump to content

Topic on Extension talk:Widgets

MediaWiki Search does not work on Widgets!

4
2A02:8388:15BF:C180:E8AB:38E6:17F1:733B (talkcontribs)

I am running MediaWiki 1.39.5. We have a Widget that loads projects information from OpenAIRE and make it available to all pages within our mediawiki setup. Widgets work perfectly fine. What we want is to do search over these loaded project information via MediaWiki search. However, The search provided by MediaWiki does not find these loaded information. We have tried advanced search but nothing happened. How can i search this data inside mediawiki? Do i need separate search function for this kind of data?

Ciencia Al Poder (talkcontribs)

MediaWiki search only has the data available in the wiki code of each page. Widgets load content from external sources on the browser, not on the server, and that's why MediaWiki search can't find it

2A02:8388:15BF:C180:E8AB:38E6:17F1:733B (talkcontribs)

Ahaan! so, what is the best way to perform search on this kind of data in mediawiki?

Ciencia Al Poder (talkcontribs)

There's no way to do that. A bot or some other automatic process would need to fetch the data and store it on the wiki page directly instead of relying on external requests (widgets)

Reply to "MediaWiki Search does not work on Widgets!"