-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Format links to items or properties in edit summaries with labels #13
Comments
@lucaswerkmeister I have been wanting to do this for a while. Do you know if there is an estblished way to do this in third-party tools? I would be tempted to just add some javascript to do this rendering client-side, ideally via some efficient API calls. |
Hm, I was going to suggest That almost feels like a bug, to be honest. |
Thanks! But that would need to take the language as a parameter somewhere, right? I can't see where it is… One thing I have noticed is that the parsed comments returned via the EventStream are localized using the locale selected by the user making the edit. If we can do this rendering in EditGroup's frontend instead, it would make it possible to adapt it to the locales of our users. |
|
Ah, makes sense, thanks. |
This should now be much easier thanks to the new API module: |
@lucaswerkmeister Thanks again for implementing Also, not all entities are rendered yet - only those which were already rendered in their own This still needs to be localized (#9). It is not hard to do but I have not enabled it yet as the rest of the UI is not localized either. |
@lucaswerkmeister by the way, I just noticed that |
Yes, it renders entities like they’re rendered in statement values, not as in edit summaries. |
Wikibase augments MediaWiki’s default edit summary rendering in order to render links to items and properties with their label, so that, for example, the edit summary
is rendered like this (if the interface language is English):
EditGroups doesn’t do this yet: on the group detail page, the same summary looks like this:
It would be neat if EditGroups had the same feature to make the summaries more readable :)
The text was updated successfully, but these errors were encountered: