Différences entre versions de « Modèle:Accueil/Articles clés »

De Témoins de Jéhovah: TJ-Encyclopedie, l'encyclopédie libre sur les Témoins de Jéhovah
Sauter à la navigation Sauter à la recherche
Ligne 1 : Ligne 1 :
<DynamicArticleList>
+
{{#dpl:
  type=update
+
namespace=
  count=150
+
|addeditdate=true
</DynamicArticleList>
+
|ordermethod=lastedit
 +
|order=descending
 +
|count=100
 +
}}

Version du 3 octobre 2020 à 16:13

The DPL extension (version 2.3.0) produced a SQL statement which lead to a Database error.
The reason may be an internal error of DPL or an error which you made,
especially when using DPL options like titleregexp.
Query text is:
SELECT DISTINCT `tjpage`.page_namespace AS page_namespace,`tjpage`.page_title AS page_title,`tjpage`.page_id AS page_id, rev_user, rev_user_text, rev_comment, rev_timestamp FROM `tjrevision` AS rev, `tjpage` WHERE 1=1 AND `tjpage`.page_namespace IN (0) AND `tjpage`.page_is_redirect=0 AND `tjpage`.page_id=rev.rev_page AND rev.rev_timestamp=( SELECT MAX(rev_aux.rev_timestamp) FROM `tjrevision` AS rev_aux WHERE rev_aux.rev_page=rev.rev_page ) ORDER BY rev_timestamp DESC LIMIT 100 OFFSET 0

Error message is:
Unknown column 'rev_user' in 'field list' (tjencyclwiki.mysql.db)