Lucas_Werkmeister_WMDE added a comment.
Instead of manipulating the SSR HTML in PHP, we might be able to add the necessary information to the wrapper element (which we need anyways, for mounting – see T296202#7652549 <https://phabricator.wikimedia.org/T296202#7652549> and the next comment there), and then use some CSS like `.wikibase-entitytermsview-noneditable .wikibase-sectionedit { display: none; }` to hide the sectionedit component when the wrapper element indicates the page is non-editable. TASK DETAIL https://phabricator.wikimedia.org/T300176 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Aklapper, Michael, Catrope, Tarrow, Jakob_WMDE, Lucas_Werkmeister_WMDE, Invadibot, maantietaja, Akuckartz, darthmon_wmde, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Addshore, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org