User talk:Mpaa/Archives/2020

div & span
Is there somewhere a guide to which templates are &lt;div> and which are &lt;span>? I’m no programmer and this stuff doesn’t make intuitive sense to me … Levana Taylor (talk) 03:03, 12 January 2020 (UTC)
 * It is documented on the template page by div-based-template and span-based-template. Unfortunately not for all but for some of the most used templates. If missing, in case of simple templates, you can see it by editing the template. It will start either with "<div style=..." or "<span style=..." . If the template is complex, it is not straightforward to say (this is usually the case for templates to be used with images, like Img float and similar). In principle there is also a tool that can be inserted in your common.js that help to at least detect if there is a "lint-issue", unfortunately its output is not very friendly for non-technical people, but at least one is aware something is wrong and can ask for assistance in such cases. Mpaa (talk) 09:43, 12 January 2020 (UTC)
 * If you see the word "block" then it is &lt;div>.  If you think that it is just for some characters, typically less than a paragraph, then it will be span.  If it is paragraph or bigger, then it will be div. So if nesting things, think biggest on the outside, smallest on the inside. — billinghurst  sDrewth  13:20, 12 January 2020 (UTC)


 * This is a good example to avoid. Mpaa (talk) 22:20, 13 January 2020 (UTC)
 * OK, got that. Does it make any difference what order various block templates are in (e.g. fine block and block center)? Levana Taylor (talk) 03:37, 14 January 2020 (UTC)
 * , in general, nesting one block template into another gives less headaches. Given the same outcome, generally speaking the specific order is a matter of preference. In your example, I would go .Mpaa (talk) 20:40, 14 January 2020 (UTC)

block center/s
Hi there. I have undone your edit because on individual pages, when the template is in the header, it adds  before the body. This was noticeable on pages with poems continuing from the previous page. -Einstein95 (talk) 22:28, 16 January 2020 (UTC)
 * I did it because it some cases it was giving a  Missing end tag	span-Stripped tags span lint error. Now I cannot find it, next time I'll see it I will let you know. Anyhow, in my opinion, as long as the transcluded pages behave fine, the single page perfection is of secondary importance vs. a proper html syntax respect.Mpaa (talk) 22:41, 16 January 2020 (UTC)


 * , I reproduced the situation I found. It is a simple PoC.

Requesting clone/duplication of pages between works..
(Reposting this directly here, as it's been on Scriptorum for a while without a response.)

Source: Index:2019-12-02-report-of-evidence-in-the-democrats-impeachment-inquiry-in-the-house-of-representatives.pdf

Pages: 1 to 123

to

Destination: Index:Impeachment of Donald J. Trump, President of the United States — Report of the Committee on the Judiciary, House of Representatives.pdf Pages: 217 to 339

As the latter pages seem to be the exact same report appended or annexed.

Your name was suggested as being able to do something like this with automated tools.ShakespeareFan00 (talk) 12:44, 30 January 2020 (UTC)
 * done. Mpaa (talk) 21:09, 30 January 2020 (UTC)

Template:Left
Don't forget that the documentation should be noincluded.. I would suggest reviewing the last change you made to this.ShakespeareFan00 (talk) 09:14, 4 February 2020 (UTC)

File:Page 620 (Vol. 1 - The Outline of History, H.G. Wells).png
This is still sitting in Category:From Commons and with a broken licensing template. Could you give it a once-over to clear it out? --Xover (talk) 13:12, 8 February 2020 (UTC)

Requested for mass subst:
I was informed that a template I had written was in fact redundant, demonstrated by the fact that it could be easily replaced.

String to find : {{rh/vr| String to replace with {{subst:rh/vr|

Inovcations:- https://en.wikisource.org/w/index.php?title=Special:WhatLinksHere/Template:Rh/vr&limit=2000

This seems like a task AWB could do in a short space time compared to manual replacement. ShakespeareFan00 (talk) 11:35, 9 February 2020 (UTC)
 * Done. I also deleted the template. Mpaa (talk) 13:57, 9 February 2020 (UTC)

Also

 * {{Hansard/header to  {{subst:Hansard/header   as it can now use {{tl|rh/5}} https://en.wikisource.org/w/index.php?title=Special:WhatLinksHere/Template:Hansard/header&hideredirs=1&hidelinks=1&limit=500


 * {{Hansard/header-wa to  {{subst:Hansard/header   as it can now use {{tl|rh/5}} https://en.wikisource.org/w/index.php?title=Special:WhatLinksHere/Template:Hansard/header-wa&hideredirs=1&hidelinks=1&limit=500

There should be something like an {{tlx|sdelete}} for this? Rather than having to request each group indvidually? ShakespeareFan00 (talk) 14:23, 9 February 2020 (UTC)


 * Done. I suggest that you stop creating templates and instead submit your proposals for review to the community. You are generating a lot of maintenance tasks with your experiments, substitution, deletion requests etc. Mpaa (talk) 14:35, 9 February 2020 (UTC)


 * Would you be averse to locking Template namespace to admins only anyway? It's not as if templates here need to updated that often. ShakespeareFan00 (talk) 15:34, 9 February 2020 (UTC)


 * I think it should be open to anyone. My advice above to you is because it seems you have problems with templates.Mpaa (talk) 15:38, 9 February 2020 (UTC)


 * Generally what happens, is that a template gets developed to meet a specific need (in one work) and then it "creeps" and breaks in the process of trying to generalise it to other use cases. I'd been trying recently to see if there was some of my previous creations that could be re-worked.


 * And thank you for convincing me to give up long term contributions to this project. ShakespeareFan00 (talk) 15:56, 9 February 2020 (UTC)


 * Do what you feel you should do. My suggestion is that you seek for code reviews if you feel to edit templates. Mpaa (talk) 16:08, 9 February 2020 (UTC)


 * If I'm continually going to hit software limitiations and there's a lack of technical expertise (or in my case ineptitude) to come up with solutions that work for the whole Wikisource community. ....


 * For what it's worth, see - Index talk:Chronological Table and Index of the Statutes.djvu for part of the reason behind some of my recent template concerns.. ShakespeareFan00 (talk) 16:14, 9 February 2020 (UTC)

Your message
I disagree with your opinion that there is no real benefit. There is enormous benefit. It allows the pages to be read and searched. It also produces increased efficiency through division of labour. It also attracts editors who would otherwise be unaware the thing exists or demoralised by the lack of progress. It also prevents scans from going moribund.
 * While I would like to see the robots used to the perform the task, the people who have access to them seem to be either unable or unwilling to operate them.
 * We have files that have been waiting for many years to be fixed. I suspect they will not be fixed during our lives. The problems with them are often very minor (such as the absence of a single not particularly important page). Most of our files seem to be free from problems. James500 (talk) 21:56, 21 February 2020 (UTC)


 * I realised only after leaving my message that you were adviced in the past already but you obliterated the message, as you immediately did with mine. Bad conscience maybe?


 * Anyhow, I gave you my opinion, I did not say it is prohibited and I suggested to ask for bots, as someone else already did it the past, unheard or maybe ignored. And instead of asking for bots, what do you do? You accuse bot owners to be incompetent or lazy. Very constructive indeed.


 * Regarding missing pages, I can tell you that I have moved tons of pages to insert the so-called unimportant page, so at least save me that part because I know what I am talking about.


 * Next time do not misdirect the conversation so it will be visible in the right context to everyone. Cheers. Mpaa (talk) 22:28, 21 February 2020 (UTC)
 * I did not accuse anyone of being incompetent or lazy. If you are offering to operate one of the robots, I would be enormously grateful. It would save me a lot of effort. I delete most messages that I receive, including the ones that thanked me for doing the job manually (there have been several). The person who previously offered to operate the robot did not finish what he started. That is not a criticism. It may be that I simply have more time on my hands than him. Since you asked, I will avoid files that are missing pages. James500 (talk) 22:56, 21 February 2020 (UTC)

What forbidden magic is this?
I'm wondering about adding links to indices in a project, Index:United States Statutes at Large Volume 33 Part 2.djvu (example index page), and so in my spare time I've been looking at things like namespace detect. But then somehow I came across this edit by Mpaabot. I am very intrigued! Shenme (talk) 02:54, 26 May 2020 (UTC)

Welcome back
Welcome back, and I'm glad to see you active again. People suddenly going inactive in the middle of a global pandemic tends to make me worried. So here's hoping your absence was due to something far more pleasurable and benign than this interminable virus! :-) --Xover (talk) 04:56, 23 September 2020 (UTC)
 * Hi, I am OK thanks :-) Mpaa (talk) 09:24, 23 September 2020 (UTC)

Deleting “transwiki'd” files
I have been going through locally held files, and listing those that should be deleted; I have been careful to not select those files which do not have legitimate replacements. I noticed that you were deleting many of these files; I bring to your attention, among others, File:Appletons' Cyclopædia of American Biography (1900, volume 1).djvu-122.png, “replaced” by File:Chester Alan Arthur - Appletons' Cyclopædia of American Biography (1900, volume 1) (page 122 crop).jpg. The latter file was cropped from the .djvu file, rather than from the .pdf file or the original .jp2 files; this is clear when the image is viewed closely. It is for that reason that I did not recommend this file for deletion. In addition, in its final form, that page should have two images: the portrait, and the signature. The same problem exists for File:EB1922 - Volume 32.djvu.jpg: when examining the file closely, it is obvious that the quality is quite low. I have already concluded with my review of files through “G,” and have begun “H.” TE(æ)A,ea. (talk) 13:18, 12 October 2020 (UTC).
 * The discussion and some files can be found here; more files can be found here. TE(æ)A,ea. (talk) 13:29, 12 October 2020 (UTC).
 * It was decided this could be automated. Obviously it relies on the fact that who placed an image from commons on the page did a good job. I will stop, no problem. Mpaa (talk) 15:31, 12 October 2020 (UTC)
 * I assume you reference this discussion; I noticed this some time after I had begun my work. I assumed, because there had been no discussion for some time, that the plan had been abandoned, and I made no comment on my work. Extra-Wikisource issues have prevented me from working on this project, but I should be able to start again within a few days. TE(æ)A,ea. (talk) 16:22, 12 October 2020 (UTC).

Pages left behind
Hi, when you moved Index:United Nations Treaties and international agreements registered - Volume 221 (13 November 1955 - 30 November 1955).pdf to Index:UN Treaty Series - vol 221.pdf, the pages from /306 onwards got left behind and are now decorating Special:LonelyPages as orphans. What's the plan for those pages? Move or nuke? Beeswaxcandle (talk) 06:40, 20 October 2020 (UTC)
 * Fixed, thanks for he heads up. Mpaa (talk) 08:30, 20 October 2020 (UTC)