Hi all!
What is the best way to control load order of JS (or modules modules in
general)? We (WMDE) are developing WikiPraise, a gadget that can show directly
show who contributed which part of a given article revision, as shown to the
user.
WikiPraise works by taking the wikitext annotated
On Wed, Jan 11, 2012 at 12:19 PM, Daniel Kinzler dan...@brightbyte.de wrote:
$.holdReady(true);
mediaWiki.loader.load(https://toolserver.org/~netaction/wikitrust.js;);
Note that this will disable all gadgets and custom scripts: $.holdReady(true)
is
a hack to prevent other user scripts
Hi RoanDaniel!
Do you need the clean DOM just for reading, or for writing as well?
Read and write. WikiTrust does it very fast before the other scripts
run. Then it releases the ready lock for all other scripts and adds
its user interface.
use AJAX to fetch the HTML source of the page, and
On 11.01.2012 14:12, Thomas Schmidt wrote:
Roan wrote:
I think holdReady is probably the most reliable way to prevent scripts
from messing with your DOM, although I defer to Krinkle for a more
authoritative answer.
Yes, unless they all use that :)
My impression was that it breaks quite a few
2012/1/11 Daniel Kinzler dan...@brightbyte.de:
The main problem is that we are doing this on thje outside.
That would be a really great thing. When the user clicks a word we
have to find out where he clicked. The data goes back to the server.
The server finds out which scripts were used and
- Original Message -
From: Thomas Schmidt schm...@netaction.de
As you said, the preferred implementation would be something that's close
to the
parser and puts extra annotations (like span tags) in the
parser-generated HTML
You talk about up to several megabytes per page.
It