Krinkle added a comment.

Looks like this could be addressed by adding a Skin body class that represents the result of the "quick" permissions check, similar to wgIsProbablyEditable.

Maybe <body class="mw-user-can-edit">. Then this can be used the same way as .client-js, .client-nojs and .action-view to automatically toggle the display of the relevant elements of the interface.


TASK DETAIL
https://phabricator.wikimedia.org/T207648

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Krinkle
Cc: Krinkle, Haros, Krenair, Ivanhercaz, Sjoerddebruin, Agabi10, Lydia_Pintscher, abian, Aklapper, Dinadineke, Nandana, tabish.shaikh91, Lahi, Gq86, GoranSMilovanovic, Soteriaspace, Jayprakash12345, JakeTheDeveloper, QZanden, merbst, LawExplorer, Wikidata-bugs, aude, TheDJ, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to