Page MenuHomePhabricator

Extension:Packageforce does not create its additional tables.
Closed, DeclinedPublic

Description

I've installed Extension:Packageforce from svn, newest version, and included it in Localsettings.php in the usual way. No addional parameters set.

The user special page is empty.

The admin special page reports an SQL error:
„1146: Table 'user_mwtest_1.shs_packageforce_package_members' doesn't exist (localhost)“.

A quick inspection of the source code: It seems to supply SQL code for a
database update. I did not check it in detail, though. I did check the
database - there is no indication of an attempt to add the missing table.


Version: unspecified
Severity: blocker

Details

Reference
bz25565

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:21 PM
bzimport set Reference to bz25565.

svippy wrote:

This is what spitting your coffee feels like, eh?

I wasn't expecting someone to actually try PackageForce yet. And I have not developed on it for a good while - unfortunately.

The extension not done, not on an install-level or a usage level. This is unfortunate, but keep this bug open regardless, as it is technically a lack in its functionality.

But given someone has shown actual interest may convince to start developing on it again.

(In reply to comment #2)
My interest in this try was not so much in actually using it (at the moment, that is) but more in trying it out so as to better understand how to translate localizeable strings and probably add some comments to /qqq so as to aid other translators - answering the usual questions: "is 'edit' a noun or a verb?" "Is 'edit link' a link to an edit page or does it point to an editable a link" etc.
See also:
http://translatewiki.net/wiki/Thread:Support/pf-header-edit_(%22Linkin_muokkaus%22)

(In reply to comment #1)

Did you run update.php?

Not at that time, since I did not know if the extensionm updates the date base automagically when called the 1st time. But meanwhile, I did run update.php
and it said:

Creating packageforce_packages table...ok

Two additional tables do exist now.

The PackageForceAdmin special page now shows either of two empty lists. Its button does not alter anything visible.

The PackageForce special page remains completely empty.

There _are_ templates in the wiki.

No updates in more than three years, hence removing the ASSIGNED status. Feel free to reset it if somebody actively works on it.

svippy wrote:

(In reply to Andre Klapper from comment #5)

No updates in more than three years, hence removing the ASSIGNED status.
Feel free to reset it if somebody actively works on it.

Packageforce as a package has been made obsolete by MediaWiki's support of Lua scripting. The intent - if I recall correctly and I am the author - was to rewrite popular but slow templates, such as {{cite core}}. However, with Lua scripting, this seems no longer relevant as far as I can gather.

I have not been keeping tracks on whether Lua scripting has actually made it into stable yet.

svippy wrote:

(In reply to Andre Klapper from comment #7)

Svip: So is this extension still maintained, or should the category
https://www.mediawiki.org/wiki/Category:Obsolete_extensions be added to
https://www.mediawiki.org/wiki/Extension:PackageForce ?

Yes. The support of Lua in MediaWiki has made this extension obsolete.