Extension talk:Collection/2021
Add topicThis page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
![]() | This is the talk page for the MediaWiki page about the Collection extension. It is not a support forum for problems with the extension itself or with the accompanying Python libraries mwlib and mwlib.rl or OCG. |
![]() Archives
|
---|
Der Buchgenerator wird Änderungen unterzogen Aufgrund mehrerer Probleme mit unserem vorhandenen System unterstützt der Buchgenerator das Speichern von Büchern als PDF-Datei nicht mehr.
[edit]Hello @all,
i have fresh installed Mediawiki 1.35.1 and the lates Collection Version.
I can start the bookgenerator but the i get the Messages:
Der Buchgenerator wird Änderungen unterzogen
[edit]Aufgrund mehrerer Probleme mit unserem vorhandenen System unterstützt der Buchgenerator das Speichern von Büchern als PDF-Datei nicht mehr.
The book generator is undergoing changes
Due to several problems with our existing system, the book generator no longer supports saving books as PDF files.
What can i do?
Many thanks in advances
TBC 80.153.130.71 (talk) 13:29, 16 February 2021 (UTC)
- The same error is on that wiki here if you would like to create a book! TBC bob (talk) 15:52, 16 February 2021 (UTC)
Foreign character support?
[edit]Hi all,
Hopefully someone can guide me on this topic. I recently installed the Collection extension in our MW 1.28 environment but I am seeing some issues when exporting pages which contain foreign characters as PDFs. Have a look:
This:
回答が遅くなっておりまして申し訳ありません。 1つ目のご質問について、現在調査中のため、回答までお時間をいただけます ようお願いいたします。
Turns into this:
https : //ibb.co/WGBxdqs
I've read through the extension doc as well as the mwlib doc but I've been unable to resolve the issue. Is there something else I'm missing, a font, a setting, anything?
Thanks! Mcb570 (talk) 21:07, 5 March 2021 (UTC)
- OK, so this definitely appears to be a missing font issues...however when I installed missing fonts and symlinked the issue remains.
- ln -s /usr/share/fonts/truetype/* /mwlibfonts/
- Are any additional edits required for fontconfig.py? github.com/pediapress/mwlib.rl/blob/master/mwlib/rl/fontconfig.py
- Any help greatly appreciated! Mcb570 (talk) 19:16, 6 March 2021 (UTC)
- figured it out... /mwlibfonts/ was at the root not ~/mwlibfonts/ moving the font symlinks to the root user's home fixed it.
- Now for unicode support...
- 🦄 = ᾘ?
- Any thoughts on an additional font package required to handle this? Mcb570 (talk) 20:12, 6 March 2021 (UTC)
- AFAIK, emojis have never worked so far. If you want to dive into that, you can either add an Emoji font like Symbola (Download) but this will only give you only black and white Emojis.
- For color Emojis, you could look into a package like Emojipy or Emoji to bring Emoji capabilities to Reportlab. This six year Blogpost outlines the approach. Ckepper (talk) 07:49, 8 March 2021 (UTC)
- Thank you for the pointers, I'll have a look. Mcb570 (talk) 13:30, 16 March 2021 (UTC)
Following redirects
[edit]Hello,
Is there a switch to force Collection to follow page redirects when rendering books? As of now it only prints #REDIRECT [[Target page]]
.
Thanks!
I don't know about the software, but the best thing to do is to is to edit the Book page and correct the link, using
[[Correct destination page|Chapter title]]
. ~~~~
Tinss (talk) 12:01, 17 March 2021 (UTC)
- Yes, that is what i'm doing at the moment. But the books we use have hundreds of pages and many of those pages often change names. Tinss (talk) 17:50, 17 March 2021 (UTC)