Closed Bug 1373848 Opened 8 years ago Closed 7 years ago

KumaScript macro dashboard counts unfindable pages

Categories

(developer.mozilla.org Graveyard :: Search, enhancement)

All
Other
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwhitlock, Assigned: jwhitlock)

Details

(Keywords: in-triage, Whiteboard: [specification][type:bug])

What did you do? ================ 1. View https://developer.mozilla.org/en-US/dashboards/macros 2. See that the English page count for ReleaseChannelInfo is 4 3. Click '4' to use site search to view the pages What happened? ============== The site search shows no results: https://developer.mozilla.org/en-US/search?locale=en-US&kumascript_macros=ReleaseChannelInfo&topic=none What should have happened? ========================== Either the count should be 0, or site search should allow you to see the "filtered" pages. Is there anything else we should know? ====================================== Even "All Topics" omits some pages that are still indexed. The macro appears on these pages: https://developer.mozilla.org/en-US/docs/Talk:Firefox_9_for_developers https://developer.mozilla.org/en-US/docs/User:stephaniehobson:indicators This still doesn't explain why the count is 4 instead of 2. Search is a mystery.
Commit pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/d0fc06147a82dc7b5a20fde1324245ce6bf7c6e2 bug 1373848: Restrict macro count to current index Use WikiDocumentType.search() to restrict the macro usage query to the current Document index. Previously, all indexes were searched, leading to positive usage counts with 0 search results.
Fix deployed to production.
Assignee: nobody → jwhitlock
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.