Page MenuHomePhabricator

{{words}} and page titles (in Unicode) are unstable
Closed, InvalidPublic

Description

Author: admin

Description:
This is my first MediaWiki installation. First two weeks it worked okay. Few days ago templates and magic words (everything in {{ }} brackets) turns unstable. Sometimes they work, sometimes just show themselves in the resulting webpage, even {{SITENAME}} in window title, {{PLURAL...}} at the bottom of pages.

To make things even worse, some pages aren't displayed by index.php at all. They display message from "badtitletext". After few reloads (with the same URL) the correct page is displayed, very often with bad templates.

When I edit one page by adding/deleteing spaces/blanklines, the page could be fixed. But another page at the same time brokes. Sometimes : or ] characters in the page contents are changed to "?", sometimes "?" appears at the end of (the broken or working) page.

I use Russian language both in page title and contents with option to use Unicode support, build in MySQL.

  • MediaWiki: 1.11.0
  • PHP: 5.2.3 (apache)
  • MySQL: 5.0.45-log

$uname -a
FreeBSD be76.masterhost.ru 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Wed Feb 14 17:32:18 MSK 2007 root@beX6-i386.masterhost.ru:/usr/src/sys/i386/compile/server6 i386

I have only one extension (CharInsert), and disableing it doesn't help. I'm working via HTTP proxy, but my home Internet account (NAT, w/o proxy) shows the same problem. Only week ago it was all okay and behaved as documented from everywhere.

People on MediaWiki-General suggested there is an error in SQL database. I run mysqlcheck, but it shows "Ok" to every table (except hits) even with "-e" and with "-r" options with the only note:

u79575.dw_hitcounter
note : The storage engine for the table doesn't support check

I'm really disappointed, because this installation is on the site of a big Russian educational organization, and many teachers just started to use wiki technology. If this bug will be fixed fast, people could continue to enjoy MediaWiki.


Version: 1.11.x
Severity: normal
OS: FreeBSD
Platform: PC
URL: http://mgdvorec.ru/wiki/index.php/%D0%A1%D1%82%D1%80%D1%83%D0%BA%D1%82%D1%83%D1%80%D0%B0_%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D1%8B%D1%85_%D0%BF%D0%BE%D0%B4%D1%80%D0%B0%D0%B7%D0%B4%D0%B5%D0%BB%D0%B5%D0%BD%D0%B8%D0%B9

Details

Reference
bz12073

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 9:59 PM
bzimport set Reference to bz12073.
bzimport added a subscriber: Unknown Object (MLST).

admin wrote:

Finally traced this bug!

This is bug not in MediaWiki code, but in its documentation. One must add "at least 20Mb of memory_limit for PHP" in Requirements.

I had only 16Mb, so all those weird things happened -- even when I made a fresh installation! When I changed memory_limit to 32Mb, everything became stable.

But I also changed Unicode support in MySQL from "Experimental" to first option and database option to more stable (we have several users). So, if you want to be 100% sure, make testing.