https://bugzilla.wikimedia.org/show_bug.cgi?id=47575

Ralf Schmitt <ralf_wikime...@brainbot.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ralf_wikime...@brainbot.com

--- Comment #3 from Ralf Schmitt <ralf_wikime...@brainbot.com> ---
Thank you for the bug report.

It looks like this has been broken with our recent switch to expand
templates via api.php. This change was necessary in order to support
the scribunto extension.

Unfortunately we have two problems here:

1. The "AttributeError: 'DictDB' object has no attribute 'select'"
error is caused by our software using a stripped down 'DictDB'
instance as a "wiki database". We would be able to fix that.

2. Since we now expand templates when fetching articles, we do *not*
fetch the templates being used by an article. Since api.php does not
expand the <pages> tag, the information for expanding the pages tag is
not even available.

My suggestion for fixing this issue would be to fix the expand
templates functionality, but that is not possible according to
https://bugzilla.wikimedia.org/show_bug.cgi?id=46115#c7.

The other way the issue could be fixed, would be to work with
mediawiki's HTML output. But that's a lot of work, which we can't
afford to do in order to fix wikisource.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to