From Wikisource
Jump to: navigation, 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?

Add text vs add PDF and index[edit]

I am confused as to what guidance to follow to properly contribute to Wikisource. I have read Help:Adding texts, and it seems to say that any text first needs to have its original scan uploaded to Wikimedia Commons, and then have an Index created for it. However, I have looked at multiple U.S. Presidential Executive Orders (Author:Barack Hussein Obama/Executive orders) and I can't figure out wether those steps were taken for those texts. Could someone kindly clarify if the PDF upload and Index steps are required for all texts, or if there is some other guidance I should be looking at? Thank you. (talk) user:Al83tito 16:06, 17 February 2018 (UTC)

It's very strongly preferred, and there have been some discussions around making it required. Adding a text without a DJvU or PDF upload and Index should only be done if no DJvU or PDF file can be obtained. —Beleg Tâl (talk) 16:56, 17 February 2018 (UTC)
@Beleg Tâl:, thank you for kindly replying to my question. I am still a bit confused. An Index page for a work seems to be aimed at a work thet requires manual transcription. What about a work that is originally published as a text in PDF, from which it can be easily copied and pasted into wikisource. Specifically, the instance I am thinking of is this work in Wikimedia Commons, of which I created this Wikisource page. In this case, is an Index page necessary/desirable? I am still happy to do it, I just want to make sure that it is warranted. Thank you. (talk) user:Al83tito 10:35, 23 February 2018 (UTC)
@Al83tito: yes, in this case an Index page is necessary so that fidelity to the source PDF can be ensured. —Beleg Tâl (talk) 13:10, 23 February 2018 (UTC)

Splitting a page[edit]

Hi. Is there any way to cut a pdf page in half? There are pdf files which include two pages on one page. --Yousef (talk) 17:19, 18 February 2018 (UTC)

Not that I have seen, I have just seen those that trim. You would also need to be aware that the text layer may not trim in the same way as the image as I don't believe that the text is x,y mapped to the image. I wouldn't fuss it as you can just as easily do the text checking. It does screw the page headers, and you do have to numbering on the Index for every second page; neither of which has been overly inhibiting in my experience. — billinghurst sDrewth 04:01, 22 February 2018 (UTC)
Here’s what I used for Index:Casement Report.djvu: χchi (talk) 13:39, 22 February 2018 (UTC)

Moving transcriptions from one index to another[edit]

Hi, @Billinghurst: described this process to me in broad strokes before, but I'd like to know how to do it myself.

I have uploaded a new file and created a

(The new one is more complete, with 11 pages preceding the previous document.)

I'd like to move the base page, and have it carry all its sub-pages with it. However, I'm not sure how to "renumber" them in the move process. (Page 1 in the old index should be page 12 in the new one, and so forth.)

Is there an automated or straightforward way to do this? -Pete (talk) 02:11, 23 February 2018 (UTC) T188122

??? if it is /1 to /1, then it is usually just do, THAT SAID, it is better for an administrator to do it as they can do it without redirects, and delete the false page that you create to do it. If it is not /1 to /1, then we would normally use pywikibot, and Mpaa has predominantly done those. This looks like /1 to /12 (and increment), which users cannot do except as one by one, and require cleanups. — billinghurst sDrewth 08:19, 23 February 2018 (UTC)
Yes, it's 1 to 12 -- I mistyped it above, sorry for the confusion. Thanks for the explanation. I'll come back with a more formal request later, but for now there is a glitch with the newly-uploaded file...I'll get that sorted out first. (bug report) -Pete (talk) 18:02, 23 February 2018 (UTC)
Can do it. Let me know when you are ready.— Mpaa (talk) 20:16, 23 February 2018 (UTC)
OK, @Mpaa:, it's ready -- thanks to @Brion VIBBER: for converting the file to a DJVU. Seems that the original PDF had problematic JPEG 2000 files. So, if you could move it here: Index:Report of the Park Board 1903.djvu (noting the page offset described above) that would be great! Thanks much. -Pete (talk) 02:10, 3 March 2018 (UTC)
Done.— Mpaa (talk) 17:52, 3 March 2018 (UTC)

Is this an OK way to handle footnotes?[edit]

Interesting situation at Oregon Historical Quarterly/Volume 4/The Educational History of Astoria, Oregon -- there's a footnote referred to from two different pages (p. 25 and p. 28). Could somebody look at the way I handled that, and let me know if there's a better way? (The page in question is still marked as "problematic" to make it stand out.) -Pete (talk) 18:57, 24 February 2018 (UTC)

That's how I would do it myself, so fine from my perspective. Beeswaxcandle (talk) 22:03, 24 February 2018 (UTC)
I added a {{Reflist}} to the page 28 to encapsulate the ref in the footpage. Assassas77 (talk) 10:11, 25 February 2018 (UTC)
Thank you all -- the "display:none" option is one I wasn't aware of, and covers the one detail that was bugging me. All looks great now! -Pete (talk) 20:35, 25 February 2018 (UTC)
I’ve removed the display:none; as it was introducing a small bug. I think the way it is here is better. χchi (talk) 22:44, 25 February 2018 (UTC)
What is the small bug? —Beleg Tâl (talk) 01:02, 26 February 2018 (UTC)
Putting the ref in an extra div adds an extra back link that leads nowhere. χchi (talk) 11:22, 26 February 2018 (UTC)
Fair. That's not really a bug, as there were actually two instances of that reference (one in the text, and one hidden). Your way appears better; I was not familiar with the refx parameter. —Beleg Tâl (talk) 13:31, 26 February 2018 (UTC)
Is this something that we should mention on H:REF? χchi (talk) 14:12, 26 February 2018 (UTC)
If you want to work it in to the help page, I think that could be useful to people. —Beleg Tâl (talk) 15:18, 26 February 2018 (UTC)

Explanation now at H:REF#Multiple pages that reference the same footnote. χchi (talk) 17:08, 26 February 2018 (UTC)

page not rendering[edit]

see for example [1] and the previous page [2]. No image file has been made. It's worked fine on all previous pages. Can someone look into this and see why it's happening like this.

DavidPorter65 (talk) 11:18, 4 March 2018 (UTC)

I think it in a Server side issue with thumbnail generation for PDFs. I do not know if this is specific for this file or in general. I am inclined for the latter.— Mpaa (talk) 18:02, 4 March 2018 (UTC)
I would concur with that "general" statement. They have been horribly slow where I have been looking at page images here. I am unaware whether anyone has submitted a phabricator: ticket. — billinghurst sDrewth 21:39, 4 March 2018 (UTC) (talk) 23:22, 4 March 2018 (UTC)

Advice / Help on importing file from IA[edit]

Can anyone please advice / help me with importing a file from IA?
It's about this file: It has a rather good ocr-layer in IA. I tried to import it to commons with the IA-upload tool. But that did not work properly. Next I tried to import the Djvu-file that was available in the IA-upload tool manually: c:File:PettyWilliam1899EconomicWritingsVol2.djvu. But as you can see here: Index:PettyWilliam1899EconomicWritingsVol2.djvu, it has no ocr-layer.

What shall I do now? Shall I import the pdf from IA? Or what?

(for your information: there is already an Index:William_Petty_-_Economic_Writings_(1899)_vol_2.djvu, but this file is a really bad. So I uploaded a new version to IA.)

Thanks, --Dick Bos (talk) 09:39, 6 March 2018 (UTC)

@Samwilson:? — billinghurst sDrewth 12:00, 6 March 2018 (UTC)
I'm afraid this is a known issue (phab:T159796), to which there is a solution but one that no one has found time to implement in IA Upload yet. :-( Sam Wilson 01:17, 7 March 2018 (UTC)
So we have to wait. Or is there a way to make it a bit urgent? WeeJeeVee (talk) 19:56, 7 March 2018 (UTC)
@Samwilson:, see bug report, I made some debug in djvuxmlparser. Hopefully solution might not be complex. But php is not my language.— Mpaa (talk) 12:33, 10 March 2018 (UTC)
I proposed also a fix.— Mpaa (talk) 19:03, 10 March 2018 (UTC)

Character Building[edit]

I have encountered a character for which I cannot discover a existing match. Basically its appearance would seem to match a Latin Capital "O" with a ring diacritic centered above it. Please advise me how to fill this blank: "A" is to "Å" as "O" is to "__"

Curiously, for the lower-case of the same word, this work uses circumflex diacritic, i.e. "ô" unsigned comment by Klarm768 (talk) .

Here you go: , or alternatively {{cdm|O|030A}}. This is O followed by COMBINING RING ABOVE. See also w:Ring (diacritic). —Beleg Tâl (talk) 13:29, 9 March 2018 (UTC)
Thank you! (and I'll remember to sign this time) Klarm768 (talk) 13:51, 9 March 2018 (UTC)
hmmm... as a matter of fact I had already been to that Wikipedia page and created that sequence. However, in my editing environment (MS Word & Palalatino Linotype) the ring didn't sit on top of the "O" but on it's trailing shoulder. I was presuming it would look that way in wikisource too. Thanks to you, now I know otherwise. Klarm768 (talk) 14:30, 9 March 2018 (UTC)

Transclusion of second page of transcluded TOC unexpectedly shifted to right[edit]

Index:Manual of the Lodge.pdf

Why is the transclusion of the second page of the TOC shifted right?

There's no code on the relevant pages which should be doing this, and other {{TOCstyle}} usages DO NOT do this? ShakespeareFan00 (talk) 00:14, 12 March 2018 (UTC)

The style set for the template is different on the second page than it is on the first. That might be causing the problem, but I don't ever use those templates, so I'm not personally familiar with them. --EncycloPetey (talk) 03:05, 12 March 2018 (UTC)
Presumably @ShakespeareFan00 really meant the third page of the content sub-page? Choosing compatible models, font-variants and sub-alignments seems to work a bit better. (N.B. model=D.P was designed to align with model=C5D.P, not CD.P as was initially used. The "Chapter" is right-aligned in an implicit 5em width "column" which immediately throws the third page out [to the right] very nearly 2em with respect the earlier two pages.)
Surely all that detailed line-by-line style control can be further rationalised: that exercise is left to you. 16:36, 12 March 2018 (UTC)

Difficulty formatting an article (wiki-Translation)[edit]

I would like to ask your assistance in helping me to align the translated English text alongside the original Hebrew in Translation:Babylonian Talmud (Sanhedrin 3b–4b). For some reason unknown to me, the English translation in five of the designated places (rectangles) do not appear on the screen when the text is saved, although they all appear in the "edit-mode". What am I doing wrong?Davidbena (talk) 03:04, 13 March 2018 (UTC)

Asteriskus inexplicibus[edit]

Obviously, asterisks perform functions in WS. I am prepping pages of a work with hundreds of asterisks for which I have so far discovered no meaning. Not footnotes. Not described in the front matter. Not explained in the back matter. Sometimes several per page. Perhaps a few thousand total. I suppose omitting them (my inclination) is not advisable in WS . How do I turn off their WS functionality? Klarm768 (talk) 11:50, 13 March 2018 (UTC)

If the asterisk is at the beginning of the line, {{*}} will prevent it from becoming a bullet point. If the asterisk is not at the beginning of a line, the parser will leave it as a regular asterisk anyway. —Beleg Tâl (talk) 12:11, 13 March 2018 (UTC)
Thanks. Would using a SIC template be acceptable? e.g. * Klarm768 (talk) 16:23, 13 March 2018 (UTC)
I don't think it makes sense to use SIC to add commentary on the meaning of the asterisks, unless you think a reader is likely to think the asterisks are typos. —Beleg Tâl (talk) 17:16, 13 March 2018 (UTC)
Can you provide a link to the work, so that we can have a look? (I can't see anything in your recent edits that relates.) Beeswaxcandle (talk) 02:10, 14 March 2018 (UTC)
The work is comprised of three volumes (the third of which was downloaded in two pieces due to multiple failures to arrive to Wiki Commons as a single PDF). Volume_1 is Index:Imperial Dictionary of Universal Biography Volume 1.pdf. Volume_2 is Index:Imperialdictiona02eadi Brandeis.pdf. Volume 3a is Index:Imperialdictiona03eadi Brandeis Vol3a.pdf. Volume 3b is Index:Imperialdictiona03eadi Brandeis Vol3b.pdf. (WS is having trouble displaying the PDF page images today. I work with downloaded PDF's so that's not an issue with me.) As illustration pages in Volume 3a, I suggest page 55 or page 98 or page 171 or page 478. Klarm768 (talk) 15:57, 14 March 2018 (UTC)
I welcome any refutation of "the meaning of this asterisk is that it has no meaning."Klarm768 (talk) 16:15, 14 March 2018 (UTC)
Per this ad, biographies of individuals still living at the time of publication are indicated by an asterisk in front of their name. I would suggest that if this is explained anywhere in the work itself, then a reference or {{tooltip}} providing this explanation would not be amiss (similar to Page:Manualofprayersf00cath.djvu/11). However, if it is not explained anywhere in the work itself, then providing that information as a user annotation would be inappropriate, but you could mention it in the header of The Imperial Dictionary of Universal Biography. —Beleg Tâl (talk) 17:13, 14 March 2018 (UTC)
That's a very impressive pick-up! Beautifully done! How did it occur to you to look where you did? I have been unable to find any comparable text contained within the work. (By my searching the text of all volumes, I find 49 instances of still living and 111 instances of surviving. 15-word-Proximity-searching for Imperial plus liv or biograp plus liv also failed to locate the internal evidence sought. I get LARGE hauls for liv and surviv but still not what you found. I will search again if you propose a different target.) Thanks for this external refutation. Klarm768 (talk) 20:45, 14 March 2018 (UTC)
I did not find this information in the work itself either, having leafed through the front and end matter of the first and last volume... but the information contained in advertisements in other books was easily found, by Googling "Imperial Dictionary of Universal Biography" "asterisk". —Beleg Tâl (talk) 13:25, 16 March 2018 (UTC)

no image[edit],_ovt_of_the_authentical_Latin,_diligently_conferred_with_the_Greek,_%26_other_Editions_in_diuers_languages.pdf/178

a page image does not get displayed to the page. This was working fine up until a dozen or so pages ago. Can this be fixed? Is our pdf at fault? unsigned comment by DavidPorter65 (talk) 09:21, 14 March 2018.

I'm guessing this is the same issue that you mentioned before? Tâl (talk) 21:30, 14 March 2018 (UTC)

How to upload a local copy of File:Hector Macpherson - Herschel (1919).djvu?[edit]

When I worked on this, I thought it was a US-only publication, so no problem having it on Commons. However, it turns out that it was by a British author who died less than 70 years ago, so @ShakespeareFan00: nominated for deletion on Commons. I just tried uploading a copy here, but I get the message "A file with this name exists already in the shared file repository. If you still want to upload your file, please go back and use a new name." - but uploading with a new name would presumably break the link with the proofread pages. Can someone help sort this out, please? Thanks. Mike Peel (talk) 22:10, 15 March 2018 (UTC)

Because you are aware of the issue, I've withdrawn the deletion nomination, Once localised the file can be removed on Commons. ShakespeareFan00 (talk) 10:33, 16 March 2018 (UTC)
@Mike Peel: usually asking on WS:S and often adding a ping to me. I have moved the file here, so please pop into the file and update it for local conditions, and add a {{do not move to commons|expiry=year of death + 71}}billinghurst sDrewth 11:01, 16 March 2018 (UTC)
Thank you! Mike Peel (talk) 18:49, 17 March 2018 (UTC)

Broken link[edit]

The first URL in (Wikisource English translation of the (Latin) 1582 papal bull 'Inter gravissimas' instituting Gregorian calendar reform) on this page ( is no longer correct.

Yes check.svg Done fixed —Beleg Tâl (talk) 17:40, 16 March 2018 (UTC)

Table in footnote[edit]

Does anyone have a solution to make the table appear in the footnote on Page:America's Highways 1776–1976.djvu/56? I can get a table to embed within normal reference tags, but because there's a endnote reference within that footnote, I need to use {{#tag:ref|...|group=N}} for the footnote. Imzadi 1979  09:10, 19 March 2018 (UTC)

@Imzadi1979: mw:Extension:Cite can be such an ugly beast and a source of constant frustration with its ordering of how it (mis)handles wikitext. In that situation it takes the pipe in the open table statement as a pipe in the #tag, rather than dealing with the table first. The means to force this is to use {{!}} which the system interprets as a | and gets through the wiki fight. I did the replacement, though did not check that I had it perfect, so will leave you to review that. — billinghurst sDrewth 14:23, 19 March 2018 (UTC)
@Billinghurst: thank you! I'd have eventually thought of that someday, and now I'll definitely remember that solution should this arrise again in any of the remaining hundreds of pages in the book. Imzadi 1979  22:32, 19 March 2018 (UTC)
@Imzadi1979: no point in you getting the same scarred forehead. It is not that usual a required solution thankfully. — billinghurst sDrewth 07:40, 20 March 2018 (UTC)