Closed
Bug 291600
Opened 20 years ago
Closed 20 years ago
Replace "iff" with "if and only if"
Categories
(Bugzilla :: Bugzilla-General, defect, P3)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: goobix, Assigned: goobix)
Details
Attachments
(1 file, 4 obsolete files)
|
2.48 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
"iff" should be "if" in globals.pl and Bugzilla/Config.pm.
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → Bugzilla 2.16
| Assignee | ||
Comment 1•20 years ago
|
||
Attachment #181626 -
Flags: review?
Comment 2•20 years ago
|
||
That's common mathematical shorthand in the US for "if and only if", which is probably what was intended here. Maybe we should just spell it out?
| Assignee | ||
Comment 3•20 years ago
|
||
2.16 patch, in case it meets the 2.16 criterias (if it doesn't please move the target to 2.18)
Attachment #181627 -
Flags: review?
| Assignee | ||
Updated•20 years ago
|
Summary: "iff" should be "if" in globals.pl and Bugzilla/Config.pm → "iff" should be "if and only if" in globals.pl and Bugzilla/Config.pm
| Assignee | ||
Updated•20 years ago
|
Attachment #181626 -
Attachment is obsolete: true
Attachment #181626 -
Flags: review?
| Assignee | ||
Updated•20 years ago
|
Attachment #181627 -
Flags: review?
| Assignee | ||
Updated•20 years ago
|
Attachment #181627 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•20 years ago
|
||
Attachment #181628 -
Flags: review?
| Assignee | ||
Comment 5•20 years ago
|
||
Attachment #181629 -
Flags: review?
| Assignee | ||
Updated•20 years ago
|
Flags: approval?
Flags: approval2.18?
Flags: approval2.16?
Comment 6•20 years ago
|
||
Comment #2 =~ s/in the US// (at least it was taught to me in maths classes in the UK) There is at least one other use of the term (in 2.16.x quicksearch.js): // resolutions are added to resolution. Returns true iff some matches // were found for at least one of the given prefixes. Personally, I actually prefer reading 'iff' to 'if and only if', as it has the required logical precision without taking more space than it deserves (and also saves a tiny amount of mental effort figuring out the scope of the 'and').
Comment 7•20 years ago
|
||
Comment on attachment 181628 [details] [diff] [review] patch for 2.16, version 2 Maybe is it obvious what 'iff' means when english is your mother language. But I'm not sure you would understand what 'ssi' means in french, for example. So I prefer the long wording too. Thanks Vlad for the patch. :) This is not a security fix so it should not go in 2.16 IMO. But justdave will deny approval if he does not want it.
Attachment #181628 -
Flags: review? → review+
Comment 8•20 years ago
|
||
Comment on attachment 181629 [details] [diff] [review] patch for 2.18 and tip, version 2 r=LpSolit
Attachment #181629 -
Flags: review? → review+
Comment 9•20 years ago
|
||
yeah, I agree, 2.16 is on security status now, this isn't worth fixing there.
Flags: approval?
Flags: approval2.18?
Flags: approval2.18+
Flags: approval2.16?
Flags: approval2.16-
Flags: approval+
Target Milestone: Bugzilla 2.16 → Bugzilla 2.18
| Assignee | ||
Comment 10•20 years ago
|
||
On 2.18 and trunk, "iff" also appears in quicksearch.js and template/en/default/list/quips.html.tmpl, in addition to the place corrected by the patch.
| Assignee | ||
Updated•20 years ago
|
Summary: "iff" should be "if and only if" in globals.pl and Bugzilla/Config.pm → "iff" should be "if and only if"
Comment 11•20 years ago
|
||
(In reply to comment #7) > I'm not sure you would understand what 'ssi' means in french, for example. I'd guess "si et seulement si"... and if so I think in certain contexts I would also prefer this abbreviation. However, these are source comments that need to be widely understood rather than concise logical statements (I failed to qualify my previous comment, making it sound more negative towards this change than I'd intended). If I was a frenchman relying on automatic translation, let's see what I'd get: "Quelques dossiers dans l'annuaire de données doivent être IFF lisible du monde que nous n'avons pas un groupe de webserver." vs "Quelques dossiers dans l'annuaire de données doivent être monde lisible si et seulement si nous n'avons pas un groupe de webserver." enough said... However, as mentioned in my comment 6 and Vlad's comment 10 there are other uses of the abbreviation in the codebase. These should ALL be changed.
Comment 12•20 years ago
|
||
ok, lets go ahead and fix this everywhere while we're on the topic. It'd seem a waste to have another bug for something this little :) 2.18 and trunk only
Flags: approval2.18+
Flags: approval+
| Assignee | ||
Comment 13•20 years ago
|
||
Attachment #181628 -
Attachment is obsolete: true
Attachment #181629 -
Attachment is obsolete: true
Attachment #185500 -
Flags: review?(LpSolit)
Comment 14•20 years ago
|
||
Comment on attachment 185500 [details] [diff] [review] 2.18 and trunk, all places r=LpSolit
Attachment #185500 -
Flags: review?(LpSolit) → review+
Updated•20 years ago
|
Flags: approval?
Flags: approval2.18?
Updated•20 years ago
|
Flags: approval?
Flags: approval2.18?
Flags: approval2.18+
Flags: approval+
| Assignee | ||
Comment 15•20 years ago
|
||
Checking in quicksearch.js; /cvsroot/mozilla/webtools/bugzilla/quicksearch.js,v <-- quicksearch.js new revision: 1.11.2.1; previous revision: 1.11 done Checking in Bugzilla/Config.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Config.pm,v <-- Config.pm new revision: 1.21.2.6; previous revision: 1.21.2.5 done Checking in template/en/default/list/quips.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/list/quips.html.tmpl,v <-- quips.html.tmpl new revision: 1.12.2.1; previous revision: 1.12 done Checking in quicksearch.js; /cvsroot/mozilla/webtools/bugzilla/quicksearch.js,v <-- quicksearch.js new revision: 1.12; previous revision: 1.11 done Checking in Bugzilla/Config.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Config.pm,v <-- Config.pm new revision: 1.42; previous revision: 1.41 done Checking in template/en/default/list/quips.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/list/quips.html.tmpl,v <-- quips.html.tmpl new revision: 1.15; previous revision: 1.14 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Summary: "iff" should be "if and only if" → Replace "iff" with "if and only if"
You need to log in
before you can comment on or make changes to this bug.
Description
•