Last modified: 2012-06-14 09:41:15 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 T39044, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37044 - Fix typo in GeSHi HTML5 definition file
Fix typo in GeSHi HTML5 definition file
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SyntaxHighlight (GeSHi) (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Dereckson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-23 09:02 UTC by Danny B.
Modified: 2012-06-14 09:41 UTC (History)
5 users (show)

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


Attachments

Description Danny B. 2012-05-23 09:02:38 UTC
[mediawiki/extensions/SyntaxHighlight_GeSHi.git] / geshi / geshi / html5.php

End of line 61 is "." and should be "," instead.
Comment 1 Niklas Laxström 2012-05-23 10:12:29 UTC
These should be reported to upstream http://qbnz.com/highlighter/ and ask here to update the version of bundled geshi once fixed.
Comment 2 Danny B. 2012-05-23 11:49:59 UTC
Although it's upstream, we can simply fix it ourselves.

Besides the demo on the site hilites correctly, so it obviously has already been fixed in some newer version we don't use yet.
Comment 3 Dereckson 2012-06-05 16:45:42 UTC
There is no html5.php file in GeSHi standard distribution.

Furthermore, their bugtracker isn't available for the moment: http://geshi.org/developers/bugs/
Comment 4 Dereckson 2012-06-05 17:03:55 UTC
Thank you for your report.

Code review: https://gerrit.wikimedia.org/r/#/c/10286/
____________________________

Danny B., please read http://www.mediawiki.org/wiki/Developer_access if you wish to join the MediaWiki development community and be able to add yourself patches in our code review queue.

You can get an overview of the process on http://www.mediawiki.org/wiki/Git/Workflow

I used the following commands to put your patch in our community code review site:

git clone ssh://review/mediawiki/extensions/SyntaxHighlight_GeSHi.git
cd SyntaxHighlight_GeSHi
git checkout -b geshi-37044
(editing the relevant file)
git add geshi/geshi/html5.php
git commit -a -m "(bug 37044) Fixed HTML5 syntax highlight typo"
git review
Comment 5 Siebrand Mazeland 2012-06-05 17:13:21 UTC
* merged Gerrit change #10286.
* Removed upstream tag. That should only be added once an upstream bug id is known. See https://bugzilla.wikimedia.org/describekeywords.cgi#upstream.
Comment 6 Niklas Laxström 2012-06-14 09:21:15 UTC
Even though geshi library is now physically bundled in the repo, we shouldn't be making changes to it.
Comment 7 Dereckson 2012-06-14 09:40:57 UTC
Okay,

I've made further inquiries.

There is two versions of GeSHI:
* 1.0, with the HTML5.php file
* 1.1, currently in development

The correct one is the 1.0.X, as indicated in extension README file.
http://geshi.svn.sourceforge.net/viewvc/geshi/trunk/geshi-1.0.X/

The typo reported by Danny B. have been fixed 8 months ago:
r1=2430&r2=2479">http://geshi.svn.sourceforge.net/viewvc/geshi/trunk/geshi-1.0.X/src/geshi/html5.php?r1=2430&r2=2479

The GeSHI project doesn't seem very active currently.

I opened the bug #37585 to track the upcoming release and fix it.

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


Navigation
Links