User:Notjusttired

Also known as Njt.

Translations: System messages

 * MediaWiki_talk:Copyright-used-with-permission etc
 * localization extension gets all translations once a system message exists in English

Autogenerated dates from citations

 * set  or   in citation template
 * set default short month mode in Module:Citation/CS1/Date_validation

Citation / Citoid errors

 * dates 2019/2 with incorrect month AND slash affecting online publications eg Cite journal - month number may be coming from issue number?
 * https://www.mdpi.com/2075-4418/9/2/61
 * MDPI PMID 31208078works
 * MDPI PMC6628329 works
 * MDPI DOI
 * https://www.cambridge.org/core/journals/the-british-journal-of-psychiatry/article/going-to-war-does-not-have-to-hurt-preliminary-findings-from-the-british-deployment-to-iraq/31266BFE83CB07AAF294EFB0E4D1E99C
 * War DOI has same error https://doi.org/10.1192/bjp.186.6.536
 * War pubmed returns different date format error of 2005-06 pubmed - both issue and month number are 6 here 15928366
 * Cite news fields jumbled eg the wrong info on last name

Currently working on

 * Timeless dark skin
 * Template:Cleanup - pages
 * Category:Articles with unsourced statements    - subcategories?
 * Link to all licensed by unused images from pages in need
 * Pages in need improvements
 * Module:Citation/CS1/Getauthorlink see Module_talk:Citation/CS1
 * Citoid 2016-11 style date error?

Articles needing an image (by category)
Currently only selected pages in only those 2 categories! So missing most pages. Using notcategory to get around this.

People: Doctors, researchers and advocates needing image (longest pages first, max 50)
Researchers category=Articles_that_need_an_image_or_photo category=Researchers count=50 namespace=0 ordermethod=length order=descending mode=ordered

Advocates or allies category=Articles_that_need_an_image_or_photo category=Advocates or allies count=50 namespace=0 ordermethod=length order=descending mode=ordered Clinicians category=Articles_that_need_an_image_or_photo category=Clinicians count=50 namespace=0 ordermethod=length order=descending mode=ordered

Authors category=Articles_that_need_an_image_or_photo category=Authors count=50 namespace=0 ordermethod=length order=descending mode=ordered Others  category=Articles_that_need_an_image_or_photo category=People notcategory=Researchers notcategory=Clinicians notcategory=Advocates or allies notcategory=Authors count=100 namespace=0 ordermethod=length order=descending mode=ordered

Potential treatments needing an image (largest page first)
Don't use!!! Ignores everything in subcategories... (or maybe those pages just weren't marked as needing image) Alternative medicine ► Analgesics ► Anti-inflammatories ► Antibiotics ► Anticonvulsants ► Antidepressants ► Antifungals ► Antimalarials ► Antioxidants ► Antiparasitics ► Antivirals ► Benzodiazepines ► Calcium channel blockers ► Central nervous system stimulants ► Corticosteroids ► Detoxification ► Diets ► Environmental treatments ► Fatty acids ► Flavonoids ► Herbs ► Immunomodulators ► Immunostimulants ► Management strategies ► Medicinal foods ► Minerals ► Pharmaceutical books ► Pharmaceutical companies ► Probiotics ► Protocols ► Psychological and behavioral therapies ► Supplements ► Vasocontrictors ► Vitamins

category=Articles_that_need_an_image_or_photo category=Potential_treatments count=100 namespace=0 ordermethod=longest order=descending mode=ordered

Diagnoses needing image
category=Articles_that_need_an_image_or_photo category=Diagnoses count=10 namespace=0 ordermethod=length order=descending mode=ordered category=Articles_that_need_an_image_or_photo category=neurological disorders count=10 namespace=0 ordermethod=length order=descending mode=ordered

Longest articles without an image
category=Articles_that_need_an_image_or_photo count=100 namespace=0 ordermethod=length order=descending mode=ordered

Long articles that need image photo
category=Articles_that_need_an_image_or_photo count=100 namespace=0 ordermethod=length order=descending mode=ordered

 category=All_articles_needing_cleanup category=Articles_that_need_an_image_or_photo ordermethod=popularity order=descending mode=ordered 

Lua yyyy-mm dates
Match hyphen, n-dash or slash, yyyy then mm or yyyy then m (? is optional character)

= string.match("foo 123 bar", '%d%d%d%d[/–‐]%d?%d')

Each capture is returned as a separate result, so this is useful for splitting out values

date = "04/64" m, y = string.match(date, "(%d+)/(%d+)")

so... date = "2011/04" y, m= string.match(date, "(%d%d%d%d)/(%d?%d)")

then date = "2011/04" y, m= string.match(date, "(%d%d%d%d)[/–‐](%d?%d)")

restricting dates to years 1000-2000, months 01 to 19. date = "2011/04" y, m= string.match(date, "([12][12]%d%d)[/–‐]([01]?%d)")

then convert to MMM with monthname(m)

and then concat with ', '

m = "04" y = "2016" newdate = m .. ', ' .. y problem example 2: doi 10.1109/chicc.2006.4347343

Invisible characters
Replace new lines in quotes (LF or CR) with, in title replace with a space, strip them from start or end of URLs or author names.

Fixing home page for timeless
start test table below in HTML only

 here is a form  input

end input end form

end

Multiple categories with sorting
 category = British clinicians category = Authors ordermethod=sortkey order=ascending 

category = British clinicians category = Authors ordermethod=sortkey order=ascending

Symptoms that are also a diagnosis category = Diagnoses category = Signs and symptoms mode = unordered ordermethod=sortkey order=ascending

Comorbidities that are NOT disorders notcategory = Diagnoses category = Signs and symptoms mode = unordered ordermethod=sortkey order=ascending

Test equation
where $$A$$ and $$B$$ are events and $$P(B) \neq 0$$.

Date format error
Example: https://www.ncbi.nlm.nih.gov/pubmed/25284935

gives date of DD MM YYYY (not MM DD, YYYY)

PMC errors (now fixed by module code)
PMC 1700895 doi 10.1136/bmj.1.5687.11

Priorities

 * Image copyrights to organize - Special:UncategorizedFiles
 * Check copyrights on ICC and other files
 * Better symptom photos e.g. malaise, levels of fatigue and disability, symptoms
 * Infographics template - XMP CC info, large size, site name only in corner (font as wiki?)
 * Infographic & poster creation
 * large skin option?

Brain fog tasks

 * Category:Articles that need an image or photo
 * Add source and copyright to existing images Category:Media uploaded without a license
 * Add source and copyright to existing images Category:Media uploaded without a license

Tips

 * Science Guidelines
 * Using the source_code editor
 * Power user/editor tips

Job Suggestions List

 * MEpedia suggestions

How to contribute
MEpedia_article_outlines

How to contribute

MEpedia:Manual of style

Quotes
-

"Styled as a poem."

- Author unknown

--

Collapsing lists or bullets
Example: Common_symptoms_in_ME/CFS

Mw-collapse class
EU Countries
 * France
 * Belgium
 * Spain

 test

Collapsiblelists
not working European FTA members

Iceland

Liechtenstein

Norway

Graphs and Charts
wikimedia graphs

created in visual editor { "version": 2, "width": 400, "height": 200, "data": [ {			"name": "table", "values": [ {					"x": 100, "y": 100 },				{					"x": 100, "y": 100 },				{					"x": 100, "y": 90 },				{					"x": 90, "y": 80 },				{					"x": 90, "y": 80 },				{					"x": 90, "y": 80 },				{					"x": 90, "y": 80 },				{					"x": 90, "y": 82 },				{					"x": 85, "y": 80 },				{					"x": 85, "y": 80 },				{					"x": 80, "y": 75 }			]		}	],	"scales": [ {			"name": "x", "type": "ordinal", "range": "width", "zero": false, "domain": { "data": "table", "field": "x" }		},		{			"name": "y", "type": "linear", "range": "height", "nice": true, "domain": { "data": "table", "field": "y" }		}	],	"axes": [ {			"type": "x", "scale": "x" },		{			"type": "y", "scale": "y" }	],	"marks": [ {			"type": "rect", "from": { "data": "table" },			"properties": { "enter": { "x": { "scale": "x", "field": "x" },					"y": { "scale": "y", "field": "y" },					"y2": { "scale": "y", "value": 0 },					"fill": { "value": "steelblue" },					"width": { "scale": "x", "band": "true", "offset": -1 }				}			}		}	] }

Merging new code into existing timeless.css
/* CSS placed here will affect users of the Timeless skin */

html { background: rgb(0,0,0) !important; height: 100%; filter: brightness(100%) contrast(100%) grayscale(0%) !important; -webkit-filter: brightness(100%) contrast(100%) grayscale(0%) !important; } body { margin: 0; background: #000; color: #ccc; }

/* make orange brighter using low vision colors */ a { color: #E69F00; } /* wanted pages red color */ a.new, a.new:hover, .new a:hover, a.new:visited, .new a:visited { color: #FF4444; } /* stubs lighter than low vision sky blue */ a.stub { color: #86d4f9 !important; } /* low vision sky blue shade for some headings and visited */ h2, h3, h4, a:visited, a:hover, a.link:visited { color: #56b4e9; }

/* caption does site visits */ caption { color: #ccc; } caption big { color: #bbb; font-weight: normal; }

/* set dark colors where missing*/ h1 { color: #fff; text-shadow: 1px 1px 1px #000; }

font-weight: normal; } b, strong { text-shadow: 1px 1px 1px #000; } div.editOptions { border: #aaa; background: #555; }	border-top: solid 2px #000; background: #333; }	background: #333; color: #ccc; border: 0; }
 * 1) personal .dropdown b {
 * 1) mw-header-nav-hack {
 * 1) mw-site-navigation .sidebar-inner {

border: outset #aaa; box-shadow: 1px 1px 1px rgba(0,0,0,0.5); border-radius: 2px; } /* set dark colors where missing*/ .right-canvas-menu, .left-off-canvas-menu, .off-canvas-list, .sidebar-chunk, .toc, #toc, { background-color: #000; color: #cccccc; border: #aaa; } .sidebar-inner { background-color: #333!important; color: #ccc; border: #aaa; }
 * 1) mw-site-navigation .sidebar-chunk {
 * 1) mw-wrapper, #mw-header, #mw-header-container,
 * 1) mw-content-text,
 * 1) p-cactions

.gallery, .gallerybox, .thumb, .image, table, p, div, table ul, table li { background: #transparent; color: #cccccc; border: #222; }

/* orange /* .mw-parser-output a.external { color: #ff9900; }	background: #333; }	border: inset 1px #000; border-radius: 3px; background: #333; }
 * 1) searchInput-container {
 * 1) simpleSearch {

.mw-notification { background: #000; border: #333; border-radius: 5px; color: #999; } .mw-wiki-logo { background-size: contain; } background-color: #000; color: #eeeeee; }
 * 1) p-logo-text a, #p-logo-text {

/* addthis colors */ .addthis_default_style { background-color: #000 !important; border-color: #000; color: #ccc; }	width: 100%; max-width: 100%; padding: 0; position: static; } @media screen and (max-width: 850px) { background: #000; } }
 * 1) mw-header {
 * 1) menus-cover {

background: #000; } @media screen and (max-width: 850px) { background: #000; } }
 * 1) mw-content-container {
 * 1) mw-content-block {

background: #000; }	background: #333; border: solid #000; -webkit-border-bottom-right-radius: 4px; -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -moz-border-radius-bottomleft: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; }	color: #999900; }	border: outset #333; box-shadow: 2px 2px 1px rgba(0,0,0,0.5); border-radius: 3px; }
 * 1) mw-site-navigation {
 * 1) mw-content {
 * 1) mw-page-header-links li.selected a {
 * 1) mw-related-navigation .sidebar-chunk {

.color-left, .color-right { background-color: #333; } .color-left-container, .color-right-container, .color-middle-container, .color-middle { background-color: #E7453A; color: #333; fill-color: #333; overflow: hidden; } .color-bar { background: #E7453A ; }

@media screen and (max-width: 1099px) and (min-width: 851px) { border: outset #333; box-shadow: 2px 2px 1px rgba(0,0,0,0.5); } }
 * 1) mw-related-navigation .sidebar-chunk {

text-shadow: 1px 1px 0 #333; } background: #333! important; border: solid #000; }
 * 1) personal h2 {
 * 1) personal .dropdown {

/* transparent images need white background */ img { color: white; background-color: #333; border: 0; }

/* bullet points within Portal gallery or Portal table sections */ ul.gallery, .gallerybox > div, td > ul, td > p, td div, div div { color: #cccccc; background-color: #333; border: #333; }

.codeEditor-status { color: #555; } .oo-ui-labelElement-label { text-shadow: 1px 2px #333; }	text-shadow: 1px 1px 1px #000 !important }	background: #000; } fieldset { background: #333! important; border: solid #000; } input { background: #333; border: solid 1px #000!important; border-radius: 2px; color: #ccc; } .mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive.mw-ui-checked, input[type='submit'], input[type='button'], button { border: solid 1px #333!important; border-bottom: 0!important; text-shadow: 0 0 0 #000 !important; border-bottom: solid 1px #333!important; } .oo-ui-flaggedElement-destructive { background: #000; border: 1px solid #444; color: #FF4444 !important; } .oo-ui-flaggedElement-destructive:hover { background: #333; color: #CC0000 !important; }	border: 0!important; } .oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea { background-color: #333; color: #ccc; }	background-color: #555; } .warningbox { background: #333; }
 * 1) wpSave {
 * 1) mw-footer-container {
 * 1) searchInput {
 * 1) pagehistory li.selected {

.mw-plusminus-neg { color: #FF0000; }	color: #00ffff; }	color: #56b4e9; } .diff-addedline .diffchange { background: #ff4444; } .oo-ui-buttonElement.oo-ui-labelElement > input.oo-ui-buttonElement-button, .oo-ui-buttonElement.oo-ui-labelElement > .oo-ui-buttonElement-button > .oo-ui-labelElement-label { text-shadow: 0 0 0 #000 !important; } .oo-ui-labelElement-label { text-shadow: 0 0 0 #000 } .oo-ui-panelLayout-expanded { background: #333; } .oo-ui-messageDialog-message { color: #999; } .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: #999; } .oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget { border-right: 1px solid #000 } .oo-ui-dialog-content > .oo-ui-window-body { outline: 1px solid #000; } .oo-ui-messageDialog-content > .oo-ui-window-foot { outline: 1px solid #000; } .wikiEditor-ui .wikiEditor-ui-view { border: 1px solid #000; } .wikiEditor-ui .wikiEditor-ui-top { border-bottom: 1px solid #000; } textarea[style] { background: #000 !important; color: #fff; } pre, .mw-code { background: #222; color: #B0B0B0; border: 1px solid #444; } .oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon { background-color: #999; border: 1px solid #333; } /* end of dark CSS */
 * 1) mw-footer-container a:hover {
 * 1) mw-footer-container a:visited {