Last modified: 2014-11-06 21:25:54 UTC
If the page contains some {{PROTECTIONLEVEL:}] calls and some links depend on them, it fails to update links tables.
Refresh jobs generated by changing page protection, fun. You know, this makes me wonder if we should just introduce some sort of abstract "refresh links" table. Every time a page used something like {{PROTECTIONLEVEL:Foo}} or {{#isblocked:Foo|bar|baz}} we would call something like $parserOutput->refreshLink( 'protection', 475 ); or $parserOutput->refreshLink( 'blocked', 5 ); Then hooks or whatever could just initiate a refresh job for something like ( 'protection', 475 ) when the protection level of page_id = 475 was changed and any pages that used something like that would be refreshed.
Due to fix of bug 17970, this should get a higher importance.
Any progress on this?
Anyone?
Probably changing page protection should just call WikiPage::doEditUpdates()?
Or WikiPage::doUpdateRestrictions() should clear some caches itself.