Last modified: 2007-07-07 07:03:58 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 T11789, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9789 - Bug in categoryTreeExpandNode()
Bug in categoryTreeExpandNode()
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CategoryTree (Other open bugs)
unspecified
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-05-04 09:57 UTC by Huji
Modified: 2007-07-07 07:03 UTC (History)
0 users

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


Attachments

Description Huji 2007-05-04 09:57:37 UTC
categoryTreeExpandNode() function, the JS function used to expand nodes in a
category and see their subcategories, doesn't work correctly (does not retrieve
any sub categories) when there is a ZWNJ character in the name of the category
you expand. ZWNJ (Zero-Width-Non-Joiner) is a commonly used character in Farsi
language. Javascript is well known to have problems with this character. A
workaround is to enter that character either as an HTML encoded value or as a
unicode encoded value (i.e. \u200C). I think an update to that JS function is
needed in this regard. If I can help with it, please let me know.
Comment 1 Huji 2007-07-01 15:12:24 UTC
It turns out that this bug, which only happens in Firefox 2.x or below, is caused by Firefox's problems with ZWNJ in JS. Mozilla team have claimed this problem to be fixed on Firefox 3.0 and I'm closing this bug as invalid.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-07-01 19:04:01 UTC
Well, if there's any way we can work around it, we should.
Comment 3 Huji 2007-07-02 12:32:50 UTC
Simetrical, I actually found a way around it, but decided not to finalise it. We had to modify many portions of the CategoryTree and relevant PHP and JS codes, just for a bug which is no MediaWiki's and will be fixed in near future, with relase of the newer version of Firefox.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-07-06 20:08:32 UTC
Okay, the Mozilla bug is 274152:

https://bugzilla.mozilla.org/show_bug.cgi?id=274152
Comment 5 Brion Vibber 2007-07-07 06:55:36 UTC
There's a good chance this is the same issue as bug 10477 and was fixed by r23834.
I can't test as there's no reference to an affected page for this bug.
Comment 6 Huji 2007-07-07 07:03:08 UTC
I confirm that the bug is fixed through r23834.

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


Navigation
Links