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

Rebuilding description page for illustrations of a book #115

Open
alexbrollo opened this issue Jul 25, 2018 · 4 comments

Comments

@alexbrollo
Copy link

commented Jul 25, 2018

Dealing with multipage files (pdf, djvu) wikisource projects can effectively use CropTool to extract illustrations, with excellent results and lots of time saving.

Nevertheless, resulting files are something completely different from original files, the latter being "books" and the former being "illustrations from a book". Usually metadata for books are stored into a Template:Book while metadata for illustrations should be stored into a Template:Info; author is often different, since the author of illustrations is stored into a parameter Illustrator of Template:Book; categorization is completely different.

I'll try to build a javascript algorithm to convert metadata of a book into metadata for its illustrations; nevertheless I think that resulting text need some editing before upload, so my suggestion is to add a textbox to CropTool, to allow review/editing of the whole wikitext of description page.

@danmichaelo

This comment has been minimized.

Copy link
Owner

commented Jul 25, 2018

I'm open to that idea. It would probably be a good idea if all users were forced to review the metadata before submitting, even if it meant just looking at it and pressing "ok" :)

Need to find some time to implement it though. Btw. do you often run into the problem of CropTool not responding? It seems to happen more often recently (https://phabricator.wikimedia.org/T198503) and I struggle finding out how to fix it..

@alexbrollo

This comment has been minimized.

Copy link
Author

commented Jul 25, 2018

CropTool often didn't respond some weeks ago, by now it runs perfectly for me.

Another suggestion: when you'll add an edit textbox for wikicode of description page, please save edited version of wikicode so that it can be used again and again for illustrations of the same book if possible.

@danmichaelo

This comment has been minimized.

Copy link
Owner

commented Jul 26, 2018

Another suggestion: when you'll add an edit textbox for wikicode of description page, please save edited version of wikicode so that it can be used again and again for illustrations of the same book if possible.

Hm, I'm a bit afraid that could cause users to save a completely wrong wikitext when working with different images. Should still be quite efficient to have the text in a separate editor and copy-paste it fom there, shouldn't it?

@alexbrollo

This comment has been minimized.

Copy link
Author

commented Jul 27, 2018

Yes, you are right, I came to the same conclusion just some minutes after posting my suggestion :-)
A simple textbox where to copy an external wikitext will be largely sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.