User:Rhz/To-do

From PsychonautWiki
< User:Rhz(Redirected from User:Rhz/Todo)
Jump to: navigation, search

Copy of my notes and todo list:

Pairs of text strings for Special:ReplaceText to annotate dosages (first line is for "Original text" and second is for "Replacement text")

OralROA_Threshold=([< ]*)([0-9.]+)[ ]*([muµ]?g)
OralROA_Threshold=$1[[Oral threshold dose::$2]] [[Oral dose units::$3]]
OralROA_Threshold=[ ]*([0-9.]+)([- ]*[0-9.]+)[ ]*([muµ]?g)
OralROA_Threshold=[[Oral threshold dose::$2]]$3 [[Oral dose units::$4]]
OralROA_Light=[ ]*([0-9.]+)[ -]+([0-9.]+)[ ]*([muµ]?g)
OralROA_Light=[[Oral min light dose::$1]] - [[Oral max light dose::$2]] $3
OralROA_Common=[ ]*([0-9.]+)[ -]+([0-9.]+)[ ]*([muµ]?g)
OralROA_Common=[[Oral min common dose::$1]] - [[Oral max common dose::$2]] $3
OralROA_Strong=[ ]*([0-9.]+)[ -]+([0-9.]+)[ ]*([muµ]?g)
OralROA_Strong=[[Oral min strong dose::$1]] - [[Oral max strong dose::$2]] $3
OralROA_Heavy=([> ]*)([0-9.]+)[ ]*([muµ]?g)
OralROA_Heavy=$1[[Oral heavy dose::$2]] $3
  • Maybe the dosage chart should adapt to missing information (eg if threshold or heavy aren't present)... Done for missing threshold
  • Oral dosage chart shows in the following summary sheets: LSD, 1P-LSD, ALD-52, LSZ, AMT, 4-AcO-DiPT, 4-AcO-MET, 4-HO-MET, Psilocin, DiPT, 2C-B, 2C-C, 2C-D, 2C-E, 2C-I, 2C-P, 2C-T-2, 2C-T-7, DOM, DOC, DOB, Mescaline, Escaline, Allylescaline, Methallylescaline, MDA, MDMA, Bk-2C-B, 3-MeO-PCMo, 3-MeO-PCP, 4-MeO-PCP, Ketamine, Methoxetamine, Diphenidine, Ephenidine, Diphenhydramine, Mirtazapine, Alprazolam, Diazepam, Clonazepam, Diclazepam, Flubromazolam, Nifoxipam, Lorazepam, Deschloroetizolam, Etizolam, Metizolam, Codeine, Kratom, Morphine, O-Desmethyltramadol, Tramadol, GHB, 1,4-Butanediol, 2-methyl-2-butanol, Quetiapine, Pregabalin, Amphetamine, Methylphenidate, Ethylphenidate, Isopropylphenidate, 4F-MPH, Methylone, Mephedrone, A-PVP, Caffeine, 3-FPM, Methiopropamine, Noopept, Tianeptine, MDAI, 2-FMA, 4-FA, Methamphetamine, Dextromethorphan, DOB, 5-MeO-MiPT, Flubromazepam
  • There's not enough information for: AL-LAD, ETH-LAD, PRO-LAD, 4-HO-DET, 5-MeO-DALT, DPT, DOI, MDMA, PCP, Benzydamine, Clonazolam, Heroin, Dihydrocodeine, Ethylmorphine, Ethanol, Gabapentin, GBL, Methaqualone, Prochlorperazine, Zopiclone, Mexedrone, Modafinil, Dehydroxyfluorafinil
  • Smoked: DMT, 5-MeO-DMT, 5F-AKB48, 5F-PB-22, AB-FUBINACA, JWH-018, THJ-018, THJ-2201, STS-135, Nicotine
  • Sublingual: NBOMes, Fentanyl
  • Don't work even though they should: 4-AcO-DMT, 4-HO-MiPT, Methoxphenidine, Hydrocodone, Oxycodone, 2-Aminoindane, NM-2-AI
  • LSA summary sheet would require extending the template so that custom panels can be added to the first, second or third column. For LSA we'd add one dosage chart for hawaiian baby woodrose and one for morning glory seeds.

Pairs of text strings for Special:ReplaceText to annotate dosages for all ROAs (first line is for "Original text" and second is for "Replacement text")

(\|)([A-Za-z]+)ROA_Threshold=([< ]*)([0-9.]+)[ ]*([muµ]?g)
$1$2ROA_Threshold=$3[[$2 threshold dose::$4]] [[$2 dose units::$5]]
(\|)([A-Za-z]+)ROA_Threshold=([< ]*)([0-9.]+)([- ]+[0-9.]+)?[ ]*µg
$1$2ROA_Threshold=$3[[$2 threshold dose::$4]]$5 [[$2 dose units::µg]]

Pairs of text strings for Special:ReplaceText to annotate durations for all ROAs. Note that the first two lines are for "Original text" (ie there must be a newline after the last parenthesis in the first line) and the last two lines are for "Replacement text" (same applies)

(\|)([A-Za-z]+)ROA_Duration=([ ]*)([0-9.]+)([ -]+)([0-9.]+)([ ]*)([^ 0-9]+)

$1$2ROA_Duration=[[$2 min total time::$4]] - [[$2 max total time::$6]] [[$2 total time units::$8]]

(\|)([A-Za-z]+)ROA_Onset=([ ]*)([0-9.]+)([ -]+)([0-9.]+)([ ]*)([^ 0-9]+)

$1$2ROA_Duration=[[$2 min onset time::$4]] - [[$2 max onset time::$6]] [[$2 onset time units::$8]]

(\|)([A-Za-z]+)ROA_Comeup=([ ]*)([0-9.]+)([ -]+)([0-9.]+)([ ]*)([^ 0-9]+)

$1$2ROA_Comeup=[[$2 min comeup time::$4]] - [[$2 max comeup time::$6]] [[$2 comeup time units::$8]]

and so on...

Fixing two mistakes:

(\|)([A-Za-z]+)ROA_Duration=(.*)onset
$1$2ROA_Onset=$3onset
(\|)([A-Za-z]+)ROA_Duration=(.*)(\[)\[Oral(.*)\[\[Oral(.*)\[\[Oral
$1$2ROA_Duration=$3$4$4$2$5$4$4$2$6$4$4$2