r18255 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r18254‎ | r18255 | r18256 >
Date:14:17, 11 December 2006
Author:travis
Status:old
Tags:
Comment:
fix next link
Modified paths:
  • /trunk/extensions/ImportFreeImages/ImportFreeImages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ImportFreeImages/ImportFreeImages.php
@@ -201,7 +201,7 @@
202202 $wgOut->addHTML("</form></table>");
203203 $page = $page + 1;
204204
205 - $wgOut->addHTML("<br/>" . $sk->makeLinkObj($importPage, wfMsg('importfreeimages_next', $wgResultsPerPage), "p=$page" ) );
 205+ $wgOut->addHTML("<br/>" . $sk->makeLinkObj($importPage, wfMsg('importfreeimages_next', $wgResultsPerPage), "p=$page&q=" . urlencode($q) ) );
206206 //print_r($photo);
207207 }
208208 }