Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
MediaWiki talk:Common.js
(section)
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
Message
Discussion
More
More
Page actions
Read
Edit source
New topic
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Clearer disclaimer? === This page contains code that adds a bright banner to the top of every page in the “Potential treatments” and “Medical hypotheses” categories. The banner presents a brief disclaimer saying “This is a Potential Treatment page” or “This is a Medical hypothesis page”. I believe the purpose of this disclaimer is to warn readers to expect a slightly lower standard of evidence than that used in other pages. (In line with the “room for debate and speculation” section of [[MEpedia:About]].) <br>What about making this more explicit by adding to the end of each disclaimer, in smaller font, “Please read critically.” Tagging [[User:JaimeS]] [[User:Notjusttired]] [[User:Kmdenmark]] [[User:Canele]] [[User:Sisyphus]] [[User:EscapeTheFog]] [[User:Hip]] [[User:JenB]] <br>[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 01:35, July 20, 2019 (EDT) -I'm ok with this. A bit out of topic perhaps but I always thought the sentence: "The information provided at this site is not intended to diagnose or treat any illness." should be at the top of the page and featured more prominently. - Sisyphus. :I would rather leave as it is, extra words would make the heading cluttered and less readable. I think the words "hypothesis" and "potential" already flag up that these are controversial / may not have much support. I disagree that the content of the page has weaker sources. I think it's just flagging up that someone once suggested something. As Sisyphus said we already have the disclaimer. [[User:Notjusttired|notjusttired]] ([[User talk:Notjusttired|talk]]) 06:17, July 20, 2019 (EDT) ::Heh, am I allowed to agree with all of the above? I share Pyrhhus and Sisyphus's desire to emphasize disclaimers more strongly (e.g., [[MEpedia:General disclaimer]] still needs the update Jaime approved). At the same time, I also agree with Njt that 1, we should be attentive to the paradoxical effect where the less there is to read, the better the chances the message actually gets through, and 2, I worry about differentiating some pages as having lower standards lest it become a false promise about the higher standard elsewhere: as a wiki, where we are never able to 100% monitor and guarantee quality, my preference is encourage readers to apply careful scrutiny across the board. ::Maybe we could name-check Hypotheses and Potential treatments pages in the Science guidelines as places to be particularly attentive to making sure the prose specifies the quality/limits of evidence available? [[User:Canele|Canele]] ([[User talk:Canele|talk]]) 17:07, July 20, 2019 (EDT) :::It would be easy to put an additional short disclaimer under the page title, perhaps in italics, stating something like "Many potential treatments have been suggested for ME or its symptoms, but the evidence base and theory behind many treatments may be very weak. This treatment may be harmful. There is no cure." or some such thing. This would avoid "information overload" / clutter in the heading.[[User:Notjusttired|notjusttired]] ([[User talk:Notjusttired|talk]]) 04:47, July 21, 2019 (EDT) ::::In order to see if adding "Please read critically" would make the banner more cluttered or less readable, I placed both banners side-by-side on the [[Biopsychosocial model]] page. Please take a look and see if adding those three words are an improvement or not. Also consider whether we should move the banner from above the page title to below the page title. Placing the banner below the page title would allow us to provide foreign-language translations for the banner. [[User:Notjusttired]] [[User:Hip]] ::::[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 19:23, October 24, 2019 (EDT) :::::[[User:Pyrrhus]] having "please read critically" in the same size as the rest makes it look cluttered but also it looks like part of the title rather than an instruction. The new banner isn't used classes/styles for the colors, so this would need sorting. A bit idea would be a second line in smaller text, possibly another color. Why can't translations be added with the existing banner position? ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) :::::Just checked the common.js code - it can easily be changed to call a template instead of using fixed text, although since the banner should match page language (rather than user language) it wouldn't be a lot of work to add a Javascript translation for the pages in other languages. Creating a separate banner for each page (rather than just per category) would be a mistake. Something not yet considered is a tool tip popup that would appear only when people ran their mouse over the banner, and could be attached to a tiny "info" ℹ︎ icon or image at the end of the word instead, or a banner at the top or bottom that needs to be clicked to make it go away - see this [https://html-online.com/articles/cookie-consent-warning-strap-website/ example with wording for bookies] - could easily be done as a gadget. Frankly I think there are enough disclaimers and warnings already. ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 12:33, October 25, 2019 (EDT) :I've updated the new banner at [[Biopsychosocial model]]. How does it look now [[User:Notjusttired]]? I removed the "Please read critically" and I changed the font to better differentiate it from the title. Since the banner includes a link to the category page, any further disclaimers can be placed at the top of the category page. I think the banner is still a bit too big, maybe reduce the banner size a bit? Any feedback [[User:Kmdenmark]]? :[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 14:34, October 25, 2019 (EDT) ::The link colors need sorting - visited links cause blue-on-light blue, for Potential treatments it would be blue-on-lime green. Would be better to have the link in white but also in bold - [[MediaWiki_talk:Top-notice-Biopsychosocial_model#Compatibility_with_all_skins|example at the bottom of this page]]. As far as I know this can only be sorted with (very simple) CSS. I think it would look better perhaps at 1.6em size text (a bit smaller), and it scrolls off to the right on mobiles - I don't know if this is because of the left/right padding gets added to the 100% width or not - could easily be changed to no padding with a <nowiki> </nowiki> (visible space) before and after text which will look almost the same. ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 17:29, October 25, 2019 (EDT) :::I'm wary about changing the link colors, as people will have trouble recognizing a link in non-standard colors. I think it might be better to adjust the background color to work with the link colors, instead of vice-versa. I have removed the padding and changed the font to 1.6em. [[User:Notjusttired]] :::[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 18:33, October 25, 2019 (EDT) ::::I looked into color options, seems like #0645AD is the standard link color, I suggest using the darker pastel shades suggested [https://en.wikipedia.org/wiki/Help:Using_colour here] by Wikipedia (right column), eg <div style ="background-color:#CEF2E0!important; line-height:2em">This is a [[#|link]]</div> and <div style ="background-color:#002000!important; color: #ccc; line-height:2em">Dark skin with [[#|<span style="color: #E69F00!important">link]]</span></div> <div style ="background-color:#000020!important; color: #ccc; line-height:2em">Dark skin with [[#|<span style="color: #E69F00!important">link]]</span></div> [https://webaim.org/resources/contrastchecker/ contrast checker] shows them as much better contrast than we have at the moment (looks better too). On the dark skin the link colors are different (orange), a shade of black/grey might be best for add above. ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 21:18, October 25, 2019 (EDT) ::Thanks [[User:Notjusttired]] for doing that research on colors! I set the background color to the pastel shade in your example in Common.css, and I set the background color to black in Timeless.css. Let me know how it looks. ::[[User:Pyrrhus|Pyrrhus]] ([[User talk:Pyrrhus|talk]]) 22:44, October 25, 2019 (EDT) :::[[User:Pyrrhus]] please undelete [[MediaWiki talk:Top-notice-Biopsychosocial_model]] or retrieve the old contents and put them on the new banner talk page. I did not expect it to go so soon and that content is not anywhere else. Feedback on changes - will put Screenshots on Slack: * Colors look great on Timeless * Banner still in the wrong place, it means both the banner and AddThis tools are above the content, which is cluttered and distracting. The old Javascript can put the banner above the title, like it was before. * Done: Class name is really unhelpful: category-banner or hypothesis-banner / treatments-banner would be a better choice. Heading and header have specific meanings and refer to other components or tags / HTML elements. * The banner is not centered - a space needs adding after the full stop. * I also don't know why it still scrolls, I trying a width of auto instead of 100% * I would prefer the banner link text to always used the same color, on Timeless it changes between orange (unvisited link) and blue (visited link) - I would prefer just blue. Feels inconsistent. See code in [[User:Notjusttired/timeless.css]] to fix this. * Special upload changes made at the same time do not work, so should be reverted. I suggest disabling the None selected option in Javascript instead, which will prevent the user continuing without selecting a licence. * <s>Just noticed the Timeless skin does not have the "Special:Upload" link in the sidebar that Pivot has. Instead it's on the right with wikitools.</s> (It's supposed to be in the Tools area, which is on the right on Timeless). ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 18:45, October 26, 2019 (EDT) ====Re: Clearer disclaimer? -- ~~~~==== :: Replace this text with your reply
Summary:
Please make sure your edits are consistent with
MEpedia's guidelines
.
By saving changes, you agree to the
Terms of use
, and you irrevocably agree to release your contribution under the
CC BY-SA 3.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Skip to content
Main page
Browse
Become an editor
Random page
Popular pages
Abbreviations
Glossary
About MEpedia
Links for editors
Contents
Guidelines
Recent changes
Pages in need
Search
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs