Last modified: 2012-07-09 05:52:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39715, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37715 - Unknown error: "tpt-unknown-page"
Unknown error: "tpt-unknown-page"
Status: RESOLVED DUPLICATE of bug 37647
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
REL1_18-branch
PC Windows 7
: Unprioritized blocker (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-19 15:27 UTC by mario.quirino
Modified: 2012-07-09 05:52 UTC (History)
2 users (show)

See Also:
Web browser: Google Chrome
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Error that appears when clicking on a message unit to translate. (61.01 KB, image/png)
2012-06-20 09:05 UTC, mario.quirino
Details

Description mario.quirino 2012-06-19 15:27:57 UTC
Hello,

I just installed the Translate extension in a mediawiki 1.18 installation I'm using for tests, and according to everything I've read so far, I've installed the extension correctly.

However, every time I try to translate a message unit, in the popup that appears at the top of the page, a javascript alert message appears stating the following error:

Unknown error: "tpt-unknown-page" (unknownerror)

What is this error and how can I solve it?
This is completely blocking my work and I already spent quite a few hours trying to solve this, including a new fresh installation of the mediawiki.

Thanks in advance.
Comment 1 Niklas Laxström 2012-06-19 15:57:22 UTC
What kind of message groups and which version of Translate?

Running php scripts/createMessageIndex.php will temporarily fix the problem.
Comment 2 mario.quirino 2012-06-19 16:07:20 UTC
(In reply to comment #1)
> What kind of message groups and which version of Translate?
> 
> Running php scripts/createMessageIndex.php will temporarily fix the problem.

The latest stable version for MediaWiki 1.18.

I'm not sure what you mean by kind of message groups, but I'm currently testing the translate extension for a wiki page, which has create a message group with 4 message units, one being the title and another three for the page's content.
Comment 3 Niklas Laxström 2012-06-20 08:24:20 UTC
There is no such thing as latest stable version of Translate for MediaWiki 1.18. If you are downloading Translate from 1.18 branch you are getting a year old version. The latest version from https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Translate.git still supports MediaWiki 1.18.
Comment 4 mario.quirino 2012-06-20 09:03:57 UTC
In the Translate extension page (http://www.mediawiki.org/wiki/Extension:Translate), to the right there is a link called "Download Snapshot". I clicked on it which took me to this page (http://www.mediawiki.org/wiki/Special:ExtensionDistributor/Translate) letting me choose for which version of MediaWiki I have. So I assumed this was the latest stable version for MediaWiki 1.18.

Also when I updated to the extension version you gave me (I removed the old folder and pasted the new version) a new error appeared when I clicked on a message unit to translate, which can be seen in the image I attached to this ticket.

This is the configuration I have for extension:
require_once( "$IP/extensions/Translate/Translate.php" );
$wgGroupPermissions['translator']['translate'] = true;
$wgTranslateDocumentationLanguageCode = 'qqq';
$wgGroupPermissions['sysop']['pagetranslation'] = true;
$wgEnablePageTranslation = true;
Comment 5 mario.quirino 2012-06-20 09:05:07 UTC
Created attachment 10775 [details]
Error that appears when clicking on a message unit to translate.
Comment 6 mario.quirino 2012-06-28 15:46:59 UTC
Is there a solution or fix for these issues?

I tried running that script, but now, if I try to save the translation, nothing happens. Nothing is saved.

Any help would be greatly appreciated.
Comment 7 Niklas Laxström 2012-07-02 11:04:32 UTC
I need more information that "nothing happens". It would be helpful if you checked PHP error logs and inspected the AJAX request in the developer tools of Firefox or Chrome.
Comment 8 Siebrand Mazeland 2012-07-09 05:52:11 UTC

*** This bug has been marked as a duplicate of bug 37647 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links