Jump to content

Wikisource:Scriptorium/Help

Add topic
From Wikisource
(Redirected from Wikisource:RFA)
Latest comment: 8 hours ago by Junglk in topic Problem regarding sidenotes

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).

Have you seen our help pages and FAQs?



Rename source file

[edit]

When uploading File:2024 Legislative Supplements Acts Supplement 39.pdf, I forget to rename the source file name. Can someone help to change that file's name into File:Multinational Enterprise (Minimum Tax) Act 2024.pdf? I would also like to know if there are generic template to request file name change, thank you.廣九直通車 (talk) 10:04, 28 November 2024 (UTC)Reply

Moved. You can always request a move in the Scriptorium in the "Repairs (and moves)" section. MarkLSteadman (talk) 15:30, 28 November 2024 (UTC)Reply

Error: Invalid Interval

[edit]

I've uploaded a PDF file to wikimedia commons. I've tried to make an index page for the file so I can translate it into english and improve the readability of its current ocr transcript. I would like some advice and help on how to resolve it and get to working on the next steps. The index is Index:Mizo Chanchin - Liangkhaia.pdf and the file is"File:Mizo Chanchin - Liangkhaia.pdf". I'm new to wikisource so apologies for any oversights. Mmis325 (talk) 08:03, 13 December 2024 (UTC)Reply

Oh, it seems to have the pages indexed now, I'm not sure why it was the case. Is there a delay for it? Mmis325 (talk) 08:09, 13 December 2024 (UTC)Reply
Yes, we sometimes have a delay—particularly with pdf files. It can be up to 24 hours. Glad it was shorter for you this time. Beeswaxcandle (talk) 08:25, 13 December 2024 (UTC)Reply

Weekly Weather and Crop Bulletin

[edit]

This series of works are made by the Agricultural Marketing Service, meaning they are in the Public Domain. I'm just wondering if text versions of these could be published here? IAmMrE (talk) 15:41, 13 December 2024 (UTC)Reply

IAmMrE: Anything {{PD-US-Gov}} or a subset thereof, is welcomed and even encouraged to be here.--RaboKarbakian (talk) 16:17, 13 December 2024 (UTC)Reply
Thanks! However, I can't upload the PDFs to Commons as I'm a new user. Could you upload them? They're located here if you're wondering. IAmMrE (talk) 19:48, 14 December 2024 (UTC)Reply
IAmMrE: the pdf(s) are now located at commons:Category:USDA Weekly Weather and Crop Bulletin--RaboKarbakian (talk) 12:12, 15 December 2024 (UTC)Reply
  1. Index:Weather weekly-01-11-1971.pdf
  2. Index:Weather weekly-01-18-1971.pdf
  3. Index:Weather weekly-01-25-1971.pdf
  4. Index:Weather weekly-02-01-1971.pdf
I created the first index. That file does not contain the ocr layer, (the hidden text that many pdf have). There is an ocr button (on the right, the large pulsing blue thing that appears if you have not disable the toolbar) that will provide this text or, if you would like, I can ocr them and reupload, although, at this point in time, I can only make djvu files (not pdf)
So, let me know if you want the texts ocr'd and anything else you might need. Also questions, ask them. Here or on my talk page.--RaboKarbakian (talk) 14:00, 15 December 2024 (UTC)Reply
Thanks for the help! However, I'm fine with it as it currently is. IAmMrE 18:20, 16 December 2024 (UTC)Reply

Error on la:Liber:Nicolaus Machiavellus De Principe.pdf

[edit]

Hi there, would anyone have any idea why this transcription project page on Latin Wikisource is returning Error: Invalid interval for the page list? The page list is just <pagelist /> JimKillock (talk) 18:09, 14 December 2024 (UTC)Reply

Perhaps it is the same as above? I'll wait a bit I guess. JimKillock (talk) 18:10, 14 December 2024 (UTC)Reply
Most of the time (though not above), the invalid interval problem can be fixed by purging the file and then the index. Here it worked. — Alien  3
3 3
18:15, 14 December 2024 (UTC)Reply
Thanks very much! JimKillock (talk) 20:36, 14 December 2024 (UTC)Reply

Force justification

[edit]

Hi there, looking at the template:Justify, is there any way to achieve "force justification", ie for a word or number of words to align both left and right, regardless of the length of the sentence? This is often used in typography within books, eg this page, where

N  I  C  O  L  A  I

is spread across the width of the page. JimKillock (talk) 16:07, 15 December 2024 (UTC)Reply

There's a bit of CSS trickery that can achieve this apparently. JimKillock (talk) 21:48, 15 December 2024 (UTC)Reply
Anyone any thoughts? Or is the just too hard to implement? JimKillock (talk) 15:56, 16 December 2024 (UTC)Reply
For multiple words in a single line, use the align-last parameter of {{justify}}. For a single word (or for letter spacing with multiple words) it's a bit harder -- CSS has text-justify but it doesn't seem to be well implemented by browsers. Assuming you don't want to put spaces between every letter, the portable CSS-only solution seems to be wrapping every letter in a span and then applying a flexbox to the whole thing, or you could just fiddle with {{lsp}} until it looks right (this is what I would do). Arcorann (talk) 23:41, 16 December 2024 (UTC)Reply
Great, thank you, I will give those a try! JimKillock (talk) 12:40, 17 December 2024 (UTC)Reply

Template include size is exceeded

[edit]

On Roberts-Smith v Fairfax Media Publications Pty Limited (No 41) (2023, FCA), it says "template include size is exceeded" causing templates to not load towards the end of the page. This almost certainly due to the length of the judgment, or maybe how many templates are used? How could this be fixed? DraftSaturn15 (talk) 01:13, 16 December 2024 (UTC)Reply

@DraftSaturn15: Given its 300+-page length, I would say the best solution is to consolidate it into subpages by section. Lua etc. doesn't tend to like it when a page is this long. SnowyCinema (talk) 02:09, 16 December 2024 (UTC)Reply
Thanks SnowyCinema. If I could get your help with an issue I am having with partially transcluding page 7 of the judgment. I followed the documentation on Help:Transclusion for transcluding part of that page but it does not seemed to have worked. The judge's name, heading, and first three paragraphs of Part 1 are still appearing on the main page after the contents. I have ## part1 ## in page 7 and tosection=part1 in the transclusion tag. Same has also happened at the end of Part 2. DraftSaturn15 (talk) 04:20, 16 December 2024 (UTC)Reply

Indent paragraphs?

[edit]

It's been a long time since I was active here, so what's the rule for indenting paragraphs when the original has them indented? I'm looking at War of the Classes right now. Here is an example: https://en.wikisource.org/wiki/Page%3AWar_of_the_Classes_-_London_-_1905.djvu/28 -- Valjean (talk) 18:47, 16 December 2024 (UTC)Reply

Need help moving page to Translation namespace

[edit]

Hello, I just translated 2024 Declaration of Martial Law in the Republic of Korea but I don't know how to move the page into the Translation: namespace. Can someone help me? Thanks. Reepy1 (talk) 08:19, 18 December 2024 (UTC)Reply

Done as requested. SnowyCinema (talk) 08:32, 18 December 2024 (UTC)Reply

Transcluding sections

[edit]

I'm working on An Introduction to the Devout Life, and I wanted to check my work. This is the first work I have worked on where I used "sections", and clearly I am doing something wrong. At my sandbox, I tried to transclude chapter 6 of section 1, and it's not working. I used <pages index="An Introduction to the Devout Life (1885 edition).djvu" from=37 to=39 fromsection="1-6" tosection="1-7" /> , but it's including the first part of chapter 7. What am I doing wrong? —FPTI (talk) 04:46, 20 December 2024 (UTC)Reply

You are using the "Easy LST" gadget, right? (with ##section##). It doesn't mean what you think it does. It expands to: <section begin="section"/> at the place where you used ##section##, plus <section end="section"/>, either right before the next ##section##, or at the end of the article.
The fromsection parameter only looks for a section begin, and tosection only uses a section end. Thus, it selects from the begin="1-6" on page 37, to the end="1-7" on page 39. However, the end="1-7" is not at the ## 1-7 ##, it is at the end of /39. So it takes /39 to its end. To fix this, you could:
  • On page 39, put ##1-7## at the top, and ##1-8## right before the title. What will matter are the <section end="1-7"/><section begin="1-8"/> that will be before the title.
  • Or, just not use the "Easy LST" gadget, which I find counter-intuitive, and manually enter <section ...="..."/> in the wanted places.
Alien  3
3 3
06:39, 20 December 2024 (UTC)Reply

Including text in ToC

[edit]

...but have it formatted as regular text, not as a heading.

Can this be done? Is there a template for it, or would it just use HTML code? Thanks, Polomo47 (talk) 15:12, 20 December 2024 (UTC)Reply

I am finding it difficult to understand what you are asking. Perhaps you can provide a link to the ToC in question? A generic answer to this might be: you can make a table and not use the toc templates.--RaboKarbakian (talk) 16:09, 20 December 2024 (UTC)Reply
Sorry, what I'm trying to do is really simple, so I couldn't find a way to explain it better. I'll try again.
I have text with no headings, but with clearly separated sections, so I want the ToC to link to each section without actually putting headings there.
By ToC, I mean the default one that shows up on the sidebar. Polomo47 (talk) 16:19, 20 December 2024 (UTC)Reply
No, you can't add text to that TOC. Why do you want to? That text probably should go somewhere else — Alien  3
3 3
16:51, 20 December 2024 (UTC)Reply

Please help me move my sandbox to where it belongs.

[edit]

Someone notified me that I have a page at Laura1822/sandbox which should be at User:Laura1822/sandbox. The Move Page won't let me move it because it says there is already a page there. I blanked the page, but it still would not move. So I copied/pasted, and now I need to delete the old page. I can't find how to do that. Will someone with access please delete it for me? Sorry for the mistake. Laura1822 (talk) 21:59, 22 December 2024 (UTC)Reply

Added courtesy links. Moving now to User:Laura1822/sandbox2: you can have an indefinite number of sandboxes. —Justin (koavf)TCM 23:08, 22 December 2024 (UTC)Reply
Thank you!!! Laura1822 (talk) 16:01, 23 December 2024 (UTC)Reply

Archiving newspapers

[edit]

I'm currently interested in archiving PD newspaper issues from the Internet Archive. However, I'm not sure how newspaper issues are formatted here. Could someone help me? One of the newspapers that I want to format is here for the interested. IAmMrE (talk) 17:04, 23 December 2024 (UTC)Reply

Problem regarding sidenotes

[edit]

Hello, I'm a contributor to the Portuguse Wikisource, where we didn’t have a side note template. I was eager to finish a book that includes some marginal notes. Since I don’t know advanced CSS/HTML or Lua, I simply copied and pasted the Template:Sidenote and its child Template:Sidenotes begin into the Portuguese Wikisource. You can see it here. However, after setting everything up, nothing happened.

The margins on the right and left are created with the Template:Sidenotes begin equivalent, but the text remains in the main body—it’s just smaller.

I assume I need to adjust something in the overall layout of the Wiki, but I’m not sure. Perhaps I’m wrong. Does anyone know how to fix this? I would be really grateful!

Merry Christmas and Happy New Year! :D (I apologize if this isn’t the right place for this, but I couldn’t find a more suitable one) Junglk (talk) 19:35, 24 December 2024 (UTC)Reply

Here it’s an example Junglk (talk) 19:39, 24 December 2024 (UTC)Reply
Bem-vindo. This may be a silly question, but did you only view it in the Page namespace or did you also view it in the transcluded Main namespace? The way that it appears here differs depending on the namespace. —Justin (koavf)TCM 19:56, 24 December 2024 (UTC)Reply
I just tested it in the Page namespace. Should I test it in the Main namespace as well? Here, the sidenote seems fine in the Page namespace, so I assumed that if it’s wrong in the Page namespace, it’s not working. Junglk (talk) 20:04, 24 December 2024 (UTC)Reply
It's worth trying. If that works, then it works. If not, then I'm fresh out of ideas. Unfortunately, importing templates is a real pain. —Justin (koavf)TCM 20:15, 24 December 2024 (UTC)Reply
I just tested it, and it doesn't work at all... Page namespace and here the Main namespace Junglk (talk) 20:23, 24 December 2024 (UTC)Reply