Index: trunk/extensions/ImportFreeImages/ImportFreeImages.php |
— | — | @@ -201,7 +201,7 @@ |
202 | 202 | $wgOut->addHTML("</form></table>"); |
203 | 203 | $page = $page + 1; |
204 | 204 | |
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) ) ); |
206 | 206 | //print_r($photo); |
207 | 207 | } |
208 | 208 | } |