It's been quite a while since I looked into the red-link handling, and I don't remember what the difference is between the queries (they both call SMW code to do the actual querying), but from what I recall it was a pretty significant performance difference.

It would be easy to add a setting to disable red-link handling altogether, but I don't recall anyone ever requesting such a thing - it's a pretty useful feature.

On Thu, Sep 19, 2013 at 2:16 PM, Jeroen De Dauw <jeroendedauw@gmail.com> wrote:

There's a setting you can use, $
sfgRedLinksCheckOnlyLocalProps, that, if you set it to true, makes it so that setBrokenLink() checks only the properties defined on this page, instead of all properties across the wiki. It makes the whole thing less effective, but it should reduce the running time considerably.

So what is the difference in queries that get executed? I'm not sure what is happening exactly, though suspect that even if you do only local props, a decent chunk of the cost is still there. If that is the case, being able to fully disable it might be quite useful for certain people.


Jeroen De Dauw
Don't panic. Don't be evil. ~=[,,_,,]:3

WikiWorks MediaWiki Consulting http://wikiworks.com