https://bugzilla.wikimedia.org/show_bug.cgi?id=73666

            Bug ID: 73666
           Summary: Api problem with SyntaxHighlight
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: SyntaxHighlight (GeSHi)
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: thomasmulhall...@yahoo.com
                CC: s...@reedyboy.net, soxre...@gmail.com
       Web browser: ---
   Mobile Platform: ---

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"
            },

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to