Actually, the MediaWiki extension "Collection" developed by PediaPress
is based on a PDF generation library "ReportLab", which doesn't
support Chinese very well (for example, so far, a Chinese line in a
generated PDF doesn't take up the full width of a page; there is still
much space unused to the right of every Chinese line). I suggested
them to use a more Unicode-friendly PDF library such as TCPDF, but
they said (in
email correspondence with me) they had already done much work with
ReportLab and therefore switching to a new PDF library was not an
I think the ideal solution is to rewrite MediaWiki's PDF generation
feature using a good PDF library such as TCPDF. Is there any other
company than PediaPress that the Wikimedia Foundation can collaborate
with to rewrite MediaWiki's PDF generation feature?
On Sat, Mar 3, 2012 at 9:35 AM, Ziyuan Yao <yaoziyuan(a)gmail.com> wrote:
Yesterday I started two discussion threads for this
issue, one one the
Wikizh-l mailing list, the other on the zh.wikipedia Google Group
(both are official discussion lists for the Chinese Wikipedia):
Wikizh-l thread: (in Chinese)
zh.wikipedia thread (in Chinese):
The two threads are still early in discussion, but commenters so far
support adopting the latest MediaWiki version, but they also pointed
out a bug that needs to be resolved (Chinese text should be converted
to either all-simplified or all-traditional before PDF creation):
Previously there was another bug (Chinese lines don't wrap
automatically) and it was resolved:
From this resolved bug report you can find the relevant developers of
MediaWiki's PDF creation feature (PediaPress).
On Sat, Mar 3, 2012 at 6:58 AM, Samuel Klein <meta.sj(a)gmail.com> wrote:
> Well, I think Shizhao is subscribed to this list :-) but I cc: him
> just in case.
> This sounds like a reasonable request. Can one of the developers
> involved comment on the situation?
> Ziyuan: can you post a link to the discussion on the chinese wikipedia
> about whether to upgrade?
> On Wed, Feb 22, 2012 at 2:24 PM, Yao Ziyuan <yaoziyuan(a)gmail.com> wrote:
>> On Thu, Feb 23, 2012 at 3:21 AM, Pharos <pharosofalexandria(a)gmail.com>
>>> Side question:
>>> Does Chinese Wikipedia indeed have an elected or consensus "leader"
>>> some sort?
>> Dunno, but he seems to be the community organizer.
>>> On Wed, Feb 22, 2012 at 1:59 PM, Yao Ziyuan <yaoziyuan(a)gmail.com>
>>>> Hi All,
>>>> I think you guys can all see how useful it would be if the Chinese
>>>> Wikipedia also has the ebook/PDF creation feature as seen on other
>>>> language Wikipedias. Some countries don't always let their people
>>>> visit Wikipedia, so ebooks can be an alternative.
>>>> We have tried to solve this bug that prevents the Chinese/Japanese
>>>> Wikipedias from having this feature:
>>>> The relevant developers (PediaPress) have solved the bug to some
>>>> extent, but Shi Zhao, leader of the Chinese Wikipedia, still doesn't
>>>> think the resulting Chinese PDF files are good enough, so the Chinese
>>>> Wikipedia has not yet upgraded to the latest MediaWiki software to get
>>>> this feature.
>>>> My two suggestions:
>>>> (1) Persuade Shi Zhao to adopt the latest MediaWiki software, which
>>>> can generate ebook/PDFs for the Chinese Wikipedia, although the page
>>>> layout is not perfect.
>>>> (2) Or find another organization than PediaPress to provide this
>>>> feature, because PediaPress refuses to adopt a more Unicode-friendly
>>>> PDF code library that provides better Chinese PDF rendering.
>>>> Ziyuan Yao
>>>> foundation-l mailing list
>>>> Unsubscribe: https://lists.wikimedia.org/mailman/listinfo/foundation-l
>>> foundation-l mailing list
>>> Unsubscribe: https://lists.wikimedia.org/mailman/listinfo/foundation-l
>> foundation-l mailing list
>> Unsubscribe: https://lists.wikimedia.org/mailman/listinfo/foundation-l
> Samuel Klein identi.ca:sj w:user:sj +1 617 529 4266
> foundation-l mailing list
> Unsubscribe: https://lists.wikimedia.org/mailman/listinfo/foundation-l