Last modified: 2014-09-19 22:18:55 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 T45817, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43817 - Include short descriptions for extensions bundled in the release
Include short descriptions for extensions bundled in the release
Status: NEW
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.21.x
All All
: Normal enhancement (vote)
: Future release
Assigned To: Nobody - You can work on this!
https://www.mediawiki.org/wiki/Talk:S...
: easy
Depends on:
Blocks: 31279
  Show dependency treegraph
 
Reported: 2013-01-10 10:47 UTC by Nemo
Modified: 2014-09-19 22:18 UTC (History)
6 users (show)

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


Attachments
1.22 extension descriptions are red and blue dead links (119.79 KB, image/png)
2013-12-07 04:59 UTC, John Mark Vandenberg
Details

Description Nemo 2013-01-10 10:47:45 UTC
Split from bug 31279 which covers too many issues: for the extensions which make-release bundles in the tarball (currently 7), the installer should provide their short description (next to their name, as tooltip, whatever).
Comment 1 Andre Klapper 2013-03-21 15:14:27 UTC
Reminder: As this has the 1.21.0 target milestone set, this bug report needs to receive a patch in the next weeks, otherwise it might be excluded from 1.21.0.
Comment 2 Gerrit Notification Bot 2013-10-11 21:18:44 UTC
Change 89340 had a related patch set uploaded by MarkAHershberger:
Include short descriptions for extensions bundled in the release

https://gerrit.wikimedia.org/r/89340
Comment 3 Gerrit Notification Bot 2013-11-12 18:50:14 UTC
Change 94951 had a related patch set uploaded by MarkAHershberger:
Include short descriptions for extensions bundled in the release

https://gerrit.wikimedia.org/r/94951
Comment 4 Gerrit Notification Bot 2013-11-12 19:15:51 UTC
Change 94951 merged by MarkAHershberger:
Include short descriptions for extensions bundled in the release

https://gerrit.wikimedia.org/r/94951
Comment 5 Andre Klapper 2013-12-07 02:37:45 UTC
[Bumping TM as MediaWiki 1.22.0 tarball was released today.]
Comment 6 John Mark Vandenberg 2013-12-07 04:59:53 UTC
Created attachment 14022 [details]
1.22 extension descriptions are red and blue dead links

I just ran through a clean 1.22 web installer process, which does have descriptions for the extensions.

However the descriptions include wikilinks like "Lets users select [[special:gadgets|custom CSS and JavaScript gadgets]] in their [[special:preferences#mw-prefsection-gadgets|preferences]]" with the first wikilink being _red_, and the second wikilink being blue.  Neither red or blue link work because the installation process hasnt been commenced yet, so there is no mediawiki to understand these special: URLs.

The extension descriptions with this problem are: Gadgets, Interwiki, Nuke & Renameuser (ignore SpecialInterwiki - that is a different bug)
Comment 7 Gerrit Notification Bot 2014-01-12 23:26:21 UTC
Change 89340 merged by jenkins-bot:
Include short descriptions for extensions bundled in the release

https://gerrit.wikimedia.org/r/89340
Comment 8 Gerrit Notification Bot 2014-01-13 01:25:26 UTC
Change 107110 had a related patch set uploaded by MarkAHershberger:
Include short descriptions for extensions bundled in the release

https://gerrit.wikimedia.org/r/107110
Comment 9 Gerrit Notification Bot 2014-01-13 20:48:32 UTC
Change 107211 had a related patch set uploaded by MarkAHershberger:
Include short descriptions for extensions bundled in the release

https://gerrit.wikimedia.org/r/107211
Comment 10 Gerrit Notification Bot 2014-01-13 23:20:33 UTC
Change 107211 merged by jenkins-bot:
Include short descriptions for extensions bundled in the release

https://gerrit.wikimedia.org/r/107211
Comment 11 Bawolff (Brian Wolff) 2014-01-30 23:58:54 UTC
Someone on irc recently reported getting the following when installing 1.22.2:

[95db6fd5] /mw-config/index.php?page=Options Exception from line 704 of /home/hgwiki/public_html/includes/cache/MessageCache.php: Non-string key given

Backtrace:

#0 /home/hgwiki/public_html/includes/Message.php(878): MessageCache->get(NULL, boolean, Language)
#1 /home/hgwiki/public_html/includes/Message.php(560): Message->fetchMessage()
#2 /home/hgwiki/public_html/includes/Message.php(639): Message->toString()
#3 /home/hgwiki/public_html/includes/installer/WebInstallerPage.php(961): Message->parse()
#4 /home/hgwiki/public_html/includes/installer/WebInstaller.php(275): WebInstaller_Options->execute()
#5 /home/hgwiki/public_html/mw-config/index.php(61): WebInstaller->execute(array)
#6 /home/hgwiki/public_html/mw-config/index.php(29): wfInstallerMain()
#7 {main}


Which may be related to the fix for this bug.
Comment 12 Bawolff (Brian Wolff) 2014-01-31 00:16:25 UTC
(In reply to comment #11)
> Someone on irc recently reported getting the following when installing
> 1.22.2:
> 
> [95db6fd5] /mw-config/index.php?page=Options Exception from line 704 of
> /home/hgwiki/public_html/includes/cache/MessageCache.php: Non-string key
> given
> 
> Backtrace:
> 
> #0 /home/hgwiki/public_html/includes/Message.php(878):
> MessageCache->get(NULL,
> boolean, Language)
> #1 /home/hgwiki/public_html/includes/Message.php(560):
> Message->fetchMessage()
> #2 /home/hgwiki/public_html/includes/Message.php(639): Message->toString()
> #3 /home/hgwiki/public_html/includes/installer/WebInstallerPage.php(961):
> Message->parse()
> #4 /home/hgwiki/public_html/includes/installer/WebInstaller.php(275):
> WebInstaller_Options->execute()
> #5 /home/hgwiki/public_html/mw-config/index.php(61):
> WebInstaller->execute(array)
> #6 /home/hgwiki/public_html/mw-config/index.php(29): wfInstallerMain()
> #7 {main}
> 
> 
> Which may be related to the fix for this bug.

Specifically it appears the code explodes if somebody has something in the extension directory that doesn't set descriptionmsg in the extension credits, which many third party extensions don't. Code in question should really do some error handling.
Comment 13 Bawolff (Brian Wolff) 2014-01-31 00:32:26 UTC
> 
> Specifically it appears the code explodes if somebody has something in the
> extension directory that doesn't set descriptionmsg in the extension credits,
> which many third party extensions don't. Code in question should really do
> some
> error handling.

https://gerrit.wikimedia.org/r/#/c/110475/
Comment 14 Gerrit Notification Bot 2014-01-31 12:32:25 UTC
Change 110475 had a related patch set uploaded by MarkAHershberger:
Add error handling if descriptionmsg isn't defined for extension.

https://gerrit.wikimedia.org/r/110475
Comment 15 Gerrit Notification Bot 2014-02-05 17:37:59 UTC
Change 110475 merged by jenkins-bot:
Add error handling if descriptionmsg isn't defined for extension.

https://gerrit.wikimedia.org/r/110475
Comment 16 Bartosz Dziewoński 2014-02-24 14:54:33 UTC
What is the status of this? Many patches have been submitted, many have been merged. Updates?
Comment 17 Nemo 2014-02-24 15:46:55 UTC
From what I saw the installer does have said short descriptions, I'm not sure however if something's still broken.
Comment 18 Andre Klapper 2014-04-25 06:47:12 UTC
(In reply to Bartosz Dziewoński from comment #16)
> What is the status of this? Many patches have been submitted, many have been
> merged. Updates?

https://gerrit.wikimedia.org/r/#/c/107110/ is still open and -1'ed.
Comment 19 Mark A. Hershberger 2014-04-25 15:04:19 UTC
Thanks for reminding me of this.  I'll see if I can't fix this today.
Comment 20 Gerrit Notification Bot 2014-05-27 16:48:09 UTC
Change 107110 abandoned by MarkAHershberger:
Include short descriptions for extensions bundled in the release

https://gerrit.wikimedia.org/r/107110
Comment 21 Kunal Mehta (Legoktm) 2014-05-27 18:03:14 UTC
I don't think this is feasible for the 1.23 release. I agree with Daniel's comments and his uneasiness:

> That idea also makes me really uneasy. Even the great evil and insecure WordPress doesn't dare execute the PHP of a plugin that hasn't been activated yet.

We should wait for the Extension registration RfC to get implemented (hopefully 1.24) then we can just read from JSON files (metadata+i18n).
Comment 22 Mark A. Hershberger 2014-05-27 18:36:39 UTC
(In reply to Kunal Mehta (Legoktm) from comment #21)
> We should wait for the Extension registration RfC to get implemented
> (hopefully 1.24) then we can just read from JSON files (metadata+i18n).

Agreed.  Bumping to 1.24..
Comment 23 JuneHyeon Bae (devunt) 2014-06-05 00:15:29 UTC
see https://www.mediawiki.org/wiki/Requests_for_comment/Extension_registration for extension registration feature information.

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


Navigation
Links