Last modified: 2014-11-20 18:56: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 T75666, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73666 - Api problem with SyntaxHighlight
Api problem with SyntaxHighlight
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
SyntaxHighlight (GeSHi) (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-20 18:56 UTC by paladox2015
Modified: 2014-11-20 18:56 UTC (History)
2 users (show)

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


Attachments

Description paladox2015 2014-11-20 18:56:25 UTC
Hi there seems to be a problem with api for syntaxhighlight the problem is that the api does not detect the version. Please visit https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=extensions and scroll down to SyntaxHighlight.

It says this 

             {
                "type": "parserhook",
                "name": "SyntaxHighlight",
                "descriptionmsg": "syntaxhighlight-desc",
                "author": "Brion Vibber, Tim Starling, Rob Church, Niklas Laxstr\u00f6m",
                "url": "https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi",
                "vcs-system": "git",
                "vcs-version": "88fc1cbb8cd7ab2c87da6d105a2e05a62937d889",
                "vcs-url": "https://git.wikimedia.org/tree/mediawiki%2Fextensions%2FSyntaxHighlight_GeSHi.git/88fc1cbb8cd7ab2c87da6d105a2e05a62937d889",
                "vcs-date": "2014-11-11T13:40:07Z",
                "license-name": "",
                "license": "/wiki/Special:Version/License/SyntaxHighlight"
            },


expected results

            {
                "type": "parserhook",
                "name": "SyntaxHighlight",
                "descriptionmsg": "syntaxhighlight-desc",
                "author": "Brion Vibber, Tim Starling, Rob Church, Niklas Laxstr\u00f6m",
                "url": "https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi",
                "version": "1.0.8.12",
                "vcs-system": "git",
                "vcs-version": "88fc1cbb8cd7ab2c87da6d105a2e05a62937d889",
                "vcs-url": "https://git.wikimedia.org/tree/mediawiki%2Fextensions%2FSyntaxHighlight_GeSHi.git/88fc1cbb8cd7ab2c87da6d105a2e05a62937d889",
                "vcs-date": "2014-11-11T13:40:07Z",
                "license-name": "",
                "license": "/wiki/Special:Version/License/SyntaxHighlight"
            },


It says this on other wikis which download manualy and upload it without using git.



            {
                "type": "parserhook",
                "name": "SyntaxHighlight",
                "descriptionmsg": "syntaxhighlight-desc",
                "author": "Brion Vibber, Tim Starling, Rob Church, Niklas Laxstr\u00f6m",
                "url": "https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi",
                "version": "GESHI_VERSION",
                "license-name": "",
                "license": "/index.php/Special:Version/License/SyntaxHighlight"
            },
Comment 1 Gerrit Notification Bot 2014-11-20 18:56:49 UTC
Change 174433 had a related patch set uploaded by Paladox:
Set Geshi version in main php file

https://gerrit.wikimedia.org/r/174433

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


Navigation
Links