-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is --addNamespaces="100"
no longer working? (to add Wikipedia's portal pages to ZIM files for schools!)
#1784
Comments
--addNamespaces="100"
no longer working? (to add Wikipedia's portal pages to a ZIM file for schools!)
--addNamespaces="100"
no longer working? (to add Wikipedia's portal pages to a ZIM file for schools!)--addNamespaces="100"
no longer working? (to add Wikipedia's portal pages to ZIM files for schools!)
@pavel-karatsiuba please verify this ticket is valid, I’m really surprised it does not work? |
Thank you @pavel-karatsiuba:
CONTEXT: Students need these colorful/introductory pages in ZIM files like the 1 Million article Wikipedia here: #1756 |
@pavel-karatsiuba Please die at start if --articleList and --addNamespace are specified together |
Given ZIM file has indeed not the Portal pages but current version of MWoffliner seems to work fine when tested on a smaller wiki and with another namespace. We should clarify here what goes wrong because even new versions |
I would propose to wait https://farm.openzim.org/pipeline/d51dec8e90efcd0ad3f9be36 is over before continuing the investigation. |
Progress 🙏 Then, very compact/quick/revealing test cases will hopefully be possible after that 😄 |
From the most recent English Wikipedia ZIM: |
@Inbefortus So basically there is not problem (anymore). Thx you for the check. I will merge the new automated test and close the ticket. |
@Inbefortus great news: Would you happen to know why Portals are now restored?
A very partial answer to the above question is below — unfortunately 540,497 pages is a flood rather than a clean UX — but still this is a start: https://library.kiwix.org/viewer#search?books.name=wikipedia_en_all_maxi_2023-02&pattern=Portal%3A |
@holta I'm not even sure if portals ever existed in the first place. I don't recall them being in the 2021-03 ZIM. They must have been added around the end of 2022 or something like that. |
This is actually the only logical explanation, but I don't remember and really woukd really wonder about that. As long as we can not track precisely changes on Zimfarm, we will face this kind of problem. See openzim/zimfarm#498 |
See
--addNamespaces="100"
at the bottom of these 2 recipes:I believe this is supposed to add Wikipedia's portal pages to a ZIM file, and if I'm understanding @kelson42 this was working in the past. Questions:
Schools are always urgently ask for far more colorful pages so as to animate Wikipedia-centric learning — among younger people especially — who commonly turn against Wikipedia (possibly for life?) When elders too often present Wikipedia as text-heavy + ponderous 🐢
So the question is: Can colorful + youth-friendly portal pages like the following (more graphical i.e. with much less text, very intentionally more inviting!) be made available + easily findable offline — ideally in many of the 87 Wikipedia languages[*] that offer portals?
[*] 87 languages appear to have Wikipedia portals, as indicated in the top-right of https://en.wikipedia.org/wiki/Wikipedia:Contents/Portals
Brief code context: https://github.com/openzim/mwoffliner/search?q=addnamespaces
The text was updated successfully, but these errors were encountered: