User:Ttenbergen: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
No edit summary
 
(188 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*Also see: [[Tina Tenbergen]]
*Also see: [[p:Tina Tenbergen]]


test
== changing mediawiki appearance ==
* See where all the mediawiki pages are editable: http://ccmdb.kuality.ca/index.php?uselang=qqx
* to edit them: go to the Mediawiki:<name listed above> page on this wiki
== Questions for Tina ==
see [[User:Ttenbergen/questions for tina]]


== bug needing input==
== SMW stuff ==
Should make a list of all the templates I have made for this...  
full text search link
{{Bug needing input}}
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
Also, I should combine the various shortcut fixer bats into one desktop shortcuts fixer.  
 
Eg.
== table side by side vs right justified ==
http://ccmdb.kuality.ca/index.php/Regional_Server#What_if_I_am_missing_the_shortcut
{| class="wikitable" border="1" align="right" width="30%"
|| title 1
|-
|  | line | 1
|}
{| class="wikitable" border="1" align="right" width="30%"
|| title 2
|-
|  | line | 2
|}
 
== 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.
 
== job queue ==
http://ccmdb.kuality.ca/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm
 
== Magic words ==
e.g. <nowiki>{{CURRENTYEAR}}</nowiki> to get : {{CURRENTYEAR}}
see https://www.mediawiki.org/wiki/Help:Magic_words
 
== transcluding subheadings... ==
<!-- {{:Requested_CCMDB_changes_for_the_next_version#Bug_Fixes}}-->
 
Doesn't work, sucks in whole article


== 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 22: Line 51:
lowercase works so hopefully so do the others...
lowercase works so hopefully so do the others...
http://en.wikipedia.org/wiki/Help:Parser_function  
http://en.wikipedia.org/wiki/Help:Parser_function  
{{lc: TrY ThIs }}
*{{lc: TrY ThIs }}
{{#if: | yes | no}}
*{{#if: | yes | no}}
{{#expr: 1 and -1 }}
*{{#expr: 1 and -1 }}
{{#if: string | yes | no}}
*{{#if: string | yes | no}}


=== Transclusion vs Substitution ===
=== Transclusion vs Substitution ===
Line 32: Line 61:
* http://www.mediawiki.org/wiki/Manual:Substitution - e.g. <nowiki>{{subst:templatename}}</nowiki>
* http://www.mediawiki.org/wiki/Manual:Substitution - e.g. <nowiki>{{subst:templatename}}</nowiki>


==Non-Image file links to the wiki==
== Testing collapsing ==
* <nowiki>[[</nowiki> '''Media''':Transition coordinator.gif | this link<nowiki>]]</nowiki>  
<div class="toccolours mw-collapsible mw-collapsed" style="width:40em">
becomes
...test content...
* [[Media:Transition coordinator.gif | this link]]
</div>
 
Advantage of linking this way is that the page
* [[Image:Transition coordinator.gif]]
will list the linking page, whereas a full external linking (e.g. [http://ltc.umanitoba.ca/wikis/ccmdb/images/c/c1/Greensheet_FORM.pdf  '''Green Sheet''']) is not tracked. This allows tracking, version control, maintenance and clean-up of uploaded files.


File:Transition coordinator.gif
== 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

Latest revision as of 18:06, 2022 January 6

changing mediawiki appearance

Questions for Tina

see User:Ttenbergen/questions for tina

SMW stuff

full text search link 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

title 1
line | 1
title 2
line | 2

ReplaceText

Special:ReplaceText Can use regExps if you check use regular expressions such as [[Category: ?TISS76 ?]] to allow spaces or not.

job queue

http://ccmdb.kuality.ca/api.php?action=query&meta=siteinfo&siprop=statistics&format=jsonfm

Magic words

e.g. {{CURRENTYEAR}} to get : 2024 see https://www.mediawiki.org/wiki/Help:Magic_words

transcluding subheadings...

Doesn't work, sucks in whole article

wiki testing, syntax and tricks

Parser Functions

lowercase works so hopefully so do the others... http://en.wikipedia.org/wiki/Help:Parser_function

  • try this
  • no
  • 1
  • yes

Transclusion vs Substitution

Transclusion is calling content from a page or template, substitution is copying it.

Testing collapsing

...test content...

Testing colours

https://en.wikipedia.org/wiki/List_of_colors:_A%E2%80%93F

  • foo "french violet" for followed links
  • foo "capri" for unlikely contrast