Wikisource:Scriptorium/Help

From Wikisource
Jump to navigation Jump to search
Scriptorium Scriptorium (Help) Archives, Last archive
The Scriptorium is Wikisource's community discussion page. This subpage is especially designated for requests for help from more experienced Wikisourcers. Feel free to ask questions or leave comments. You may join any current discussion or a new one. Project members can often be found in the #wikisource IRC channel (a web client is available).

This page is automatically archived by Wikisource-bot

Have you seen our help pages and FAQs?


Formatting Help[edit]

Hi, I need help in formatting this page. I do not know how to make border boxes. --Abhinav619 (talk) 06:55, 15 March 2019 (UTC)

@Abhinav619: you can use the template {{border}} for border boxes, and {{rule}} for horizontal lines —Beleg Tâl (talk) 12:43, 15 March 2019 (UTC)

Anthology of Modern Slavonic Literature[edit]

I have uploaded File:Anthology of Modern Slavonic Literature in Prose and Verse by Paul Selver.djvu from archive.org, but only then I noticed that there are several pages missing at the end of the book. Hathi has more copies, but they are not available outside the U. S. I tried downloading them with the Hathi Download Helper, but it failed this time for some reason. May I ask somebody from the U. S. to replace the file? Thanks very much! --Jan Kameníček (talk) 10:38, 16 March 2019 (UTC)

I think it will make no harm when I start proofreading, and if the pages don't match after the files are replaced later, they can be moved. But it would be great if somebody were able to get a better copy. --Jan Kameníček (talk) 19:51, 17 March 2019 (UTC)
Yes check.svg Done but the quality isn't the best. Also there is no ocr but you can use the ocr button for that. I'll see if I can create a better copy when I have the time. Jpez (talk) 05:13, 18 March 2019 (UTC)
@Jpez: Thanks very much! --Jan Kameníček (talk) 09:10, 18 March 2019 (UTC)

This page problematic?[edit]

This page was previously deleted on 16 September 2012 by George Orwell III who unfortunately does not seem to be around atm. Is it good to create and proofread? Cheers, Zoeannl (talk) 09:36, 17 March 2019 (UTC)

Yes, was formerly used with a different scan, you can create it again for this new scan. —Beleg Tâl (talk) 11:28, 17 March 2019 (UTC)
Thanks!Zoeannl (talk) 07:26, 18 March 2019 (UTC)

Use of a Government Seal (Question)[edit]

I have almost completed 2015 Philadelphia train derailment NTSB report, but I have a concern about this page. It uses an official government seal (this one). While it is listed as in the public domain, use of a government seal is decently regulated.

At the moment, I have written [Seal Omitted]. Should I leave it as that or add in the seal? Thank you, –MJLTalk 05:26, 21 March 2019 (UTC)

But the seal is in the public domain copyright-wise, and we won't have any copyright problems using it. There's no reason to not use an image that's already on Commons.--Prosfilaes (talk) 07:43, 21 March 2019 (UTC)
@Prosfilaes: Okay, then; thank you! I'll update the page now. :) –MJLTalk 11:22, 21 March 2019 (UTC)
Further to this: regardless of the copyright issues (which there are none), the fact that the government agency themselves placed the seal on this document means that we are not violating any regulations by reproducing the seal when we reproduce the document. —Beleg Tâl (talk) 12:25, 21 March 2019 (UTC)
Actually, that makes a ton of sense in retrospect. I had wanted to be on the safe side with this, but I am glad my to confirm these concerns were unfounded. –MJLTalk 03:53, 23 March 2019 (UTC)

Header, main window and footer temporary resizing issue[edit]

I reported this bug and wondered if anyone else has this problem. Would other editors check this and please reply here indicating the OS and the browser used? Thanks in advance.— Ineuw talk 03:45, 25 March 2019 (UTC)

It works for me (Firefox and Chrome); do you see the same problem when you are not logged in? —Beleg Tâl (talk) 13:16, 25 March 2019 (UTC)
@Beleg Tâl: an excellent idea. Thank you. It works when logged out.— P.S: Deleted all the cookies and logged in and the problem remains.— Ineuw talk 20:26, 25 March 2019 (UTC)
Issue is resolved. There was a code line in the common.css causing all of the above problems. Thanks again. — Ineuw talk 21:21, 25 March 2019 (UTC)

top caption with FIS?[edit]

On this page {{FIS}} allows me to insert the floor plan the way it should be, except that as far as I can tell it doesn't allow for the caption at the top. Can the top caption be added using FIS, or is there another way to get the floor plan right? Levana Taylor (talk) 03:24, 28 March 2019 (UTC)

I would use {{img float}} instead. It's got an option for top captions. Beeswaxcandle (talk) 07:44, 28 March 2019 (UTC)
Problem with that: the "capalign" parameter of {{img float}} aligns both the top and bottom captions the same, whereas in this case the text above should be centered and the text below should be left or justified. Can some HTML expert suggest a way to get the correct result "by hand" instead? (replicating what img float does, but with separate alignments for top and bottom captions)? Likewise I want to put the bottom caption in smaller font than the top one, which means specifying different line heights. Levana Taylor (talk) 14:18, 28 March 2019 (UTC)

Jesus and Satan meeting[edit]

Some where in Ellen Whites writings, there is a reference when Jesus meet Satan some where in space and Satan wanted to return and Jesus turned and cried, where is that found? —Preceding unsigned comment added by 12.246.210.62 (talk)

Have you looked at Author:Ellen Gould White? --EncycloPetey (talk) 13:38, 28 March 2019 (UTC)

Wuthering Heights[edit]

Can this page be fixed? The OCR hasn't worked? Cheers, Zoeannl (talk) 08:40, 28 March 2019 (UTC)

And this one? Zoeannl (talk) 09:40, 28 March 2019 (UTC)
It seems the text layer is either missing or incomplete. I used the WS OCR button to generate text, but this method has several issues, including (1) text rife with scannos, and (b) curly quotes instead of straight.
It may be worth looking for a better scan of the novel instead of proceeding with this particular file.
Also, we already have the 1st (UK) edition, and the 2nd (UK) edition of 1850 is considered the authoritative one. So, is the 1848 US edition worth having? --EncycloPetey (talk) 13:31, 28 March 2019 (UTC)
It must be your browser, it's working fine with Firefox (Mac) and Safari (Mac only). The only thing not working with me is the header - which says - wuraaaxnc acres-rs. 5 --kathleen wright5 (talk) 14:03, 28 March 2019 (UTC)
Not the browser. I created that text layer using the OCR button (see above). --EncycloPetey (talk) 15:31, 28 March 2019 (UTC)

Any consensus? Should this be abandoned? The scan isn't a good one... Zoeannl (talk) 08:23, 29 March 2019 (UTC)

I would say so. It's a poor scan, with a bad text layer, for an unimportant edition, of a work for which we already have the 1st edition. The 2nd UK edition of 1850 would be valuable, but an early US edition of this novel is more a literary footnote. --EncycloPetey (talk) 14:20, 29 March 2019 (UTC)

The name of the main namespace page does not link to the Table of Contents entry[edit]

Can someone please look at these pages and tell me why a link is not made? The text in the Table of Contents was copied from the main namespace page title.

Main namespace page:

Table of Contents 1st entry:

Ineuw talk 08:15, 30 March 2019 (UTC)

I also ran this search and there are two main pages by the same name Page title search.— Ineuw talk 08:38, 30 March 2019 (UTC)

Minuscule "e" in the word "expedition". --Jan Kameníček (talk) 09:08, 30 March 2019 (UTC)
I copy-pasted the link from the address bar that uses underscores instead of spaces, and it's linking now. I have no idea why it didn't work before though. Jpez (talk) 12:51, 30 March 2019 (UTC)
Set this problem aside in the past few hours, But I think it's best to delete all main namespace pages cascading from the two roots, and then delete the root pages. — Ineuw talk 21:44, 30 March 2019 (UTC)

Too long Contents[edit]

It seems that the Contents on the right side of Index:Anthology of Modern Slavonic Literature in Prose and Verse by Paul Selver.djvu is too long and so the last pages are not transcluded. May I ask for advice? --Jan Kameníček (talk) 13:26, 30 March 2019 (UTC)

The same transclusion problem has appeared at Anthology of Modern Slavonic Literature in Prose and Verse. Besides the last Contents pages the license template has not been transcluded either. --Jan Kameníček (talk) 15:50, 30 March 2019 (UTC)
@Jan.Kamenicek: Five pages of Contents are not too long. First, it helps if the pages appearing in the Contents list exist. There is an error somewhere in the list of contents. If you look at the end of transclusion on the index page, there appears three page numbers outside of the Contents structure. — Ineuw talk 16:43, 30 March 2019 (UTC)
@Ineuw:I looked at it again, but there are only existing and proofread pages transcluded. When I try to remove some of the the pages transcluded in the beginning and look at the preview, the pages in the end are transcluded without any problem. That is why I guess the problem is with the length of the pages (maybe they contain too many complicated templates...).--Jan Kameníček (talk) 16:52, 30 March 2019 (UTC)
@Jan.Kamenicek: Tried to find the problem by pasting all five pages into this sandbox. Please look at it if anything is missing. Unfortunately, I never used this template. Isn't there supposed to be end of list template?— Ineuw talk 17:17, 30 March 2019 (UTC)
@Ineuw:It is interesting that direct pasting resulted in more content being displayed in your sandbox, but still the last rows do not work. The documentation to the template {{Dotted TOC line}} does not say anything about ending the list. Anyway, when the list is shorter, it works well, see, e. g. this experiment, when it is longer, transclusion of the last pages stops working. --Jan Kameníček (talk) 19:15, 30 March 2019 (UTC)
@Jan.Kamenicek: You're definitely running into the post-expand include size limit (~2MB). II'm guessing the main culprit to be {{Dotted TOC line}}. Every single invocation of this template will spit out ~10k characters (and assuming all of them are stored as 8 bits, one byte, that's 10kB), meaning you can have a maximum of 200 of these before hitting the limit provided there are no other templates or content involved. Your pages break down like this (post-expand include size in bytes):
  • 19: 284,451
  • 20: 420,260
  • 21: 480,968
  • 22: 443,746 ← hitting limit here due to other content and templates.
  • 23: 457,835
  • 24: 122,368
My immediate advice would be to drop {{Dotted TOC line}}. I'm all for reproducing works visually as close as possible, but this particular template looks downright pathological: the sheer amount of markup it spits out for each single line is just astounding. For a long(ish) ToC it's never going to work reliably and will have a measurable impact on readers' systems (download time, performance). Case in point, replacing it with {{TOC line}} on Ineuw's sandbox reduces its post-expand include size from 2,097,152 bytes (capped by the limit) to 252,726 bytes. That is, something on the order of 90% of it comes from {{Dotted TOC line}}. --Xover (talk) 20:47, 30 March 2019 (UTC)
I was afraid the problem is something of this kind... It is quite bad if the dots have to be left out. The reason is not only the effort to reproduce the original, but dots really make such long lists much easier to read :-( --Jan Kameníček (talk) 21:36, 30 March 2019 (UTC)
@Xover: A sincere thanks for the explanation. For table of Contents I always use tables. I find it to be very flexible. @Jan.Kamenicek: Sorry for the wrong info.— Ineuw talk 21:40, 30 March 2019 (UTC)
@Xover: I have replaced the template with {{Dotted TOC page listing}} which seems less massive and it helped. Thanks very much for pointing out the problem. @Ineuw: No problem, I do appreciate you tried to help me! --Jan Kameníček (talk) 22:05, 30 March 2019 (UTC)

Should be no links to deleted redirect...[edit]

https://en.wikisource.org/wiki/Special:WhatLinksHere/Traffic_Signs_Manual/Chapter_3

Not understanding why this still has entries as I moved/updated all the pages to use the new edition stucture, Explanation? ShakespeareFan00 (talk) 21:36, 1 April 2019 (UTC)

Subpages keep links to parent pages. Beeswaxcandle (talk) 22:00, 1 April 2019 (UTC)
[edit conflict] It is possible that these are automatic backlinks generated because of the forward slashes. I.e. the software assumes that a page named Traffic Signs Manual/Chapter 3/2008/1 will be a subpage of Traffic Signs Manual/Chapter 3, and automatically create a link. --EncycloPetey (talk) 22:02, 1 April 2019 (UTC)
I also see a number of redlinks in those pages that appear to need correcting, such as links to ".../Chapter 3/Chapter 5" in the text --EncycloPetey (talk) 22:02, 1 April 2019 (UTC)

2 columns[edit]

I'm working on this article and there is a page break where 2 columns begin. It is important that what is in the second column is exactly next to the corresponding part of the first, at Page:The Journal of English and Germanic Philology Volume 18.djvu/510. I don't know how to do this. Radioactive Pixie Dust (talk) 23:03, 14 April 2019 (UTC)

It also looks as though the line returns, at least in the left column, are deliberate. It may be easier to match the columns if you replicate these line returns instead of having the text wrap. --EncycloPetey (talk) 00:59, 15 April 2019 (UTC)

Drop initials are incompatible with other formatting...[edit]

See: - Page:Ruffhead - The Statutes at Large - vol 2.djvu/94. Can someone take a sledgehammer to the relevant templates and MAKE them interact in a SANE manner please, there having been considerable efforts made to make the templates used here not screw up the layout?.

If this isn't fixed I will consider nominating the ENTIRE cl-act-p based family for deletion, on the basis that they just seem to be too incompatible, It is not as if they are widely used. ShakespeareFan00 (talk) 09:43, 16 April 2019 (UTC)

What I don't currently understand is why the same approach on Page:Ruffhead - The Statutes at Large - vol 2.djvu/93 does NOT screw up the layout.ShakespeareFan00 (talk) 09:46, 16 April 2019 (UTC)
These templates rely on floating elements. If you familiarize yourself with float positioning you should be able to figure these out. In this case, {{cl-act-p}} depends on {{margin block}} which by default clears floats to the left. This forces each cl-act-p block to appear below other cl-act-p blocks, or any other floated blocks that precede it. The dropinitial is also floated, and is not cleared, so it will be positioned beside the floated block immediately before it - which is the very last cl-act-p block. You can get around this by putting all the cl-act-p blocks inside a container block. The dropinitial will then be positioned next to the top of the container block (which is now the immediately preceding floated block) instead of next to the top of the very last cl-act-p block. —Beleg Tâl (talk) 13:01, 16 April 2019 (UTC)
Right so dropintial is (currently) incompatible with cl-act-p, Perhaps at some indeterminate future date it will be possible for Wikisource to have templates that do not have obscure interactions issues, until then it seems an overly complicated and otherwise uncessary workaround is needed. What a shame :( ShakespeareFan00 (talk) 16:36, 16 April 2019 (UTC)
Perhaps YOU are able to provide a "compatible" drop-initial template that doesn't rely on a contributor knowing precise CSS details and the minutiae of obscure Mediawiki/HTML/CSS interactions? Thanks. ShakespeareFan00 (talk) 17:03, 16 April 2019 (UTC)
lol nope. Templates are just shortcuts for CSS. If you want to format a text with complicated floating blocks of text, it's up to you to understand how complicated floating blocks of text works. Dropinitial needs no further changes to work the vast majority of the time; if you want a version of dropinitial that accounts for the behaviour of whatever cl-act-thingy is, then that's on you. —Beleg Tâl (talk) 17:26, 16 April 2019 (UTC)
Whilst that may be so, there wasn't anything in the documentation for {{di}} or {{intial}} that mentions this issue in any detail. Once again I am supposed to KNOW apparently by intution or telepathy, various miniutiiae of CSS/HTML/Mediawiki markup interactions. This is NOT conducive to positive long term contributions. ShakespeareFan00 (talk) 18:18, 16 April 2019 (UTC)
The documentation for {{di}} explicitly says "This template simply generates a left-floated span (w/style display: block;) containing content with the proper CSS styles applied to it." Floated elements are well documented on MDN, W3Schools, and many many other websites. No intuition or telepathy required. —Beleg Tâl (talk) 20:57, 16 April 2019 (UTC)
The incompatibility of {{di}} with other "floating" templates is NOT howver documented. It seems I'm wasting my time trying to get anywhere with this issue (sigh).ShakespeareFan00 (talk) 21:12, 16 April 2019 (UTC)
See also Page:Test_page#Testing_/s_/e_version_(5d)_with_inline_at_start,_layout_specified_and_a_drop_initial_(I_said_let's_have_some_insanse_test_case!) , The 2 sidenotes/titles should be level with the dropinitial, but that seems to currently be outside the limitations of Mediawiki/CSS/HTML to handle in a SANE and CONSISTENT manner. As I said perhaps SOMONE ELSE can come up with an approach that means that the SAME concerns and arguments do not occur again and again EVERY SIX MONTHS until someone finally gets around to ACTUALLY providing the functionality needed, instead of stalling by saying it's down to me. Either work out a fix the templates or put it in the documentation, that DI and other templates can't be used alongside other 'floated' elements. ShakespeareFan00 (talk) 21:25, 16 April 2019 (UTC)
From some further analysis it seems that what I am trying to do in terms of interactions is NOT currently feasible, due to CSS/HTML limitations. Hopefully when the CSS Text spec, properly supports true drop initials (and browsers do as well) this can be revisted. In the meantime the work around seems to be use a right-hand position for the sidetitles universally. ShakespeareFan00 (talk) 09:39, 17 April 2019 (UTC)

OK, anyone here good with LUA code?[edit]

Page:Ruffhead_-_The_Statutes_at_Large_-_vol_6.djvu/775, a template used on this page was recently updated. I can't figure out WHY the change should have caused something that worked previously to suddenly start generating BAD markup. Can someone else here please provide an explanation, and a repair, so that the templates behave in the SANE and DOCUMENTED way they are supposed to. Thanks. ShakespeareFan00 (talk) 10:49, 16 April 2019 (UTC)

I don't see anything wrong with the linked page. What are you talking about? Which template? What update? Where is the bad markup? —Beleg Tâl (talk) 13:06, 16 April 2019 (UTC)
https://en.wikisource.org/w/index.php?title=Page:Ruffhead_-_The_Statutes_at_Large_-_vol_6.djvu/775&oldid=9201797 and Template:cl-act-p/1, I put in a TEMPORARY fix by explicitly naming the text param. The template should be able to cope with the text being the unamed first parameter.(i.e an implied 1=}} which in the revision shown didn't work as expected. ShakespeareFan00 (talk) 16:17, 16 April 2019 (UTC)

See also Template:Cl-act-p/testcases ShakespeareFan00 (talk) 16:54, 16 April 2019 (UTC)

Which has been solved for the time being by reverting the changes made recently. ShakespeareFan00 (talk) 21:18, 16 April 2019 (UTC)

Tom Swift[edit]

I want to download the whole book Tom Swift and His Motor Cycle as pdf . What do I do? —Preceding unsigned comment added by 223.191.34.87 (talk)

It's my understanding that our PDF export function is still broken. If you need it in PDF format, your best bet may be to download the original book scan from https://ia902705.us.archive.org/20/items/tomswiftandhism00garigoog/tomswiftandhism00garigoog.pdfBeleg Tâl (talk) 12:42, 18 April 2019 (UTC)

Page-spanning table[edit]

Page 8 and Page 9 of The Lucknow Album are currently proofread as two separate tables, which is causing misalignment on transclusion. I have tried formatting as page-spanning table, but for some reason it is not working on transclusion. Can someone make a fresh attempt please? Hrishikes (talk) 08:06, 20 April 2019 (UTC)

Yes check.svg Done , looks like it was because page 8 and page 9 were transcluded separately with two separate <pages /> calls. —Beleg Tâl (talk) 11:38, 20 April 2019 (UTC)
Many thanks. I had overlooked that aspect. Hrishikes (talk) 16:19, 20 April 2019 (UTC)

Book from Google books[edit]

Can somebody from the U.S. check, whether the following book is available in the United States, please? [1]

Thanks very much. --Jan Kameníček (talk) 15:59, 22 April 2019 (UTC)

@Jan.Kamenicek: -- Is the book same as this: https://catalog.hathitrust.org/Record/007853674 ? I can download this one. Hrishikes (talk) 17:00, 22 April 2019 (UTC)
@Hrishikes: That is exactly what I hoped to find out: whether the two books are identical or not :-)
However, I would be really glad if you downloaded at least the one from the Hathi Thrust. Thank you! --Jan Kameníček (talk) 18:12, 22 April 2019 (UTC)
Index:President of the Czecho-Slovak Republic, Thomas G. Masaryk.pdf -- Hrishikes (talk) 01:19, 23 April 2019 (UTC)
Thanks very much! --Jan Kameníček (talk) 07:46, 23 April 2019 (UTC)