01283: Newer versions of pmwiki mess up the menu text

Summary: Newer versions of pmwiki mess up the menu text
Created: 2012-03-13 10:19
Status: Closed
Category: Documentation
From: nikos?
Assigned:
Priority: 5
Version: 2.2.36 and earlier
OS:

Description:

Newer versions of pmwiki mess up the menu text.

After wasting some time, deleteing and reuploading,
and trying various things,
it seems that the problem is in pmwiki.php .

In line 892, if you change...

    if (IsEnabled($EnableXLPageScriptLoad, 0) && @$xl['xlpage-i18n']) {

to...

    if (IsEnabled($EnableXLPageScriptLoad, 1) && @$xl['xlpage-i18n']) {

then the problem is corrected. [Don't change this in pmwiki.php or you'll create other problems in the future. --Petko]

I have tested it in my local copy.
I'll wait for the next version of pmwiki to try it on the online website.

This is not a bug, it is a documented change. You are kindly invited to read the release notes if you can, every time you upgrade. This specific change was in 2.2.35 and administrators of international wikis now need to have a line:

  include_once("scripts/xlpage-utf-8.php"); # if your wiki uses UTF-8

before the line about internationalization like:

  XLPage('bg','PmWikiBg.XLPage');

We already tell people to read the release notes on the pages Download, Upgrades and Installation. If you have ideas how to better document such changes so that people could find them, please tell me. --Petko March 14, 2012, at 05:03 AM

--- --- ---
I am sorry for wasting your time.
Obviously... my fault.

My attitute towards pmwiki upgrates was that of any other application in my computer.
(And in linux upgrades are easy. You type your password, you get a list of all the applications that are to be upgrated, and you confirm by clicking on the "Upgrade" button. That's all you have to "worry" about.)
I have never, really, read any release notes, or Changelog.
After all, I don't understand most of it.

Maybe some red letters in the download page could urge some people, like me, to read the Release Notes.
But probably most of us amateurs, we will have to make the mistake to learn.
nikos
--- --- ---