Page MenuHomePhabricator

null
User

Projects

User is not a member of any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Wednesday

  • No visible events.

User Details

User Since
May 21 2024, 5:30 AM (124 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Public class [ Global Accounts ]

Recent Activity

Sep 10 2026

null created T437555: HTML data lost in en Wiktionary page "перебрати".
Sep 10 2026, 5:37 AM · Content-Platform-Team (Work In Progress), Parsoid

Sep 6 2026

null created T437165: Question of some differences of HTML data between enterprise and Parsoid API.
Sep 6 2026, 1:03 PM · Wikimedia Enterprise

Jul 10 2026

Restricted Application added a project to T43716: [EPIC] Support language variant conversion in Parsoid: WikipediaApp.
Jul 10 2026, 8:51 AM · App Experience, WikipediaApp, Community-Wishlist, Page Content Service, Wikipedia-Android-App, Wikipedia-iOS-App, Parsoid-Read-Views (Language Converter Support), Parsoid-Rendering, affects-Kiwix-and-openZIM, Parsoid, Epic, MediaWiki-Language-converter, Chinese-Sites, I18n

Jul 9 2026

null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

Thanks for the notice, I didn't know the new xml files would be missing pages.

Jul 9 2026, 11:32 PM · Wikimedia Enterprise

Jun 15 2026

null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

Thank you!

Jun 15 2026, 1:51 AM · Wikimedia Enterprise

May 22 2026

null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

Thank you all for reporting the mismatch. We've fixed the issue, please let us know if the problem still persists. Thanks!

May 22 2026, 6:50 AM · Wikimedia Enterprise

May 16 2026

null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

I should read the document first and verify the model output more thoroughly....

May 16 2026, 1:22 PM · Wikimedia Enterprise
null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

I pasted the code to a few llm and here are the same two suggestions made by these models:

  1. buffer at enterprise.py line 55 is not cleared, it grows indefinitely. The fix is clear the buffer at the end of each iteration, or remove the buffer.
for page in pages:
    f.write(encoder.encode(page)  + b"\n")
  1. remove asyncio.sleep(0.5) at spiders.py line 104, better to let Scrapy decide the pace itself by giving it an iterator. If must batch from database, increase chunk size dramatically (e.g., 5,000–10,000 items) so spend less time query-blocking the event loop.
May 16 2026, 11:27 AM · Wikimedia Enterprise
null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

Thank you so much! Could you provide a JSON file for example /latest/en.json:

[{
  "date": "20260501",
  "chunks": ["pages-NS0-00-16-36422.ndjson.zst"],
  "namespace": 0,
}]

otherwise I'll have to scrape the page to know which file to download.

May 16 2026, 12:51 AM · Wikimedia Enterprise

May 14 2026

null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

I'm a little worried about creating too many files might be problematic for the file system consider more Wiktionaries and namespaces will be added in the future and also delete the root html folder could take some time. Do you think it's feasible to save pages to zim first then convert the data from zim to other formats as needed?

May 14 2026, 12:57 AM · Wikimedia Enterprise

May 13 2026

null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

I think zim is a good option if don't need to be compatible with enterprise api, it uses zstd and pages can be searched. They have a python package: python-libzim

May 13 2026, 7:12 AM · Wikimedia Enterprise
null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

That's great news! Could you also add other Wiktionaries and namespaces later on?

May 13 2026, 12:42 AM · Wikimedia Enterprise

May 7 2026

null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

At least the Wikimedia API document says WMCS is exempted from rate limiting, maybe worth a try.

May 7 2026, 11:50 PM · Wikimedia Enterprise
null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

Why can't you call Wiktionary's Parsoid API, isn't API limit exempted for Wikimedia Cloud Services? Another potential alternative is kiwix's zim file but unfortunately they removed "data-mw" attribute which is required data for my use case...

May 7 2026, 9:06 AM · Wikimedia Enterprise

May 6 2026

null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

Maybe try enable SQLite WAL mode(PRAGMA journal_mode = WAL;) after adding pages? Or perhaps it's normal that generate a HTML page at first time is slow?

May 6 2026, 10:03 AM · Wikimedia Enterprise
null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

Could you share more about the community HTML snapshots? I'm very interested. I tried to read the enterprise code(wikimedia-enterprise) to find what's wrong with it but it feels very complicated. I'm not sure if it's calling "en.wiktionary.org/w/rest.php/v1/page/page/html" API many times or doing something else.

May 6 2026, 6:55 AM · Wikimedia Enterprise
null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

How can I download 2026-04-01 or 2026-03-01 snapshot files?

May 6 2026, 12:21 AM · Wikimedia Enterprise

Apr 26 2026

null added a comment to T305407: Stale data / missing pages in HTML ("enterprise").

2026-04-21 snapshots missing many chunks, "enwiktionary_namespace_0" now has 48 chunks but it has 81 chunks in 2026-04-02. Other Wiktionary like es, fr, ru, de also missing many chunks.

Apr 26 2026, 10:02 AM · Wikimedia Enterprise

Mar 9 2026

null created T419363: Add Thesaurus and Conjugaison namespace pages.
Mar 9 2026, 1:19 AM · Wikimedia Enterprise

Aug 22 2025

null added a comment to T401610: Dumps issues on cswiki and skwiktionary for 20250801.

There are more dump files need sync, for example:

Aug 22 2025, 2:21 AM · Essential-Work, Data-Platform-SRE (2025.08.16 - 2025.09.05), Dumps-Generation

Aug 21 2025

null added a comment to T401610: Dumps issues on cswiki and skwiktionary for 20250801.

Can you please confirm?

Thanks! I downloaded the "pages-articles.xml.bz2" file and it seems to be good.

Aug 21 2025, 11:56 PM · Essential-Work, Data-Platform-SRE (2025.08.16 - 2025.09.05), Dumps-Generation
null added a comment to T401610: Dumps issues on cswiki and skwiktionary for 20250801.

Did trwiktionary dump files also failed? https://dumps.wikimedia.org/trwiktionary/20250801/

Aug 21 2025, 12:13 AM · Essential-Work, Data-Platform-SRE (2025.08.16 - 2025.09.05), Dumps-Generation

May 21 2024

null created T365425: dewiktionary-20240520-pages-articles.xml.bz2 missing page "Modul:ErsetzeZeichen" text.
May 21 2024, 6:40 AM · Dumps-Generation