Closed Bug 998767 Opened 12 years ago Closed 12 years ago

FOR text isn't shown in a German article

Categories

(support.mozilla.org :: Knowledge Base Software, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED
2014Q2

People

(Reporter: thomas.lendo, Assigned: mythmon)

Details

(Whiteboard: u=contributor c=wiki p=0 s=2014.8)

I reviewed article https://support.mozilla.org/de/kb/lesezeichen-aus-internet-explorer-importieren today. At the beginning of the article there's the FOR paragraph: {for not win}{note}'''Dieser Artikel trifft nur auf Windows zu.'''{/note}{/for} which says, that the content is applicable on Windows only. But this paragraph isn't visible on Linux or Mac. Tested with Firefox 29 Beta on Ubuntu Linux.
It's not showing up for me either on Mac or Ubuntu. Let's see if Ricky or Kadir can help us.
My suggestion would be to do what the English version did: `{for mac,linux}`... They must've had a reason. win is a special case for us. We probably don't support "not win" because of that.
I changed it in that way Ricky suggested. But I think that's only a workaround, not a solution. If "win" is possible, why not "not win" ...
Thomas: This was just a logic bug in showfor. I tried to deal with "not win", but I screwed up last time. I've put in a PR to fix the problem, and added an automated test case to prevent this from happening again in the future. Thanks for pointing this out! PR: https://github.com/mozilla/kitsune/pull/1922 Sprint details: I did this in my downtime in about half an hour => 0 points, and I'm tossing it in the current sprint.
Assignee: nobody → mcooper
Status: NEW → ASSIGNED
Whiteboard: u=contributor c=wiki p=0 s=2014.8
Priority: -- → P3
Target Milestone: --- → 2014Q2
deployed to prod.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Mike, thanks for fixing that!
You need to log in before you can comment on or make changes to this bug.