Difference between revisions of "11 June 2007"

From Organic Design wiki
m
m (Reverted edits by Robin Patterson (talk) to last revision by Nad)
 
(5 intermediate revisions by 2 users not shown)
Line 7: Line 7:
  
  
<tt style=font-size:10pt>category=foo</tt> &nbsp;&nbsp;&nbsp;&nbsp;''(list all article in [[:Category:Foo]])''
+
'''<tt style=font-size:10pt>category=Foo</tt>''' &nbsp;&nbsp;&nbsp;&nbsp;''(list all articles in [[:Category:Foo]])''
  
  
<tt style=font-size:10pt>uses=news{{!}}ordermethod=firstedit</tt> &nbsp;&nbsp;&nbsp;&nbsp;''(list all articles using [[Template:News]] ordered by their creation date)''
+
'''<tt style=font-size:10pt>uses=News{{!}}ordermethod=firstedit</tt>''' &nbsp;&nbsp;&nbsp;&nbsp;''(list all articles using [[Template:News]] ordered by their creation date)''
  
  
<tt style=font-size:10pt>createdby=Foo</tt> &nbsp;&nbsp;&nbsp;&nbsp;''(list all article created by [[User:Foo]])''
+
'''<tt style=font-size:10pt>createdby=Foo</tt>''' &nbsp;&nbsp;&nbsp;&nbsp;''(list all articles created by [[User:Foo]])''
 
}}
 
}}

Latest revision as of 22:14, 3 September 2011

Warning.svg This is a blog item that needs to be converted to the new Bliki format


A new template for finding articles

Template:Find is a new template made using the Simple Forms extension to make a more sophisticated search form for the site. The new search form works like usual but has extra buttons for sending the query to Wikipedia or Google, instead of just the usual go and full-text-search buttons. Also if the go button is used and the search query contains one or more "=" characters, it will be treated as a DPL query allowing searching for articles by regular expression, category, template-use and much more.

There was no programming required to add this functionality to the wiki because it's all done using the Simple Forms and WikiSkin extensions.

Here's a couple of useful query examples:


category=Foo     (list all articles in Category:Foo)


uses=News|ordermethod=firstedit     (list all articles using Template:News ordered by their creation date)


createdby=Foo     (list all articles created by User:Foo)