Wikisource:Scriptorium/Help
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)
- Moved. You can always request a move in the Scriptorium in the "Repairs (and moves)" section. MarkLSteadman (talk) 15:30, 28 November 2024 (UTC)
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)
- 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)
- 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)
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)
- 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)
- 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)
- IAmMrE: the pdf(s) are now located at commons:Category:USDA Weekly Weather and Crop Bulletin--RaboKarbakian (talk) 12:12, 15 December 2024 (UTC)
- 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)
- 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)
- Thanks for the help! However, I'm fine with it as it currently is. IAmMrE 18:20, 16 December 2024 (UTC)
- 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)
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)
- Perhaps it is the same as above? I'll wait a bit I guess. JimKillock (talk) 18:10, 14 December 2024 (UTC)
- 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)- Thanks very much! JimKillock (talk) 20:36, 14 December 2024 (UTC)
- 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
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)
- There's a bit of CSS trickery that can achieve this apparently. JimKillock (talk) 21:48, 15 December 2024 (UTC)
- Anyone any thoughts? Or is the just too hard to implement? JimKillock (talk) 15:56, 16 December 2024 (UTC)
- 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 hastext-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)- Great, thank you, I will give those a try! JimKillock (talk) 12:40, 17 December 2024 (UTC)
- For multiple words in a single line, use the
- Anyone any thoughts? Or is the just too hard to implement? JimKillock (talk) 15:56, 16 December 2024 (UTC)
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)
- @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)
- 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 andtosection=part1
in the transclusion tag. Same has also happened at the end of Part 2. DraftSaturn15 (talk) 04:20, 16 December 2024 (UTC)- DraftSaturn15:
tosection
includes everything on the page up to and including the contents of that section. So, by using that, you told it to transclude the entirety of part2 and all of part1 on that page, rather than just part2. I have fixed this by adding sections for##contents##
and##part2##
at the top of those two pages. TE(æ)A,ea. (talk) 05:01, 16 December 2024 (UTC)- Thank you very much, TE(æ)A,ea. DraftSaturn15 (talk) 05:43, 16 December 2024 (UTC)
- DraftSaturn15:
- 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
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)
- Valjean: If the indentation doesn’t have any meaning other than to indicate the beginning of a paragraph, it’s not replicated, as in your case. If there is a larger indent to show some sort of break, or a hanging indent for a similar purpose, we have templates to replicate them, but the standard printer’s paragraph indent is not replicated. TE(æ)A,ea. (talk) 19:05, 16 December 2024 (UTC)
- Thanks. -- Valjean (talk) 19:10, 16 December 2024 (UTC)
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)
- Done as requested. SnowyCinema (talk) 08:32, 18 December 2024 (UTC)
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)
- 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.
- On page 39, put ##1-7## at the top, and ##1-8## right before the title. What will matter are the
- — Alien 3
3 3 06:39, 20 December 2024 (UTC)
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)
- 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)
- 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)
- 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)
- No, you can't add text to that TOC. Why do you want to? That text probably should go somewhere else — Alien 3
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)
- Added courtesy links. Moving now to User:Laura1822/sandbox2: you can have an indefinite number of sandboxes. —Justin (koavf)❤T☮C☺M☯ 23:08, 22 December 2024 (UTC)
- Thank you!!! Laura1822 (talk) 16:01, 23 December 2024 (UTC)
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)
- IAmMrE: Owing to the difficulty involved in transcribing entire issues, we don’t have many, but The New York Times/1918/11/11 and Saturday Evening Gazette/June 7, 1856 are good examples. Most works are in form of
Title/Volume X/Number Y/Article
, but that is usually not done for newspapers as the dates are generally more important than the volume and issue numbers (for example, in these instances, The New York Times/Volume 68/Number 22206 or Saturday Evening Gazette/Volume 23/Number 2127). TE(æ)A,ea. (talk) 17:17, 23 December 2024 (UTC)- Thanks for the help! IAmMrE (talk) 17:19, 23 December 2024 (UTC)
- Interesting. When I create the index file, the page list doesn't work. IAmMrE (talk) 19:32, 23 December 2024 (UTC)
- @IAmMrE I have purged the file, first on Commons, and then on Wikisource, and the index file is now displaying the page list. If you ever need to purge (refresh) a file, and there is no purge option in the drop down list of "More" actions, you can type ?action=purge at the end of the html for a given webpage, e.g. https://en.wikisource.org/wiki/File:Santa_Fe_New_Mexican_10-12-1911.pdf?action=purge, press enter, and then it should allow you to purge the page. Regards, TeysaKarlov (talk) 20:25, 23 December 2024 (UTC)
- I see now. Thanks! IAmMrE (talk) 21:07, 23 December 2024 (UTC)
- @IAmMrE I have purged the file, first on Commons, and then on Wikisource, and the index file is now displaying the page list. If you ever need to purge (refresh) a file, and there is no purge option in the drop down list of "More" actions, you can type ?action=purge at the end of the html for a given webpage, e.g. https://en.wikisource.org/wiki/File:Santa_Fe_New_Mexican_10-12-1911.pdf?action=purge, press enter, and then it should allow you to purge the page. Regards, TeysaKarlov (talk) 20:25, 23 December 2024 (UTC)
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)
- Here it’s an example Junglk (talk) 19:39, 24 December 2024 (UTC)
- 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)❤T☮C☺M☯ 19:56, 24 December 2024 (UTC)
- 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)
- 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)❤T☮C☺M☯ 20:15, 24 December 2024 (UTC)
- 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)
- 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)❤T☮C☺M☯ 20:15, 24 December 2024 (UTC)
- 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)
- 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)❤T☮C☺M☯ 19:56, 24 December 2024 (UTC)