Closed Bug 255304 Opened 21 years ago Closed 21 years ago

Restrict Category list to PET

Categories

(addons.mozilla.org Graveyard :: Developer Pages, enhancement)

x86
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: Bugzilla-alanjstrBugs, Assigned: wolf)

References

()

Details

Category List: should be restricted to P/E/T, not allow the creation of new type.
The site wasn't designed to be inflexable, there's no reason to make that restriction. It's a table management script anyways so adding items is normal and expected behavior. --> wontfix.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
Component: Update → Developers
Product: mozilla.org → Update
Version: other → unspecified
Leaving the ability creates a new category, in this case G, that has no affect on the rest of UMO. Now I have a category named foo for Firefox that is neither themes nor extensions. If we do decide to add a category, such as for search plugins, then we would revise the UMO code to accept it. Yes, this is for table management. But creating a new category that goes nowhere doesn't make sense.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Having a category that points nowhere, doesn't hurt anything. Adding a new section, as the example you gave, searchengines, would require new code for the section itself, but wouldn't require the modification of existing code for categories, unless this is fixed. You can simply hook into the table as it stands, and reuse existing code to make the categories extend to your new section. Why cripple something that isn't broke and force its code to be modified when the current setup is extendable w/o that work? My original decision is unchanged, there's no good reason presented here to break the extensibility of this feature.
Status: REOPENED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → WONTFIX
In order for any new category type to make any sense, you'll have to change PHP. You've made it extensible for no reason. Think of the component dropdowns in bugzilla. You don't just add an item without changing code to support it. If you want Search Engine categories, you have to change the php to support search engine categories. That requires a release, at which time it would be applicable.
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.