Last modified: 2008-07-07 22:08:51 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 14751 - generateEquivset.php checking wrong directories.
generateEquivset.php checking wrong directories.
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
AntiSpoof (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-07 17:56 UTC by OverlordQ
Modified: 2008-07-07 22:08 UTC (History)
0 users

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


Attachments
fix maint script (485 bytes, patch)
2008-07-07 17:56 UTC, OverlordQ
Details

Description OverlordQ 2008-07-07 17:56:30 UTC
Created attachment 5058 [details]
fix maint script

Echoing the value of $dir from before the commandLine.inc require and after shows that it changes it. Thus all the file calls using $dir look in the wrong location.

===
host:/home/wiki/extensions/AntiSpoof# php generateEquivset.php
Dir before require: /home/wiki/extensions/AntiSpoof
Dir after require: /home/wiki/extensions/UserMerge/
Warning: file(/home/wiki/extensions/UserMerge//equivset.in): failed to open stream: No such file or directory in /home/wiki/extensions/AntiSpoof/generateEquivset.php on line 11
Unable to open equivset.in
===

change the include to before the $dir and be a bit less stringent on location.
Comment 1 Brion Vibber 2008-07-07 22:08:51 UTC
Fixed in r37291

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


Navigation
Links