On 11/11/07, Thomas Dalton thomas.dalton@gmail.com wrote:
Placing the table of contents doesn't involve putting a flag in the database, it's just taken into account when parsing the page before displaying it. Marking a page as a disambig would have to be taken into account when saving the page and I don't think transcluded pages are even looked at during the process unless they are substed.
Of course they are. How do you think it can figure out what categories the page is in? Any wikitext construct can be put in a template, because templates are substituted into the text during parsing before almost anything else (okay, not before parser tags). __DISAMBIG__ or whatever would certainly work, I'm just not sure whether it's superior to the current method.
I stand corrected. In which case, I would say it is superior, simply because it isn't a hack. The hack may work, but the fact that it's a hack means it's likely more difficult to maintain. It's also more difficult for users to understand what's going on. The Mediawiki namespace is there for interface customisation. Using it for anything else is asking for trouble sooner or later.