Difference between revisions of "Issuepedia:Code/lib/links"
< Issuepedia:Code | lib
Jump to navigation
Jump to search
(explicitly set "data" to NULL) |
(disallow same page in output -- should at least prevent recursion no matter how messed up anything else gets) |
||
Line 72: | Line 72: | ||
<let name=sqlWhere>(page_namespace=0) AND (cl_to='</let> | <let name=sqlWhere>(page_namespace=0) AND (cl_to='</let> | ||
+ | <let name=sqlWhere append copy=topic /> | ||
+ | <let name=sqlWhere append>') AND (page_title != '</let> | ||
<let name=sqlWhere append copy=topic /> | <let name=sqlWhere append copy=topic /> | ||
<let name=sqlWhere append>')</let> | <let name=sqlWhere append>')</let> |