Difference between revisions of "C"
From FollowTheScore
(duped code to see what is going on without having to edit page...) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 55: | Line 55: | ||
== Combine queries and use a nested query for redirect tracking == | == Combine queries and use a nested query for redirect tracking == | ||
| − | <pre> | + | <table><tr valign=top> |
| − | {{#dpl: | + | <td><pre>{{#dpl: |
|linksto=B | |linksto=B | ||
}} | }} | ||
| Line 65: | Line 65: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | <td>This example includes [[CC]], which contains: | ||
| + | |||
| + | <pre> | ||
| + | {{#dpl:debug=1 | ||
| + | |linksto={{{1}}} | ||
| + | |format=,*[[%PAGE%¦%TITLE%]] <small>-> {{{1}}}</small>\n, | ||
| + | } | ||
| + | </pre> | ||
| + | |||
| + | <td>...resulting in: | ||
{{#dpl: | {{#dpl: | ||
| Line 74: | Line 85: | ||
|format=,²{:CC¦%PAGE%}², | |format=,²{:CC¦%PAGE%}², | ||
}} | }} | ||
| − | + | </table> | |
| − | |||
| − | |||
| − | |||
| − | |||
Latest revision as of 23:55, 22 October 2007
Contents
Which page(s) link to B ?
{{#dpl:
|linksto=B
}}
Which page(s) link to B ? , include redirect pages
{{#dpl:
|linksto=B
|redirects=include
}}
Which page(s) link to B ? , exclude redirect pages
{{#dpl:
|linksto=B
|redirects=exclude
}}
Which page(s) link to B ? , redirect pages ONLY
{{#dpl:
|linksto=B
|redirects=only
}}
Combine queries and use a nested query for redirect tracking
{{#dpl:
|linksto=B
}}
{{#dpl:
|linksto=B
|redirects=only
|format=,²{:CC¦%PAGE%}²,
}}
| This example includes CC, which contains:
{{#dpl:debug=1
|linksto={{{1}}}
|format=,*[[%PAGE%¦%TITLE%]] <small>-> {{{1}}}</small>\n,
}
| ...resulting in:
|