Table of contents appear up to date even when they aren't

Status
Open
Title
Table of contents appear up to date even when they aren't
Function Group
B
Priority
3
Description
Rick Sapir pointed out the following issue.

Alain:

Consider the following two pages:

* English page: http://twbasics.keycontent.org/tiki-index.php?page=tikiwiki+for+smarties&bl
* German page: http://twbasics.keycontent.org/tiki-index.php?page=TikiWiki%20for%20Smarties%2C%20de


The actual wiki text for the English page is:

TikiWiki for

 Plugin disabled

Plugin tag cannot be executed.
 Smarties

A beginner's guide to using TikiWiki CMS/Groupware.

Table of Contents

 Plugin disabled

Plugin toc cannot be executed.



The actual wiki text for the German page is:

TikiWiki für

 Plugin disabled

Plugin tag cannot be executed.
 Pfiffige

Anfängerleitfaden für TikiWiki CMS/Groupware.

In diesem Abschnitt

 Plugin disabled

Plugin toc cannot be executed.



Tiki will see these pages as "identical" — the actual text is fully translated from English-German.

But... the toc is a special plugin that automatically generates the table of contents, based on the other pages in the structure. In this case, the English structure is complete, but the German structure is not.

Therefore, an end-user who accesses both pages will see very different content on each — the English page is much more complete than the German page.

I've taken a look at some of the translation code, and it appears (based on my limited knowledge) that the text comparison is being done against the data column for each page. But this column does not include the generated content (in this case, the TOC listing).

I was going to suggest using the cache column instead (which does include the content) — but what about sites that don't use wiki page caching?

Perhaps this is coupled with the discussion of translating structures?

-R
Iteration
TBD
Assigned to
alain_desilets


Upcoming Events

No records to display