Page MenuHomePhabricator

Introducing the Book Creator in Chinese Wikipedia
Open, Needs TriagePublic

Description

I started the discussion for introducing the Book Creator into Chinese Wikipedia which had reach a consensus. In order to achieve the consensus, I would like to apply for the introduction of the Books into Chinese Wikipedia.

Event Timeline

It's enabled by default but disabled on what appears to be all zh wikis, along with some other languages.

This is not an issue in the Collection codebase and there is nothing to fix in its codebase. Hence removing the project from this task.

Dereckson triaged this task as Medium priority.

Change 277452 had a related patch set uploaded (by Dereckson):
Test Collection extension on zh.wikipedia.beta.wmflabs.org

https://gerrit.wikimedia.org/r/277452

Change 277452 merged by jenkins-bot:
Test Collection extension on zh.wikipedia.beta.wmflabs.org

https://gerrit.wikimedia.org/r/277452

@Shizhao and @Billytanghh The Collection extension has been deployed to http://zh.wikipedia.beta.wmflabs.org/

Could you test it and ensure all works as expected?

[ I'm resetting the assignee so if all works as expected, anyone can do the next step to configure it directly for zh.wikipedia ]

Dereckson subscribed.

So how can we configure this feature in zh.wikipedia?

@Billytanghh We'll enable it in a future change, but first we would like you and some other users of zh. test it on http://zh.wikipedia.beta.wmflabs.org/ to confirm all works fine and there isn't any unexpected bug.

For example, you could create dummy articles and then use Collection to create a book, and ensure all works fine.

If you prefer to work together on this, I'm available on Freenode #wikimedia-tech.

FWIW, PDF output from Book Creator in zhwiki is blocked by T43716 in Parsoid, although the basic font support should be already present in OCG. This bug is about adding the Collection extension *without* PDF output, however, so it is not blocked by that missing feature.

@Shizhao: Is there anything to fix in the code base of MediaWiki-extensions-BookManager itself, or why did you add its tag to this task? Reverting for the time being.

@Shizhao and @Billytanghh The Collection extension has been deployed to http://zh.wikipedia.beta.wmflabs.org/

Could you test it and ensure all works as expected?

[ I'm resetting the assignee so if all works as expected, anyone can do the next step to configure it directly for zh.wikipedia ]

Bundling process died with non zero code: 1

Bundling process died with non zero code: 1

@Shizhao: Please always provide clear and specific steps to reproduce. Thanks!

Bundling process died with non zero code: 1

@Shizhao: Please always provide clear and specific steps to reproduce. Thanks!

  1. visit https://zh.wikipedia.beta.wmflabs.org/wiki/測試;
  2. click "以PDF下载";
  3. select "单列", it works for me;
  4. select "两列", however, it's failed with "Bundling process died with non zero code: 1".
  5. click "以TXT下载", then also failed.
  6. so I've tried visiting https://zh.wikipedia.beta.wmflabs.org/wiki/Special:Book, go back to https://zh.wikipedia.beta.wmflabs.org/wiki/測試 page -> 显示图书 (1个页面) -> select both "电子书(PDF,ocg latex渲染器)" and "文字处理程序(纯文本)" then click "下载", afaics, ditto.

BTW, can we please grant Shizhao sysop permission on https://zh.wikipedia.beta.wmflabs.org/?

FWIW: backend.js#L567 is where the error is thrown.

BTW, can we please grant Shizhao sysop permission on https://zh.wikipedia.beta.wmflabs.org/?

You'll have to ask someone with steward permissions on beta.

Bundling process died with non zero code: 1

Separate problem, hence separate task please. :)
(T128425#2412807 states that this very task is about deploying the Collection extension, without PDF output.)

(Update: Whatever that past error was is no longer reproducible; tested by Amanojaku on IRC)

I tried this page but got Rendering process died with non zero code: 1 with "两列" again.
However, "单列" and "TXT" worked.
XD

(Update: Whatever that past error was is no longer reproducible; tested by Amanojaku on IRC)

Everything works except https://zh.wikipedia.beta.wmflabs.org/wiki/User:逆襲的天邪鬼/BOOM

As for Flow pages --
If we use "两列" or "TXT" we will just get

{"flow-workflow":"to254sl899rx7ayx"}

"单列" works fine.

I have lost track what this task is about, as Collection and MediaWiki-extensions-BookManager and OCG-PDFRenderer related PDF issue were brought up here which are all different topics. (And in the meantime, OCG-PDFRenderer got replaced by Electron-PDFs.)

It would really help if someone could

  • provide steps to reproduce
  • explain what outcome you'd expect, what you would like to achieve
  • explain what is the current outcome or what is currently missing at which step
Aklapper changed the task status from Open to Stalled.Nov 7 2017, 11:08 AM
Aklapper raised the priority of this task from Medium to Needs Triage.

I have lost track what this task is about, as Collection and MediaWiki-extensions-BookManager and OCG-PDFRenderer related PDF issue were brought up here which are all different topics. (And in the meantime, OCG-PDFRenderer got replaced by Electron-PDFs.)

It would really help if someone could

  • provide steps to reproduce
  • explain what outcome you'd expect, what you would like to achieve
  • explain what is the current outcome or what is currently missing at which step

Maybe it's the time to continue doing it, as collection is missing PDF feature now.

Wikimedia Foundation's book rendering service has been withdrawn. see https://www.mediawiki.org/wiki/Reading/Web/PDF_Functionality

Wikimedia Foundation's book rendering service has been withdrawn. see https://www.mediawiki.org/wiki/Reading/Web/PDF_Functionality

The Book Creator PDF rendering is disabled currently and not maintained as per T224922. If you have Special:Book in mind. :)

@Shizhao: I had written that the book creator PDF rendering is *currently* disabled. I have no idea why you declined this and why you wrote "per Aklapper".

Aklapper moved this task from Closed to Site configuration on the Chinese-Sites board.

@Shizhao: It would be great if you could answer to comments.

Stang changed the task status from Open to Stalled.May 14 2022, 7:17 PM

Reset status to Stalled.

Pppery changed the task status from Stalled to Open.Oct 20 2024, 2:22 AM
Pppery subscribed.

I think I know what is being requested here; to install the Collection extension on Chinese Wikipedia.

Unstalling and moving to backlog since this just needs someone to do it, and is not clearly stalled or under active discussion.

Considering that book creator cannot currently be downloaded as pdf, @Shizhao is the community still willing to deploy it? After all there is already a "download as pdf" option on the sidebar. Thanks.

@ZhaoFJx
According to previous community consensus, some editors like @peacearth believe that this extended function has the function of arranging articles into volume. It has the advantage of "organizing articles with book" and easy management (especially more practical for WikiProject), and whether it can be output into a pdf file is only secondary; it was not introduced before but was shelved indefinitely due to technical issues. Therefore, I think the introduction of Book Creator should be carried out in accordance with the previous consensus; I believe that this extension should be introduced as per previous consensus.

previous community consensus : just Book Creator, NO pdf

根據先前的社群共識,有些編者 (如 @peacearth) 認為這個擴充功能具有將條目整理成冊的功能和便於管理的好處(尤其WikiProject方面更為實用),能否輸出成pdf文件只是其次;之前之所以沒有引入它只是因為技術問題而被無限期擱置。因此,我認為應當依照先前共識執行的引入,之前有 "只引入書籍、無PDF功能的共識"。(以上英文是google翻譯)

Thanks for summary @A2569875 ! Since I know nothing about Collection extensions, I'm guessing the current delay seems to be due to unresolved errors: "{"flow-workflow":"to254sl899rx7ayx"}" and temporary PDF function disabled. Also I found that currently only pediapress printing is available in that special book page, so I am not sure about organizing feature they mentioned would be possible.

谢谢您的总结!由于我对 Collection 扩展不熟悉,我斗胆猜测当前工单仍未解决似乎是由于错误:“{"flow-workflow":"to254sl899rx7ayx"}”和PDF功能被暂时禁用的原因。此外,我发现书目特殊页面只有 pediapress 打印可用,所以我不确定“將條目整理成冊的功能和便於管理的好處”是否可行。