Talk:Wikisource Pagelist Widget
Add topicRoman Number and other indic languages number/alphabets
[edit]Hi, I have shown the demo area, this is nice. I wants few improvisation for our Indic Wikisource specific or Bengali Wikisource specific need. If we add "1to16=roman" it will shown the 1to16 pages as roman number automatically Have a look at screenshot of your demo page. In Bengali books, there are lots of books, as like roman, they user old numbering system "আনা", (৴৹= ১ আনা,৵৹=২ আনা,৶৹=৩ আনা, ৷৹= ৪ আনা,৷৴৹= ৫ আনা,৷৵৹=৬ আনা,৷৶৹=৭ আনা,৷৷৹=৮ আনা,৷৷৴৹=৯ আনা,৷৷৵৹ =১০ আনা,৷৷৶৹=১১ আনা,৸৹=১২ আনা,৸৴৹=১৩ আনা, ৸৵৹=১৪ আনা,৸৶৹=১৫ আনা, ১্= ১ টাকা).
So we wants if we add "1to16=Bengali Ana", it should shown this ( ৴৹,৵৹,৶৹,৷৹,.....) as old Bengali numeric system. And also "1to16=Bengali Alpha",it should shown this ( অ আ ই ঈ...) automatically.Jayantanth (talk) 09:58, 26 June 2020 (UTC)
- Have a look at this book: আসাম ও বঙ্গদেশের বিবাহ পদ্ধতিJayantanth (talk) 11:45, 26 June 2020 (UTC)
- Sorry for the late reply... I don't think we will be able to implement that particular syntax (1to16=Bengali Anna) but we'll certainly allow individual wikis to define a list of commonly used page numbers that can be presented in a dropdown/form format in the Wikisource Pagelist Widget. :) Sohom Datta (talk) 06:45, 29 June 2020 (UTC)
- Have a look at this book: আসাম ও বঙ্গদেশের বিবাহ পদ্ধতিJayantanth (talk) 11:45, 26 June 2020 (UTC)
Thumbnail pre-request
[edit]This has amazing potential, doing pagelists is incredibly frustrating at the moment. I was about to start hacking something up in Python just to relieve the pain.
One thing I think might be a good idea is pre-requesting (e.g. by an HTTP HEAD request) the thumbnails. PDF thumbnails are especially slow and can take 10 seconds or more to generate, but DjVu is not fast either. It would be nice if the thumbnails could be requested ahead of time, so they can be cached for when users want to look at those pages. Inductiveload (talk) 12:12, 3 August 2020 (UTC)
- Will take a look at that. I'm not really sure if pre-requesting a large number of thumbnails would put a large enough load penalty especially for users with poor internet connectivity and/or metered connections though. Sohom Datta (talk) 15:21, 10 August 2020 (UTC)
- @Sohom data: Sorry, I didn't see this reply. The "HEAD" request wouldn't put too much load on the user's connection, as the image data isn't transferred. Instead the image is rendered and placed into the thumbnail cache, so when the user does request it, the server already has it on hand. Not sure if that would be deemed unacceptable load on the thumbnailer, though. Inductiveload (talk) 10:25, 11 September 2020 (UTC)
First Iteration: Feedback
[edit]You can test the widget by editing the following Index page on Beta Wikisource:
There is a new ‘Preview pagelist’ button under the pagelist field. Click it to get a preview, and then click on any page number in the preview to open the widget.
You can also create a fresh Index Page for any other PDF or DjVu from Wikimedia Commons and test it
What is your general opinion about the Pagelist Widget?
[edit]- Really useful, even without the features I request below. Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:24, 13 August 2020 (UTC)
- Making pagelists of books is a difficult task but with this gadget, it will be a lot easier.--*•.¸♡ ℍ𝕒𝕣𝕕𝕒𝕣𝕤𝕙𝕒𝕟 𝔹𝕖𝕟𝕚𝕡𝕒𝕝 ♡¸.•*𝕋𝕒𝕝𝕜 11:24, 17 August 2020 (UTC)
- Nice and relatively easy for someone who knows basic syntax. JAn Dudík (talk) 18:52, 17 August 2020 (UTC)
- It looks good, on one side it is editable and other side it shows like a PDF book with page numbering. JogiAsad (talk) 10:40, 18 August 2020 (UTC)
- Very useful and promising. The general interface is easy to understand, at least for someone who's used to Wikisource page lists. Seudo (talk) 08:15, 16 September 2020 (UTC)
Is it obvious how to use the widget? If not, what is difficult to understand?
[edit]- Yes, it is.--*•.¸♡ ℍ𝕒𝕣𝕕𝕒𝕣𝕤𝕙𝕒𝕟 𝔹𝕖𝕟𝕚𝕡𝕒𝕝 ♡¸.•*𝕋𝕒𝕝𝕜 11:24, 17 August 2020 (UTC)
- It would be fine, if there is some tooltip with basic syntax (
scan_page_number=page_number
and link to help. JAn Dudík (talk) 18:52, 17 August 2020 (UTC)
- In Beta mood its not Logining In user automatically. and How to enable it? through preferences? JogiAsad (talk) 10:43, 18 August 2020 (UTC)
- @JogiAsad: You need to create a new account to Beta Wikisource if you want to test it further. --SGill (WMF) (talk) 14:52, 18 August 2020 (UTC)
- @JogiAsad: The pagelist widget isn't account specific, it can be enabled wiki wide by tweaking the
Index:
page configuration. Sohom Datta (talk) 06:53, 19 August 2020 (UTC)
- @JogiAsad: if I press the + button to change the "Page numbering starts from", I get this message: "The number type doesn't allow a numbering change to occur. Any value in this field will be ignored on update." The page number type is "Number". What is the reason? Candalua (talk) 07:43, 7 September 2020 (UTC)
- @Candalua: this was a little bug, and has been fixed now (in 624056). It'll be live on the beta site soon. —Sam Wilson 01:18, 8 September 2020 (UTC)
What other changes would you like to suggest in order to improve the widget further?
[edit]- In the "War and Peace" example, I needed to add
4to9=roman
; it would be useful to have some sort of menu (drop down? wizard?) from which I could select "roman", or other options, and to be able to select the start and end pages of that range. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:23, 13 August 2020 (UTC)
- My suggestion is to hide this(<pagelist />) behind the visual editor. This will look neater as compared to now.--*•.¸♡ ℍ𝕒𝕣𝕕𝕒𝕣𝕤𝕙𝕒𝕟 𝔹𝕖𝕟𝕚𝕡𝕒𝕝 ♡¸.•*𝕋𝕒𝕝𝕜 11:24, 17 August 2020 (UTC)
- It would be fine, if pages with different numbering than the rest are highlighted (235=pictur -> the word picture would be different (gray backround e.g) than number. JAn Dudík (talk) 18:52, 17 August 2020 (UTC)
- Add arrow buttons < > for quick navigation to next page and previous page. Candalua (talk) 07:58, 7 September 2020 (UTC)
- And the buttons should have
rel="prev"
orrel="next"
to allow browser extensions like Tridactyl that have shortcuts for such things to key on. Inductiveload (talk) 10:36, 11 September 2020 (UTC)
- And the buttons should have
- I'm not really sure we should add more buttons. The interface is already pretty busy. I'll look into hooking up some keyboard shortcuts to the interface to allow easier navigation. Sohom Datta (talk) 06:27, 16 September 2020 (UTC)
- Is it possibile to load all thumbnails in the background, so that when I click on one page the thumbnail has already been pre-loaded? Also, sometimes I get "The thumbnail source for this scan could not be found." Candalua (talk) 07:58, 7 September 2020 (UTC)
- The thumbnail source error on Beta Wikisource is probably because Beta Commons has been down for a minute. If you see that error on a live wiki, feel free to report it. It really shouldn't be going to 'The Thumbnail source' error unless the internet is exceptionally bad. Sohom Datta (talk) 06:27, 16 September 2020 (UTC)
- On the left, under "Scan number: xx", I would write: "Displayed number: yy", so that it's faster to check that the assigned number is correct. (I know that you can already see this number highlighted in the list, but I think it doesn't hurt to repeat it. If you also put navigation arrows on the top-left corner and preload the thumbnails as requested above, it will be extremely fast to check each page individually, without even moving your eyes from the top-left corner). Thank you very much for your work. Candalua (talk) 07:58, 7 September 2020 (UTC)
- That's a nice feature, will take a look into implementing it. Sohom Datta (talk) 06:27, 16 September 2020 (UTC)
- Another useful feature would be to support the "folio" numbering system (with its variations folioroman, foliohighroman) Candalua (talk) 10:31, 7 September 2020 (UTC)
- Will do Sohom Datta (talk) 06:27, 16 September 2020 (UTC)
- I find it a bit odd that I have to check "Use the new experimental visual mode", then click "Preview pagelist", then click any number, and only then I see the full-screen editing interface. A direct button would be much more intuitive. Candalua (talk) 10:34, 7 September 2020 (UTC)
- @Candalua: We had a small bug regarding the "Use the new experimental visual mode" checkbox, where it wasn't saving the state that the user previously toggled it to. This patch fixes that. The "Preview pagelist" button and the click the number UI is required, since we do certain checks on the pagelist itself to make sure, we can convert it into a particular format that is required for the visual mode to function (multiple pagelists and empty textboxes are not supported ) Sohom Datta (talk) 06:27, 16 September 2020 (UTC)
Widget rollout: Feedback
[edit]General Feedback
[edit]Specific bugs that you found and/or features that you would like to see
[edit]- It would be nice if the current page number gets preloaded into the "spin-box" when a numbered page is selected. Currently, the number field is blank, which rather slows things down as you have to retype the number. Since the number is usually only a few increments off (e.g. when inserting image plates), preloading will allow quicker adjustment. Inductiveload (talk) 10:22, 11 September 2020 (UTC)
- That's a intresting idea. I'll take a look at if we can implement that. Sohom Datta (talk) 12:54, 16 September 2020 (UTC)
I agree with the previous comment and find the widget quite difficult to use on an existing page list. For example, if I modify the page number (e.g. 1 => 8) without changing the page type ("number"), the update button remains gray and cannot be pressed (Firefox 68.12, French Wikisource). The solution is of course to change the page number from "number" to "roman" and back from "roman" to "number", which activates the update button, but that's annoying, and other weird problems also occur. Sometimes the numbers chosen in the form are "forgotten" when applying the changes but I can't always reproduce the problem. Seudo (talk) 08:12, 16 September 2020 (UTC)I just tried on the beta version and the bug I reported does not appear here. So I guess the version on the French Wikisource needs to be updated. Seudo (talk) 08:29, 16 September 2020 (UTC)
- Yeah, it should be live by tomorrow or so. Sohom Datta (talk) 12:54, 16 September 2020 (UTC)
- @Sohom data: After enabling the widget on it.wikisource, the size of the pagelist field is ignored (it is set to 20 rows and now I only see 2). Candalua (talk) 14:12, 17 September 2020 (UTC)
- Will put in a fix for that Sohom Datta (talk) 18:47, 18 September 2020 (UTC)
Help with enabling the widget on your wiki
[edit]Do we need to translate some system messages via translatewiki.net? Can you point to the relevant messages? --Candalua (talk) 21:21, 15 September 2020 (UTC)
- @Candalua: Yeah, you need to translate these system messages on translatewiki.net. Sohom Datta (talk) 02:47, 16 September 2020 (UTC)
- @Sohom data: ok, you should probably mention it on this page. Candalua (talk) 14:22, 17 September 2020 (UTC)
hewikisource
[edit]Hello, can you add the extension he wikisource? [1]
Thanks! מושך בשבט · Talk 08:21, 7 February 2021 (UTC)