Book tool: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
m Undo revision 17631470 by Md Sumon Haque (talk)
Tag: Undo
m Reverted edits by 2001:FB1:155:EB62:FCC1:7B01:800D:DD62 (talk) to last revision by 98.97.176.104: reverting vandalism
 
(15 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<languages />
<languages />
{{TNT|Nav book tool}}
{{Nav book tool}}
[[File:PediaPress Books - interior_2.jpg|thumb|right|360px|Printed Wikipedia-books]]
[[File:PediaPress Books - interior 2.jpg|thumb|right|360px|Printed Wikipedia-books]]


<translate>
<translate>
<!--T:1-->
<!--T:1-->
It is planned to roll out the [[mw:Extension:Collection|Collection Extension]] in more WMF projects, which allows article collation and [[en:PDF|PDF]] conversion. This page aims to guide communities to a successful deployment of this extension. It thereby focuses on Wikipedia in its various languages. To get an impression on how this tool works visit [[en:Help:Books|en.wikipedia.org]] and look for "Print/export" > "create a book" in the sidebar.</translate>
It is planned to roll out the [[<tvar name="1">mw:Special:MyLanguage/Extension:Collection</tvar>|Collection Extension]] in more WMF projects, which allows article collation and [[en:PDF|PDF]] conversion. This page aims to guide communities to a successful deployment of this extension. It thereby focuses on Wikipedia in its various languages. To get an impression on how this tool works visit [[en:Help:Books|en.wikipedia.org]] and look for "Print/export" > "create a book" in the sidebar.</translate>


== <translate><!--T:2-->
== <translate><!--T:2--> Introduction</translate> ==
<translate><!--T:3--> This tool allows users to organize personal selections of pages in a book. Books can be:</translate>
Introduction</translate> ==
<translate><!--T:3-->
* <translate><!--T:4--> edited & structured using chapters</translate>
* <translate><!--T:5--> persisted & loaded, shared</translate>
This tool allows users to organize personal selections of pages in a book. Books can be:</translate>
* <translate><!--T:6--> rendered as PDF ([<tvar name="1">https://upload.wikimedia.org/wikipedia/commons/9/93/Solar_system_final.pdf</tvar> example])</translate>
* <translate><!--T:4-->
edited & structured using chapters</translate>
* <translate><!--T:7--> exported as ODF Text Document</translate>
* <translate><!--T:8--> ordered as a printed book with PediaPress ([<tvar name="1">http://pediapress.com/resources/images/samplebook/samplebook.pdf</tvar> example])</translate>
* <translate><!--T:5-->
persisted & loaded, shared</translate>
* <translate><!--T:6-->
rendered as PDF ([//upload.wikimedia.org/wikipedia/commons/9/93/Solar_system_final.pdf example])</translate>
* <translate><!--T:7-->
exported as ODF Text Document</translate>
* <translate><!--T:8-->
ordered as a printed book with PediaPress ([http://pediapress.com/resources/images/samplebook/samplebook.pdf example])</translate>


<translate><!--T:9-->
<translate>
<!--T:9-->
See this press release [[:wmf:Wikis_Go_Printable|Wikis Go Printable]] for more information on this project.</translate>
See this press release [[:wmf:Wikis Go Printable|Wikis Go Printable]] for more information on this project.
<!--T:10-->
The extension has been tested on *.wikibooks.org since October 2008 and is live in the German Wikipedia since January 27th 2009. Further deployments are [[<tvar name="1">Book tool/Schedule</tvar>|scheduled]].
<translate><!--T:10-->
</translate>
The extension has been tested on *.wikibooks.org since October 2008 and is live in the German Wikipedia since January 27th 2009. Further deployments are [[/Schedule|scheduled]].</translate>


== <translate><!--T:11-->
== <translate><!--T:11--> HowTo</translate> ==
HowTo</translate> ==


<translate><!--T:12-->
<translate><!--T:12-->
You may be visiting this page since you were notified your Wikipedia will deploy this extension soon. Some things need to be setup and these pages ([[Special:PrefixIndex/Book tool/|see all]]) try to be a guide.</translate>
You may be visiting this page since you were notified your Wikipedia will deploy this extension soon. Some things need to be setup and these pages ([[<tvar name="1">Special:PrefixIndex/Book tool/</tvar>|see all]]) try to be a guide.</translate>


* <translate><!--T:13--> Translating the Help. There are four help pages needing translation. See <tvar name="1">[[#Pages used by this extension]]</tvar> for suggestions on where to create these pages in your wiki.</translate>
* <translate><!--T:13-->
** [[Special:MyLanguage/Book tool/Help/Books|<translate><!--T:14--> Books</translate>]]
Translating the Help. There are four help pages needing translation. See [[#Pages used by this extension]] for suggestions on where to create these pages in your wiki.</translate>
** [[Special:MyLanguage/Book tool/Help/Books|<translate><!--T:14-->
** [[Special:MyLanguage/Book tool/Help/Books/for experts|<translate><!--T:15--> for experts</translate>]]
** [[Special:MyLanguage/Book tool/Help/Books/Frequently Asked Questions|<translate><!--T:16--> Frequently Asked Questions</translate>]]
Books</translate>]]
** [[Special:MyLanguage/Book tool/Help/Books/for experts|<translate><!--T:15-->
** [[Special:MyLanguage/Book tool/Help/Books/Feedback|<translate><!--T:17--> Feedback</translate>]]
* <translate><!--T:18--> Translating the Book tool quick tutorial page</translate>
for experts</translate>]]
** [[Special:MyLanguage/Book tool/Help/Books/Frequently Asked Questions|<translate><!--T:16-->
**[[Special:MyLanguage/Book tool/Book tool text page|<translate><!--T:19--> Book tool text page</translate>]]
*: <translate><!--T:20--> Regarding the Feedback page, there will probably be lots of feedback and you need to find a way to filter and forward translated issues to the English [[<tvar name="1">Book tool/Feedback</tvar>|Feedback]] page on meta. See [[#Reporting Bugs, Collecting Feedback & Getting Help]] for more info. Furthermore, some users often use the Help page discussion to comment on the tool, not on the Help.</translate>
Frequently Asked Questions</translate>]]
*: <translate><!--T:21--> A link to the feedback page at the top of the discussion pages solves this.</translate>
** [[Special:MyLanguage/Book tool/Help/Books/Feedback|<translate><!--T:17-->
*: <translate><!--T:22--> Hint for translators: Give this extension a test drive at http://simple.wikipedia.org to get a better understanding of functions and concepts used with this extension. Also be mindful when translating the word "page" as it may refer to a wiki page (or article) as well as to a page in a PDF or printed book.</translate>
Feedback</translate>]]
* <translate><!--T:23--> Create other related pages, categories and templates. Best once extension deployed, see <tvar name="1">[[#Pages used by this extension]]</tvar>.</translate>
* <translate><!--T:18-->
* <translate><!--T:24--> Collect a list of templates with content that should be omitted in PDFs, see <tvar name="1">[[#Templates to exclude in offline exports]]</tvar>.</translate>
Translating the Book tool quick tutorial page</translate>
**[[Special:MyLanguage/Book tool/Book tool text page|<translate><!--T:19-->
Book tool text page</translate>]]
*: <translate><!--T:20-->
Regarding the Feedback page, there will probably be lots of feedback and you need to find a way to filter and forward translated issues to the English [[/Feedback|Feedback]] page on meta. See [[#Reporting Bugs, Collecting Feedback & Getting Help]] for more info. Furthermore, some users often use the Help page discussion to comment on the tool, not on the Help.</translate>
*: <translate><!--T:21-->
A link to the feedback page at the top of the discussion pages solves this.</translate>
*: <translate><!--T:22-->
Hint for translators: Give this extension a test drive at http://simple.wikipedia.org to get a better understanding of functions and concepts used with this extension. Also be mindful when translating the word "page" as it may refer to a wiki page (or article) as well as to a page in a PDF or printed book.</translate>
* <translate><!--T:23-->
Create other related pages, categories and templates. Best once extension deployed, see [[#Pages used by this extension]].</translate>
* <translate><!--T:24-->
Collect a list of templates with content that should be omitted in PDFs, see [[#Templates to exclude in offline exports]].</translate>


<translate><!--T:25-->
<translate><!--T:25--> Once these basics are done there are some optional improvements possible:</translate>
* <translate><!--T:140--> Consider managing books to the benefit of all users, see <tvar name="1">[[#Organizing stored books]]</tvar></translate>
Once these basics are done there are some optional improvements possible:</translate>
* <translate><!--T:141--> Prepare MainPage for visitors brought by press coverage, see <tvar name="1">[[#Preparing MainPage]]</tvar></translate>
* Consider managing books to the benefit of all users, see [[#Organizing stored books]]
* Prepare MainPage for visitors brought by press coverage, see [[#Preparing MainPage]]


== <translate><!--T:26-->
== <translate><!--T:26--> Concepts</translate> ==
Concepts</translate> ==
; <translate><!--T:27--> book</translate>
: <translate><!--T:28--> usually refers to a collection of pages (optionally with chapters, title, subtitle), may also refer to a derived PDF, a printed book or a stored book.</translate>
; <translate><!--T:27-->
book</translate>
; <translate><!--T:29--> transient book</translate>
: <translate><!--T:30--> a collection of articles, remembered in the current browser session. The list of articles of a ''transient book'' can be seen at <nowiki>[[Special:Book]]</nowiki>.</translate>
: <translate><!--T:28-->
; <translate><!--T:31--> stored book</translate>
usually refers to a collection of pages (optionally with chapters, title, subtitle), may also refer to a derived PDF, a printed book or a stored book.</translate>
: <translate><!--T:32--> a stored collection of articles, persisted on a regular wikipage, either in the user namespace (<nowiki>[[User:Name/Books/Bookname]]</nowiki>) or the global namespace (<nowiki>[[Wikipedia:Books/Bookname]]</nowiki>). Stored books can be loaded. The ''transient book'' then is a copy of the ''stored book''.</translate>
; <translate><!--T:29-->
transient book</translate>
; <translate><!--T:33--> book page</translate>
: <translate><!--T:34--> usually refers to <nowiki>[[Special:Book]]</nowiki> where all articles of a ''transient book'' are listed and the ''book'' can be modified, saved, ordered, exported. May also refer to a ''stored book''.</translate>
: <translate><!--T:30-->
; <translate><!--T:35--> (book) portlet</translate>
a collection of articles, remembered in the current browser session. The list of articles of a ''transient book'' can be seen at <nowiki>[[Special:Book]]</nowiki>.</translate>
: <translate><!--T:36--> "create book" entitled box in the sidebar (encapsulates 'add/remove article'-, 'Show book (N articles)'-, 'Load book'-, 'remove book'-, 'Books help'-links).</translate>
; <translate><!--T:31-->
stored book</translate>
; <translate><!--T:37--> book help</translate>
: <translate><!--T:38--> The main <nowiki>[[Help:Books]]</nowiki> page linked from the ''portlet''.</translate>
: <translate><!--T:32-->
; <translate><!--T:39--> "offline export", "export", "in print", "print version", ...</translate>
a stored collection of articles, persisted on a regular wikipage, either in the user namespace (<nowiki>[[User:Name/Books/Bookname]]</nowiki>) or the global namespace (<nowiki>[[Wikipedia:Books/Bookname]]</nowiki>). Stored books can be loaded. The ''transient book'' then is a copy of the ''stored book''.</translate>
: <translate><!--T:40--> refers to an export of a ''book'' either digitally (PDF, ODF) or physically (printed book).</translate>
; <translate><!--T:33-->
; <translate><!--T:41--> "Suggestions", "Suggested pages"</translate>
book page</translate>
: <translate><!--T:42--> refers to a feature that suggests pages that are related to the current set of pages in the book.</translate>
: <translate><!--T:34-->
usually refers to <nowiki>[[Special:Book]]</nowiki> where all articles of a ''transient book'' are listed and the ''book'' can be modified, saved, ordered, exported. May also refer to a ''stored book''.</translate>
; <translate><!--T:35-->
(book) portlet</translate>
: <translate><!--T:36-->
"create book" entitled box in the sidebar (encapsulates 'add/remove article'-, 'Show book (N articles)'-, 'Load book'-, 'remove book'-, 'Books help'-links).</translate>
; <translate><!--T:37-->
book help</translate>
: <translate><!--T:38-->
The main <nowiki>[[Help:Books]]</nowiki> page linked from the ''portlet''.</translate>
; <translate><!--T:39-->
"offline export", "export", "in print", "print version", ...</translate>
: <translate><!--T:40-->
refers to an export of a ''book'' either digitally (PDF, ODF) or physically (printed book).</translate>
; <translate><!--T:41-->
"Suggestions", "Suggested pages"</translate>
: <translate><!--T:42-->
refers to a feature that suggests pages that are related to the current set of pages in the book.</translate>


==== <translate><!--T:43-->
==== <translate><!--T:43--> Changing the localization</translate> ====
: <translate><!--T:44--> '''Try to get concepts right.''' For example "Show Book (19 ''pages'')" may be misinterpreted as if the PDF will have 19 ''pages'' although it will be based on 19 ''articles'' and probably will have lots more pages in a PDF or printed book. What does ''clear book'' refer to if one just loaded a ''stored book'' which now is also a ''transient book''?</translate>
Changing the localization</translate> ====
: <translate><!--T:44-->
'''Try to get concepts right.''' For example "Show Book (19 ''pages'')" may be misinterpreted as if the PDF will have 19 ''pages'' although it will be based on 19 ''articles'' and probably will have lots more pages in a PDF or printed book. What does ''clear book'' refer to if one just loaded a ''stored book'' which now is also a ''transient book''?</translate>


<translate><!--T:45-->
<translate>
<!--T:45-->
If you need to change messages, either change them in [http://translatewiki.net/w/i.php?title=Special:Translate&group=ext-collection-0-all translatewiki.net (ext-collection)] (effective after the next software update) or change them for the wiki by visiting <nowiki>[[Special:Allmessages]]</nowiki> and filtering for "coll-*" to see all related messages. A quick look at the [http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Collection/Collection.body.php?view=markup source] may help to find the right message identifier if in doubt.</translate>
If you need to change messages, either change them in [<tvar name="1">http://translatewiki.net/w/i.php?title=Special:Translate&group=ext-collection-0-all translatewiki.net</tvar> (ext-collection)] (effective after the next software update) or change them for the wiki by visiting <tvar name="2"><nowiki>[[Special:Allmessages]]</nowiki></tvar> and filtering for "coll-*" to see all related messages. A quick look at the [<tvar name="3">http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Collection/Collection.body.php?view=markup</tvar> source] may help to find the right message identifier if in doubt.


<translate><!--T:46-->
<!--T:46-->
Note: The metaphor ''book'' works good for most wikis. But it does not on *.wikibooks.org where it clashes with their concept of ''book''. If you alter translations in translatewiki.net it might be good to notify all projects (e.g. wikibook) using the same language.</translate>
Note: The metaphor ''book'' works good for most wikis. But it does not on *.wikibooks.org where it clashes with their concept of ''book''. If you alter translations in translatewiki.net it might be good to notify all projects (e.g. wikibook) using the same language.


<translate><!--T:47-->
<!--T:47-->
The localization of messages used in generated PDFs can also be change in [http://translatewiki.net/w/i.php?title=Special:Translate&group=out-mwlibrl translatewiki.net (mwlibrl)].</translate>
The localization of messages used in generated PDFs can also be change in <tvar name="1">[http://translatewiki.net/w/i.php?title=Special:Translate&group=out-mwlibrl translatewiki.net (mwlibrl)]</tvar>.</translate>


: <translate><!--T:48--> '''Double check with translatewiki.net''' to verify all system messages used in this extension are translated for your language.</translate>
: <translate><!--T:48-->
'''Double check with translatewiki.net''' to verify all system messages used in this extension are translated for your language.</translate>


== <translate><!--T:49-->
== <translate><!--T:49--> Pages used by this extension</translate>==
Pages used by this extension</translate>==
<translate>
<translate><!--T:50-->
<!--T:50-->
List of all pages, categories, templates that should be created.</translate>
List of all pages, categories, templates that should be created.
</translate>


=== <translate><!--T:51-->
=== <translate><!--T:51--> Pages</translate> ===
; <translate><!--T:52--> <code><nowiki>[[Special:Book?bookcmd=book_creator]]</nowiki></code> (requires no creation)</translate>
Pages</translate> ===
: <translate><!--T:53--> A special introduction page (the page shown when a user clicks on "Create a book") which allows to enable the "book creator" and transcludes a short help page. The name of this help page can be set in <code>coll-book_creator_text_article</code> The default is: <code>{{MediaWiki:Coll-helppage}}/Book creator text</code> i.e. a subpage of the configured help page named "Book creator text".</translate>
; <translate><!--T:52-->
<code><nowiki>[[Special:Book?bookcmd=book_creator]]</nowiki></code> (requires no creation)</translate>
; <translate><!--T:54--> <code><nowiki>[[Special:Book]]</nowiki></code> (requires no creation)</translate>
: <translate><!--T:55--> A special page which allows all major interactions on ''transient books''.</translate>
: <translate><!--T:53-->
; <translate><!--T:56--> <code><nowiki>[[Special:Book/rendering]]</nowiki></code> (requires no creation)</translate>
A special introduction page (the page shown when a user clicks on "Create a book") which allows to enable the "book creator" and transcludes a short help page. The name of this help page can be set in <code>coll-book_creator_text_article</code> The default is: <code>{{MediaWiki:Coll-helppage}}/Book creator text</code> i.e. a subpage of the configured help page named "Book creator text".</translate>
: <translate><!--T:57--> The ''rendering page'' shows a progress while the document is generated. Once finished it shows a download link to the document. It might also show an error if the rendering failed. Text can be configured in <code>coll-rendering_text</code>, <code>coll-rendering_article</code>, <code>coll-rendering_status</code>, <code>coll-rendering_page</code>, <code>coll-rendering_finished_text</code>, <code>coll-is_cached</code>, <code>coll-excluded_templates</code>, <code>coll-blacklisted_templates</code>.</translate>
; <translate><!--T:54-->
<code><nowiki>[[Special:Book]]</nowiki></code> (requires no creation)</translate>
; <translate><!--T:58--> <code><nowiki>[[Special:Book/load_collection]]</nowiki></code> (requires no creation)</translate>
: <translate><!--T:59--> Used when loading ''stored books''. Visible to the user only if one wants to load a book although another one exists in the session. Text can be configured in <code>coll-load_overwrite_text</code>, <code>coll-overwrite</code>, <code>coll-append</code>, <code>coll-cancel</code></translate>
: <translate><!--T:55-->
; <translate><!--T:60--> <code><nowiki>[[Help:Books]]</nowiki></code></translate>
A special page which allows all major interactions on ''transient books''.</translate>
: <translate><!--T:61--> Main help page ([[<tvar name="1">Book tool/Help/Books</tvar>|example]]) for this tool, linked from the portlet. Its location can be configured in the system message <code>coll-helppage</code></translate>
; <translate><!--T:56-->
: <translate><!--T:62--> All templates linked from this page will be excluded in print. It is recommended to '''not''' use this feature as it is a centralized and inflexible approach. The <nowiki>[[Category:Exclude in print]]</nowiki> is suggest instead (see below). Location can be changed in <tvar name="1"><code>coll-template_blacklist_title</code></tvar>.</translate>
<code><nowiki>[[Special:Book/rendering]]</nowiki></code> (requires no creation)</translate>
: <translate><!--T:57-->
The ''rendering page'' shows a progress while the document is generated. Once finished it shows a download link to the document. It might also show an error if the rendering failed. Text can be configured in <code>coll-rendering_text</code>, <code>coll-rendering_article</code>, <code>coll-rendering_status</code>, <code>coll-rendering_page</code>, <code>coll-rendering_finished_text</code>, <code>coll-is_cached</code>, <code>coll-excluded_templates</code>, <code>coll-blacklisted_templates</code>.</translate>
; <translate><!--T:58-->
<code><nowiki>[[Special:Book/load_collection]]</nowiki></code> (requires no creation)</translate>
: <translate><!--T:59-->
Used when loading ''stored books''. Visible to the user only if one wants to load a book although another one exists in the session. Text can be configured in <code>coll-load_overwrite_text</code>, <code>coll-overwrite</code>, <code>coll-append</code>, <code>coll-cancel</code></translate>
; <translate><!--T:60-->
<code><nowiki>[[Help:Books]]</nowiki></code></translate>
: <translate><!--T:61-->
Main help page ([[/Help/Books|example]]) for this tool, linked from the portlet. Its location can be configured in the system message <code>coll-helppage</code></translate>
: <translate><!--T:62-->
All templates linked from this page will be excluded in print. It is recommended to '''not''' use this feature as it is a centralized and inflexible approach. The <nowiki>[[Category:Exclude in print]]</nowiki> is suggest instead (see below). Location can be changed in <code>coll-template_blacklist_title</code>.</translate>


=== <translate><!--T:63-->
=== <translate><!--T:63--> Categories</translate> ===
; <translate><!--T:64--> <code><nowiki>[[Category:Wikipedia:Book tool]]</nowiki></code></translate>
Categories</translate> ===
; <translate><!--T:64-->
: <translate><!--T:65--> Used to store all documentation and related pages and templates.</translate>
<code><nowiki>[[Category:Wikipedia:Book tool]]</nowiki></code></translate>
; <translate><!--T:66--> <code><nowiki>[[Category:Wikipedia:Books]]</nowiki></code></translate>
: <translate><!--T:67--> Category which tracks all ''stored books''. This category is special as all included pages can be ''loaded'' as a book by a "load book"-link which appears in the portlet if one visits a page in this category. That said ''stored books'' are automatically added at creation time, while non-''stored book'' pages should not exist in this category. Can be configured by <code>coll-bookscategory</code>. You probably want to '''change this message''' to "Wikipedia:Books" (category "Books" is the default).</translate>
: <translate><!--T:65-->
; <translate><!--T:68--> <code><nowiki>[[Category:Exclude in print]]</nowiki></code></translate>
Used to store all documentation and related pages and templates.</translate>
: <translate><!--T:69--> Used to track all templates that inject information which is useless or distracting in exports (see [[#Templates to exclude in offline exports|below]] for some motivation). Can be configured by <code>coll-exclusion_category_title</code>.</translate>
; <translate><!--T:66-->
<code><nowiki>[[Category:Wikipedia:Books]]</nowiki></code></translate>
: <translate><!--T:67-->
Category which tracks all ''stored books''. This category is special as all included pages can be ''loaded'' as a book by a "load book"-link which appears in the portlet if one visits a page in this category. That said ''stored books'' are automatically added at creation time, while non-''stored book'' pages should not exist in this category. Can be configured by <code>coll-bookscategory</code>. You probably want to '''change this message''' to "Wikipedia:Books" (category "Books" is the default).</translate>
; <translate><!--T:68-->
<code><nowiki>[[Category:Exclude in print]]</nowiki></code></translate>
: <translate><!--T:69-->
Used to track all templates that inject information which is useless or distracting in exports (see [[#Templates to exclude in offline exports|below]] for some motivation). Can be configured by <code>coll-exclusion_category_title</code>.</translate>


=== <translate><!--T:70-->
=== <translate><!--T:70--> Templates</translate> ===
; <translate><!--T:71--> <code><nowiki>[[Template:Saved book]]</nowiki></code></translate>
Templates</translate> ===
: <translate><!--T:72--> This template ([[<tvar name="1">Book tool/Templates/saved book</tvar>|example]]) is automatically included at the top of every ''stored book''. It can be customized to make a ''stored book''-page more appealing and to hold some metadata. Location can be configured by <code>coll-savedbook_template</code>.</translate>
; <translate><!--T:71-->
<code><nowiki>[[Template:Saved book]]</nowiki></code></translate>
; <translate><!--T:73--> <code><nowiki>[[Template:Hide in print]]</nowiki></code></translate>
: <translate><!--T:74--> This template ([[<tvar name="1">Book tool/Templates/Hide in print</tvar>|example]]) returns all markup that was passed in the first parameter (read: does nothing). If added to the <nowiki>[[Category:Exclude in print]]</nowiki> it allows to selectively omit content in printed books or PDFs. Very handy! You can name this whatever you like, but don't forget to add it to the category and document/link it in the expert's help. Note: This template received quick adoption and soon was one of the most included templates, so you might want to protect it.</translate>
: <translate><!--T:72-->
; <translate><!--T:75--> <code><nowiki>[[Template:Only in print]]</nowiki></code> and <code><nowiki>[[Template:PrintOnly in print]]</nowiki></code></translate>
This template ([[/Templates/saved book|example]]) is automatically included at the top of every ''stored book''. It can be customized to make a ''stored book''-page more appealing and to hold some metadata. Location can be configured by <code>coll-savedbook_template</code>.</translate>
: <translate><!--T:76--> This template ([[<tvar name="1">Book tool/Templates/Only in print</tvar>|example]]) returns '''none''' of the markup that was passed in the first parameter, while the corresponding <nowiki>[[</nowiki>Template:Only in print'''/Print'''<nowiki>]]</nowiki> ([[<tvar name="2">Book tool/Templates/PrintOnly in print</tvar>|example]]) returns the passed markup. See [[<tvar name="3">Book tool/Help/Books/for experts</tvar>|Help for experts]] for more on the '''*/Print'''-subpage used to substitute templates in print. The prefix which is used to substitute templates in print can be configured by <tvar name="4"><code>coll-print_template_prefix</code></tvar>.</translate>
; <translate><!--T:73-->
<code><nowiki>[[Template:Hide in print]]</nowiki></code></translate>
: <translate><!--T:74-->
This template ([[/Templates/Hide in print|example]]) returns all markup that was passed in the first parameter (read: does nothing). If added to the <nowiki>[[Category:Exclude in print]]</nowiki> it allows to selectively omit content in printed books or PDFs. Very handy! You can name this whatever you like, but don't forget to add it to the category and document/link it in the expert's help. Note: This template received quick adoption and soon was one of the most included templates, so you might want to protect it.</translate>
; <translate><!--T:75-->
<code><nowiki>[[Template:Only in print]]</nowiki></code> and <code><nowiki>[[Template:PrintOnly in print]]</nowiki></code></translate>
: <translate><!--T:76-->
This template ([[/Templates/Only in print|example]]) returns '''none''' of the markup that was passed in the first parameter, while the corresponding <nowiki>[[</nowiki>Template:Only in print'''/Print'''<nowiki>]]</nowiki> ([[/Templates/PrintOnly in print|example]]) returns the passed markup. See [[/Help/Books/for experts|Help for experts]] for more on the '''*/Print'''-subpage used to substitute templates in print. The prefix which is used to substitute templates in print can be configured by <code>coll-print_template_prefix</code>.</translate>


== <translate><!--T:77-->
== <translate><!--T:77--> Setting a custom license source</translate> ==
Setting a custom license source</translate> ==
<translate><!--T:78--> Some communities may want to add some extra text to the license in the PDF.</translate>
<translate><!--T:79--> The license to be included in the PDF is configurable by setting <tvar name="1"><code>MediaWiki:Coll-license_url</code></tvar> to a URL which points to the raw wikitext that shall be used to render the license. By default on public Wikimedia sites this is set to <tvar name="2"><code>https://creativecommons.org/licenses/by-sa/3.0/</code>.</tvar></translate>
<translate><!--T:78-->
Some communities may want to add some extra text to the license in the PDF.</translate>
<translate><!--T:79-->
The license to be included in the PDF is configurable by setting <code>MediaWiki:Coll-license_url</code> to a URL which points to the raw wikitext that shall be used to render the license. By default on public Wikimedia sites this is set to <tvar|Wikimedia-sites-licence-URL><code>https://creativecommons.org/licenses/by-sa/3.0/</code>.</></translate>


== <translate><!--T:80-->
== <translate><!--T:80--> Templates to exclude in offline exports</translate> ==
Templates to exclude in offline exports</translate> ==
<translate>
<translate><!--T:81-->
<!--T:81-->
There are many templates with content which should be excluded in print versions. There are at least three major types:</translate>
There are many templates with content which should be excluded in print versions. There are at least three major types:
</translate>


; <translate><!--T:82-->
; <translate><!--T:82--> Maintenance messages</translate>
: <translate><!--T:83--> They are useless and distracting in offline exports as one can not contribute if offline. Examples: [[w:Wikipedia:Template messages/Maintenance|Maintenance]], [[w:Wikipedia:Template messages/Cleanup|Cleanup]]...</translate>
Maintenance messages</translate>
: <translate><!--T:83-->
; <translate><!--T:84--> Warning & hinting messages</translate>
They are useless and distracting in offline exports as one can not contribute if offline. Examples: [[w:Wikipedia:Template messages/Maintenance|Maintenance]], [[w:Wikipedia:Template messages/Cleanup|Cleanup]]...</translate>
: <translate><!--T:85--> They are useless and distracting in offline exports as users noticed them when selecting the content and choose to add it anyway. Examples: [[w:Wikipedia:Template messages/Sources of articles|Sources of articles]], [[w:Wikipedia:Template messages/Disputes|Disputes]], [[w:Wikipedia:Template messages/Deletion|Deletion]], [[w:Wikipedia:Template messages/General|General]]...</translate>
; <translate><!--T:84-->
; <translate><!--T:86--> Navigational content</translate>
: <translate><!--T:87--> Navigation links are useless and distracting in exports. Examples: [[w:Wikipedia:Template messages/Compact tables of contents|Compact TOC]], [[w:Wikipedia:Wikimedia sister projects|Wikimedia sister projects]]...</translate>
Warning & hinting messages</translate>
: <translate><!--T:85-->
They are useless and distracting in offline exports as users noticed them when selecting the content and choose to add it anyway. Examples: [[w:Wikipedia:Template messages/Sources of articles|Sources of articles]], [[w:Wikipedia:Template messages/Disputes|Disputes]], [[w:Wikipedia:Template messages/Deletion|Deletion]], [[w:Wikipedia:Template messages/General|General]]...</translate>
; <translate><!--T:86-->
Navigational content</translate>
: <translate><!--T:87-->
Navigation links are useless and distracting in exports. Examples: [[w:Wikipedia:Template messages/Compact tables of contents|Compact TOC]], [[w:Wikipedia:Wikimedia sister projects|Wikimedia sister projects]]...</translate>


<translate><!--T:88-->
<translate>
<!--T:88-->
Such templates should be marked with the CSS class <tvar|noprint><code>noprint</code></>.</translate>
Such templates should be marked with the CSS class <tvar name="noprint"><code>noprint</code></tvar>.


<translate><!--T:89-->
<!--T:89-->
It is recommended to identify and add relevant templates to this category early - before deployment if possible.</translate>
It is recommended to identify and add relevant templates to this category early - before deployment if possible.
<translate><!--T:90-->
In German Wikipedia we were able to quickly identify 130 templates by having looked at related categories. We listed them all on one page and used a bot to assign the category. Only 14 templates were identified that needed to be added manually since then.</translate>
<translate><!--T:91-->
Hint: Some templates serve as templates for others. In such cases it ''may'' be sufficient to add this (parent) template to the category; resulting in the exclusion of a whole class of templates.</translate>


== <translate><!--T:92-->
<!--T:90-->
In German Wikipedia we were able to quickly identify 130 templates by having looked at related categories. We listed them all on one page and used a bot to assign the category. Only 14 templates were identified that needed to be added manually since then.
Communicating the availability of the book creator and printed books</translate> ==
<translate><!--T:93-->
It is possible to transclude a page at the ''PDF rendering page'' which is seen by a user if she clicks on ''Download as PDF''. At this page users (who are obviously in some offline desiring state) can be introduced to the ''book creator'' and the option to get 'printed books.</translate>


<translate><!--T:94-->
<!--T:91-->
Hint: Some templates serve as templates for others. In such cases it ''may'' be sufficient to add this (parent) template to the category; resulting in the exclusion of a whole class of templates.
See [[en:Help:Books/Rendering page info text]] for an example of this page on en.wp and [//en.wikipedia.org/w/index.php?title=Special:Book&bookcmd=render_article&arttitle=Foobar&oldid=364853909&writer=rl here] to see how it looks at the ''PDF rendering page''.</translate>
</translate>


== <translate><!--T:92--> Communicating the availability of the book creator and printed books</translate> ==
<translate><!--T:95-->
<translate>
If the page exists at the location configured in this system message <code>Coll-rendering_page_info_text_article</code> ([[en:MediaWiki:Coll-rendering page info text article|example on en.wp]]), it will show up on the ''PDF rendering page''.</translate>
<!--T:93-->
It is possible to transclude a page at the ''PDF rendering page'' which is seen by a user if she clicks on ''Download as PDF''. At this page users (who are obviously in some offline desiring state) can be introduced to the ''book creator'' and the option to get 'printed books.


== <translate><!--T:96-->
<!--T:94-->
See [[en:Help:Books/Rendering page info text]] for an example of this page on en.wp and [//en.wikipedia.org/w/index.php?title=Special:Book&bookcmd=render_article&arttitle=Foobar&oldid=364853909&writer=rl here] to see how it looks at the ''PDF rendering page''.
Organizing stored books</translate> ==
<translate><!--T:97-->
While many may enjoy creating their own books, others will be pleased if they can directly access books on certain topics.</translate>


<translate><!--T:98-->
<!--T:95-->
If the page exists at the location configured in this system message <code>Coll-rendering_page_info_text_article</code> ([[en:MediaWiki:Coll-rendering page info text article|example on en.wp]]), it will show up on the ''PDF rendering page''.
The <nowiki>[[Wikipedia:Books]]</nowiki> page can be used to promote availability and accessibility of ''stored books''. There is not much experience on this topic yet but some of the ideas that came up are listed in the subsections below.</translate>
</translate>


==== <translate><!--T:99-->
== <translate><!--T:96--> Organizing stored books</translate> ==
Promoting the creation of books</translate> ====
<translate>
* <translate><!--T:100-->
<!--T:97-->
While many may enjoy creating their own books, others will be pleased if they can directly access books on certain topics.
Provide a guide on how to create "great books":</translate>
** <translate><!--T:101-->
how to choose a proper title;</translate>
** <translate><!--T:102-->
how to include a preface;</translate>
** <translate><!--T:103-->
how to choose articles;</translate>
** <translate><!--T:104-->
recommended number of articles.</translate>
* <translate><!--T:105-->
Develop guidelines for books that are allowed to exist in the global namespace. These could require (examples):</translate>
** <translate><!--T:106-->
reasonable number of included articles (e.g. more than 5 less than 200);</translate>
** <translate><!--T:107-->
having a meaningful title, subtitle;</translate>
** <translate><!--T:108-->
focused on a topic;</translate>
** <translate><!--T:109-->
reasonable quality of included articles (e.g. no disputed, stubs, candidates for deletion, etc.).</translate>
* <translate><!--T:110-->
Coordinate topics.</translate>


==== <translate><!--T:111-->
<!--T:98-->
The <nowiki>[[Wikipedia:Books]]</nowiki> page can be used to promote availability and accessibility of ''stored books''. There is not much experience on this topic yet but some of the ideas that came up are listed in the subsections below.
Making books accessible</translate> ====
* <translate><!--T:112-->
</translate>
List some books of the week/month/year.</translate>
* <translate><!--T:113-->
Label and feature the excellent books.</translate>
* <translate><!--T:114-->
Add "There is a book on this topic"-box to related articles, categories or portals.</translate>
* <translate><!--T:115-->
Link or transclude parts of the bookshelf A-Z.</translate>


==== <translate><!--T:116-->
==== <translate><!--T:99--> Promoting the creation of books</translate> ====
* <translate><!--T:100--> Provide a guide on how to create "great books":</translate>
Bookshelf</translate> ====
<translate><!--T:117-->
** <translate><!--T:101--> how to choose a proper title;</translate>
** <translate><!--T:102--> how to include a preface;</translate>
Stored books are tracked in the category <nowiki>[[Category:Wikipedia:Books]]</nowiki>, but this gets crowded rapidly (de.wp is close to 1.000 stored books - mostly in user space - created within 10 days). Further the category view allows not to display metadata or access books by topic. It would be possible to link books to categories but this would either clutter the main categories with books or require/result in a replication of the category tree in a different namespace.</translate>
** <translate><!--T:103--> how to choose articles;</translate>
** <translate><!--T:104--> recommended number of articles.</translate>
* <translate><!--T:105--> Develop guidelines for books that are allowed to exist in the global namespace. These could require (examples):</translate>
** <translate><!--T:106--> reasonable number of included articles (e.g. more than 5 less than 200);</translate>
** <translate><!--T:107--> having a meaningful title, subtitle;</translate>
** <translate><!--T:108--> focused on a topic;</translate>
** <translate><!--T:109--> reasonable quality of included articles (e.g. no disputed, stubs, candidates for deletion, etc.).</translate>
* <translate><!--T:110--> Coordinate topics.</translate>


<translate><!--T:118-->
==== <translate><!--T:111--> Making books accessible</translate> ====
* <translate><!--T:112--> List some books of the week/month/year.</translate>
There is a bot that can automatically generate a [[/Bookshelf|bookshelf]] which allows to explore books by title (A-Z) or keywords. Of course a bookshelf can be created manually also. Visit the [[/Bookshelf|bookshelf page]] for more details on the bot approach.</translate>
* <translate><!--T:113--> Label and feature the excellent books.</translate>
* <translate><!--T:114--> Add "There is a book on this topic"-box to related articles, categories or portals.</translate>
* <translate><!--T:115--> Link or transclude parts of the bookshelf A-Z.</translate>


== <translate><!--T:119-->
==== <translate><!--T:116--> Bookshelf</translate> ====
Preparing MainPage</translate> ==
<translate>
<translate><!--T:120-->
<!--T:117-->
Stored books are tracked in the category <nowiki>[[Category:Wikipedia:Books]]</nowiki>, but this gets crowded rapidly (de.wp is close to 1.000 stored books - mostly in user space - created within 10 days). Further the category view allows not to display metadata or access books by topic. It would be possible to link books to categories but this would either clutter the main categories with books or require/result in a replication of the category tree in a different namespace.
MainPages next to portals are special as they often use a multi column web layout. Such pages look really bad in rendered PDFs (fixed width constraints of portrait-layout pages). But then again this is the page which almost every user new to this tool adds first to his book.</translate>

<!--T:118-->
There is a bot that can automatically generate a [[<tvar name="1">Book tool/Bookshelf</tvar>|bookshelf]] which allows to explore books by title (A-Z) or keywords. Of course a bookshelf can be created manually also. Visit the [[<tvar name="2">Book tool/Bookshelf</tvar>|bookshelf page]] for more details on the bot approach.
</translate>

== <translate><!--T:119--> Preparing MainPage</translate> ==
<translate>
<!--T:120-->
MainPages next to portals are special as they often use a multi column web layout. Such pages look really bad in rendered PDFs (fixed width constraints of portrait-layout pages). But then again this is the page which almost every user new to this tool adds first to his book.


<translate><!--T:121-->
<!--T:121-->
A workaround to avoid premature disappointment is to prepare MainPage to look better in PDFs. This can be done by using the <nowiki>[[Hide in print]] template</nowiki> in a way that MainPage (in printed) has no table at all or consists only of on column.</translate> ''(FIXME:example)''
A workaround to avoid premature disappointment is to prepare MainPage to look better in PDFs. This can be done by using the <nowiki>[[Hide in print]] template</nowiki> in a way that MainPage (in printed) has no table at all or consists only of on column.</translate> ''(FIXME:example)''


<translate><!--T:122-->
<translate>
<!--T:122-->
Another issue is the visibility of the ''portlet''. Visitors (not you) to Wikipedia mostly simply ignore the sidebar. It might help if there is some notice about this new feature and a link to the help page on the MainPage's "News about Wikipedia"-box (if available at all) for a limited time.</translate>
Another issue is the visibility of the ''portlet''. Visitors (not you) to Wikipedia mostly simply ignore the sidebar. It might help if there is some notice about this new feature and a link to the help page on the MainPage's "News about Wikipedia"-box (if available at all) for a limited time.
</translate>


== <translate><!--T:123-->
== <translate><!--T:123--> Reporting Bugs, Collecting Feedback & Getting Help</translate> ==
Reporting Bugs, Collecting Feedback & Getting Help</translate> ==


==== <translate><!--T:124-->
==== <translate><!--T:124--> within the wiki</translate> ====
<translate><!--T:125--> There is a central [[<tvar name="1">Book tool/Feedback</tvar>|feedback page]] at meta (in english) aimed to collect all feature requests, suggestions, bug reports, questions, etc. Non-english Wikipedias may want to setup a similar page ([[<tvar name="2">Book tool/Help/Books/Feedback</tvar>|example]]) on their wiki and define some policy when and how issues are translated and escalated to the feedback page on meta.</translate>
within the wiki</translate> ====
<translate><!--T:125-->
There is a central [[/Feedback|feedback page]] at meta (in english) aimed to collect all feature requests, suggestions, bug reports, questions, etc. Non-english Wikipedias may want to setup a similar page ([[/Help/Books/Feedback|example]]) on their wiki and define some policy when and how issues are translated and escalated to the feedback page on meta.</translate>


==== <translate><!--T:126-->
==== <translate><!--T:126--> bugtracker</translate> ====
bugtracker</translate> ====


<translate><!--T:128-->
<translate>
<!--T:128-->
Use the [https://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&component=Collection component "Collection"] on bugzilla.</translate>
Use the [<tvar name="1">https://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&component=Collection</tvar> component "Collection"] on bugzilla.
</translate>


==== <translate><!--T:129-->
==== <translate><!--T:129--> IRC</translate> ====
IRC</translate> ====
<translate>
<translate><!--T:130-->
<!--T:130-->
There is an IRC channel [irc://irc.freenode.net/pediapress #pediapress] for anything related to the book tool.</translate>
There is an IRC channel <tvar name="1">{{irc|pediapress}}</tvar> for anything related to the book tool.
</translate>


== <translate><!--T:134-->
== <translate><!--T:134--> Experiences from past deployments</translate> ==
Experiences from past deployments</translate> ==


=== <translate><!--T:135-->
=== <translate><!--T:135--> German Wikipedia</translate> ===
German Wikipedia</translate> ===
<translate>
<translate><!--T:136-->
<!--T:136-->
'''What worked''': Reception of the tool was mostly positive. Many stored books were created in a short period of time. Media quickly covered this topic once there was a press release by the German chapter.</translate>
'''What worked''': Reception of the tool was mostly positive. Many stored books were created in a short period of time. Media quickly covered this topic once there was a press release by the German chapter.


<translate><!--T:137-->
<!--T:137-->
'''What didn't work''': It was planned to limit the new tool to logged-in users for the first week. Somehow this plan was not executed. As a result the feature was activated while documentation and localization were not really finished. For some users the portlet did not show up on some pages, probably due to caching. The MainPage was not print-version friendly (see above). Finally there was a slashdot effect after the popular german online news magazin Heise covered the [http://www.heise.de/newsticker/Wikipedia-mit-Print-on-Demand-Funktion--/meldung/126955 story]. The rendering server collapsed (load close to 300) instead of serving visitors.</translate>
'''What didn't work''': It was planned to limit the new tool to logged-in users for the first week. Somehow this plan was not executed. As a result the feature was activated while documentation and localization were not really finished. For some users the portlet did not show up on some pages, probably due to caching. The MainPage was not print-version friendly (see above). Finally there was a slashdot effect after the popular german online news magazin Heise covered the [<tvar name="1">http://www.heise.de/newsticker/Wikipedia-mit-Print-on-Demand-Funktion--/meldung/126955</tvar> story]. The rendering server collapsed (load close to 300) instead of serving visitors.</translate>


== <translate><!--T:138-->
== <translate><!--T:138--> Updates</translate> ==
Updates</translate> ==
<translate>
<translate><!--T:139-->
<!--T:139-->
Updates - especially those which require community attention - will be announced here.</translate>
Updates - especially those which require community attention - will be announced here.
</translate>


* October 2014: [[mw:Bug_management/Triage/201410|Book tool bug day]].
* October 2014: [[mw:Bug_management/Triage/201410|Book tool bug day]].
Line 348: Line 269:
[[Category:MediaWiki Development{{#translation:}}]]
[[Category:MediaWiki Development{{#translation:}}]]
[[Category:Book tool| ]]
[[Category:Book tool| ]]
[[Category:Tools{{#translation:}}]]
[[Category:Tools and scripts{{#translation:}}]]

Latest revision as of 02:57, 22 December 2023

Printed Wikipedia-books

It is planned to roll out the Collection Extension in more WMF projects, which allows article collation and PDF conversion. This page aims to guide communities to a successful deployment of this extension. It thereby focuses on Wikipedia in its various languages. To get an impression on how this tool works visit en.wikipedia.org and look for "Print/export" > "create a book" in the sidebar.

Introduction[edit]

This tool allows users to organize personal selections of pages in a book. Books can be:

  • edited & structured using chapters
  • persisted & loaded, shared
  • rendered as PDF (example)
  • exported as ODF Text Document
  • ordered as a printed book with PediaPress (example)

See this press release Wikis Go Printable for more information on this project.

The extension has been tested on *.wikibooks.org since October 2008 and is live in the German Wikipedia since January 27th 2009. Further deployments are scheduled.

HowTo[edit]

You may be visiting this page since you were notified your Wikipedia will deploy this extension soon. Some things need to be setup and these pages (see all) try to be a guide.

Once these basics are done there are some optional improvements possible:

Concepts[edit]

book
usually refers to a collection of pages (optionally with chapters, title, subtitle), may also refer to a derived PDF, a printed book or a stored book.
transient book
a collection of articles, remembered in the current browser session. The list of articles of a transient book can be seen at [[Special:Book]].
stored book
a stored collection of articles, persisted on a regular wikipage, either in the user namespace ([[User:Name/Books/Bookname]]) or the global namespace ([[Wikipedia:Books/Bookname]]). Stored books can be loaded. The transient book then is a copy of the stored book.
book page
usually refers to [[Special:Book]] where all articles of a transient book are listed and the book can be modified, saved, ordered, exported. May also refer to a stored book.
(book) portlet
"create book" entitled box in the sidebar (encapsulates 'add/remove article'-, 'Show book (N articles)'-, 'Load book'-, 'remove book'-, 'Books help'-links).
book help
The main [[Help:Books]] page linked from the portlet.
"offline export", "export", "in print", "print version", ...
refers to an export of a book either digitally (PDF, ODF) or physically (printed book).
"Suggestions", "Suggested pages"
refers to a feature that suggests pages that are related to the current set of pages in the book.

Changing the localization[edit]

Try to get concepts right. For example "Show Book (19 pages)" may be misinterpreted as if the PDF will have 19 pages although it will be based on 19 articles and probably will have lots more pages in a PDF or printed book. What does clear book refer to if one just loaded a stored book which now is also a transient book?

If you need to change messages, either change them in translatewiki.net (ext-collection) (effective after the next software update) or change them for the wiki by visiting [[Special:Allmessages]] and filtering for "coll-*" to see all related messages. A quick look at the source may help to find the right message identifier if in doubt.

Note: The metaphor book works good for most wikis. But it does not on *.wikibooks.org where it clashes with their concept of book. If you alter translations in translatewiki.net it might be good to notify all projects (e.g. wikibook) using the same language.

The localization of messages used in generated PDFs can also be change in translatewiki.net (mwlibrl).

Double check with translatewiki.net to verify all system messages used in this extension are translated for your language.

Pages used by this extension[edit]

List of all pages, categories, templates that should be created.

Pages[edit]

[[Special:Book?bookcmd=book_creator]] (requires no creation)
A special introduction page (the page shown when a user clicks on "Create a book") which allows to enable the "book creator" and transcludes a short help page. The name of this help page can be set in coll-book_creator_text_article The default is: Help:Books/Book creator text i.e. a subpage of the configured help page named "Book creator text".
[[Special:Book]] (requires no creation)
A special page which allows all major interactions on transient books.
[[Special:Book/rendering]] (requires no creation)
The rendering page shows a progress while the document is generated. Once finished it shows a download link to the document. It might also show an error if the rendering failed. Text can be configured in coll-rendering_text, coll-rendering_article, coll-rendering_status, coll-rendering_page, coll-rendering_finished_text, coll-is_cached, coll-excluded_templates, coll-blacklisted_templates.
[[Special:Book/load_collection]] (requires no creation)
Used when loading stored books. Visible to the user only if one wants to load a book although another one exists in the session. Text can be configured in coll-load_overwrite_text, coll-overwrite, coll-append, coll-cancel
[[Help:Books]]
Main help page (example) for this tool, linked from the portlet. Its location can be configured in the system message coll-helppage
All templates linked from this page will be excluded in print. It is recommended to not use this feature as it is a centralized and inflexible approach. The [[Category:Exclude in print]] is suggest instead (see below). Location can be changed in coll-template_blacklist_title.

Categories[edit]

[[Category:Wikipedia:Book tool]]
Used to store all documentation and related pages and templates.
[[Category:Wikipedia:Books]]
Category which tracks all stored books. This category is special as all included pages can be loaded as a book by a "load book"-link which appears in the portlet if one visits a page in this category. That said stored books are automatically added at creation time, while non-stored book pages should not exist in this category. Can be configured by coll-bookscategory. You probably want to change this message to "Wikipedia:Books" (category "Books" is the default).
[[Category:Exclude in print]]
Used to track all templates that inject information which is useless or distracting in exports (see below for some motivation). Can be configured by coll-exclusion_category_title.

Templates[edit]

[[Template:Saved book]]
This template (example) is automatically included at the top of every stored book. It can be customized to make a stored book-page more appealing and to hold some metadata. Location can be configured by coll-savedbook_template.
[[Template:Hide in print]]
This template (example) returns all markup that was passed in the first parameter (read: does nothing). If added to the [[Category:Exclude in print]] it allows to selectively omit content in printed books or PDFs. Very handy! You can name this whatever you like, but don't forget to add it to the category and document/link it in the expert's help. Note: This template received quick adoption and soon was one of the most included templates, so you might want to protect it.
[[Template:Only in print]] and [[Template:PrintOnly in print]]
This template (example) returns none of the markup that was passed in the first parameter, while the corresponding [[Template:Only in print/Print]] (example) returns the passed markup. See Help for experts for more on the */Print-subpage used to substitute templates in print. The prefix which is used to substitute templates in print can be configured by coll-print_template_prefix.

Setting a custom license source[edit]

Some communities may want to add some extra text to the license in the PDF. The license to be included in the PDF is configurable by setting MediaWiki:Coll-license_url to a URL which points to the raw wikitext that shall be used to render the license. By default on public Wikimedia sites this is set to https://creativecommons.org/licenses/by-sa/3.0/.

Templates to exclude in offline exports[edit]

There are many templates with content which should be excluded in print versions. There are at least three major types:

Maintenance messages
They are useless and distracting in offline exports as one can not contribute if offline. Examples: Maintenance, Cleanup...
Warning & hinting messages
They are useless and distracting in offline exports as users noticed them when selecting the content and choose to add it anyway. Examples: Sources of articles, Disputes, Deletion, General...
Navigational content
Navigation links are useless and distracting in exports. Examples: Compact TOC, Wikimedia sister projects...

Such templates should be marked with the CSS class noprint.

It is recommended to identify and add relevant templates to this category early - before deployment if possible.

In German Wikipedia we were able to quickly identify 130 templates by having looked at related categories. We listed them all on one page and used a bot to assign the category. Only 14 templates were identified that needed to be added manually since then.

Hint: Some templates serve as templates for others. In such cases it may be sufficient to add this (parent) template to the category; resulting in the exclusion of a whole class of templates.

Communicating the availability of the book creator and printed books[edit]

It is possible to transclude a page at the PDF rendering page which is seen by a user if she clicks on Download as PDF. At this page users (who are obviously in some offline desiring state) can be introduced to the book creator and the option to get 'printed books.

See en:Help:Books/Rendering page info text for an example of this page on en.wp and here to see how it looks at the PDF rendering page.

If the page exists at the location configured in this system message Coll-rendering_page_info_text_article (example on en.wp), it will show up on the PDF rendering page.

Organizing stored books[edit]

While many may enjoy creating their own books, others will be pleased if they can directly access books on certain topics.

The [[Wikipedia:Books]] page can be used to promote availability and accessibility of stored books. There is not much experience on this topic yet but some of the ideas that came up are listed in the subsections below.

Promoting the creation of books[edit]

  • Provide a guide on how to create "great books":
    • how to choose a proper title;
    • how to include a preface;
    • how to choose articles;
    • recommended number of articles.
  • Develop guidelines for books that are allowed to exist in the global namespace. These could require (examples):
    • reasonable number of included articles (e.g. more than 5 less than 200);
    • having a meaningful title, subtitle;
    • focused on a topic;
    • reasonable quality of included articles (e.g. no disputed, stubs, candidates for deletion, etc.).
  • Coordinate topics.

Making books accessible[edit]

  • List some books of the week/month/year.
  • Label and feature the excellent books.
  • Add "There is a book on this topic"-box to related articles, categories or portals.
  • Link or transclude parts of the bookshelf A-Z.

Bookshelf[edit]

Stored books are tracked in the category [[Category:Wikipedia:Books]], but this gets crowded rapidly (de.wp is close to 1.000 stored books - mostly in user space - created within 10 days). Further the category view allows not to display metadata or access books by topic. It would be possible to link books to categories but this would either clutter the main categories with books or require/result in a replication of the category tree in a different namespace.

There is a bot that can automatically generate a bookshelf which allows to explore books by title (A-Z) or keywords. Of course a bookshelf can be created manually also. Visit the bookshelf page for more details on the bot approach.

Preparing MainPage[edit]

MainPages next to portals are special as they often use a multi column web layout. Such pages look really bad in rendered PDFs (fixed width constraints of portrait-layout pages). But then again this is the page which almost every user new to this tool adds first to his book.

A workaround to avoid premature disappointment is to prepare MainPage to look better in PDFs. This can be done by using the [[Hide in print]] template in a way that MainPage (in printed) has no table at all or consists only of on column. (FIXME:example)

Another issue is the visibility of the portlet. Visitors (not you) to Wikipedia mostly simply ignore the sidebar. It might help if there is some notice about this new feature and a link to the help page on the MainPage's "News about Wikipedia"-box (if available at all) for a limited time.

Reporting Bugs, Collecting Feedback & Getting Help[edit]

within the wiki[edit]

There is a central feedback page at meta (in english) aimed to collect all feature requests, suggestions, bug reports, questions, etc. Non-english Wikipedias may want to setup a similar page (example) on their wiki and define some policy when and how issues are translated and escalated to the feedback page on meta.

bugtracker[edit]

Use the component "Collection" on bugzilla.

IRC[edit]

There is an IRC channel #pediapressconnect for anything related to the book tool.

Experiences from past deployments[edit]

German Wikipedia[edit]

What worked: Reception of the tool was mostly positive. Many stored books were created in a short period of time. Media quickly covered this topic once there was a press release by the German chapter.

What didn't work: It was planned to limit the new tool to logged-in users for the first week. Somehow this plan was not executed. As a result the feature was activated while documentation and localization were not really finished. For some users the portlet did not show up on some pages, probably due to caching. The MainPage was not print-version friendly (see above). Finally there was a slashdot effect after the popular german online news magazin Heise covered the story. The rendering server collapsed (load close to 300) instead of serving visitors.

Updates[edit]

Updates - especially those which require community attention - will be announced here.

  • September 2014: statistics for sales have been updated till the end of 2013, at [1].
  • 3 Mar 2009 - PDF-server update & ColExt update
    • Important Change: The template substitution was changed from a prefix to a suffix */Print. The license to be included in the PDF is now configurable by setting MediaWiki:Coll-license_url
    • updated to mwlib release 0.9.11 (changelog)
    • updated to mwlib.rl release 0.9.8 (changelog)
    • Collection-Extension was updated to trunk (changelog)

mwlib + mwlib.rl are used for rendering documents, Collection-Extension implements the UI in Mediawiki