Wikisource:Scriptorium/Help

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

This page is automatically archived by Wikisource-bot

Have you seen our help pages and FAQs?


A question about the Hebrew Accent Ole[edit]

I've been working through the early parts of the Brown-Driver-Briggs Hebrew Lexicon. The page I'm hung up on is [1]. I've been able to get all the various Hebrew letters and specialized diacritical marks to work except for one. Near the bottom of the page, there's a word (pronounced BA-yin) where I need to get a Hebrew accent named "Ole" [2] over the B (Bet). If anyone knows of a specific editor who has a lot of experience with making Hebrew-language texts display in Wikisource, I may need to go bother that particular person. Alephb (talk) 03:03, 30 April 2017 (UTC)

@Alephb: Like this, ב֫ ? Hrishikes (talk) 03:28, 30 April 2017 (UTC)
@Hrishikes: Thanks! That was quick. For now I used copy-paste to get that into the appropriate spot. For the future, how did you call that up? I've been using various keyboard shortcuts to call up the rest, but somehow I can't seem to figure out what to do for ole. Alephb (talk) 03:36, 30 April 2017 (UTC)
@Alephb: I use http://www.lexilogos.com/keyboard/hebrew.htm and its sister language keyboards to do this kind of thing, and then copy/paste into the Page. Beeswaxcandle (talk) 06:40, 30 April 2017 (UTC)
@Beeswaxcandle:. That's perfect. I'll use that for anything I can't do through the regular keyboard. Alephb (talk) 07:30, 30 April 2017 (UTC)
The other option in Windows is Babelmap which also combines characters with diacritics. — Ineuw talk 00:33, 31 May 2017 (UTC)

Built in script is not working[edit]

This page is not functioning at all, as much as I would like it to, and could code viewing be turn on or implemented. — Ineuw talk 00:25, 31 May 2017 (UTC)

@Ineuw: Did you see m:TemplateScript? —Justin (koavf)TCM 00:30, 31 May 2017 (UTC)
Umm, @Ineuw: please explain "is not working" in a more helpful way. What are you expecting to see there? What are you expecting to see there and are not seeing there. My quick look at your common.js file would have me expecting the page to report nothing imported for you. I haven't drilled down through all your .js pages that you may have linked, however, I don't expect to see anything. Can I point you to mw:How to report a bug for some tips. — billinghurst sDrewth 21:25, 31 May 2017 (UTC)
@Koavf: I don't think that my issues relates to the Pathoschild tools I am having problems with.
@Billinghurst: My bad, for being so late with the clarification, but I have a good excuse. I was inundated with software and hardware problems for these past several weeks.
As for the problem, I will try to clarify it, and assembled the components of the issue and uploaded this image to clarify.
Part 1 of the uploaded image illustrates Pathoschild's link in my common.js. Part 2 of the image displays the group of six tools this script places on the left sidebar when a page is in edit mode. Of the six tools, I only use the "Clean up OCR tool", and the rest I wanted to hide. Alongside the title "Page tools" of this group is the link to part 3, which is the Special:TemplateScript page. I thought that this page controls the display of the six tools on the editing page sidebar. But, these controls don't work. So, I wanted to see the code behind the controls, but being a "special" page, I couldn't. And that is the reason for my cry plea for help. — Ineuw talk 01:38, 4 June 2017 (UTC)

Correction in table of contents[edit]

Is it possible (how?) to mark a correction to a table of contents using the {{Dotted TOC line}} template? Example here: the page "193" should be "194". I can make the link point to the right page by changing the djvupageoffset argument (and I did), but I can't use {{SIC}} in the djvupage, can I? Jellby (talk) 07:08, 3 June 2017 (UTC)

@Jellby: Done, please check. Hrishikes (talk) 08:05, 3 June 2017 (UTC)

Book stat[edit]

Hi. Is there any template or command, so when we write it in front of the name of a book or use the name of the book as an argument for it, the result shows how many of its pages are validated, how many are proofread and etc. exactly in front of it? --Yousef (talk) 07:09, 3 June 2017 (UTC)

@Yoosef Pooranvary: You can do it with {{Special:IndexPages|key=xxx}}. For the key, enter <font color=white>keyname</font> on the concerned index page (below the pagelist). Can also be done manually with {{Progress}} or {{PageStatus}}. Hrishikes (talk) 07:46, 3 June 2017 (UTC)
@Hrishikes: Thank you. But would you please show me a real example of the first solution which you just mentioned? and also there is a problem with my home wiki which is the Persian wikisource. The stats shown here: [3] do not match the reality. You can check the first one in the list and see it for yourself. Is there any kind of purge command or should I just wait? --Yousef (talk) 08:38, 3 June 2017 (UTC)
@Yoosef Pooranvary: See example here, with key WS10. Hrishikes (talk) 08:47, 3 June 2017 (UTC)
@Hrishikes: I appreciate your help but the problem is that the stats are not real even here on the English wikisource. --Yousef (talk) 09:00, 3 June 2017 (UTC)
@Yoosef Pooranvary: -- I think you will find that the stat is real in the example I gave you. Purging the cache of the index pages involved is requied, I think. It is done by a bot in bn Wikisource; so the stat is real. Hrishikes (talk) 12:04, 3 June 2017 (UTC)

Joining / resuming lists[edit]

Is there any way I can transclude partial lists from different pages into a single continuous list? See User:Jellby/Sandbox for an example, User:Jellby/Sandbox/Joined shows what I would like. I'm not so much interested in that User:Jellby/Sandbox/List 2 shows the correct numbering (but it would be a plus) as in that the joined list is seamless. The code with labeled sections would work, I guess, if sections worked inside templates (and if it were working in the sandbox). I'd like to avoid hard-coding the list labels, but I could use HTML code instead of templates if it works and it's "guaranteed" to give the same formatting (i.e., if I can mix HTML and template lists)... Jellby (talk) 08:50, 3 June 2017 (UTC)

It looks like your LST version works. I would think that new templates {{ordered list/s}} and {{ordered list/e}} would otherwise be needed for what you are trying to accomplish. You can, however, mix and match HTML and template syntax. You can also play around with <noinclude> and see if that helps. Finally, you may find that the <pages> extension joins things together better than {{direct transclusion}}. —Beleg Tâl (talk) 12:18, 3 June 2017 (UTC)
@Jellby: Do note that you can still use crosshatches and give a dot point in number
  1. is generated by #<li value=3>
Though use of old-fashioned #LST should still work well, it still is a nicely though not neatly hugely extensible tool. — billinghurst sDrewth 12:20, 5 June 2017 (UTC)
@Beleg Tâl: Does it work? I see it blank (note that the "Desired" section is just hard-coded, not trancluded), and in real pages it just eats up some text. The documentation says it should not work within templates, so I can't use it access part of an ordered list template. But I have indeed found out that I can use HTML coding, and although not very pretty, I have something that "works" (Tales from the Arabic/Contents). How would I use <pages> in a case like that? (For transcluding content directly from scanned/OCR'd pages, I've already used it a lot.) unsigned comment by Jellby (talk) 19:14, 5 June 2017.
@Jellby, @Billinghurst: The above comment is wrong. LST cannot 100% work in this situation due to the fact each use of <pages> wraps its contents in <div>…</div> pairs (hard-coded) and there is—currently— no way to get around this. Best you can do is to try to limit yourself to cases where the inserted divs are least disruptive.

This issue was raised a long time ago but dropped due to general disinterest. 101.174.166.145 06:50, 17 June 2017 (UTC)

I said #LST (per mw:Extension:Labeled Section Transclusion), not <pages> — billinghurst sDrewth 10:42, 17 June 2017 (UTC)

Inline tables and multiline braces[edit]

I'm trying to proofread https://en.wikisource.org/wiki/Page:Passages_from_the_Life_of_a_Philosopher.djvu/380 so that it matches the original. This is proving really hard, because it has multiline braces in the middle of a line. I found a Wikipedia page Advanced table formatting which showed how you can nest a table within a table to get an in-line table, which works great for getting it all one line, but uses html markup and not the {| etc wiki table markup.

This seems to break the nice {{brace table parameters}} template that makes the braces line up properly. When I try and hard code what is in brace table parameters it doesn't come out right and I don't know why.

Can anyone help? I'm at my wit's end here. Kastrel (talk) 09:30, 3 June 2017 (UTC)

I would put the whole line as a single table, like so:
His walking-stick was cane , the brother of a bell
a belle
Cain Abel.
Beleg Tâl (talk) 12:06, 3 June 2017 (UTC)
Brilliant, thank you so much! Kastrel (talk) 11:17, 4 June 2017 (UTC)

Onlysection of LST[edit]

I am having some problem with the onlysection parameter of this page. I cannot figure out where I am doing wrong. Hrishikes (talk) 07:31, 5 June 2017 (UTC)

Solved. Hrishikes (talk) 10:46, 5 June 2017 (UTC)

English pages on multilingual portal[edit]

I would like to ask before moving Buku Ibadat Luther (2006) and Immaculate Mary from multilingual old Wikisource to be sure being copyright-okay.--Jusjih (talk) 01:34, 7 June 2017 (UTC)

Firstly, doesn't oldws have the same copyright policies that we have? Or are you just double-checking with the more active community? Second, I would have posted this in WS:CV, but it doesn't really make a difference.
Immaculate Mary's history is described here. The version at oldws is an anonymous 1952 work. (Other versions: Any attribution to Brian Foley that you might come across refers to verses 2-7 of this version; the version by Jeremiah Cummings is PD but not recognizable, see page 12 of this book. The version here is PD and certainly hostable.) I can find no info on the "Perpetual Help Novena" version, but it is almost certainly copyvio.
I don't know what "Buku Ibadat Luther" means or what 2006 has to do with it, but that text is already hosted on enws. —Beleg Tâl (talk) 02:07, 7 June 2017 (UTC)
Thanks. Immaculate Mary's anonymous 1952 work will be sent to Canadian Wikilivres, but the Perpetual Help Novena version will be deleted.--Jusjih (talk) 03:52, 11 June 2017 (UTC)

Apparent transclusion problem[edit]

I can't work out what I've done wrong on How to Get Strong and How to Stay So (1899)/Chapter 12 and How to Get Strong and How to Stay So (1899)/Chapter 13, but no text is showing up. Yet How to Get Strong and How to Stay So (1899)/Appendix 1 is fine. All I did was copy/paste and adjust page range. The header is fine, so must be the pages command. Beeswaxcandle (talk) 23:10, 23 June 2017 (UTC)

I think it may be some kind of damage present in the DjVu file. If I visit Page:How to Get Strong (1899).djvu/534, there is no "Next" tab to continue to the following page. There may be other factors in play, such as the sheer number of pages or template load, but the absence of the tab for the Next page is unexpected behavior that may mean the file itself has issues to be corrected. It wouldn't be the first time we've had such a problem. --EncycloPetey (talk) 06:18, 24 June 2017 (UTC)
Bother! And on top of the OCR offset. This was an IA Upload conversion to djvu rather than a direct upload. I think I'll have to upload the pdf version and get the pages moved across. Beeswaxcandle (talk) 06:32, 24 June 2017 (UTC)