If I purge the math table of my database and empty the math images directory will mediawiki regenerate the images?
Philip Beach wrote:
If I purge the math table of my database and empty the math images directory will mediawiki regenerate the images?
Only when the page is edited or purged. However, if you just delete the math images, it could be possible to regenerate the images on request based on the math table (although I don't think it's directly availabe).
Well my math table is corrupt for some reason (I'm trying to fix it), but if that fails I'm just wondering the best way to get everything back. So I guess I'll have to manually edit and save every page with math tags?
Thanks
On Mon, Feb 2, 2009 at 10:04 AM, Platonides Platonides@gmail.com wrote:
Philip Beach wrote:
If I purge the math table of my database and empty the math images
directory
will mediawiki regenerate the images?
Only when the page is edited or purged. However, if you just delete the math images, it could be possible to regenerate the images on request based on the math table (although I don't think it's directly availabe).
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Philip Beach wrote:
Well my math table is corrupt for some reason (I'm trying to fix it), but if that fails I'm just wondering the best way to get everything back. So I guess I'll have to manually edit and save every page with math tags?
Thanks
You can just truncate the table, then. And perhaps comment the line return $this->_error( 'math_output_error' ); on Math.php if your system don't delete on rename. You'll be rerendering things on purge/edit, but won't show broken images until you do so.
mediawiki-l@lists.wikimedia.org