Last modified: 2011-06-28 15:50:19 UTC
When I export books in PDF or ODF formats in Wikisource, if the article has interwiki links, they will show in the book. This problem does not occur in Wikipedia. I think interwiki links should be omit from the books.
This issue has probably been fixed. If there still is a problem with interwiki links please provide an example to allow debugging.
Created attachment 6550 [details] A example on vi.wikisource that interwiki links still show on PDF Still has error, this is an example.
I reopen this bug because there's still error. Please take a look at the 4th page of the attachment. I have just created it after receiving the notification email from BugZilla.
Example URL http://vi.wikisource.org/w/index.php?title=Tam_quốc_diễn_nghĩa&uselang=en http://vi.wikisource.org/w/index.php?title=Đặc_biệt:Book&bookcmd=download&collection_id=fac063b4c757980b&writer=rl&return_to=Tam+quốc+diễn+nghĩa
The problem seems to be that the API on wikisource returns an empty interwikimap. Therefore interwiki links can not be detected. See the difference: * interwikimap on en.wikipedia http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap * no interwikimap on vi.wikisource: http://vi.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap ==> The solution is probably to fix the configuration of the mediawiki. If a correct interwikimap is returned by the API the interwiki links can be handled correctly in the PDF.
(In reply to comment #5) > The problem seems to be that the API on wikisource returns an empty > interwikimap. Therefore interwiki links can not be detected. > > See the difference: > > * interwikimap on en.wikipedia > http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap > > * no interwikimap on vi.wikisource: > http://vi.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=interwikimap > > ==> The solution is probably to fix the configuration of the mediawiki. If a > correct interwikimap is returned by the API the interwiki links can be handled > correctly in the PDF. I suspect the problem is in the API module, which IIRC queries the database but doesn't think to access the interwiki cache.
*** Bug 24897 has been marked as a duplicate of this bug. ***
I would like to remove the pediapress dev team from the assignees list. The bug seems to be in the MediaWiki API/configuration. Who would be the correct assignee?
(In reply to comment #8) > I would like to remove the pediapress dev team from the assignees list. The bug > seems to be in the MediaWiki API/configuration. Who would be the correct > assignee? It seems this is a duplicate of bug 19838 then, is that right?
(In reply to comment #9) > It seems this is a duplicate of bug 19838 then, is that right? Seems sensible. We need someone to look at it, though... *** This bug has been marked as a duplicate of bug 19838 ***