-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Prevent users from uploading and give warnings during upload if certain basic metadata and Wikitext criteria aren't met #95
Comments
We could have this in the main repository, because those checks should be enforced regardless of whether the commons extension is installed, no? |
I was indeed wondering where to post this issue, as it's very Wikimedia
Commons-specific.
…On Sun, Sep 3, 2023 at 5:09 PM Antonin Delpeuch ***@***.***> wrote:
We could have this in the main repository, because those checks should be
enforced regardless of whether the commons extension is installed, no?
—
Reply to this email directly, view it on GitHub
<#95 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACLMQLJQC44XC4NY35NJMUDXYSMRJANCNFSM6AAAAAA4JJEWIQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes I guess those additional checks could be added by the Commons extension instead of the Wikibase one, it's debatable. I'm not sure which proportion of people doing Commons uploads actually have the Commons extension installed, it would be interesting to have some stats about that. |
I plan to ask that in a user survey soon!I also retrieved download counts from GitHub, but I don’t know very well how to evaluate these numbers. Stats in one tab here: https://docs.google.com/spreadsheets/d/1XNdRSOgVZeEfg8qqaNIDVgtgxWdpWncbW7ijA-wBx54/editOn 3 Sep 2023, at 21:16, Antonin Delpeuch ***@***.***> wrote:
Yes I guess those additional checks could be added by the Commons extension instead of the Wikibase one, it's debatable. I'm not sure which proportion of people doing Commons uploads actually have the Commons extension installed, it would be interesting to have some stats about that.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@wetneb Can you assign this to me. |
@sunilnatraj thanks for your initiative! The screenshot you have looks good. I expect there will be quite some design work on this issue (what severity for the warnings, how to specify this list of required properties, which text to use…), which would be worth doing in tandem with @Vesihiisi and @sebastian-berlin-wmse, so expect more rounds of back and forth exchanges on this one. |
@Vesihiisi @sebastian-berlin-wmse Do share your inputs on this. |
@wetneb @sebastian-berlin-wmse @Vesihiisi The constraints for new media can be defined in the manifest file see snippet below. If the constraints are defined then the validations are carried out for new media entity.
|
Yes, it feels fitting to define the required property ids in the manifest.
Concerning the wikitext, I wonder if we can find a reliable and current source of information about the requirements. I am not sure to what extent we can really validate this field, because some of the required parts, such as |
@wetneb I reviewed the links in the Issue, as per the definition there are mandatory properties only for a media, which is why i suggested making a list of required/mandatory properties. If we need to also validate optional properties then your suggestion makes sense. The other case you mentioned requires P112 OR P114, if this has to be supported then is this definition available from the wikimedia system? Wikitext validation - I referred this link as per this there are Infobox templates and the proposal is to verify if Any of the infobox templates is present and not empty. |
@wetneb a more expansive definition model
|
@wetneb @sebastian-berlin-wmse @Vesihiisi Any inputs on the proposed solution |
@wetneb @sebastian-berlin-wmse @Vesihiisi Following up -> Any inputs on the proposed solution |
Sorry that it's taking so long to get feedback on this. The problem in this case is that it's quite some work to do the associated research to make sure the solution is fit for purpose, and no one seems to have the time to work on this at the moment. But maybe you can? You could go to Wikimedia Commons and ask the community for feedback on this. I would try to phrase it in terms that are understandable without deep knowledge of OpenRefine, such as:
You could try to write a message like this one (feel free to copy all/parts of it) and send it to the Wikimedia Commons community. Good places for it could be:
It probably makes sense to post it in multiple places to maximize the chances of getting informed feedback. |
@wetneb Thank you for the suggestion. I have posted on wikimedia. |
I'm checking some recent uploads with OpenRefine to Wikimedia Commons and some users keep these uploads extremely minimal.
This upload for instance doesn't include any structured data and Wikitext except for a license. This is not sufficient according to Wikimedia Commons guidelines; the file should at least have a set of minimal structured data statements and/or a minimal infobox template in Wikitext.
This is clearly explained in the current how-to - but not every user is aware of, or reads, these guidelines.
To prevent users from doing such (too minimal) uploads in the future, OpenRefine should provide warnings and probably even prevent uploads if minimal conditions aren't met.
Checks can be done for
== {{int:filedesc}} ==
header and/or without one of the following bits of infobox template wikitext: {{Information}} – default template meant especially for photographs created by users.{{Artwork}} – for paintings, artworks and artifacts held by museums and other GLAM institutions
{{Photograph}} – for photographs held by museums and other GLAM institutions
{{Art photo}} – for photographs of artworks with more fields for photographer metadata
{{Book}} – for books
{{Map}} – for maps
{{Musical work}} – for music files
The text was updated successfully, but these errors were encountered: