Page MenuHomePhabricator

localStorage clipboard becomes unusable after copying a list of Z89/HTML fragments
Closed, ResolvedPublicBUG REPORT

Description

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

  • Go to Z27926
  • Attempt to paste, to verify the clipboard is working
  • Copy the empty list
  • Try pasting again

What happens?:

Clicking "Paste from clipboard" closes the context menu but otherwise has no effect. This persists through page reloads.
Errors are logged to the browser console, of which this seems relevant:

TypeError: objectType.toLowerCase is not a function
    matchesFilter ClipboardDialog.vue:83

What should have happened instead?:

The clipboard history modal should appear.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
live wiki

Other information (browser name/version, screenshots, etc.):
FF 148 on Ubuntu

Run localStorage.removeItem("ext-wikilambda-app-clipboard") to un-softlock.

Event Timeline

YoshiRulz renamed this task from localStorage clipboard gets softlocked after copying a list of Z89/HTML fragments to localStorage clipboard becomes unusable after copying a list of Z89/HTML fragments.Mar 9 2026, 1:45 AM

I see 2 things here:

  1. Trying to copy paste the top level fragments does not work and breaks the clipboard
  2. Trying to copy paste item 2 to item 1 in the list does not work (but without errror)

Change #1250605 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Add typeToString with noArgs=true to non-string types when matching

https://gerrit.wikimedia.org/r/1250605

Change #1250605 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add typeToString with noArgs=true to non-string types when matching

https://gerrit.wikimedia.org/r/1250605

Forgot to reply, but yes, there was (at least) a second way it could break. I've been using the clipboard in the past few days without issue, and my original example works too.