Last modified: 2011-11-22 15:46:52 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 T33268, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31268 - Missing #mw-abusefilter-examine-test throws JS error
Missing #mw-abusefilter-examine-test throws JS error
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
AbuseFilter (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: John Du Hart
http://de.wikipedia.org/wiki/Spezial:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-30 10:06 UTC by Michael M.
Modified: 2011-11-22 15:46 UTC (History)
3 users (show)

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


Attachments

Description Michael M. 2011-09-30 10:06:33 UTC
See URL.
An "element is null" (wikibits.js, line 1063, addHandler) is thrown. This function is called by an inline script,
 document.getElementById( 'mw-abusefilter-examine-test' )
returned null, but didn't check this and so handed on null to addHandler which caused this error.
Comment 1 Brion Vibber 2011-09-30 18:40:34 UTC
Note that the trunk code uses jQuery to add this handler and would fail silently (without an error) in case the element's missing -- but the 1.18 code has not yet been changed in this way.

No idea offhand what the element's for or what it does so don't know why it would be missing or if that's a problem on its own.
Comment 2 Mark A. Hershberger 2011-10-12 00:59:14 UTC
Still not fixed after 1.18 deployment.  Lowering priority.
Comment 3 John Du Hart 2011-11-22 15:46:39 UTC
This should be fixed in trunk since I've rewritten the JS for AbuseFilter.

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


Navigation
Links