Difference between revisions of "User:Hamilton Abreu/Tests"

From Creative Commons
Jump to: navigation, search
Line 15: Line 15:
 
-->{{#arrayprint:lang|<br />|@@lang|<!--
 
-->{{#arrayprint:lang|<br />|@@lang|<!--
 
   --><h3>{{#language:@@lang}} <small>(@@lang)</small></h3><!--
 
   --><h3>{{#language:@@lang}} <small>(@@lang)</small></h3><!--
 +
 
   -->Articles that require synchronisation:<br /><!--
 
   -->Articles that require synchronisation:<br /><!--
 
   -->{{#arraydefine:pop
 
   -->{{#arraydefine:pop
         |{{#ask:[[Has language::@@lang]]
+
         |{{#ask:[[Has language::@@lang]] [[Translated from::+]] [[Translated from revision::+]]
 
             | link = none
 
             | link = none
 
             | searchlabel=
 
             | searchlabel=
Line 26: Line 27:
 
       }}<!--
 
       }}<!--
 
   --><ul><!--
 
   --><ul><!--
   -->{{#arrayprint:pop|<br />|@@pop|<!--
+
   -->{{#arrayprint:pop||@@pop|<!--
      --><li> [[:@@pop]], {{#ask:[[:@@pop]]|?Modification date=}}<!--
+
      -->{{#ifexpr: {{#ask:[[:@@pop]]|?Translated from revision=}} < <!--
 +
        -->{{#ask:{{#ask:[[:@@pop]]|?Translated from=}}|?Last revision=}}<!--
 +
        -->| <li> [[:@@pop]] <!--
 +
                -->{{{{Translation of|Template:Diff since trans|@@pop}}<!--
 +
                  -->|source={{#ask:[[:@@pop]]|?Translated from=}}<!--
 +
                  -->|rev={{#ask:[[:@@pop]]|?Translated from revision=}}<!--
 +
                -->}}<!--
 +
        -->|<!--
 +
      -->}}<!--
 
   -->}}<!--
 
   -->}}<!--
 
   --></ul><!--
 
   --></ul><!--

Revision as of 01:45, 2 May 2011

{{#arraydefine:lang

     |{{#ask:Has language::+
        | ?Has language=
        | sort=Has language
        | mainlabel=-
        | order = ascending
        | link = none
        | searchlabel=
        | limit=10000
      }}
     |,
     |unique

}}{{#arrayprint:lang|
|@@lang|

@@lang (@@lang)

Articles that require synchronisation:
{{#arraydefine:pop

        |{{#ask:Has language::@@lang Translated from::+ Translated from revision::+
           | link = none
           | searchlabel=
           | limit=10000
         }}
        |,
        |unique

}}

  • {{#arrayprint:pop||@@pop|{{#ifexpr: {{#ask:@@pop|?Translated from revision=}} < {{#ask:{{#ask:@@pop|?Translated from=}}|?Last revision=}}|
  • @@pop {{{{#if: Template:Diff since trans | {{#if: {{#ask:@@pop|?Has language=}} | {{#if: {{#ask: Translated from::Template:Diff since trans [[Has language::{{#show: @@pop | ?Has language = | link=none}}]] }} | {{#ask: Translated from::Template:Diff since trans [[Has language::{{#show: @@pop | ?Has language = | link=none}}]] | link=none }} | Template:Diff since trans }} | Template:Diff since trans }} }}|source={{#ask:@@pop|?Translated from=}}|rev={{#ask:@@pop|?Translated from revision=}}}}|}}}}

}}


Query elements
[[:+]] only pages in the main namespace
[[User:+]] only pages in the User namespace
[[File:+]] only pages in the File namespace
[[:Category:+]] only pages in the Category namespace
[[:Category:+||User:+]] only pages in the Category and User namespaces