Thank you! Worked like a charm! I've submitted a patch:
https://gerrit.wikimedia.org/r/#/c/265262/1
--
Robert Vogel
-----Ursprüngliche Nachricht-----
Von: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Tim
Starling
Gesendet: Montag, 18. Januar 2016 10:10
An: mediawiki-l(a)lists.wikimedia.org
Betreff: Re: [MediaWiki-l] Rebuild page_props
On 18/01/16 19:51, Robert Vogel wrote:
Hi!
Thanks! I will try this. Does this mean "refeshLinks.php" parses all
pages to retrieve the current "page_props" (which for example might be
set by tag extensions using "$parser->getOutput()->setProperty()" ).
On line 150 it has:
$wgParser->clearTagHooks();
You should remove that line. Actually it should be removed upstream as well -- the
rationale predates the existence of the many extensions that set links and properties.
Once that is done, yes, it parses all pages, retrieves properties, and saves them to the
database.
It then should also clear all parser cache,
shouldn't it?
No, it doesn't clear the parser cache. You can do that separately, if necessary, for
example by clearing the underlying storage.
-- Tim Starling
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l