Last modified: 2014-02-12 23:35:51 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 T34892, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32892 - Special:Version should include version numbers of JS resources like jQuery
Special:Version should include version numbers of JS resources like jQuery
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.20.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: documentation
  Show dependency treegraph
 
Reported: 2011-12-09 07:15 UTC by Niklas Laxström
Modified: 2014-02-12 23:35 UTC (History)
4 users (show)

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


Attachments

Description Niklas Laxström 2011-12-09 07:15:44 UTC
Currently there is no easy way to check what version is provided.
Comment 1 Brion Vibber 2011-12-09 13:07:34 UTC
For jQuery the easiest way is probably to fill it in from JS; $.fn.jquery holds the version number.
Comment 2 Chad H. 2011-12-12 14:04:41 UTC
Can we be careful about adding things here? I remember the last time we went overboard with adding version numbers...
Comment 3 Niklas Laxström 2011-12-12 14:46:46 UTC
I don't remember last time... or was it trying to add many OS packages to the list? Just having the jQuery version number would suffice for me.
Comment 4 Chad H. 2011-12-12 14:48:08 UTC
It started with just adding one version number. And before you knew it, we were shelling out to imagemagick and diff3 to put all kinds of version numbers in that little table.

It is a slippery slippery slope :)
Comment 5 Sam Reed (reedy) 2011-12-12 18:51:05 UTC
I could sorta see the benefit.. But we could also have a table on mw.org that for each MW version, we listed versions of major libraries (jQuery, jQuery.ui) that are released with MediaWiki

Yay, documentation!
Comment 6 Nemo 2012-10-03 07:32:24 UTC
(In reply to comment #4)
> It started with just adding one version number. And before you knew it, we were
> shelling out to imagemagick and diff3 to put all kinds of version numbers in
> that little table.
> 
> It is a slippery slippery slope :)

We could maybe add only versions of the code that the users load/use/execute directly (what is there besides JS?) and leave all back-end dependencies hidden?
jQuery can throw errors directly to the user and custom JavaScript depends on it so again what users do is directly affected by it, unlike category sorting, diffs, image scaling and so on. Also, one could supposedly guess the rest from the OS info, but not jQuery?
Comment 7 Quim Gil 2014-01-28 05:35:32 UTC
(In reply to comment #2)
> Can we be careful about adding things here? I remember the last time we went
> overboard with adding version numbers...

For what is worth, this is how https://en.wikipedia.org/wiki/Special:Version looks today:

MediaWiki 	1.23wmf10 (7a69cda)
PHP 	5.3.10-1ubuntu3.9+wmf1 (apache2handler)
MySQL 	5.5.34-MariaDB-1~precise-log
Elasticsearch 	0.90.10
LuaSandbox 	1.8-1
Lua 	5.1.4

If there is an agreement on this request, then it could be marked as EASY.

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


Navigation
Links