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

Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptMar 1 2016, 12:44 AM
Restricted Application added subscribers: JEumerus, Matanya. · View Herald TranscriptMar 1 2016, 12:50 AM

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 Normal 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 removed Dereckson as the assignee of this task.Mar 17 2016, 3:11 AM
Dereckson added a subscriber: Dereckson.

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

Dereckson added a comment.EditedMar 22 2016, 6:08 PM

@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.

Dereckson added a comment.EditedMar 25 2016, 4:02 AM

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.

@Billytanghh any progress on this yet?

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.

Restricted Application added a subscriber: Cosine02. · View Herald TranscriptDec 21 2016, 9:58 AM

@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!

Liuxinyu970226 added a subscriber: Liuxinyu970226.EditedFeb 8 2017, 2:21 PM

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)

vjudge404 added a subscriber: vjudge404.EditedApr 12 2017, 7:10 PM

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.

Aklapper added a comment.EditedNov 7 2017, 11:05 AM

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 Normal 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.

94rain added a subscriber: 94rain.Apr 24 2019, 2:15 AM