Page MenuHomePhabricator

Introducing the Book Creator in Chinese Wikipedia
Open, Stalled, 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.