Seb35 added a comment.
In T234327#6955177 <https://phabricator.wikimedia.org/T234327#6955177>, @Ladsgroup wrote: > Hi, would `mw.hook( 'wikipage.content')` work for you? It should satisfy your usecase. Unless I'm missing something obvious. I guess not, because I am not editing a page, but creating an item given the answers from a form (we are on a special page). The structure is encoded in wikibase.datamodel (e.g. an item <https://github.com/wmde/WikibaseDataModelJavaScript/blob/master/src/Item.js>), and I need to serialize it before sending. TASK DETAIL https://phabricator.wikimedia.org/T234327 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup, Seb35 Cc: Seb35, Aklapper, Ladsgroup, Invadibot, maantietaja, Hazizibinmahdi, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs