Issue:%PAGE% not working in image link
From FollowTheScore
Problem
In the query below, all uses of %PAGE% work fine, except for the one in the link= field. That one works as long as the page name is one word, but as soon as it is like two_words, it fails. The other %PAGE& items don't show this bug.
{{#dpl: |category=catname |namespace=Main |randomcount=1 |include=teaser |format = ,\n'''[[%PAGE%|%TITLE%]]'''[[Image:%PAGE%-main.jpg|border|150px|right|link=http://www.mysite.com/index.php?title=%PAGE%]], [[%PAGE%|...Read more about %PAGE%...]], }}