Page MenuHomePhabricator

Page Previews not working in SRF Datatables
Closed, DeclinedPublic

Description

Dear Prateek,
I'm using Semantic Result Formats in my Wiki, in particular the datatables format, and recently I added the Popups/Page Preview extension to it.
Unfortunately I discovered that the Previews do not appear to work inside the result datatable.
Is this a known issue?
Basically, internal Wiki links to other Wiki pages are listed in the result table but when hovering over the links nothing happens.

The call for the datatable looks like this:

{{#ask:
[[Kategorie:Archivalien]]
[[Personenfoto::wahr]]
|?Archivierungsart
|format=datatable
|limit=1000
}}

My Wiki versions:

MediaWiki: 1.31.0
PHP: 7.1.23-nmm1 (fpm-fcgi)
MySQL: 5.7.21-nmm1-log
ICU: 55.1

On all other links in my Wiki the previews work fine.
Is there any way to get it working?

Many thanks!
Regards,
Tom

Event Timeline

Sochin67 created this task.Dec 5 2018, 3:52 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 5 2018, 3:52 PM
Prtksxna removed Prtksxna as the assignee of this task.Dec 5 2018, 5:05 PM
Prtksxna added subscribers: Jdlrobson, ovasileva, Prtksxna.

Hey @Sochin67, thanks for raising the ticket. Unfortunately, I am not working on this anymore, so I've added some people who might be able to help.

Dear Prateek,
many thanks for adding some related subscribers!

Hey @Sochin67 - Page previews has been designed to be lightweight so we don't support wikis with custom setups. The good news however, is that you can define your own API per instructions @ https://www.mediawiki.org/wiki/Extension:Popups#API

It's best to find someone working on the Semantic Result Format to make this happen. We'd be happy to make changes to support any specific needs of this project, but we wouldn't be able to write the API for you!

Dear all,
understood - many thanks to all for your responses!

Sochin67 closed this task as Resolved.Dec 12 2018, 10:13 AM
Aklapper changed the task status from Resolved to Declined.Dec 12 2018, 11:53 AM

(Changing task status, as no code change was merged into the code base)