"Roan Kattouw" roan.kattouw@home.nl wrote in message news:480DFD4D.8000806@home.nl...
Simetrical schreef:
The only downsides I see are:
- It uses the LinkUpdater to gradually build the categoryintersections
table, but there's no maintenance script to build the entire table at once. I've written one today, but haven't figured out yet how to properly integrate this into an extension (I can't really get the path to the maintenance dir from there; are there any other extensions with CLI scripts around?)
Mostly we just assume that we're in wikiroot/extensions/.
I'll do that then, but it's still somewhat creepy.
And, of course, it doesn't help when that's not the case, which is the situation for us. For technical reasons, all extensions are outside the MW source folder entirely. It would be good if MW provided a framework for running per-extension maintenance scripts.
For example, to run the 'upgrade' script for the CategoryIntersection extension, you could use:
~/wiki/maintenance/ $ php updateExtension.php CategoryIntersection upgrade
- Mark Clements (HappyDog)