| daniel added a comment. |
In T209927#4763519, @Anomie wrote:This makes no sense to me. What does "offered for editing" actually mean in a practical sense? Why would some code somewhere call getDesiredSlots() instead of getAllowedSlots()?
My thinking was that getAllowedSlots() may get you a rather long list of mostly irrelevant stuff, and would include that have no editing UI, or are intended for internal use. getDesiredSlots() is intended to provide a choice that is actually relevant to the user. But I agree that "relevant" depends on context, and trying to come up with something generic here was probably premature.
If we implement a multi-slot EditPage, we will however need some way to decide for which slots to show input fields, especially during page creation. Showing them for all allowed text based slots would quickly become overwhelming. At least on some types of pages, the user should not only be offered an input area for the main slot. And if we provide a way to add more input areas dynamically by letting the user pick from a list of slots to add, we may not want to offer all allowed slots there.
Cc: Anomie, Aklapper, gerritbot, daniel, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, JJMC89, _jensen, Agabi10, D3r1ck01, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Ltrlg
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
