Last modified: 2005-04-10 19:53:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1820 - OS-detection in EasyTimeline.pl fails on Mac OS X
OS-detection in EasyTimeline.pl fails on Mac OS X
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
EasyTimeline (Other open bugs)
unspecified
Macintosh Mac OS X 10.3
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-04 19:47 UTC by Schnargel
Modified: 2005-04-10 19:53 UTC (History)
0 users

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


Attachments

Description Schnargel 2005-04-04 19:47:59 UTC
In EasyTimeline.pl the line
  if ($OS =~ /win/i)
in sub SetImageFormat matches "darwin", which is returned by OS X, assigning it Windows $fmt and $pathseparator but it should be the Linux 
ones.

(Looking closer at the following lines it appears that $pathseparator doesn't get set at all if there's no OS detected)
Comment 1 JeLuF 2005-04-05 21:26:30 UTC
Fixed in CVS HEAD, revision 1.13

$pathseparator is always set, because the else branch is always executed when
the if-condition doesn't match.
Comment 2 Schnargel 2005-04-05 21:36:56 UTC
Sorry that was my fault about the pathseparator. The issue is still:

In EasyTimeline.pl the line
  if ($OS =~ /win/i)
in sub SetImageFormat matches "darwin", which is returned by OS X, assigning it Windows $fmt and $pathseparator but it should be the Linux 
ones.
Comment 3 JeLuF 2005-04-10 19:53:04 UTC
Bug has been fixed in CVS. See
r1=1.12&r2=1.13">http://cvs.sourceforge.net/viewcvs.py/wikipedia/extensions/timeline/EasyTimeline.pl?r1=1.12&r2=1.13
Please reopen  if you have checked the new version and problem still exists.

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


Navigation
Links