Peter Bengtsson

Results 448 comments of Peter Bengtsson

That is strange indeed. I appreciate why you'd get a 404 when trying to edit because the locale/slug combo does not exist: ``` >>> Document.all_objects.filter(locale='zh-CN', slug__istartswith='Web/JavaScript/Reference/Operators/async_') ``` (note the use...

WHAT?! Not 20 min later I run it again (I copied the `curl` from above): ``` ▶ curl -I https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Operators/async_function HTTP/2 404 content-type: text/html; charset=utf-8 content-length: 29831 cache-control: max-age=0, no-cache,...

@tobinmori I think we can outline the high level objectives. With your translation hat on, you want to find out... 1. Which of my locale pages (e.g. French) are not...

Actually, how is this different from https://github.com/mdn/kuma/issues/6592 ?

Breakdown per locale: ``` mysql> select locale, count(locale) as c from wiki_document where html like '%CompatibilityTable%' and deleted = false group by locale order by c desc limit 20; +--------+------+...

Turns out, ...they're all pages that won't get ported to Yari :) ``` mysql> select slug from wiki_document where html like '%CompatibilityTable%' and deleted = false and locale = 'en-US';...

Oops. Some of those were redirects. Let's try this instead: ``` mysql> select slug from wiki_document where html like '%CompatibilityTable%' and deleted = false and locale = 'en-US' and is_redirect=false...

What is the point of this? Where are we using it or intend to use it?

There was https://github.com/mdn/kuma/issues/6665 which was about the Edit Profile page which isn't an important page. It'd be a much better idea to move subscription info into the read-only site. Then...

I'm wondering if it's better to go around this problem altogether. The whole filtering stuff is just weird and bad. It's confusing how to use it, annoying to have to...