User talk:Mpaa

From Wikisource
Jump to navigation Jump to search

(Archives index, Last archive) Welcome

Hello, Mpaa, and welcome to Wikisource! Thank you for joining the project. I hope you like the place and decide to stay. Here are a few good links for newcomers:

Carl Spitzweg 021-detail.jpg

You may be interested in participating in

Add the code {{active projects}}, {{PotM}} or {{CotW}} to your page for current wikisource projects.

You can put a brief description of your interests on your user page and contributions to another Wikimedia project, such as Wikipedia and Commons.

Have questions? Then please ask them at either


I hope you enjoy contributing to Wikisource, the library that is free for everyone to use! In discussions, please "sign" your comments using four tildes (~~~~); this will automatically produce your IP address (or username if you're logged in) and the date. If you need help, ask me on my talk page, or ask your question here (click edit) and place {{helpme}} before your question.

Again, welcome! — billinghurst sDrewth 12:00, 7 April 2011 (UTC)


Djvu Volume 1 and Volume 2 titles don't match[edit]

Hi and warm greetings,

These two volumes have different titles and I am asking you for help to standardize them. This title Index:The war with Mexico, vol 1.djvu the word "war" is lowercase, and in this title Index:The War with Mexico vol 2.djvu is missing the comma before the word "vol" and in both, the lowercase "vol" should be capitalized to "Vol".

Could you adjust them to be:

Index:The War with Mexico, Vol 1.djvu

Index:The War with Mexico, Vol 2.djvu

Thanks in advance. — Ineuw talk 05:22, 18 September 2018 (UTC)

Done.— Mpaa (talk) 20:30, 18 September 2018 (UTC)
Thanks with a tip of the hat. — Ineuw talk 22:05, 18 September 2018 (UTC)

failed cleanup[edit]

I tried to clean up all of those pages. I made a mess. Thanks for assisting with the clean-up!--RaboKarbakian (talk) 20:43, 19 December 2018 (UTC)

No problem.— Mpaa (talk) 20:44, 19 December 2018 (UTC)

Pages are in reverse[edit]

Hi, Is it possible for you to move the first two pages please? The page numbers indicate the correct order. Much thanks in advance. — Ineuw talk 17:35, 21 December 2018 (UTC)

These two pages need to be moved
798
799

after these two pages.
796
797

Done. Merry Xmas.— Mpaa (talk) 22:00, 22 December 2018 (UTC)
Much thanks and wish you happy holidays.— Ineuw talk 06:55, 24 December 2018 (UTC)

span x div[edit]

Hi. I noticed you tried to change Page:Bohemia An Historical Sketch.djvu/9, probably because of the lint problems again. Does it make sense if span is changed for div ? --Jan Kameníček (talk) 02:28, 1 January 2019 (UTC)

Yes.— Mpaa (talk) 10:02, 1 January 2019 (UTC)

Charinsert code replacement[edit]

Hi. If I remember correctly, you replaced the Charinsert code to restore functionality. I would like to look at the history of this code, specifically the previous code. Could you point me to that page?

The previous version stored the user's Charinsert most recently selected row in a cookie, and wherever editing was possible, this setting would have my previous selection (User in my case).

This new Charinsert code dropped this useful setting feature. This means that every new page I edit, the Charinsert is reset to the first row.

Before I create a bug report, I want to find out who is the maintainer of this code (local or wikimedia/mediawiki).— Ineuw talk 06:35, 7 January 2019 (UTC)

Hi. It was a link inside a comment in a Task in phabricator, suggesting this workaround. But I do not remember which one. Try to look for bugs who contains CharInsert maybe? Sorry I can't be more useful.— Mpaa (talk) 10:35, 9 January 2019 (UTC)
Thanks for the reminder. I will find it.— Ineuw talk 23:14, 9 January 2019 (UTC)
It was very easy to find. I just have to compare the old and new code and see what changed. — Ineuw talk 04:12, 16 January 2019 (UTC)

lang block[edit]

I noticed that you repeated the lang block because of the multicol template. The multicol template is not transcluded into the main namespace, so is it OK when I add the lang block into the noinclude part, as in [1] ? --Jan Kameníček (talk) 20:59, 22 January 2019 (UTC)

No, there is still en error. Enable the linter checker gadget, so you will be able to detect errors.— Mpaa (talk) 21:04, 22 January 2019 (UTC)
Where can I enable it? I cannot see it in Preferences – Gadgets. --Jan Kameníček (talk) 22:49, 22 January 2019 (UTC)
@Jan.Kamenicek: Sorry, I remebered wrongly. See here.— Mpaa (talk) 19:57, 23 January 2019 (UTC)

Misaligned OCR layers..[edit]

As you seem to be technically adept I thought you might want to periodically examine:- https://en.wikisource.org/wiki/Category:Scans_with_misaligned_text_layer

I plan to look through the "File to Fix" category again soon, and attempt to sub-cat the files in it, between classes of fix required.ShakespeareFan00 (talk) 21:21, 24 January 2019 (UTC)

Only if there is a page offset and the file has been uploaded by IAupload, then 99.9% it is a bug of IAupload and I know how to fix it ...— Mpaa (talk) 22:08, 24 January 2019 (UTC)
Okay, the limitation is noted. I will still try to categorise stuff when I find it though.ShakespeareFan00 (talk) 09:46, 25 January 2019 (UTC)
Thanks for the repairs on Index:Philosophical Transactions - Volume 053.djvu

But it's still out of alignment :- see https://en.wikisource.org/w/index.php?title=Page:Philosophical_Transactions_-_Volume_053.djvu/55&action=edit&redlink=1 for example. The whole file needs a rebuild... ShakespeareFan00 (talk) 20:44, 25 January 2019 (UTC)

The file is OK. See phab:T214729.— Mpaa (talk) 21:19, 25 January 2019 (UTC)
Thanks.. Would it be possible to perhaps where the djvu text extract failed to pull the scan image and attempt OCR (most likely Tesseract) in the back end?ShakespeareFan00 (talk) 21:59, 25 January 2019 (UTC)
Actually the file is not OK but Mediawiki SW should do a better handling of the error. Everything can be done, it is just a matter of time ...— Mpaa (talk) 22:20, 25 January 2019 (UTC)

Thank you so much for fixing this. Great work! MartinPoulter (talk) 22:36, 3 February 2019 (UTC)

page creation script[edit]

Thank you very much for writing a script to generate content pages! Can I ask you to use it to fill in two volumes of the magazine Once a Week? I have posted the data for Volume II here, with an explanation of how the data is structured at the top of the page. Tell me if you need me to modify it. I'm currently working on creating a larger set of titles for Volume III... Levana Taylor (talk) 07:14, 6 February 2019 (UTC)

@Levana Taylor:, done as MpaaBot. Next time, please align columns correctly, with extra '\t', if you need to skip a value (e.g. contributor, defaultsort or sections). Please check them, to make sure they are OK.— Mpaa (talk) 21:32, 6 February 2019 (UTC)
It's perfect, thank you very much! I did try to get the proper number of fields in every line but I'm not sure how to proofread. Can you suggest a regex search (I use Notepad++ as text processor) which would flag any line that doesn't contain exactly 10 tabs? Levana Taylor (talk) 21:59, 6 February 2019 (UTC)
I do not know Notepad++, use | as separator and when you're done, just replace | with \t.— Mpaa (talk) 20:05, 8 February 2019 (UTC)

Updating the charinsert definitions[edit]

Hi. Sorry for disturbing you again. You may not have followed the post about my Charinsert issues HERE, but replacing the script was not the whole picture. I found out at MediaWiki that in the MediaWiki:Gadgets-definition that these two old entries:

* charinsert[ResourceLoader|default]|charinsert.js
* charinsert-core[ResourceLoader|hidden|dependencies=jquery.textSelection,user]|charinsert-core.js|charinsert-core.css

Need to be replaced with these three, but it requires a bureaucrat to do it, or grant permission to me to do it.

* charinsert[ResourceLoader|default|peers=charinsert-styles]|charinsert.js
* charinsert-core[ResourceLoader|hidden|dependencies=jquery.textSelection,user,mediawiki.storage]|charinsert-core.js
* charinsert-styles[ResourceLoader|hidden|type=styles]|charinsert-styles.css

Ineuw talk 20:31, 6 February 2019 (UTC)

I'll give you permissions. I do not have fresh in my mind what I did. You seem to be more familiar with the topic. Cheers.— Mpaa (talk) 20:39, 6 February 2019 (UTC)
I gave it to you for one week (so I do not have to remember). If you need for longer, ping me.— Mpaa (talk) 20:42, 6 February 2019 (UTC)
I only know more because I followed a very long and disorganized trail. Installed the code and monitored it. It works but in a different way from a cookie. Now, a user's character selection is cleared once the user leaves the site. On start of a new session, the user must re-select their choice and this remains until the end of the session. Thanks for your trust that I won't do anything nasty, and I think you should revoke the permission . . . . Have a nice weekend. — Ineuw talk 19:02, 8 February 2019 (UTC)
I will.— Mpaa (talk) 20:05, 8 February 2019 (UTC)