User talk:Ebrahim

Hello, Ebraminio. Was wondering if you could share me how to set-up a bot for the sandbox cleaner? The one like yours -User:Ebrambot, Thanks! :-) It'll be a great help! If you are kind enough, please leave me a message on my talk page. Thanks, once again.

wikipage.content
Hi,

You asked me on IRC earlier about fa:User:Ebraminio/common.js.

"wikipage.content" is for the wikipage content (e.g. the part that is editable). Not for the MediaWiki interface (e.g. search field, rollback links). Also, hooks can fire more than once in a single session. For example, after saving an edit in VisualEditor, or when using AJAX live preview. That way, gadgets like tablesorter can look for tables in the new content and make them sortable again.

What you are looking for is not  (because your code does not account for multiple fires, right now Deferred.resolve is being invoked more than once, which fails). What you're looking for is, or, since you're using  , use the   promise:

Krinkle (talk) 19:37, 4 June 2014 (UTC)
 * Insightful. Done. Thank you. ebraminiotalk 19:45, 4 June 2014 (UTC)