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(a)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)<http://localhost/mediawiki-1.18.0/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:%D1%81%D1%83%D1%89_ru_m_ina_1c(1)&action=edit&redlink=1>
Шаблон:морфо<http://localhost/mediawiki-1.18.0/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:%D0%BC%D0%BE%D1%80%D1%84%D0%BE&action=edit&redlink=1>
Let's take the example of the template "сущ ru m ina
1c(1)<http://localhost/mediawiki-1.18.0/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:%D1%81%D1%83%D1%89_ru_m_ina_1c(1)&action=edit&redlink=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(a)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;