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

From Creative Commons
Jump to: navigation, search
Line 28: Line 28:
 
   --><ul><!--
 
   --><ul><!--
 
   -->{{#arrayprint:pop||@@pop|<!--
 
   -->{{#arrayprint:pop||@@pop|<!--
       -->{{#ifexpr: {{#ask:[[:@@pop]]|?Translated from revision=}} < <!--
+
       -->{{#iferror: {{#expr: {{#ask:[[:@@pop]]|?Translated from revision=}} < <!--
        -->{{#ask:{{#ask:[[:@@pop]]|?Translated from=}}|?Last 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=}}<!--
 
                -->}}<!--
 
 
         -->|<!--
 
         -->|<!--
 +
        -->|{{#ifexpr: {{#ask:[[:@@pop]]|?Translated from revision=}} < <!--
 +
            -->{{#ask:{{#ask:[[:@@pop]]|?Translated from=}}|?Last revision=}}<!--
 +
            -->| <li> [[:@@pop]] <!--
 +
                      - {{#ask:[[:@@pop]]|?Translated from=}}, <!--
 +
                      {{#ask:[[:@@pop]]|?Translated from revision=}}, <!--
 +
                      {{#ask:{{#ask:[[:@@pop]]|?Translated from=}}|?Last revision=}}, <!--
 +
                  -->{{{{Translation of|Template:Diff since trans|@@pop}}<!--
 +
                      -->|source={{#ask:[[:@@pop]]|?Translated from=}}<!--
 +
                      -->|rev={{#ask:[[:@@pop]]|?Translated from revision=}}<!--
 +
                  -->}}<!--
 +
            -->|<!--
 +
          -->}}<!--
 
       -->}}<!--
 
       -->}}<!--
 
   -->}}<!--
 
   -->}}<!--

Revision as of 02:29, 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|{{#iferror: {{#expr: {{#ask:@@pop|?Translated from revision=}} < {{#ask:{{#ask:@@pop|?Translated from=}}|?Last revision=}}}}||{{#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