#19158 closed enhancement (worksforme)
Fix list numbering on Freedoms admin screen
| Reported by: | kpdesign | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 3.2 |
| Severity: | normal | Keywords: | has-patch ui-feedback close |
| Cc: | Focuses: |
Description
The list of 4 freedoms on the Freedoms screen begins with 0, not 1. Issue has existed since that admin screen was introduced in 3.2.
Attached patch fixes Jane's request on original ticket (#17383) to update the original <ol start="0"> code.
Also added "since x.x" to PHPDoc block.
Attachments (3)
Change History (14)
#2
in reply to: ↑ 1
;
follow-up:
↓ 4
@
15 years ago
Replying to SergeyBiryukov:
I thought starting from 0 was deliberate, and Jane's suggestion was about replacing the deprecated
startattribute with CSS. 19158.patch is an attempt to do this.
Why would you start numbering a list with a zero?
#4
in reply to: ↑ 2
@
15 years ago
Replying to kpdesign:
Why would you start numbering a list with a zero?
Because the FSF defines the four freedoms that constitute free software as "freedom 0" through "freedom 3", see What is free software?. I assume it starts at 0 because that's where computers start counting from, e.g. the first index of an array in most languages is 0.
#5
@
15 years ago
- Keywords close added
I'm pretty sure that the start attribute is no longer deprecated in HTML5.
#8
@
15 years ago
- Type defect (bug) → enhancement
It starts with 0 intentionally, because that is how FSF does it,. As we are liberally quoting them, we are following their system (even though Americans usually don't start from 0 in lists or apartment floors). We absolutely cannot change this to start from 1, and it's not a bug.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I thought starting from 0 was deliberate, and Jane's suggestion was about replacing the deprecated
startattribute with CSS. 19158.patch is an attempt to do this.