Closed Bug 781586 Opened 11 years ago Closed 11 years ago

Non-English page changes showing up in the en-US change feed

Categories

(developer.mozilla.org Graveyard :: Wiki pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jswisher, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20100101 Firefox/15.0
Build ID: 20120724191344

Steps to reproduce:

Viewed the "All English" feed (https://developer.mozilla.org/en-US/docs/feeds/atom/all) in Thunderbird.


Actual results:

One entry turns out to be a change to zh-TW version of a page, although the link given in the feed entry is to the en-US version.

The feed entry is:
<entry>
<title>Gaia 簡介</title>
<link href="https://developer.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/Introduction_to_Gaia" rel="alternate"></link>
<updated>2012-08-09T10:44:24-07:00</updated>
<author><name>naihsi</name>
<uri>https://developer.mozilla.org/en-US/profiles/naihsi</uri>
</author>
<id>https://developer.mozilla.org/en-US/docs/Mozilla/Boot_to_Gecko/Introduction_to_Gaia</id>
<summary type="html"></summary>
</entry>

This change was actually made on https://developer.mozilla.org/zh-TW/docs/Mozilla/Boot_to_Gecko/Introduction_to_Gaia


Expected results:

The English feed should show only changes to /en-US pages
Similarly for a change to this page:
https://developer.mozilla.org/ja/docs/CSS/Multiple_backgrounds
Summary: zh-TW page change showing up in the en-US change feed → Non-English page changes showing up in the en-US change feed
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/3f16cfd8bf684af125266814ba168c098a35002c
fix bug 781586: Filter Document and Revision feeds by current locale

* Use current request locale to filter items in feeds

* ?all_locales option disables locale filter to include all locales

* Bug fix to use correct item locale in links, rather than current
  request locale.

https://github.com/mozilla/kuma/commit/57c715c18bc3825b81f43387d20802af683d5c2d
Merge pull request #509 from lmorchard/feed-locale-filtering-781586

fix bug 781586: Filter Document and Revision feeds by current locale
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Version: Kuma → unspecified
Component: Website → Landing pages
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.