MusikAnimal added a comment.

  In T199500#6017010 <https://phabricator.wikimedia.org/T199500#6017010>, 
@Petrb wrote:
  
  > In that case if parsedcomment is native MW API property that is available 
everywhere (not just wikidata) then yes, I can implement this in Huggle, as 
optional feature (I think most of powerusers prefer summary in wikitext over 
parsed HTML), but it's reasonable feature request.
  
  Thank you! Yeah I was thinking some people might prefer wikitext, say to 
check for `[[Stupid person|Some famous person]]` when you'd otherwise only see 
"Some famous person" and miss the edit summary vandalism. But parsed comments 
would help with Wikidata, Commons and on other multilingual wikis where some 
automated summaries are in the form of code rather than plain English.
  
  > I would need to see some picture or simple description of what you want to 
achieve (how things look now and how you would like them to look)
  
  Sure, so in the screenshot you see in the description (F23712741 
<https://phabricator.wikimedia.org/F23712741>), you'd want to see 
"Category:Films set in Montana" as the title, not Q6379160, just like the wiki 
does https://www.wikidata.org/wiki/Q6379160. The same holds true for the Queue 
on the left side. So for Huggle, I suppose you'd pre-fetch titles using the 
wbgetentities API (T199500#4478716 
<https://phabricator.wikimedia.org/T199500#4478716>), and show the label that 
matches the user's language. I'm not sure if Huggle's i18n system has knowledge 
about language fallbacks (e.g. if my language is `en-GB`, and no label for 
`en-GB` exists, just use `en`). When in doubt fallback to English, I suppose, 
and if that's not defined just show the item ID (Q6379160) as we're doing now.
  
  @Evs also mentioned that property IDs are shown, but I think they're talking 
about the edit summary, so having the option for parsed comments will solve 
that. In the diff view, everything appears to be human-readable to me.

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

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

To: MusikAnimal
Cc: MusikAnimal, Framawiki, Petrb, Evs, Aklapper, darthmon_wmde, 94rain, 
DannyS712, Nandana, Lahi, Gq86, GoranSMilovanovic, SacredWKnight, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Thibaut120094, Luke081515, 
Dan_Koehl, RichSmith, Wikidata-bugs, aude, jayvdb, Se4598, Mbch331, 
Matthewrbowker, Krenair
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to