Last modified: 2014-09-04 02:57:53 UTC
It would be useful for things like [[Module:WikiProjectBanner]] if Scribunto could detect whether a given page is a disambiguation page or not. At present, the only way of doing this is to preprocess all of a page's text and search for the __DISAMBIG__ magic word, which is obviously not practical for performance reasons. I envision this as an "isDisambig" property of the Scribunto title object, but the exact naming or location isn't so important.
Jackmcbarn pointed out on IRC that we can't do this because disambiguation status is determined post-parse: > you could do {{#if:{{#invoke:IsThisADabPage|main|{{FULLPAGENAME}}}}||__DISAMBIG__}} or something and cause a paradox So I'm closing this as WONTFIX.