Wow, that's a lot of letters. :) If I understand the question: there's a separate table in the MediaWiki database that holds each page's categories; that's where Semantic Forms looks, until it finds the first one that has a form associated with it (if it can't find one, as you guessed, it goes on to the namespace). I don't know how the order of categories in that table gets set, but I wouldn't count on them always showing up in the same order.
-Yaron On Wed, Mar 11, 2009 at 3:21 PM, John McClure <[email protected]>wrote: > > It seems that the form selected for editing a page is based on (a) the > first form found to be associated with a category assigned to the page > (b) the default form for the page's namespace. Is this correct? > > I'm having no problems creating page P in namespace NS using form F2, > because the link [[form:F2]] is directly invoked. F2 is not the > default form for NS, rather F1 is, but F2 is the default form for C2, > the first category assigned to P (C2 is a subcategory of C1, whose > default form is F1). C2 is assigned to P via T2, the first template > invoked within P. > > When P is edited. F2 is displayed, exactly right. But I am wondering > if F2 is being selected only because T2 happens to be the first > template specified within P. If it should be moved, say, to the bottom > of P following some other templates that specify other categories to > be affixed to P, categories that each have a default form: would that > have an effect on which form is displayed for editing P? > > Thanks. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
