Page MenuHomePhabricator

Bundle Popups extension with MediaWiki
Open, MediumPublic

Description

Hello, on Czech, English, Slovak and more MediaWiki projects exist Reference Tooltips function. This function is currently enabled using MediaWiki pages (1, (2). Can be this function enabled for all MediaWiki projects?

I think, that this is helpful function, which can be relased globaly.

Example of Reference Tooltips: https://ctrlv.tv/11kX (Prostějov)

Related Objects

Event Timeline

Aklapper changed the task status from Open to Stalled.Sep 2 2019, 11:25 AM

Hi @Patriccck, it is not clear to me what you request here. What is "old ReferenceTooltips"? What is "new ReferenceTooltips"? What does "released globally to MediaWiki" mean exactly? What do translations on twn.net have to do with Design or Web-Team-Backlog ?

Please follow https://www.mediawiki.org/wiki/How_to_report_a_bug and 1) provide steps to reproduce, 2) what you expect, 3) what happens instead. Thanks.

Thanks. So I guess this is somehow related to Reference Previews...

Now the question is what this task is about. Maybe Patriccck meant "Wikimedia" when they wrote "MediaWiki"?
And what blocks you currently from translating on translatewiki.net?

Patriccck renamed this task from Enable new ReferenceTooltips globally to MediaWiki to Enable Reference Tooltips globally to MediaWiki.EditedSep 7 2019, 11:06 AM
Patriccck updated the task description. (Show Details)

@Aklapper Sorry for belated reply, check new task description. Do you undersand now?

@Patriccck: What is "MediaWiki"? Are you asking to include that extension by default in MediaWiki tarballs? Do you ask to deploy that extension by default on all Wikimedia websites? Or something else?

@Aklapper Yes, I want "include that extension by default in MediaWiki." This extension is default in some projects (Czech, Slovak, English and more Wikipedias).

Aklapper renamed this task from Enable Reference Tooltips globally to MediaWiki to Bundle Reference Tooltips extension with MediaWiki tarballs.Sep 7 2019, 3:05 PM
Aklapper changed the task status from Stalled to Open.
Aklapper added a project: MediaWiki-Releasing.

There is no Reference Tooltips extension. The functionality is provided by a gadget (see https://www.mediawiki.org/wiki/Reference_Tooltips). However, T231797#5459036 above indicates that this will be replaced by Reference Previews. According to https://www.mediawiki.org/wiki/Help:Reference_Previews, the Reference Previews functionality is provided by https://www.mediawiki.org/wiki/Extension:Popups, which also provides the functionality for Page-Previews. So, it seems that this request would be satisfied by bundling Extension:Popups. I am going to change the task title to reflect that. Please change it back if that is not the case.

Extension:Popups depends upon Extension:TextExtracts and Extension:PageImages. Those two extensions will be bundled into MediaWiki 1.34. It is probably too late to get this extension bundled into MediaWiki 1.34 as well, so I will move this into the list of extensions to be considered for MediaWiki 1.35.

CCicalese_WMF renamed this task from Bundle Reference Tooltips extension with MediaWiki tarballs to Bundle Popups extension with MediaWiki.Sep 18 2019, 6:21 PM
CCicalese_WMF triaged this task as Medium priority.
CCicalese_WMF added a project: MW-1.35-release.

@CCicalese_WMF Are you going to add this feature soon? When could this feature be released in MediaWiki?

@Patriccck: Please see the previous comment which answers your question.

Popups is a pain for redistributors because it distributes minified, compiled JavaScript without the accompanying tools to do so.

Hey there. This task is proposed as a blocker to MediaWiki 1.37, which will be cut in less than three weeks' time. Please consider whether this will make that deadline, and if not, move it to block the MediaWiki 1.38 release (MW-1.38-release) or remove as a blocker entirely.

Reedy updated the task description. (Show Details)

Popups is a pain for redistributors because it distributes minified, compiled JavaScript without the accompanying tools to do so.

I think distribution of Popups requires first to not have hard dependencies on non-trivial extensions that are both lacking a steward:

It is unfortunate that both were bundled with 1.34, but at least there are no hard dependencies on them at this time, making them technically trivial to remove; recognising that PageImages (unlike TextExtracts) does provide significant value on its own through metadata for messaging/social cards.

Also, Popups with TextExtracts creates a lot of unnecessary/and badly served third party support work, because it is not fit for purpose (which is why the RESTBase summary API is used in production).

I think bundling page previews should be blocked on the summary endpoint being part of MediaWiki core (mostly served by T213505)

WMDE-Fisch subscribed.

To get back to the original request here: The wish for a default version for "Reference Tooltips" is currently implemented as the Reference Previews feature. The code for the latter lives in the Cite extension now but depends on the Page-Previews extension to work. So both extensions would be needed.