I get this error on https://www.mediawiki.org/wiki/Topic:Wrtheq4lru4u1lf1 when entering {{ into a comment box.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T303960 Uncaught TypeError: can't access property "getContentApi", ve.init.target is null | |||
Open | None | T305762 Stop using ve.init.target |
Event Timeline
Comment Actions
Hmm, well I can't seem to reproduce it.
The exact steps I took were:
- click the edit pencil on the second comment
- change to source text
- click cancel
- start a new comment in visual mode
- input {{
Comment Actions
Seems infrequent but it has been logged (although given the mediawiki.org error hasn't shown up could actually be higher)
https://logstash.wikimedia.org/goto/92b2607e74129b9aefa5f8feb638c5f3
at VeDmMWTransclusionModel.ve.dm.MWTransclusionModel.callTemplateDataApi https://pt.m.wikipedia.org/w/load.php?lang=pt&modules=ext.visualEditor.core%2Cmwtransclusion&skin=minerva&version=1g7zn:886:68 at VeDmMWTransclusionModel.ve.dm.MWTransclusionModel.processChangeQueue https://pt.m.wikipedia.org/w/load.php?lang=pt&modules=ext.visualEditor.core%2Cmwtransclusion&skin=minerva&version=1g7zn:885:929
Comment Actions
Note: I had a quick look and as far as I can see this is unrelated to the changes we did as part of our WMDE-Templates-FocusArea. It seems ve.init.target wasn't initialized. This must have happened long before code specific to the template dialog is executed.
Also my first impression was that this might be related to T298599 in ContentTranslation because both are about some API requests related to templates – but it's unrelated.