Difference between revisions of "User:Sancho/test/childs"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (test)
(test)
Line 1: Line 1:
<DPL>
+
{{#dpl:
  linksto = {{{1}}}
+
debug = 0 |
  titleregexp = RU/kb/[0-9]
+
linksto = {{FULLPAGENAME}} |
  count          = 90
+
titleregexp = RU/kb/[0-9] |
  ordermethod    = counter
+
format= {| class="wikitable sortable" style="margin: 0; border-left: none; border-right: none; width: 100%; 0;"¶!Позиция¶!Страница¶!Просмотров,¶|-¶|%NR%¶|{{SecTitle|%PAGE%}}¶|%COUNT%,,¶|}
  order          = descending
+
}}
  addpagecounter = true
+
 
+
  format         = {| class="wikitable sortable" style="margin: 0; border-left: none; border-right: none; width: 100%; 0;"¶!Для сортировки по алфавиту нажать → ,¶|-¶|{{SecTitle|%PAGE%}}¶,,¶|}
+
</DPL>
+

Revision as of 09:30, 9 December 2010

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 `page`.page_namespace AS page_namespace,`page`.page_title AS page_title,`page`.page_id AS page_id, pl.pl_title AS sel_title, pl.pl_namespace AS sel_ns, `page`.page_title as sortkey FROM `pagelinks` AS pl, `page` WHERE 1=1 AND (`page`.page_title REGEXP 'RU/kb/[0-9]') AND `page`.page_is_redirect=0 AND `page`.page_id=pl.pl_from AND ( (pl.pl_namespace=2 AND pl.pl_title LIKE 'Sancho/test/childs')) ORDER BY page_title ASC LIMIT 0, 500

Error message is:
Character set 'utf8mb3_bin' cannot be used in conjunction with 'binary' in call to regexp_like. (127.0.0.1)


Personal tools