Skip to content
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

Add base Wikitext templates to schemas that can be shared with the community #86

Open
lozanaross opened this issue Nov 17, 2022 · 7 comments
Labels
documentation Improvements or additions to documentation

Comments

@lozanaross
Copy link

During the user testing sessions in Sept / Oct, we discussed the possibility to save Wikitext templates already inside schema templates. So if a schema for e.g. Artworks is created - this could include not only SDC statements but also 'prefilled' minimal Artwork wikitext template. This will be most useful to new users who don't have extensive experience with Wikitext and just need a simple and quick solution that will enable them to upload their media files.

@trnstlntk can this be included in the documentation part of the SDC extension work?

@wetneb
Copy link
Member

wetneb commented Nov 17, 2022

As long as the wikitext is constant (i.e. it does not rely on values in some columns) then this is already supported by the existing template.

@lozanaross
Copy link
Author

Yes, this is just a documentation detail that @trnstlntk noted in the field notes from the user testing, and I'm recording it here so we don't forget, it's not a new feature. We can provide these ready-made schemas to download from a central documentation page.

@lokal-profil
Copy link
Contributor

This issue should ideally have the #documentation label added to it

@sebastian-berlin-wmse sebastian-berlin-wmse added the documentation Improvements or additions to documentation label Sep 23, 2024
@wetneb
Copy link
Member

wetneb commented Sep 23, 2024

I realize that my comment above might be unclear. What I meant was that the current system of saved schemas can readily be used to provide pre-filled wikitext fields.

Because the predefined schemas are currently stored in the manifest, which is itself stored in OpenRefine, offering predefined schemas with a filled wikitext field would still involve making changes to OpenRefine itself (to update those schemas). But that would not involve more software development. But still not just documentation, I would say.

@lokal-profil
Copy link
Contributor

I realize that my comment above might be unclear. What I meant was that the current system of saved schemas can readily be used to provide pre-filled wikitext fields.

Because the predefined schemas are currently stored in the manifest, which is itself stored in OpenRefine, offering predefined schemas with a filled wikitext field would still involve making changes to OpenRefine itself (to update those schemas). But that would not involve more software development. But still not just documentation, I would say.

I see that commons-manifest-v2.0.js currently describes such predefined schemas (albeit without wikitext). E.g. ArtPhoto on L397. But, on PAWS at least, those pre-defined schemas don't show up in the "Start from an existing schema" drop-down.

@wetneb
Copy link
Member

wetneb commented Oct 18, 2024

Interesting! Then it would be worth checking if this also happens on a local install of OpenRefine and making an issue for it (or phabricator ticket if it only affects PAWS).

@lokal-profil
Copy link
Contributor

Interesting! Then it would be worth checking if this also happens on a local install of OpenRefine and making an issue for it (or phabricator ticket if it only affects PAWS).

Did some local testing now. When I first go into Edit Schema, with Commons pre-selected, I don't see any available templates. After switching to Wikidata and then back to Commons (using the Target Wikibase instance: drop-down in the Edit Schema window) it correctly loads the templates.

I checked in Paws and the behaviour is the same there. I'll file a separate task for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants