Module talk:Plain sister

Follow edition links
I'd like to suggest making these changes to this module. This would make it follow 'edition or translation of' statements if there was no sitelink found for the current item. Current usage would be unchanged.This would mean that we could have separate Wikidata items for works and editions, and each work would be able to have multiple editions (including in multiple languages). For works that currently have a single item representing both work and edition, nothing would change.Sam Wilson 00:04, 27 March 2017 (UTC)
 * I hadn't quite realised that I'd more or less done the changes I was proposing. Can you please tell me more things to test with? I'll create more test cases. And how do we want it to work when there are more than one Wikipedia link (i.e. one from an edition and one from its work)? Sam Wilson 05:10, 24 November 2017 (UTC)
 * You can test these changes by putting  into any random page on Wikisource... we want it to work everywhere. Sam Wilson 05:12, 24 November 2017 (UTC)

Commonscat parameter
Hello, it seems to me that after recent change(s) of the module, made by Mike, displaying of Commons Categories stopped working on some Wikisource pages. For example, some Domestic Encyclopædia 1802 pages on which (encyclopedia) I worked recently: Domestic Encyclopædia (1802)/Cabbage, Domestic Encyclopædia (1802)/Cabbage-palm: in the "sister projects" bar which is on the right, item "Commons category" is not displayed. These pages utilize Template:DomEnc created by me before, in which Template:Header is invoked with passing DomEnc's parameter "commonscat" to the same-name parameter of the Header. Template:Header, in turn, passes parameter "commonscat" to the parameter "commonscat" of the Template:Plain sister. And finally template Plain sister invokes this Module:Plain sister, and attempts to pass parameter "commonscat" to it. And it seems to me that because of you removed "commonscat", the displaying Commons Category in DomEnc articles stopped working. Can you try to solve the problem? In my opinion the problem might be solved in different ways: 1) fix the Module; 2) fix either template Header or template Plain sister, or both; 3) or fix DomEnc template (I perhaps would do that, but I still don't know how). Can you fix the problem, or may be we need to ask help from administrators or experienced users — on the forum? --Nigmont (talk) 15:21, 2 September 2018 (UTC)
 * Domestic Encyclopædia (1802) does not have a data entry. The author header will auto-magically pull in the information from there.  Additionally, each species listed can have its own data entry, like a chapter, and the commonscat can be accessed via the main subject (P921), maybe, in cases of taxonomy.  I am going to make the wikidata entry and see what happens.--RaboKarbakian (talk) 02:12, 3 September 2018 (UTC)
 * I believe I fixed it. Please verify. --Jarekt (talk) 04:09, 3 September 2018 (UTC)
 * I think I can verify it. It sure would be nice if we could link to wikispecies and wikipedia articles the same way that the commonscat is working now!--RaboKarbakian (talk) 05:07, 3 September 2018 (UTC)
 * RaboKarbakian, you will need to be more specific. In case of commons we are utilizing P373 and P495 properties, but I am not aware of properties that would be helpful for wikispecies and wikipedia articles. If there are some links that can be added based on wikidata I will look into it. (Just ping me if I miss a reply). --Jarekt (talk) 12:57, 3 September 2018 (UTC)
 * The wikispecies link would need to be grabbed from the main subject. And, not all of the species I have worked with have a wikispecies link. (spent some of the time between looking into things there...). --RaboKarbakian (talk) 00:00, 4 October 2018 (UTC)
 * do you know of any pages in wikisource which do not have link to wikispecies, but which you think should have? If I have example than I can debug it and see why it is not working. --Jarekt (talk) 23:56, 4 October 2018 (UTC)
 * I have a book started. There is all manner of species pages in the book that could use the link to wikispecies.  Also, the book has no TOC, I have been setting it up so that perhaps, a toc can be generated.  The book has several first named species and I have been filling out the data for these species to be able to generate a citation. https://www.wikidata.org/wiki/Q56760778 is the best place to start.  The link to the source page is there.  I am in the middle of Compositae, eek.--RaboKarbakian (talk) 01:21, 5 October 2018 (UTC)

My apologizes for answering very much late, — I have been busy in previous time. Thank for helping on the issue, especially to Jarekt: as I see on many articles which I have browsed, the fix made by you — it works fine, the commons categories are now displayed well everywhere. RaboKarbakian: oh, if speaking frankly I don't feel myself to be fond to working with the Wikidata items, since the Wikidata is not very much understandable for me, and multiplicity of various properties, values, types and other entities utilized there, — makes me greatly perplexed. Also as I have read in some topics over Wikimedia — there is an opinion that the Wikidata is "more convenient to (ro)bots than to humans". So I prefer to avoid use Wikidata, and don't intend to do creating items for articles of this encyclopedia. As I think, if such items are really needed then the task of creating them may be performed, in some future, by bots — since all parameters may be derived from encyclopedia articles' headers and the Wikidata items may be created robotically. --Nigmont (talk) 22:02, 3 October 2018 (UTC)


 * Nigmont the commonscat is displaying on the page you mentioned.... --RaboKarbakian (talk) 23:57, 3 October 2018 (UTC)


 * I on the other hand, believe that Wikidata is the greatest thing that happen to Wikipedia projects in last decade (with adoption of LUA language for writing templates as a close second). One great benefit about it is that if you keep all the metadata about authors, books, book collections, etc. in the form of properties of Wikidata, than the same metadata can be used by multiple projects. Thanks to that there are much more people digging out the data, updating and correcting it. Also In the old days if you upload photo of a painting or a sculpture to Commons you needed to add metadata in the form of about dozen specialized templates (they took care of translations to user's language). Now all you have to do if to link it to wikidata item and all the properties are pulled from there. I hope to do the same for the c:template:Book in the next year. --Jarekt (talk) 01:21, 4 October 2018 (UTC)

Update labels
Per WS:S, some of the labels in this module don't work well. The example given was "taxonomy" for links to Wikispecies, which doesn't make sense in Author space. I propose to follow the example of "Wikipedia article" and "Commons gallery" by updating all of the labels as "Wikiquote page", "Wikispecies page", "Wiktionary definition", and so forth. —Beleg Tâl (talk) 14:52, 18 December 2018 (UTC)


 * I think that makes sense. Sam Wilson 19:00, 18 December 2018 (UTC)

Need to connect "topic's main category" for commonscat link
On some items, the link to commons is not on the direct item, it is instead on the item linked through as shown at  and. What then occurs is that our work loses the link to Commons. When the P910 exists on an item, we need to pick, then we should follow the link, and chose the commons link for CommonsCat. — billinghurst  sDrewth  13:34, 9 April 2023 (UTC)