DannyS712 changed the subtype of this task from "Task" to "Bug Report".
DannyS712 added a project: I18n.
DannyS712 added a comment.


  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

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

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

To: DannyS712
Cc: DannyS712, Aklapper, Kaleem-Bhatti, darthmon_wmde, Nandana, Amorymeltzer, 
Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Srdjan_m, MuhammadShuaib, LNDDYL, Psychoslave, 
Wikidata-bugs, aude, Gryllida, Shizhao, Arrbee, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to