Steve Bennett wrote:
On 2/8/07, Ruud Koot r.koot@students.uu.nl wrote:
Which won't work on browsers that don't support CSS. I believe the best way to do this would be to load the diambiguation page using [[Ajax (programming)|Ajax]]. This should degrade nicely on browsers without JS/CSS.
The whole scheme[1] is totally dependent on css anyway. If we get as far as having a box that can be expanded and that transcludes another page, CSS and javascript is a given.
How would an Ajax implementation work? Would the MediaWiki code need to be modified?
Incidentally, I've made an expanding version of the "otheruses-4" template: [[User:Stevage/Otheruses4-expand]] There's an example of its use here: http://en.wikipedia.org/wiki/User:Stevage/Disambig2
Steve [1] That is, using the 'hidden' template.
Steve,
What you've done is great. However, I did discover an issue (you may already be aware of this)...If the transcluded disambig page has sections, then those sections show up in the TOC of the transcluding page.
No obvious solution comes to mind, short of eliminating sections from disambig pages.
-Rich