Last modified: 2008-07-07 22:08: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 T16751, the corresponding Phabricator task for complete and up-to-date bug report information.
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