User talk:Pyrrhus: Difference between revisions
Notjusttired (talk | contribs) m (→System messages to use: where to find) |
Notjusttired (talk | contribs) (→Translations to check -- ~~~~: new section) |
||
Line 438: | Line 438: | ||
:[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 22:14, August 9, 2019 (EDT) | :[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 22:14, August 9, 2019 (EDT) | ||
{{collapse bottom}} | {{collapse bottom}} | ||
== Translations to check -- [[User:Notjusttired|notjusttired]] ([[User talk:Notjusttired|talk]]) 19:20, August 23, 2019 (EDT) == | |||
I think I remember you you speak some German or other languages. If you are able to check any of these that would be great. Particularly I wouldn't want them to accidentally read "no cleanup has been specified / provided " - they should say "{{Cleanup reason text|lang=en}}" and be part of the message on the cleanup template, underneath "this page may require a cleanup". I don't remember which languages you speak so have included them all [[User:Notjusttired|notjusttired]] ([[User talk:Notjusttired|talk]]) 19:20, August 23, 2019 (EDT) | |||
*{{Cleanup reason text|lang=es}} | |||
*{{Cleanup reason text|lang=de}} | |||
*{{Cleanup reason text|lang=fr}} | |||
*{{Cleanup reason text|lang=nl}} |
Revision as of 23:20, August 23, 2019
Welcome to Pyrrhus’s Talk page.[edit source | reply | new]
Feel free to talk with me here about MEpedia.
Just add a new comment to the end of this page, ideally using the "Add topic" tab.
You can reply to an existing comment by beginning your comment with the Horizontal Line button, or by indenting your reply using colons.
And please remember to end your comment with four tilde characters "~~~~" on a line by itself, which signs your name to the comment.
Thanks!
Pyrrhus (talk) 19:13, 10 February 2019 (EST)
System message suggestions -- notjusttired (talk) 16:21, August 15, 2019 (EDT)[edit source | reply | new]
- MediaWiki:Inputbox-searchfulltext translations already exist on MEpedia, this could be used for the Search everywhere box in the home page, if the English and English British ones were updated new the new wording.
- MediaWiki:Inputbox-tryexact transnational already exist for the second search button
notjusttired (talk) 16:21, August 15, 2019 (EDT)
- mediawiki:Gettingstarted-lightbulb-heading could be used for "Pages in need" translations https://www.mediawiki.org/wiki/MediaWiki:Gettingstarted-lightbulb-heading/fr
- MediaWiki:Externalguidance-machine-translation-contribute-link - Learn how to contribute - or MediaWiki:Externalguidance-specialpage-contribute-title Ways to contribute could be used for "How to contribute" - I can't see any translation for that so I assume it's not translated right now
- Are you in favor of getting the LocalizationUpdate extension installed? It will automatically grab all translations for any system message we add in English, as long as we don't change the English wording. notjusttired (talk) 14:55, August 23, 2019 (EDT)
System messages to use[edit source | reply | new]
Instead of creating new system messages, these already exist on MEpedia and could be useful
- MediaWiki:Toc instead of Contents
- MediaWiki:aboutsite - it already contains this - About MEpedia
- MediaWiki:Popularpages - Popular pages
- MediaWiki:Externalguidance-specialpage-contribute-title - already exists, could be used for Become an editor headings even though the wording is different
- MediaWiki:Qbbrowse - can be used for Browse
- mediawiki:Noarticletext - already in use but needs customizing - find a string to replace? Just add a simple link at the end to go to the Article outlines?
Despite the fact the pages come up as red links all these already exist as system messages.
I haven't checked if these have translations, and I don't know which system message contains the disclaimer about medical advice or the heading message we customize. With the heading message, we can keep it in English so it's always up to update.
notjusttired (talk) 17:44, August 15, 2019 (EDT)
- Great finds! Let's definitely use these! However, I can't find MediaWiki:Externalguidance-specialpage-contribute-title. Where did you see this one? I saw MediaWiki:Qbbrowse before, but it's magically disappeared now! Oh well, we can import those two from MediaWiki if we have to. As for the other customized interface messages, I will add them to the table in MEpedia:User interface translation.
- Pyrrhus (talk) 22:57, August 15, 2019 (EDT)
- Both are on Commons - Externalguidance-specialpage-contribute-title qbbrowse
- Some system messages can't be exported with Special:Export because they come from extra language files added by particular extensions. The translations for those either need to be found by searching then adding one by one, or by finding the extension source code - but normally they are in over a dozen separate files eg en.json, de.json - I don't know an easy way to import from json either. notjusttired (talk) 15:05, August 23, 2019 (EDT)
Translating ND/NC License Templates[edit source | reply | new]
Please check - these are new system messages to add in German, French, Spanish plus I thought it worth adding Dutch, English examples above. All wording comes from the relevant Creative Commons license page, or from pasting the correct link and license name over the top of an existing SA or CC-BY message for that language. I *might* be able to morph these into a XML file for importing so they won't need doing individually. I'm finding this is using a lot of concentration to do. CC-BY-SA-4.0 messages don't exist in Spanish (installing that Localization extension would create them for us, plus any others that are missing). I need to check these for invisible characters too notjusttired (talk) 08:08, August 15, 2019 (EDT)
- Okey dokey. I will check all these today or tomorrow and try to put together an XML file. Thanks User:Notjusttired for all your hard work! I will also add a draft developer task to run the LocalisationUpdate maintenance script to retrieve translations from translatewiki.net. (The LocalisationUpdate extension came bundled with our MediaWiki software.)
- Pyrrhus (talk) 14:07, August 15, 2019 (EDT)
- I think it's worth holding off on those for the moment. I've asked User:JaimeS to look at our choice on copyright licenses to confirm if we are keeping the Non-commercial and No-Derivs - it turns out we are only using then for 3 files at the moment. Plus asked her about continuing with the "Used with permission" exceptions - mostly used for advocates uploading selfies plus Millions Missing type photos. I had a quick look into the XML files. Looks easier than I thought - but would be important to run through an online XML validator before trying to import.
- What about the extra system messages you created for the 3 languages for Donate? You or I could put together a long (very long) list of pages names to cover those for all languages, so they can be exported (those that exist). notjusttired (talk) 17:38, August 15, 2019 (EDT)
- Okay, I'll hold off on these until you say otherwise. I found this message for "donate", but it's only translated into a few languages: MediaWiki:project-localized-name-donatewiki. I guess we should double-check that all these messages are really fully translated...
- Pyrrhus (talk) 23:23, August 15, 2019 (EDT)
- I think it's worth holding off on those for the moment. I've asked User:JaimeS to look at our choice on copyright licenses to confirm if we are keeping the Non-commercial and No-Derivs - it turns out we are only using then for 3 files at the moment. Plus asked her about continuing with the "Used with permission" exceptions - mostly used for advocates uploading selfies plus Millions Missing type photos. I had a quick look into the XML files. Looks easier than I thought - but would be important to run through an online XML validator before trying to import.
CC-BY-ND-4.0 translations |
---|
wm-license-cc-by-nd-4.0-text This file is licensed under the [[{{int:wm-license-cc-wiki-link}}|Creative Commons]] [//creativecommons.org/licenses/by-nd/4.0/ Attribution-NoDerivatives 4.0 International] license. wm-license-cc-by-nd-4.0-text/de Diese Datei ist lizenziert unter der [[{{int:wm-license-cc-wiki-link}}|Creative-Commons]]-Lizenz [//creativecommons.org/licenses/by-nd/4.0/deed.de „Namensnennung - Keine Bearbeitungen 4.0 International“.] wm-license-cc-by-nd-4.0-text/es Este archivo se encuentra bajo la licencia [[{{int:wm-license-cc-wiki-link}}|Creative Commons]] [//creativecommons.org/licenses/by-nd/4.0/deed.es_ES Reconocimiento-SinObraDerivada 4.0 Internacional]. wm-license-cc-by-nd-4.0-text/fr Ce fichier est sous la licence [[{{int:wm-license-cc-wiki-link}}|Créative Commons]] [//creativecommons.org/licenses/by-nd/4.0/deed.fr Attribution - Pas de Modification 4.0 International]. wm-license-cc-by-nd-4.0-text/nl Dit bestand is gelicenseerd onder de [[{{int:wm-license-cc-wiki-link}}|Creative Commons]] [//creativecommons.org/licenses/by-nd/4.0/deed.nl Naamsvermelding-GeenAfgeleideWerken 4.0 Internationaal] licentie. wm-license-cc-conditions-no_derivs-header NoDerivatives wm-license-cc-conditions-no_derivs-header/de Keine Bearbeitungen wm-license-cc-conditions-no_derivs-header/es SinObraDerivada wm-license-cc-conditions-no_derivs-header/fr Pas de modifications wm-license-cc-conditions-no_derivs-header/nl GeenAfgeleideWerken — wm-license-cc-conditions-no_derivs-text If you remix, transform, or build upon the material, you may not distribute the modified material. wm-license-cc-conditions-no_derivs-text/de Wenn Sie das Material remixen, verändern oder darauf anderweitig direkt aufbauen, dürfen Sie die bearbeitete Fassung des Materials nicht verbreiten. wm-license-cc-conditions-no_derivs-text/es Si remezcla, transforma o crea a partir del material, no puede difundir el material modificado. wm-license-cc-conditions-no_derivs-text/fr Dans le cas où vous effectuez un remix, que vous transformez, ou créez à partir du matériel composant l'Oeuvre originale, vous n'êtes pas autorisé à distribuer ou mettre à disposition l'Oeuvre modifiée. wm-license-cc-conditions-no_derivs-text/nl Je mag het veranderde materiaal niet verspreiden als je het werk hebt geremixt, veranderd, of op het werk hebt voortgebouwd. |
BY-NC-4.0 |
---|
Same again but Non-commercial (we only have files in the v4.0 category so I haven't done the others, although they are currently options to choose). wm-license-cc-by-nc-4.0-text This file is licensed under the [[{{int:wm-license-cc-wiki-link}}|Creative Commons]] [//creativecommons.org/licenses/by-nc/4.0/ Attribution-NonCommercial 4.0 International] license. wm-license-cc-conditions-noncommercial-header NonCommercial wm-license-cc-conditions-noncommercial-text You may not use the material for commercial purposes. wm-license-cc-by-nc-4.0-text/de Diese Datei ist lizenziert unter der [[{{int:wm-license-cc-wiki-link}}|Creative-Commons]]-Lizenz [//creativecommons.org/licenses/by-nc/4.0/deed.de „Namensnennung-Nicht kommerziell 4.0 International“.] wm-license-cc-conditions-noncommercial-header/de Nicht kommerziell wm-license-cc-conditions-noncommercial-text/de Sie dürfen das Material nicht für kommerzielle Zwecke nutzen. wm-license-cc-by-nc-4.0-text/es Este archivo se encuentra bajo la licencia [[{{int:wm-license-cc-wiki-link}}|Creative Commons]] [//creativecommons.org/licenses/by-nc/4.0/deed.es Atribución-NoComercial 4.0 Internacional]. wm-license-cc-conditions-noncommercial-header/es NoComercial wm-license-cc-conditions-noncommercial-text/es Usted no puede hacer uso del material con propósitos comerciales. wm-license-cc-by-nc-4.0-text/fr [[{{int:wm-license-cc-wiki-link}}|Créative Commons]] [//creativecommons.org/licenses/by-nc/4.0/deed.fr Attribution - Pas d’Utilisation Commerciale 4.0 International]. wm-license-cc-conditions-noncommercial-header/fr Pas d’Utilisation Commerciale wm-license-cc-conditions-noncommercial-text/fr Vous n'êtes pas autorisé à faire un usage commercial de cette Oeuvre, tout ou partie du matériel la composant. wm-license-cc-by-nc-4.0-text/nl Dit bestand is gelicenseerd onder de [[{{int:wm-license-cc-wiki-link}}|Creative Commons]] [//creativecommons.org/licenses/by-nc/4.0/deed.nl Naamsvermelding-NietCommercieel 4.0 Internationaal] licentie. wm-license-cc-conditions-noncommercial-header/nl NietCommercieel wm-license-cc-conditions-noncommercial-text/nl Je mag het werk niet gebruiken voor commerciële doeleinden. |
BY-NC-ND-4.0 |
---|
Same again, but nothing needed for the lower part of the license since it just lists both Non-commercial and No-Derivs, which already exist wm-license-cc-by-nc-nd-4.0-text This file is licensed under the [[{{int:wm-license-cc-wiki-link}}|Creative Commons]] [//creativecommons.org/licenses/by-nc-nd/4.0/ Attribution-NonCommercial-NoDerivatives 4.0 International] license. wm-license-cc-by-nc-nd-4.0-text/de Diese Datei ist lizenziert unter der [[{{int:wm-license-cc-wiki-link}}|Creative-Commons]]-Lizenz [//creativecommons.org/licenses/by-nc-nd/4.0/deed.de „Namensnennung - Nicht kommerziell - Keine Bearbeitungen 4.0 International“.] wm-license-cc-by-nc-nd-4.0-text/es Este archivo se encuentra bajo la licencia [[{{int:wm-license-cc-wiki-link}}|Creative Commons]] [//creativecommons.org/licenses/by-nc-nd/4.0/deed.es Atribución-NoComercial-SinDerivadas 4.0 Internacional]. wm-license-cc-by-nc-nd-4.0-text/fr [[{{int:wm-license-cc-wiki-link}}|Créative Commons]] [//creativecommons.org/licenses/by-nc-nd/4.0/deed.fr Attribution - Pas d'Utilisation Commerciale - Pas de Modification 4.0 International]. wm-license-cc-by-nc-nd-4.0-text/nl Dit bestand is gelicenseerd onder de [[{{int:wm-license-cc-wiki-link}}|Creative Commons]] [//creativecommons.org/licenses/by-nc-nd/4.0/deed.nl Naamsvermelding-NietCommercieel-GeenAfgeleideWerken 4.0 Internationaal] licentie. |
Persistent Infection Page[edit source | reply | new]
So great to see you here! I think it would be useful to create a page on persistent infection that has sections re: the ways (and evidence) for persistent infection in different families of viruses (and perhaps other pathogens) that also links to the main pages for those viruses. We could use this page: https://me-pedia.org/wiki/Persistent_infection_hypothesis or create a page on persistent infection that is a bit broader and not specifically about the evidence for/against its role in ME/CFS. I propose the latter. https://me-pedia.org/wiki/Persistent_infection --JenB (talk) 09:53, 20 February 2019 (EST)
- Good to see you back! I'll take your suggestion and go with the latter page. Please be patient, it may take me a while, but I'll get there eventually.
- Pyrrhus (talk) 22:09, 20 February 2019 (EST)
Collapsing lists[edit source | reply | new]
Hey, I noticed your query about collapsing lists and thought I'd leave you some links with info about formatting those in source editor as well as Wikipedia guidance on using them or not. It's not my area of expertise but generally speaking, I believe WP recommends against using them in mainspace (unless the collapsed/hidden info is truly only supplementary rather than essential to the topic) because of some accessibility issues, and that instead it's best to split off pages when lists become unwieldy. So that would recommend for making the Contents page into a clean list of major overhead categories, and then each would have a subpage. But, like I say, not usually among the questions I deal with so, yes, in case the details here can be of any use:
- https://en.wikipedia.org/wiki/Help:Collapsing
- https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#Scrolling_lists_and_collapsible_content
- https://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Accessibility
Hope that may be of help! Canele (talk) 19:25, 10 April 2019 (EDT)
- Wow, that’s incredibly helpful! Thanks!
- Pyrrhus (talk) 19:38, 10 April 2019 (EDT)
- My pleasure! (Truth is I have considerably more wiki than ME/CFS expertise so if I can help out at least on that score, in terms of tools for organizing information and starting up basic pages that people with more scientific expertise may be able to come along behind and fill in a little more easily, well I'm just glad I can make a contribution.) Canele (talk) 00:56, 11 April 2019 (EDT)
- Hi. Some time ago I copied collapsible list templates from several other wikis. It was a total nightmare to get them working to be honest but there's an example here:
- Common_symptoms_in_ME/CFS#Long_list_of_symptoms
- If they look expanded rather than collapsed by default then check my user CSS - it needed a few extra styles adding, I requested these to be added to the site Common.css but I can't remember if they were done or not. There's a similar thing on Template:Read_more - I was hoping to use it to partially hide the Quote field in certain references. The quote field might well increase visits since some of them are pretty controversial. E.g. Wessely contradicting his previous work then reverting back depending on the audience.
- A search for Templates created in the last year will come up with a lot of those recently copied from WikiMedia's Commons or Wikipedia if you are looking for extra features. notjusttired (talk) 19:16, 11 April 2019 (EDT)
- My pleasure! (Truth is I have considerably more wiki than ME/CFS expertise so if I can help out at least on that score, in terms of tools for organizing information and starting up basic pages that people with more scientific expertise may be able to come along behind and fill in a little more easily, well I'm just glad I can make a contribution.) Canele (talk) 00:56, 11 April 2019 (EDT)
Citoid version -- notjusttired (talk) 05:42, July 16, 2019 (EDT)[edit source | reply | new]
Hi. Can you explain how Citoid fixed work? Does the extension need updating to include them? How do we know which patches / fixes need a code update and which are for an external service? I noticed some fixed are labeled as waiting for deploy notjusttired (talk) 05:42, July 16, 2019 (EDT)
- I can share my understanding, but my understanding may be incomplete:
- There is an external citoid server which performs the actual conversion from URL to citation.
- The citoid extension mostly exists just to connect the VisualEditor to the external citoid server.
- The default citoid server that the citoid extension connects to is probably https://en.wikipedia.org/api/rest_v1/#!/Citation/getCitation but I'm not sure about that. Thanks to the Wikimedia Foundation for providing this free service.
- Zotero is a non-profit that develops citation management software that includes a "Translation server" to convert URL's to citations.
- Wikimedia Foundation has adapted Zotero's "Translation server" as the code for the citoid server.
- Although the non-profit Zotero frequently updates their "Translation server", Wikimedia Foundation doesn't implement the updates that frequently. More info: https://www.mediawiki.org/wiki/Citoid/Determining_if_a_URL_has_a_translator_in_Zotero
- Wikimedia Foundation currently stores their citoid server code on Phabricator: https://phabricator.wikimedia.org/project/profile/62/
- I assume that when a bug on Phabricator is moved from "Waiting for deploy" to "Resolved", it means that the fix has been deployed from Phabricator to the external citoid server.
- The Citoid extension should only be updated when the MediaWiki software itself is updated, as each version of MediaWiki requires its own version of the citoid extension.
...miscellaneous |
---|
Changes to Primers[edit source | reply | new]Thanks for making clarity changes on the Primers. There are five Primers and if you could make the changes to all five, that would be helpful. Primer for doctors and researchers Primer for family, friends and care providers --77.111.245.5 18:04, 15 February 2019 (EST) Thanks for letting me know! I'll go do that, and in the future I'll make changes to all 5 primers as appropriate. Thanks. Pyrrhus (talk) 18:45, 15 February 2019 (EST) Add topic re updates[edit source | reply | new]I made the changes you requested. Let me know if everything is to your liking. The programming work you have been doing has been outstanding! Thanks so much Kmdenmark (talk) 18:02, 17 May 2019 (EDT) Pivot skin fixes[edit source | reply | new][edit source | reply | new]Can you copy these to your pivot.css and see if they work on desktop / larger screens? Donate seems fine to me, I'm less sure on the footer bleed issue. Thanks notjusttired (talk) 08:03, 20 May 2019 (EDT)
/* fix footer bleed by fixing negative padding */ footer { margin-left: 0!important; margin-right: 0!important;} /* make donate look like button */ #n-donate { margin-left: 0.25em; } #n-donate a { display:inline-block; } [edit source | reply | new]Powered by was actually under the test of the footer and is finally hidden. Disclaimers and Cookie statement had both been given a line each, I've moved them to the same line. They don't seem to join with the previous line though. Adding some centering too. The footer always begins right of the sidebar too. notjusttired (talk) 17:33, 21 May 2019 (EDT) #footer-developers, #footer-cookiestatement { padding-right: 2rem; display: inline; text-align: center; } #footer-left, #footer-places, #footer-disclaimers, #footer-privacypolicy, #footer-about { display: inline; text-align: center; } /* removed powered by mediawiki - which has several different names oddly */ #footer-poweredbyico, #footer-poweredby, .poweredby { display:none; } /* center block - won't overlap sidebar */ #footer-left { display: inline-block; width: 100%!important; text-align: center; padding-right:8px; }
/* UNTESTED CODE */ /* make donate look like button */ #n-donate { margin-left: 0.25em; } #n-donate a { display:inline-block; } /* center donate button in sidebar */ #n-donate { text-align: center; } /* fix footer bleed by fixing negative padding */ footer { margin-left: 0!important; margin-right: 0!important;} /* expand footer-left and hide footer-right */ #footer-right-icons { display: none; } #div-footer-left { width: 100%; } /* make text lines into a paragraph */ li#footer-lastmod, li#footer-viewcount { float: left; margin-right: 0.5em; } /* make links all in a row */ li#footer-privacy, li#footer-about, li#footer-disclaimer, li#footer-developers, li#footer-cookiestatement { float: left; margin-right: 2em; } /* center footer text */ ul#footer-left { text-align: center; } /* END UNTESTED CODE */ Disambiguation template and __DISAMBIG__[edit source | reply | new]Hi. The disambiguation template already includes the magic word __DISAMBIG__ so there's no need to add it. A page containing {{disambiguation}} means add the contents of the disambiguation page, including any magic words that are in it. (Three curly brackets {{{ }}} around something pass a parameter value into any templates, in case you see that. notjusttired (talk) 09:03, 24 May 2019 (EDT)
-- notjusttired (talk) 21:08, June 2, 2019 (EDT)[edit source | reply | new]Hi. Check out MediaWiki_talk:Vector.css - now with the "What is this page?" info put in a template. Any template can be added to a page using {{ }} - just like you would if marking a page as a stub. The remaining bits are the parameters (values passed in that control what it does) eg {{lowercase|HELLO}} would use a template called "lowercase" and pass it the parameter {{{1}}} (1 - with 3 curly brackets) - which would have the value HELLO. Some templates to check out are Template:Tmbox and Template:imbox - of documentation is missing you can find it on the same pages at wikimedia Commons or Wikipedia.
Pivot code[edit source | reply | new]If you have time can you give this a test. Should change small screens to call the website #MEPEDIA not MEPEDIA. Also a small layout change for main page too. Thanks for your last feedback on pivot. Many changes to follow yet on Timeless - mostly for editing tools and pages used by editors. Surprisingly timeless does not allow mobile users to edit on Wikipedia - lots of layout issues for mobiles. notjusttired (talk) 19:34, June 9, 2019 (EDT)
section#middle-nav .title a::before { content: "#"; font-family: Oswald, sans-serif; font-style: italic; font-variant: normal; margin-right: -0.15em; } .mw-body li.gallerybox div.thumb { padding: 0; } /* main page centering contents list in wikitable at top */ .wikitable > * th > p { text-align: center; } out of date extensions -- notjusttired (talk) 07:06, July 16, 2019 (EDT)[edit source | reply | new]Some particular ones that look worth upgrading:
These seem worth doing before the upgrade of MediaWiki. Obviously there's an argument for updating every extension to the latest version rather than just these. Most include many translation or localization updates. Some are clearly going to be very low priority. Most date from September 2017 - Special:Version Thoughts? 07:06, July 16, 2019 (EDT)
Pages in need - Articles needing an image[edit source | reply | new]Articles needing an image is currently not helpful / too hard to see what's important or what to focus on. I thought it might be helpful to split this page into sections by main category (researchers, treatments etc) and have longest pages listed first. I wondered if you wanted to update this, link to escape codes below. Perhaps the first 10 longest posts at the top of the page, then subheadings for researchers, potential treatments, etc, the contents would let people jump to the category they are interested in User:Notjusttired#Pages_in_need
|
Translations to check -- notjusttired (talk) 19:20, August 23, 2019 (EDT)[edit source | reply | new]
I think I remember you you speak some German or other languages. If you are able to check any of these that would be great. Particularly I wouldn't want them to accidentally read "no cleanup has been specified / provided " - they should say "No reason given." and be part of the message on the cleanup template, underneath "this page may require a cleanup". I don't remember which languages you speak so have included them all notjusttired (talk) 19:20, August 23, 2019 (EDT)
- No reason given.
- No reason given.
- No reason given.
- No reason given.