Last modified: 2008-08-25 22:53:41 UTC
0. You have editor flag. 1. Create template [[template:A]]. It's auto-sighted. 2. Create article [[Article]] which uses template {{A}}. It's auto-sighted. 3. Do non-sighed (e.g. anon) edito of [[template:A]]. We see article [[Article]] become non-sighted, and "stable" version uses sighted version of the template. It's OK now. 4. Sight [[template:A]]. The article still says it's a draft, not stable. Stable link uses old revision of the template, not the last one (which is sighted). It seems it does not depend on $wgUseStableTemplates option, because the problem can be reproduced both on testwiki and on en.labs. See http://en.labs.wikimedia.org/w/index.php?title=IV_test_page_3&stable=0 , http://en.labs.wikimedia.org/wiki/Template:IV_test3 -- for testcase on labs, and http://test.wikipedia.org/wiki/IV_test_4 , http://test.wikipedia.org/wiki/Template:IV_test_template_2 -- for testcase on testwiki.
This is due to jobqueue lag. Invalidation of pages that use a template is not done all at once like most operations.
$wgUseStableTemplates = false; on labs