30,525
edits
(Have it stop looking at 3000 if it doesn't find one by then) |
No edit summary |
||
Line 31: | Line 31: | ||
}} | }} | ||
</pre> | </pre> | ||
{{#vardefine:i|2610}}{{#while: | |||
|{{#if:{{#var:i}}|{{#ifexpr:{{#var:i}}<3000|true}}}} | |||
|{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}{{#ifexist:{{#var:i}}|[[{{#var:i}}]]{{#vardefine:i|}}}} | |||
}} | |||
{{#vardefine:i|2470}}{{#while: | {{#vardefine:i|2470}}{{#while: | ||
|{{#if:{{#var:i}}|{{#ifexpr:{{#var:i}}>0|true}}}} | |||
|{{#vardefine:i|{{#expr:{{#var:i}}-1}}}}{{#ifexist:{{#var:i}}|[[{{#var:i}}]]{{#vardefine:i|}}}} | |||
}} | |||
{{#vardefine:i|{{PAGENAME}}}}{{#while: | |||
|{{#if:{{#var:i}}|{{#ifexpr:{{#var:i}}<3000|true}}}} | |{{#if:{{#var:i}}|{{#ifexpr:{{#var:i}}<3000|true}}}} | ||
|{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}{{#ifexist:{{#var:i}}|[[{{#var:i}}]]{{#vardefine:i|}}}} | |{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}{{#ifexist:{{#var:i}}|[[{{#var:i}}]]{{#vardefine:i|}}}} | ||
}} | |||
{{#vardefine:i|{{PAGENAME}}}}{{#while: | |||
|{{#if:{{#var:i}}|{{#ifexpr:{{#var:i}}>0|true}}}} | |||
|{{#vardefine:i|{{#expr:{{#var:i}}-1}}}}{{#ifexist:{{#var:i}}|[[{{#var:i}}]]{{#vardefine:i|}}}} | |||
}} | }} | ||