Page MenuHomePhabricator

Index page creation in sa.wikisource does not transfer metadata
Open, Needs TriagePublic

Description

I recently uploaded a file from internet archive using ia-upload tool. File

When creating an Index page from this, Index none of the file metadata got transferred.

Even if the expectation is that the metadata in sa.wikisource should be in Sanskrit, it will be helpful if existing info is transferred so that it could eb easily translated.

Additionally, it would be helpful if the pages field has <pagelist /> by default, so that the pages index can be generated.

Even after adding the <pagelist /> if the page is edited again, the field is blank.

Thanks!

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Samwilson subscribed.

(Sorry @Shree, I only just saw this. You should add the All-and-every-Wikisource tag to tickets for better visibility.)

French Wikisource maintain a terrific gadget called Fill Index, which can be used to pre-fill Index pages from metadata on Commons (which is in turn populated when you upload files using IA Upload).

You can add it to your Wikisource in a way similar to what English Wikisource has done here: https://en.wikisource.org/wiki/MediaWiki:Gadget-Fill_Index.js

As for adding an empty <pagelist /> by default, that is how it currently works on English Wikisource (even with ?safemode=1, so it's not a gadget that's doing it). And if an empty one is disappearing on you when you edit the page again, that's certainly a bug — do you have any gadgets or user scripts that might be interfering with this?

Hi @Samwilson ,

Thank you for your response with suggestions to remedy the problem with index ages.

I do not have admin access on sa.wikisource and I have not received any response from the admins there. I will take a look at the links mentioned by you and see what changes I can make.

Thanks!

I do not have access to make the changes. Are there any global administrators/sysops who could help with this? Thanks!

~~~~

You should add the All-and-every-Wikisource tag to tickets for better visibility.)

@Samwilson: No, as https://phabricator.wikimedia.org/project/profile/1117/ says "Please do not report language specific tasks under this project"?

I do not have access to make the changes. Are there any global administrators/sysops who could help with this? Thanks!

@Shree: Local sysops do exist. See https://sa.wikisource.org/wiki/Special:ListUsers/sysop

I don't see that the <pagelist /> is mentioned in our template: or mediawiki ns: pages at enWS, and it is so long since I have dug into those files, I would have to go back to first principles to see and remember what to do. I even think that there has been some diversification in how the wikis do some of this, with frWS having a module.

From a quick look at enWS we utilise https://en.wikisource.org/wiki/MediaWiki:IndexForm.js so would neeed to see how we call it, and use it.

@Aklapper

I had posted the same info on https://sa.wikisource.org/wiki/विकिस्रोतः:समुदायद्वारम्#Problem_with_Index_Pages in October and there has been no response from the sysops/admins there. In fact one of persons listed on the sysops page had requested me for help regarding this - see https://sa.wikisource.org/wiki/सदस्यसम्भाषणम्:Shree

Hence, if possible, I would request a global admin/sysop to help. Thanks!

Hence, if possible, I would request a global admin/sysop to help. Thanks!

Feel free to: https://meta.wikimedia.org/wiki/Global_sysops#Communication

I have the global sysop right.

A global sysop should only do what is specifically identified to be required and after there has been reasonable attempts to have local sysops undertake any actions. Generally it would not be the sysops job to identify the issue.

The Wikisource community should be documenting this somewhere within https://wikisource.org/wiki/Wikisource:ProofreadPage