https://bugzilla.wikimedia.org/show_bug.cgi?id=46100

Umherirrender <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|[email protected]  |[email protected].
                   |                            |org

--- Comment #3 from Umherirrender <[email protected]> ---
Abandon: There are different validation methods in the Language class for
different use cases and work flows, so this should be done inside the modules,
which than can choose the necessary validation.

In my opinion this is a WONTFIX, because it cannot provided by a base class.

Other ideas, when somebody want this in the base class:

- Provide a way, to get a language object for the param from given language
code. Avoids factory calls inside the module.

- Allow a default value to get the user or the content language for the param.
Avoids is_null checks inside the modules.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to