If we want sections to be transcludable, we need to address them by name and not by number, because adding a header might cause an other section to be included.
Bryan
On 2/14/07, Andrew Dunbar hippytrail@gmail.com wrote:
Wiktionary's case is a bit easier because we don't need to transclude sections but merely make them accessible to MediaWiki extensions written in PHP.
For instance most users don't care about translations so that section would not be displayed by default unless enabled in preferences.
A good incremental design path might be 1: wrap sections/subsections in DIVs 2: provide section/subsection APIs for extensions. 3: make sections transcludable.
Andrew Dunbar (hippietrail)
On 2/14/07, Steve Bennett stevagewp@gmail.com wrote:
On 2/14/07, Jay R. Ashworth jra@baylink.com wrote:
Well, my snap reaction is 'microformats'.
Say what?
I think that there should be some way (and perhaps this is as easy as puting an "<a href="thisisatag"> link in after the section header.
Isn't there some pipe-y syntax that already does something akin to this and tracks the section header?
Yeah, I was wondering that. Something like this might work: ==List of highways|List==
Where "List" is a code. Alternatively, and imho more readably: ==List of highways== {{SECTION|List}}
Steve
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
-- http://linguaphile.sf.net
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l