Last modified: 2010-12-03 04:41:53 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 T28216, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26216 - Bug in user script User:WikiBhasha.MSR/WikiBhasha.js on Wikipedia
Bug in user script User:WikiBhasha.MSR/WikiBhasha.js on Wikipedia
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikiBhasha (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: WikiBhasha.MSR
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-03 04:26 UTC by anil kumar ande
Modified: 2010-12-03 04:41 UTC (History)
1 user (show)

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


Attachments

Description anil kumar ande 2010-12-03 04:26:55 UTC
It seems that there's a  a bug in User:WikiBhasha.MSR/WikiBhasha.js. In the last line:

addOnloadHook(setTimeout(wbGadget.wbLoadGadget,1000));

a function should be passed to addOnloadHook but a return value of setTimeout  was getting executed which is effectively a number. So in result it gives an error in runOnloadHook (wikibits.js)
Comment 1 anil kumar ande 2010-12-03 04:41:53 UTC
we have addressed the bug and fixed the user script.
the last line of the user script has been replaced with the following statement.

addOnloadHook(function () { setTimeout(wbGadget.wbLoadGadget, 1000); });

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


Navigation
Links