Difference between revisions of "Ask"
From its-wiki.no
Josef.Noll (Talk | contribs) (→recent pages) |
Josef.Noll (Talk | contribs) |
||
Line 50: | Line 50: | ||
== Example == | == Example == | ||
− | ongoing projects, based on <nowiki> {{ | + | ongoing projects, based on <nowiki> [[Category:Project]] [[Due_date::> {{#expr:{{#time: Y|now}}}}]] </nowiki> |
* CURRENTYEAR is {{CURRENTYEAR}}, CURRENTTIME is {{CURRENTTIME}}, LOCALTIME is {{LOCALTIME}} | * CURRENTYEAR is {{CURRENTYEAR}}, CURRENTTIME is {{CURRENTTIME}}, LOCALTIME is {{LOCALTIME}} | ||
* date: {{#formatdate:25 Februar 2016|dMY}} or "now": {{#time: d M Y|now }} | * date: {{#formatdate:25 Februar 2016|dMY}} or "now": {{#time: d M Y|now }} | ||
− | * see all time examples in: [www.mediawiki.org/wiki/Help:Extension:ParserFunctions Help:Extension:ParserFunctions] | + | * see all time examples in: [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions Help:Extension:ParserFunctions] |
=== recent pages === | === recent pages === | ||
{{#ask:[[Modification date::+]] | {{#ask:[[Modification date::+]] |
Revision as of 13:46, 12 March 2015
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
![]() |
Contents
Explanation of Semantic MediaWiki ask function
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 }}
Example
ongoing projects, based on [[Category:Project]] [[Due_date::> {{#expr:{{#time: Y|now}}}}]]
- CURRENTYEAR is 2024, CURRENTTIME is 21:17, LOCALTIME is 21:17
- date: 25 Februar 2016 or "now": 05 Sep 2024
- see all time examples in: Help:Extension:ParserFunctions
recent pages
- File:TEK5110-L2 Radio principles h24.pdf (Modification dateThis property is a special property in this wiki. 3 September 2024 11:11:40)
- TEK5110 (Modification dateThis property is a special property in this wiki. 3 September 2024 11:11:13)
- TEK5110/List of papers (Modification dateThis property is a special property in this wiki. 27 August 2024 12:22:44)
- File:Elicit-SecurityChallenges AutomatedSystems.txt (Modification dateThis property is a special property in this wiki. 27 August 2024 12:21:44)
- File:TEK5110-L1 Introduction h24.pdf (Modification dateThis property is a special property in this wiki. 21 August 2024 12:22:30)
- Multisportuka erfaringer (Modification dateThis property is a special property in this wiki. 16 August 2024 17:43:56)
- Sykling (Modification dateThis property is a special property in this wiki. 13 August 2024 20:53:13)
- Norwegen2025 (Modification dateThis property is a special property in this wiki. 13 August 2024 20:00:30)
(Modification dateThis property is a special property in this wiki. 11 August 2024 11:57:18)
- Multisportuka (Modification dateThis property is a special property in this wiki. 9 August 2024 09:36:55)
- ... 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