m Text replacement - "[[Category: " to "[[Category:"
 
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:
*Also see: [[p:Tina Tenbergen]]
*Also see: [[p:Tina Tenbergen]]


== Imagemap test ==
== changing mediawiki appearance ==
<imagemap>
* See where all the mediawiki pages are editable: http://ccmdb.kuality.ca/index.php?uselang=qqx
Image:CCMDB Description.png|alt=Description of CCMDB sources and outputs
* to edit them: go to the Mediawiki:<name listed above> page on this wiki
rect 347 569 439 649 [[Critical_Care_Vital_Sign_Monitor]]
== Questions for Tina ==
</imagemap>
see [[User:Ttenbergen/questions for tina]]


<pre>
== no width space ==
<img id="Image-Maps-Com-image-maps-2017-06-07-015434" src="https://ccmdb.kuality.ca/images/3/3d/CCMDB_Description.png" border="0" width="814" height="660" orgWidth="814" orgHeight="660" usemap="#image-maps-2017-06-07-015434" alt="" />
* &amp;#8203; puts a no width space between the following two xs: x&#8203;x
<map name="image-maps-2017-06-07-015434" id="ImageMapsCom-image-maps-2017-06-07-015434">
* which makes e.g. [[M:\]]&#8203;zzzz look continuous but stops the link
<area  alt="" title="CCVSM" href="https://ccmdb.kuality.ca/index.php?title=Critical_Care_Vital_Sign_Monitor" shape="rect" coords="347,569,439,649" style="outline:none;" target="_self"    />
* when you paste that into an editor it makes you arrow over it twice to get past it, but explorer treats it correctly
<area  alt="Manitoba Centre for Health Poiicy" title="MCHP" href="https://ccmdb.kuality.ca/index.php?title=Manitoba_Centre_for_Health_Policy" shape="rect" coords="233,535,318,615" style="outline:none;" target="_self"    />
<area  alt="Central Line Infection Project" title="CLI" href="https://ccmdb.kuality.ca/index.php?title=QA_Infection_CLI" shape="rect" coords="15,404,138,427" style="outline:none;" target="_self"    />
<area  alt="Ventilator Associated Pneumonia" title="VAP" href="https://ccmdb.kuality.ca/index.php?title=QA_Infection_VAP" shape="rect" coords="14,428,137,452" style="outline:none;" target="_self"    />
<area  alt="DSM Labs Extract" title="DSM Labs Extract" href="https://ccmdb.kuality.ca/index.php?title=DSM_Lab_Extract" shape="rect" coords="49,533,141,556" style="outline:none;" target="_self"    />
<area  alt="Publications" title="Publications" href="https://ccmdb.kuality.ca/index.php?title=Publications" shape="rect" coords="238,624,337,646" style="outline:none;" target="_self"    />
<area  alt="TISS" title="TISS" href="https://ccmdb.kuality.ca/index.php?title=TISS" shape="rect" coords="75,297,139,379" style="outline:none;" target="_self"    />
<area  alt="APACHE II" title="APACHE II" href="https://ccmdb.kuality.ca/index.php?title=APACHE_II" shape="rect" coords="9,158,141,182" style="outline:none;" target="_self"    />
<area  alt="Antibiotic Resistant Organisms" title="ARO" href="https://ccmdb.kuality.ca/index.php?title=ARO" shape="rect" coords="577,197,676,218" style="outline:none;" target="_self"    />
<area  alt="Age" title="Age" href="https://ccmdb.kuality.ca/index.php?title=Age" shape="rect" coords="528,96,582,120" style="outline:none;" target="_self"    />
<area  alt="Length of Stay" title="LOS" href="https://ccmdb.kuality.ca/index.php?title=LOS" shape="rect" coords="538,137,664,161" style="outline:none;" target="_self"    />
<area  alt="Pharmacy" title="Pharmacy" href="https://ccmdb.kuality.ca/index.php?title=Pharmacy_collection" shape="rect" coords="8,269,142,293" style="outline:none;" target="_self"    />
<area  alt="Demographics" title="Demographics" href="https://ccmdb.kuality.ca/index.php?title=Demographics" shape="rect" coords="8,104,142,128" style="outline:none;" target="_self"    />
<area  alt="Admit Discharge Transfer" title="ADT" href="https://ccmdb.kuality.ca/index.php?title=ADT" shape="rect" coords="9,132,141,155" style="outline:none;" target="_self"    />
<area  alt="Diagnosis" title="Diagnosis" href="https://ccmdb.kuality.ca/index.php?title=Admit_Diagnosis" shape="rect" coords="6,188,143,211" style="outline:none;" target="_self"    />
<area  alt="Complications" title="Complications" href="https://ccmdb.kuality.ca/index.php?title=Acquired_Diagnosis_/_Complication" shape="rect" coords="10,244,143,266" style="outline:none;" target="_self"    />
<area  alt="Procedures" title="Procedures" href="https://ccmdb.kuality.ca/index.php?title=Category:Surgical_Procedure" shape="rect" coords="10,215,140,237" style="outline:none;" target="_self"    />
<area  alt="Statistical Analysis" title="Statistical Analysis" href="https://ccmdb.kuality.ca/index.php?title=Statistical_Analysis" shape="rect" coords="437,330,497,356" style="outline:none;" target="_self"    />
<area  alt="Data Processing" title="Data Processing" href="https://ccmdb.kuality.ca/index.php?title=Data_Processing" shape="rect" coords="282,330,379,356" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Data_Processor" shape="rect" coords="319,245,377,322" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Statistician" shape="rect" coords="438,245,496,322" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Data_Collector" shape="rect" coords="168,209,228,366" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Reporting" shape="rect" coords="679,374,790,437" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Statistical_Analysis" shape="rect" coords="709,446,794,509" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Database_Request_Process" shape="rect" coords="468,547,562,641" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Validation_against_Patient_Registry_Data" shape="rect" coords="5,563,140,604" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Ulcers_-_Decubitus_only" shape="rect" coords="679,197,811,218" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Re-admission" shape="rect" coords="643,168,809,190" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Bed_occupancy" shape="rect" coords="670,137,766,160" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Postal_Code_field#Data_Use" shape="rect" coords="481,68,649,91" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Central_Line_Count" shape="rect" coords="629,222,777,245" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Confusion_Assessment_Method" shape="rect" coords="596,250,715,272" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=QA_Infection_CLI" shape="rect" coords="626,302,715,325" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=QA_Infection_VAP" shape="rect" coords="717,320,814,343" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=CRRT" shape="rect" coords="610,344,734,367" style="outline:none;" target="_self"    />
<area  alt="" title="" href="https://ccmdb.kuality.ca/index.php?title=Projects" shape="rect" coords="8,384,143,407" style="outline:none;" target="_self"    />
<area shape="rect" coords="812,658,814,660" alt="Image Map" style="outline:none;" title="Image Map" href="http://www.image-maps.com/index.php?aff=mapped_users_0" />
</map>


</pre>
== hover ==
* manual:
** <span class="info-tooltip">always<span class="tooltip-text">hover</span></span>
* [[:Template:Tooltip]]
** {{Tooltip|always|hover}}


== changing mediawiki appearance ==
== SMW stuff ==
* See where all the mediawiki pages are editable: http://ccmdb.kuality.ca/index.php?uselang=qqx
full text search link
* to edit them: go to http://ccmdb.kuality.ca/index.php?title=MediaWiki:<name listed above>
https://ccmdb.kuality.ca/index.php?title=Special%3AAsk&q=%5B%5BCategory%3AICD10+Diagnosis%5D%5D%0D%0A%5B%5B%7E%7Epneumothorax%5D%5D&po=&eq=yes&p%5Bformat%5D=broadtable&sort_num=&order_num=ASC&p%5Blimit%5D=500&p%5Boffset%5D=&p%5Blink%5D=all&p%5Bsort%5D=&p%5Bheaders%5D=show&p%5Bmainlabel%5D=&p%5Bintro%5D=&p%5Boutro%5D=&p%5Bsearchlabel%5D=...+further+results&p%5Bdefault%5D=&p%5Bclass%5D=sortable+wikitable+smwtable&p%5Bsep%5D=&eq=yes


== table side by side vs right justified ==
== table side by side vs right justified ==
Line 69: Line 36:
== ReplaceText ==
== ReplaceText ==
[[Special:ReplaceText]]
[[Special:ReplaceText]]
Can use [https://en.wikipedia.org/wiki/Regular_expression regExps] if you check '''use regular expressions''' such as <nowiki>[[Category: ?TISS76 ?]]</nowiki> to allow spaces or not.
Can use [https://en.wikipedia.org/wiki/Regular_expression regExps] if you check '''use regular expressions''' such as <nowiki>[[Category:?TISS76 ?]]</nowiki> to allow spaces or not.


== job queue ==
== job queue ==
http://ccmdb.kuality.ca/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm
http://ccmdb.kuality.ca/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm
== Cargo holds ==
{{#cargo_query:
tables=Reports
|fields=_pageName=Data Element
|where=DataDependencies HOLDS 'Age'
}}


== Magic words ==
== Magic words ==
Line 85: Line 59:
== wiki testing, syntax and tricks ==
== wiki testing, syntax and tricks ==
* Transclusion of an article: <nowiki>{{:articlename}}</nowiki>
* Transclusion of an article: <nowiki>{{:articlename}}</nowiki>
* emailing lists: [mailto:dccc@hsc.mb.ca email the CC data collectors] (see also [[:Category:Critical Care Data Collectors]])
* emailing lists: [mailto:dccc@hsc.mb.ca email the CC data collectors] (see also [[p:Category:Critical Care Data Collectors]])
* sorted table: see [[Drugs Collected]]
* sorted table: see [[Drugs Collected]]
* file/UNC linking doesn't work because browsers disallow it as unsafe
* file/UNC linking doesn't work because browsers disallow it as unsafe
Line 99: Line 73:
*{{#expr: 1 and -1 }}
*{{#expr: 1 and -1 }}
*{{#if: string | yes | no}}
*{{#if: string | yes | no}}
=== Viki ===
As from Cindy Cicalese:
[{{fullurl:VIKI}}?page={{FULLPAGENAMEE}} Graph This Page]


=== Transclusion vs Substitution ===
=== Transclusion vs Substitution ===
Line 111: Line 81:
== Testing collapsing ==
== Testing collapsing ==
<div class="toccolours mw-collapsible mw-collapsed" style="width:40em">
<div class="toccolours mw-collapsible mw-collapsed" style="width:40em">
  {{ #viki:pageTitles={{FULLPAGENAME}} }}
  ...test content...
</div>
</div>
== Testing colours ==
https://en.wikipedia.org/wiki/List_of_colors:_A%E2%80%93F
* [[ICD10|<span style="color:#8806CE">foo</span>]] "french violet" for followed links
* [[ICD10|<span style="color:#00BFFF">foo</span>]] "capri" for unlikely contrast