Difference between revisions of "MediaWiki:Custom-tools"

From Culture.si
m (Mitja moved page Custum-tools to Custom-tools without leaving a redirect)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><div style="position:relative;width:100%;height:200px"></noinclude><div id="wiki-tools" <noinclude>style="position:absolute"</noinclude>>
+
<div id="wiki-tools">
 
{{{=
 
{{{=
 
|realpage={{#cgi:0|{{FULLPAGENAME}}}}
 
|realpage={{#cgi:0|{{FULLPAGENAME}}}}
Line 79: Line 79:
 
| {{#array:dataloop
 
| {{#array:dataloop
 
| {{#data:select
 
| {{#data:select
   | title=`page`.`page_title`
+
   | title="page"."page_title"
  | #fromtables =  `page`
+
  | #fromtables =  page  
  | #where = `page`.`page_namespace` = {{#title:nsnumber|data:foo}}
+
  | #where = "page"."page_namespace" = {{#title:nsnumber|data:foo}}
 
  | #limit = 10
 
  | #limit = 10
  | #orderby = `page_title` DESC
+
  | #orderby = "page_title" DESC
 
  }}
 
  }}
 
| each = <li>{{#title:link
 
| each = <li>{{#title:link
Line 117: Line 117:
 
</ul></div>
 
</ul></div>
 
</div>
 
</div>
<noinclude></div></noinclude>
 
<noinclude>[[Category:EXPORT_SKIN]]</noinclude>
 

Latest revision as of 03:57, 24 November 2012