Difference between revisions of "Ask"

From its-wiki.no
Jump to: navigation, search
(recent pages in slideshow)
(recent pages, random)
Line 69: Line 69:
  
 
=== recent pages, random ===
 
=== recent pages, random ===
<code>
+
<nowiki>
 
[[modification date::+]]  shows only pages that exist (not deleted ones)
 
[[modification date::+]]  shows only pages that exist (not deleted ones)
</code>
+
</nowiki>
 
<!---- [[Has Property::Image]] [[{{{ns}}}::6]]  [[  {{ns:Image}}--->
 
<!---- [[Has Property::Image]] [[{{{ns}}}::6]]  [[  {{ns:Image}}--->
 
{{#ask:[[Modification date::+]]  
 
{{#ask:[[Modification date::+]]  

Revision as of 19:02, 27 October 2014

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}}]]

Example

recent pages


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)

  1. GravidBluetooth 5.png
  2. NextelcoTasks.pptx
  3. Federal Reserve System 2459.jpg
  4. Error creating thumbnail: File missing
  5. File:20190418Kimogol Thesis with Comments.pdf
  6. ... further results

The part "{{{ns}}}" of the query was not understood. Results might not be as expected.

Variables