At https://wikidata.beta.wmflabs.org/wiki/Special:Contributions/DannyS712, the edit summary for creating a page is "Created a new Item" or "Created a new Property", ...
However, at https://wikidata.beta.wmflabs.org/wiki/Special:Log/DannyS712, in the log of pages created, it says a raw "wbeditentity-create:2|en" rather than the parsed result
Description
Description
Event Timeline
Comment Actions
Okay, so it took a lot of tracing, but:
- LogFormatter gets the rendered comment from Linker::commentBlock( $this->entry->getComment() );
- Linker::commentBlock includes $comment = self::formatAutocomments( $comment, $title, $local, $wikiId );
- Linker::formatAutocomments should be running the FormatAutocomments hook, since the comment stored should match !(?:(?<=(.)))?/\*\s*(.*?)\s*\*/(?:(?=(.)))?!
- Wikibase should be handling the hook the same way it does for page histories, etc, and showing the user a proper message
I'm not familiar enough with this code, and don't have wikibase installed locally, to try and trace further, but hopefully this helps with debugging