Thread:Project:Support desk/MagicWord.php error breaking wiki, can't update to newest version of mediawiki

On all three of my wikis I've suddenly gotten the following error messages repeatedly at the top of the page or a variation of:


 * Warning: preg_match: Compilation failed: group name must start with a non-digit at offset 8 in /home1/fh14/public_html/kitayume/includes/MagicWord.php on line 872

I looked around online and the recommended solution seemed to be to upgrade mediawiki. I tried that, but the installer seems to stop working about halfway through as the option to continue disappears, and I honestly don't know what to do at this point. Please Help.