Hello,
I made a query to display images, but if I want more than 100 results in my page, the last images aren't displayed even if they exist.
Does someone know why ?
Use #if instead of #ifexist (too expensive)
Hello,
I made a query to display images, but if I want more than 100 results in my page, the last images aren't displayed even if they exist.
Does someone know why ?
Please reply exact steps to reproduce the problem ("a query to display images" is a bit vague) and MediaWiki version information.
On my page I have this code :
{{#ask:|mainlabel=-|?=Objet|?photo droite=Photo|?ref dossier=ref dossier|sort=Modification date|format=template|introtemplate=Header accueil objets|template=Accueil objets|outrotemplate=Table footer|default=Aucun objet existant avec ces critères|named args=yes}}
and on my template "Accueil objets" there is
<nowiki><includeonly>|{{{?Objet}}}|{{#ifexist: File:{{{?Photo}}}|[[File:{{{?Photo}}}|150px]]|Fichier inexistant}}|{{{ref dossier}}}</nowiki>
and I use MediaWIki1.21.2