#13012 closed defect (fixed)
Install WikiAutoCompletePlugin to trac-hacks.org
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | TracHacks |
Severity: | normal | Keywords: | |
Cc: | Steffen Hoffmann, Ryan J Ollos, Jun Omae, Peter Suter | Trac Release: |
Description
The WikiAutoCompletePlugin looks very useful, and there's been a lot of development activity, so I was considering installing it to trac-hacks.org. Thoughts?
Attachments (0)
Change History (7)
comment:1 Changed 8 years ago by
Owner: | changed from Michael Renzmann to Ryan J Ollos |
---|---|
Status: | new → assigned |
comment:3 follow-up: 4 Changed 8 years ago by
Fine by me. I'm using this plugin with the following patch on my production environments.
IE 8 doesn't support Array.prototype.forEach
, which is used by jquery.textcomplete.js. In my production environments, javascript errors are captured and reported using windows.onerror
. The patch would prevent noisy errors about forEach
.
-
wikiautocomplete/htdocs/js/wikiautocomplete.js
diff --git a/wikiautocomplete/htdocs/js/wikiautocomplete.js b/wikiautocomplete/htdocs/ index ea6c607..4c966c1 100644
a b 1 1 jQuery(document).ready(function($) { 2 if (Array.prototype.forEach === undefined) 3 return; 4 2 5 var cache = {}; 3 6 4 7 function escape_newvalue(value) {
comment:4 follow-up: 6 Changed 8 years ago by
Replying to jun66j5:
Fine by me. I'm using this plugin with the following patch on my production environments.
Is there any downside to committing that patch to the WikiAutoCompletePlugin repository?
comment:5 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Installed and seems to be working well.
comment:6 follow-up: 7 Changed 8 years ago by
Replying to rjollos:
Replying to jun66j5:
Fine by me. I'm using this plugin with the following patch on my production environments.
Is there any downside to committing that patch to the WikiAutoCompletePlugin repository?
No harm to commit. Also, that works fine on my environment.
comment:7 Changed 8 years ago by
Replying to jun66j5:
Replying to rjollos:
Replying to jun66j5:
Fine by me. I'm using this plugin with the following patch on my production environments.
Is there any downside to committing that patch to the WikiAutoCompletePlugin repository?
No harm to commit. Also, that works fine on my environment.
That sounds nice.
I wonder if it would noticeably impact server performance due to the additional requests. You might want to keep an eye on that. Jun added some caching strategies in #12954.
I've been using this daily for two years without problems, but only on a Trac installation with few users.