Page MenuHomePhabricator

Allow creation of common.js and common.css on wikibase.cloud instances for normal users
Open, Needs TriagePublic

Assigned To
None
Authored By
OlafJanssen
Jun 16 2022, 12:06 PM
Referenced Files
Restricted File
Jun 16 2022, 12:06 PM
Tokens
"Barnstar" token, awarded by TiagoLubiana."Like" token, awarded by Moebeus."Barnstar" token, awarded by GreenReaper.

Description

Some days ago I set up a wikibase.cloud instance https://kbtestwikibase.wikibase.cloud and crated a normal/default user https://kbtestwikibase.wikibase.cloud/wiki/User:OlafJanssen

After reading https://loomio.rhizome.org/d/scJ2ypDq/incorporating-wd-user-scripts-common-js- I wanted to add a common.js to my user page. Turns out I'm not allowed to create this page under my account permissions: https://kbtestwikibase.wikibase.cloud/wiki/User:OlafJanssen/common.js
{F35246646}

Same goes for adding a common.css, I was hoping to be able to tweak the Wikibase UI, as I did in Wikidata https://www.wikidata.org/wiki/User:OlafJanssen/common.css - but I'm also not allowed to do that.

Event Timeline

Back when I created wbstack I intentionally disabled custom JS and CSS.
This was mainly because I didn't want to think about the "right" way to configure this at the time balancing security, and usefulness for people, also while trying to not result in people adding 100 gadgets to their wikibases having to maintain them all everywhere etc.

A related ticket for WBStack regarding Gadgets to which I added some comments about the need for user scripts: T356397