Difference between revisions of "Ask"
Josef.Noll (Talk | contribs) (→email list) |
Josef.Noll (Talk | contribs) (→email list) |
||
Line 73: | Line 73: | ||
=== email list === | === email list === | ||
− | {{#ask: [[-User.Project::IoTSec]] [[Partner::+]] |?Prename= |?Name= |?email= | sep = | + | {{#ask: [[-User.Project::IoTSec]] [[Partner::+]] |?Prename= |?Name= |?email= | sep =, |format=list |template=Email_list }} |
== Example == | == Example == |
Revision as of 07:39, 9 September 2015
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
Contents
Explanation of Semantic MediaWiki ask function
see also Test-Ask for invers properties
help page
http://semantic-mediawiki.org/wiki/Help:Selecting_pages, including " ::>, ::! "
output to vcard
Warning: exports all users on this wiki ... further results
for errors, see Josef_Noll
Example
{{#ask:[[Category::User]] |?=search for users# |?User |?Date |?Title |format=broadtable |limit=5 |offset=1 |link=all |sort=User count |order=descending |headers=plain |mainlabel=search for users |intro=results |outro=done |searchlabel=… further results |default=no results found |class=sortable wikitable smwtable }} <!--- ask with OR connection, as used in Template:User ---> {{#ask: [[Supervisor::{{SUBJECTPAGENAME}}]] OR [[Lecturer::{{SUBJECTPAGENAME}}]] OR [[User::{{SUBJECTPAGENAME}}]] OR [[{{SUBJECTPAGENAME}}]] ommit main label: | mainlabel=- | {{#show: Berlin | ?population }}
Tips and Tricks
Recommendation from Neill: I always hide the raw page name as much as possible and use aliases so queries return more user friendly links.
{{#set:Page Link=[[{{FULLPAGENAME}}|{{{Page Title|}}}]]}} where Page Title is usually a field in the form. Sometimes I prepend with a section ID {{#set:Page Link=[[{{FULLPAGENAME}}|{{{Section ID|}}}-{{{Page Title|}}}]]}}
Then in the queries I return Page Link and use mainlabel=- to suppress the raw page name field.
{{#ask: |?Page Link .. .. |mainlabel=- }}
Note:
- <section id="main"> <!-- main page content goes in here --> </section>
- define Page Link as a Special:Property
email list
Adam Szekeres <Adam>, Ali Khalighi <Ali>, Anders Føyen <Anders>, Ane Solesvik Oppedal <Ane>, Atle Årnes <Atle>, Audun Andersen <Audun>, Beate Due <Beate>, Bernt A. Bremdal <Bernt A.>, Bjarne Tarjei Haugen <Bjarne Tarjei>, Bozo Krstajic <Bozo>, Brice Morin <Brice>, Christian Johansen <Christian>, Christian Resell <Christian>, Dang Ha The Hien <Dang Ha>, Danica Radovanovic <Danica>, David Aleksandersen <David>, Davide Roverso <Davide>, Dieter Hirdes <Dieter>, Einar Snekkenes <Einar>, Elahe Fazeldehkordi <Elahe>, Elin Sundby Boysen <Elin>, Erik Åsberg <Erik>, Gard Jenssen <Gard>, Gard Støe Valla <Gard>, Geir Arne Rimala <Geir Arne>, Gerben Kuijpers <Gerben>, Getinet Ayele Eshete <GETINET>, Grete H. Coldevin <Grete H.>, György Kálmán <György>, Habtamu Abie <Habtamu>, Hamed Arshad <Hamed>, Hanne Cecilie Geirbo <Hanne Cecilie>, Hans Jørgen Furre Nygårdshaug <Hans Jørgen>, Heidi Tuiskula <Heidi>, Heidi Vildskog <Heidi>, Henning Maagerud <Henning>, Håkon Duus <Håkon>, Idun Lyngstad <Idun>, Igor Radusinovic <Igor>, Inge Andersson <Inge>, Ivar Rummelhoff <Ivar>, Jan Pedro Tumusok <Jan Pedro>, Jan Richard Aspheim <Jan Richard>, Janne Hagen <Janne>, Janusz Gorski <Janusz>, Jayaprakash Rajasekharan <Jayaprakash>, Johanna Johansen <Johanna>, Jon Haar <Jon>, Josef Noll <Josef>, Kaniz Fatema Tuly <Kaniz Fatema> ... further results
Example
ongoing projects, based on [[Category:Project]] [[Due_date::> {{#expr:{{#time: Y|now}}}}]]
- CURRENTYEAR is 2024, CURRENTTIME is 15:09, LOCALTIME is 15:09
- date: 25 Februar 2016 or "now": 28 May 2024
- see all time examples in: Help:Extension:ParserFunctions
recent pages
- Robert Walstad (Modification dateThis property is a special property in this wiki. 13 May 2024 10:20:09)
- IEEE 6G Summit 2024, 13-14 May 2024, Dresden (Modification dateThis property is a special property in this wiki. 13 May 2024 10:19:19)
- (Modification dateThis property is a special property in this wiki. 13 May 2024 10:14:54)
- Uni Dresden (Modification dateThis property is a special property in this wiki. 13 May 2024 10:14:17)
- Gerhard Fettweis (Modification dateThis property is a special property in this wiki. 13 May 2024 10:14:05)
- Messe@Dresden (Modification dateThis property is a special property in this wiki. 13 May 2024 10:13:37)
- Some very long page name that will hopefully never get created ABCDEF123 (Modification dateThis property is a special property in this wiki. 13 May 2024 10:13:37)
- 6G for Connecting the Future of Every Single Human 2024/05/14 (Modification dateThis property is a special property in this wiki. 13 May 2024 10:08:53)
- File:202405 6G Dresden Noll.pdf (Modification dateThis property is a special property in this wiki. 13 May 2024 10:08:50)
- (Modification dateThis property is a special property in this wiki. 13 May 2024 10:07:24)
- ... further results
pages from 2013
- Main page (Modification dateThis property is a special property in this wiki. 21 December 2013 22:17:09)
- Oulu (Modification dateThis property is a special property in this wiki. 21 December 2013 16:34:48)
- UiO (Modification dateThis property is a special property in this wiki. 21 December 2013 16:29:05)
- UNIK (Modification dateThis property is a special property in this wiki. 20 December 2013 14:51:30)
- FreeSecEDU UiO (Modification dateThis property is a special property in this wiki. 20 December 2013 14:49:19)
- FreeSecEDU (Modification dateThis property is a special property in this wiki. 20 December 2013 14:19:11)
- PM (Modification dateThis property is a special property in this wiki. 20 December 2013 14:18:47)
- Output (Modification dateThis property is a special property in this wiki. 20 December 2013 14:18:24)
- Email (Modification dateThis property is a special property in this wiki. 20 December 2013 14:18:21)
- Partner Abbreviation (Modification dateThis property is a special property in this wiki. 20 December 2013 14:17:56)
- ... further results
recent pages in slideshow
Note: format=slideshow is supported in this version, and shown in:
recent pages, random
[[modification date::+]] shows only pages that exist (not deleted ones)
The part "{{{ns}}}" of the query was not understood. Results might not be as expected.
Variables
- ARTICLEPAGENAME, TALKPAGENAME
- see more http://en.wikipedia.org/wiki/Help:Magic_words