Template talk:Wikisource

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconWikisource NA‑class (inactive)
WikiProject iconThis article is within the scope of WikiProject Wikisource, a project which is currently considered to be inactive.
NAThis article has been rated as NA-class on Wikipedia's content assessment scale.

See also[edit]

template is broken on mobile[edit]

hey, can somebody fix the template? it looks broken on mobile, not sure whether it's because of temporary message "The template Wikisource is being considered for merging." or by another reason. Artem.G (talk) 19:25, 13 July 2023 (UTC)[reply]

Template-protected edit request on 9 August 2023[edit]

Change the template to format presented in Template:Wikisource/testcases. It includes "lang" and "type" parameters for adding functions of Template:Wikisourcelang and Template:Wikisourcehas and Template:Wikisource-multi Sarangem (talk) 07:44, 9 August 2023 (UTC)[reply]

I've altered your comment, in a technical WP:TPO, to add <pre> tags above and below, because your in-line tempate was causing a transclusion of the entire template, doc page included, here on the talk page, and I don't think that was your intention. If you don't agree with this edit, please modify it to describe the change you would like to see in the template, without transcluding the entire page here. Thanks, Mathglot (talk) 09:00, 9 August 2023 (UTC)[reply]
Also, please look at the header of this page, where the result of a previous merge decision is recorded. I think that result may already account for the changes you are proposing, in which case, this can be closed. Can you please have a look at it, and indicate whether your request here is different from the one already decided above, and if so, how? Thanks, Mathglot (talk) 09:03, 9 August 2023 (UTC)[reply]
Yes. According to this merge discussion, the Template:Wikisourcelang and Template:Wikisourcehas and Template :Wikisource-multi will be merged here. And additional parameters for this cause. But no parameters are added after merge discussion. Sarangem (talk) 14:49, 9 August 2023 (UTC)[reply]
Have you tried your proposed changes? The sandbox is open to you, and a testcases page would be needed, as well. Of the templates being deleted, only {{Wikisource author}} currently has one (here). If I were going to do the merge, I'd write testcase pages for each of the other templates that doesn't currently have one (including this one) using a series of {{Test case}} examples to document current behavior, note any discrepancies, merge the testcases files to Template:Wikisource/testcases, and then try your sandbox out against the merged testcases file. For initial tinkering, you can use Special:ExpandTemplates. Others might have a different approach. Mathglot (talk) 18:16, 9 August 2023 (UTC)[reply]
Ok, I have created testcases page and works fine in my sandbox. Sarangem (talk) 09:10, 10 August 2023 (UTC)[reply]
Hi! I don't know enough lua to understand how to fix this template, but now that {{Wikisourcelang}} has been merged into it, it's not possible to produce links to Wikisources other than English. Seems like this should have been taken care of before the templates were merged? Instead every instance of Wikisourcelang is now broken, and whatever changes need to be made to this template should be rolled out immediately. Folly Mox (talk) 20:23, 11 August 2023 (UTC) Updated 21:03, 11 August 2023 (UTC): I'm still dumb. Folly Mox (talk)[reply]
@Novem Linguae: could you comment on the above? — Martin (MSGJ · talk) 20:57, 11 August 2023 (UTC)[reply]
Embarrassingly, this is actually all my fault and the template is fine. Folly Mox (talk) 20:59, 11 August 2023 (UTC)[reply]
The first template I tested was misusing parameters, and had functioned prior to the merge. Then it stopped working, and every alternative I tried kept producing links to the English Wikisource, which I did not attempt to follow. Turns out they redirect appropriately, and I was on my way here to strike the above shocked commentary when it was replied to. Folly Mox (talk) 21:01, 11 August 2023 (UTC)[reply]
Hey there. Thanks for the ping. I think I just closed the TFD on this one (evaluated consensus). I did not handle coding the merge, so I probably can't help much with the technical details. Sorry about that. –Novem Linguae (talk) 04:19, 12 August 2023 (UTC)[reply]
You can use lang parameter to redirect to other wikisources. It takes English as default language.

{{Template:Wikisource/testcases|Thanks}}

::produces ::{{Template:Wikisource/testcases|Thanks}} ::<br/> ::<pre>{{Template:Wikisource/testcases|for reading|lang=bn}} ::produces ::{{Template:Wikisource/testcases|for reading|lang=bn}}


Other parameters from Template:Wikisource-multi and Template:Wikisourcehas can also be found here. Sarangem (talk) 09:12, 12 August 2023 (UTC)[reply]
In a technical TPO, I have edited your comment of 09:12, 12 August in order to halt an infinite template recursion loop which blew up the table of contents and the page. That also accounts for the garbled appearance of your comment, which I take responsibility for, and I apologize, but I didn't want to guess how you would like to format it, so I'll leave that part up to you.
Please use the sandbox for your new code, not the testcases page (which I've reinitialized). Please do not transclude the testcases page here. Normally, you would just transclude your live-vs.-sandbox tests on the testcases page (via Template:Test case, if you wish), and then mention them here, as needed. Thanks, Mathglot (talk) 08:18, 14 August 2023 (UTC)[reply]
 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. Really more of a procedural decline than anything, if the merge is ready to go please feel free to re-open this request. Primefac (talk) 06:50, 15 August 2023 (UTC)[reply]

Template-protected edit request on 19 October 2023[edit]

Change the template to format presented in Template:Wikisource/sandbox. It includes "lang" and "type" parameters for adding functions of Template:Wikisourcelang and Template:Wikisourcehas and Template:Wikisource-multi. See the testcase. previous discussion. Sarangem (talk) 06:27, 19 October 2023 (UTC)[reply]

 Done Please make sure to update the documentation. * Pppery * it has begun... 00:03, 27 October 2023 (UTC)[reply]
@Pppery:Smiley Sorry!, I am apologizing to everyone about this mistake. I found a bug in my edit request. There should be en added which I forgot. I have updated the code in sandbox. You can check it. I kindly request to revert the edit until the bug is fixed.
Sarangem (talk) 07:21, 27 October 2023 (UTC)[reply]
Okay. * Pppery * it has begun... 14:30, 27 October 2023 (UTC)[reply]