Hello!
Do someone have any clue of what is happening?
Thanks in advance!
Sebastien

On Jan 10, 2012 7:54 AM, "Sébastien Druon" <druon.sebastien@gmail.com> wrote:
Hello!

Taking as example "Дом" from the russian wiktionary, the templates are not rendered (not found by the wikimedia program either, as show the red links):

Морфологические и синтаксические свойства

Шаблон:сущ ru m ina 1c(1)

Шаблон:морфо


Let's take the example of the template "сущ ru m ina 1c(1)"

I have some questions:
- in the SQL generated from mwdumper the following command does not return any result:
grep "'сущ ru m ina 1c(1)" ruktionary.sql" ruwiktionary.sql
- The string is also not to be found in the generated DB, as a consequence

More general:
- Is there some special option for mwdumper or a special dump to import to also get the templates?+
- Is there any way to log the requests sent by mediawiki to the DB?

Thanks a lot in advance

Sebastien

On 9 January 2012 22:05, Platonides <platonides@gmail.com> wrote:
On 08/01/12 23:03, Sébastien Druon wrote:
It seems that mwdumper did not import the templates (select * from page
where page_title like 'Шаблон:%' does not return anything), though they
are present in the xml dump.
Is there some special option to use?

The pages aren't stored with the namespaces name as a literal, but with the namespace number.
Try SELECT page_title FROM page WHERE page_namespace=10 LIMIT 5;