User talk:Julialturner
Lua error in Module:Sandbox/genewiki/generefbox at line 45: assign to undeclared variable 'claims'.
Lua error in Module:Sandbox/genewiki/alllua at line 55: assign to undeclared variable 'claims'.
NDUFS6 problem with coordinates and mouse n/a
Infobox gene Module
Is it possible to create parameters name, image and maybe image description in Template:Infobox gene so that it would be possible to edit them? Now this parameters are generated automatically and there is now way to change them. This can become a problem because automatically chosen images are not always the best one. Plus makes this module hard to use in other wikipedias, where names of genes or proteins are not written in English.Эрг (talk) 16:56, 21 May 2016 (UTC)
- @Эрг: Hi, yes it is possible to change the image. Under the new infobox_gene you will see links to wikidata. The image under the human gene wikidata item will need to be changed/added to include the desired image link. Is there a particular example you are looking at, so that I could go through step by step to show you how to change it?Julialturner (talk) 19:02, 21 May 2016 (UTC)
- @Julialturner: No, thanks. Now that you mentioned wikidata, I got it. But my main problem with this template still stays. You see, I localized your great module for Russian wikipedia and easily translated it, but the template generated keep displaying it's name on English. Is it possible to do so that the template displays it's own name (label) according to the language of wikipedia it is used in, the same way it displays GO ids? Also, as I said before, it would be nice to have an image description parameter. One more time thank you for your hard work, it's really awesome.--Эрг (talk) 21:31, 21 May 2016 (UTC)
- @Эрг: I will look into translating the label. Maybe @I9606: will have some input? I am surprised that the GO ids are translated and will try to see what the mechanism that is at work here. Thanks for input in making the module more usable. Julialturner (talk) 21:15, 22 May 2016 (UTC)
- @Эрг and Julialturner: Which label are you referring to? Wikidata has a mechanism to adapt its interface display of labels and descriptions based on the locale of the user - this is probably how the GO terms are being adapted. If you mean the label of the template itself??? that label wouldn't be in wikidata hence would not get the same automatic adaptation. On the image front, I think we could probably add the image and image description parameters to allow users to override the defaults coming from wikidata. I think that would be a good idea. The current one image, one item approach is rather limiting. --Benjamin Good (talk) 21:58, 22 May 2016 (UTC)
- @Benjamin Good and Julialturner: What I am referring to is the way Gene ontology section works e. g. the gene ontology section will display QID in Russian wiki if the particular wikidata object have empty field "lable" at the top of the page (where the Language field is). So, If you fill this field in it will display correct phrase for given GO id (and each GO id is has it's own wikidata object). My point is why not to make Infobox_gene module to request it's name (the line displayed at the top of the box on the wikipedia page) the same way it does with GO ids? This way, by editing one wikidata object, it will be possible to adjust this template for any given language. The same thing should be done with another multilingual param - image description (if we would have any). I think it snould be possible to use the same piece of code, used for getting GO ids from wikidata, for aforementioned params (even if we don't quite understand how does it work). This, and you should probably white an extensive guide on how to edit this new template through the means of wikidata.--Эрг (talk) 23:03, 26 May 2016 (UTC)
- P.S You can see how this works on the page ru:Тиоредоксин, which I experimented with.--Эрг (talk) 23:06, 26 May 2016 (UTC)
- @Эрг: I will look into translating the label. Maybe @I9606: will have some input? I am surprised that the GO ids are translated and will try to see what the mechanism that is at work here. Thanks for input in making the module more usable. Julialturner (talk) 21:15, 22 May 2016 (UTC)
need help with zh wiki localization
in Gene ontology section, if the biological role has no chinese name on wikidata, it will display it's QID. Is it possible to make it fallback to english when there's no chinese data?example Panintelize (talk) 03:09, 26 May 2016 (UTC)
- @Panitelize: I am not sure let me look into it. Julialturner (talk) 05:21, 26 May 2016 (UTC)
- @Panitelize: You can just go to the wikidata page of this item and edit it's lable field, right at the top of the page. Create field for Chinese language and write down an appropriate translation - then it will be displayed correctly on your language. --Эрг (talk) 22:32, 26 May 2016 (UTC)
- @Эрг:where can I find a full list of used items?Panintelize (talk) 06:22, 5 June 2016 (UTC)
Infobox Gene problem
The article Major histocompatibility complex, class II, DQ alpha 1 has a script error, which looks like it’s happening around your last change to Module:Infobox gene. Could you have a look at it? As far as I can tell nothing is wrong with the article or its data.--JohnBlackburnewordsdeeds 03:46, 31 May 2016 (UTC)
- @JohnBlackburne: Thank you for making me aware of this scripting error. It has been corrected.Julialturner (talk) 05:44, 31 May 2016 (UTC)
Chromosome category
Hello. Are there any plans to make {{Infobox_gene}} put the articles to corresponding categories based on chromosome they are located on, like Category:Genes on human chromosome 1?--RoadTrain (talk) 01:11, 1 June 2016 (UTC)
- @RoadTrain: Sure that is a good idea. I will look into how to get these added. Julialturner (talk)
moving all displayed text to the top of code(as variables?) for easier localization and update
If the maintainer on other wikis wants to update the code they can just switch out the bottom part --Panintelize (talk) 06:21, 5 June 2016 (UTC)
- I support this suggestion. I think all localizeable stuff should be defined in one place.--RoadTrain (talk) 22:08, 5 June 2016 (UTC)
- If I understand you correctly, then you like all the code contained in the variable "root" at the top of the code. Is this what you had in mind? Julialturner (talk) 21:42, 6 June 2016 (UTC)
- ^ a b c GRCh38: Ensembl release 89: ENSG00000189056 – Ensembl, May 2017
- ^ a b c GRCm38: Ensembl release 89: ENSMUSG00000042453 – Ensembl, May 2017
- ^ "Human PubMed Reference:". National Center for Biotechnology Information, U.S. National Library of Medicine.
- ^ "Mouse PubMed Reference:". National Center for Biotechnology Information, U.S. National Library of Medicine.