⚓ T337081 "Add interlanguage link" shows a bubble: "An unknown error occurred"


Article Images

"Add interlanguage link" shows a bubble: "An unknown error occurred"

Closed, ResolvedPublicBUG REPORT

Steps to replicate the issue (include links if applicable):

What happens?:

A bubble saying "An unknown error occurred" appears at the top.

What should have happened instead?:

The interlanguage link dialog is supposed to appear.

Event Timeline

Amire80 triaged this task as Unbreak Now! priority.May 20 2023, 6:20 AM

The skin doesn't seem to matter.

The actual error:

Unknown module: jquery.wikibase.wbtooltip

Fun. query.wikibase.wbtooltip is now supposed to be used as a replacement for jquery.tipsy (including in Wikibase Client, since Add local version of jquery.tipsy) – but it’s defined in Wikibase View, and Wikibase Client doesn’t depend on Wikibase View (View is only used by Repo).

And of course jquery.tipsy is already gone from MediaWiki core in the meantime (git grep jquery.tipsy only shows two references that were not cleaned up properly), so we can’t just fix this by reverting the Wikibase change.

Mentioned in SAL (#wikimedia-operations) [2023-05-20T15:10:24Z] <hoo@deploy1002> hoo: Backport for [[gerrit:921549|Remove linkitem dependency on jquery.wikibase.wbtooltip (T337081)]] synced to the testservers: mwdebug2001.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet

hoo lowered the priority of this task from Unbreak Now! to High.May 20 2023, 3:31 PM

hoo subscribed.

Fixed in production, thus lowering the priority (final patches for master are still pending).

Fixed in production? Where I came from “production” means what’s already deployed in the field; from what I can see this is not fixed in the field.

Fixed in production? Where I came from “production” means what’s already deployed in the field; from what I can see this is not fixed in the field.

We backported and deployed the fix to production yesterday. The old version might still be in your browser's cache, but hard-reloading the page (Ctrl + Shift + R in most browsers) should solve that.

Re: Tech News - please provide details on

  • What wording would you suggest as the content?
  • When should it be included? (I see unmerged patches, so am unsure)
  • Confirm that it was a widely experienced bug, that everyone needs to be informed about.

My best guess is something like:

For a few days earlier this month, the "Add interlanguage link" item in the Tools menu did not work properly. This has now been fixed.

Thanks.

For a few days earlier this month, the "Add interlanguage link" item in the Tools menu did not work properly. This has now been fixed.

This sounds okay to me, but IMHO this doesn’t need to be in Tech News at all. (The unmerged patches are cleanup, IIUC, so if it should be included, it can probably be at any time now.)

It's a widely visible feature across projects, and it was broken for hours if not more. It definitely deserves an entry in Tech News.

It looks like the link is still not working (unless you right click and open it in a new tab/window), so I am going to remove this from the verification and the sprint workboard

Ok, but while logged out, clicking the link does nothing. Maybe we don’t want to offer this functionality to anonymous visitors, but there should probably be some kind of feedback…?

Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits