Last modified: 2012-03-17 23:37:31 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 T37284, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35284 - Can't install LiquidThreads extension from web updater
Can't install LiquidThreads extension from web updater
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-17 17:12 UTC by Quim Gil
Modified: 2012-03-17 23:37 UTC (History)
1 user (show)

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


Attachments

Description Quim Gil 2012-03-17 17:12:34 UTC
It doesn't seem to be possible to install LiquidThreads (downloaded on 2012-03-03) in Mediawiki 1.18.1 via web updater.  

I get database errors implying that the LQT.sql changes aren't taken:

When viewing a page:

«NewMessages::newMessageCount».Database returns «1146: Table
'wiki.user_message_state' doesn't exist (localhost)».

When viewing a Talk page:

«IndexPager::reallyDoQuery (LqtDiscussionPager)». Database returns
«1146: Table 'wiki.thread' doesn't exist (localhost)».


For what is worth this is the output when running the web based upgrade script: http://pastebin.com/NxWrr774

The wiki where I'm attempting to install this extension is espiral.org/wiki/Special:Version
Comment 1 Sam Reed (reedy) 2012-03-17 17:25:02 UTC
Seems to work fine for me on 1.18 dev wiki

On the Upgrade existing installation step, what do you get?

The important LQT stuff is something like the below:

Creating thread table...ok
...user_message_state table already exists.
...thread_history table already exists.
...thread_pending_relationship table already exists.
...thread_reaction table already exists.
...have thread_article_namespace field in thread table.
...have thread_article_title field in thread table.
...have thread_ancestor field in thread table.
...have thread_parent field in thread table.
...have thread_modified field in thread table.
...have thread_created field in thread table.
...have thread_editedness field in thread table.
...have thread_subject field in thread table.
...have thread_author_id field in thread table.
...have thread_author_name field in thread table.
...have thread_sortkey field in thread table.
...have thread_replies field in thread table.
...have thread_article_id field in thread table.
...have thread_signature field in thread table.
...have ums_conversation field in user_message_state table.
...thread_summary_page key already set on thread table.
Purging caches...done.
Checking site_stats row...done.
Comment 2 Quim Gil 2012-03-17 18:38:06 UTC
Alright, found the problem and it was rather simple:

I was following the instructions described at http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/LiquidThreads/README?view=markup interpreting that the steps were:

1. Download and unpack extension in server folder.
2. Run the updater.
3. Enable extension in LocalSettings.php

However the correct steps when using the web updater are:

1. Download & unpack.
2. Enable extension.
3. Run updater.

Then it works.

The instructions at http://www.mediawiki.org/wiki/Extension:LiquidThreads#Installation are correct. The README file could be updated using them? I went for the README assuming that the instructions there would be more recent, since some of the info at the wiki page is still referring to the old "beta".

Thank you and sorry for the noise.

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


Navigation
Links