Topic on Project:Support desk

After upgrade to 1.23.6, links displayed with corrupted text for greater than and less than brackets

6
Bruce Stephens (talkcontribs)

Versions: MediaWiki 1.23.6 PHP 5.5.19 (cgi-fcgi) MySQL 5.1.73-log

I recently upgraded from an older version to 1.23.6. The upgrade seems to go okay, except that all the Wiki's links are displayed wrong. The actual content of the Wiki is okay, but the "build-in" links display with < at the beginning and > at the end. Looking at the source xml of one of the links, it appears as: <searchprofile-articles>

It appears that the intended string is getting double encoded: The less than sign is encoded to < and then that is re-encoded to <

This obviously is an artifact of some part of the upgrade since it doesn't happen on a clean install. I can't find anything in the LocalSettings.php file that would explain the difference. I'm not sure where to look.

The Wiki URL is http://grace97330.org/Wiki

Ciencia Al Poder (talkcontribs)
Bruce Stephens (talkcontribs)

Is there a way to run these if I don't have access to bash on the server (they charge extra for this and I'm on a budget). The rebuildLocalisationCache.php script refuses to run when specified directly from a browser url.

Ciencia Al Poder (talkcontribs)

See Localisation#Caching. You probably need to remove all rows of the l10n_cache table. With phpmyadmin you could do that. There's an option to truncate the table: removing all rows of it. Just be sure to not drop the table itself.

Bruce Stephens (talkcontribs)

I was able to truncate the table, but it didn't fix the problem. Are there other caches that I should try clearing?

Ciencia Al Poder (talkcontribs)

I'd try the upgrade again, extracting all MediaWiki installation files on a new empty folder, as explained in Manual:Upgrade.

Reply to "After upgrade to 1.23.6, links displayed with corrupted text for greater than and less than brackets"