[Bug 35115] Narayam core resource should load before other Wiki level editable JavaScripts

2012-03-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35115

--- Comment #6 from Santhosh Thottingal  
2012-03-19 09:09:06 UTC ---


(In reply to comment #5)
> I tried various ways to make this work at
> http://sa.wikipedia.org/wiki/%E0%A4%AF%E0%A5%8B%E0%A4%9C%E0%A4%95%E0%A4%83:Siddhartha_Ghai/vector.js
> but couldn't get it to work. 

I made it working and here is the code http://pastebin.com/defjdVU9 See the
differences from your code.

Also updated the documentation at
http://www.mediawiki.org/wiki/Extension:Narayam#User_level_customization

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35115] Narayam core resource should load before other Wiki level editable JavaScripts

2012-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35115

Siddhartha Ghai  changed:

   What|Removed |Added

 CC||siddhartha.g...@gmail.com

--- Comment #5 from Siddhartha Ghai  2012-03-17 
05:54:37 UTC ---
(In reply to comment #2)
> mw.loader.using('ext.narayam.core', function () {
> 
>   /* customization here */
> 
> });
> 
> the above will work anywhere anytime, including in Mediawiki:Common.js

I tried various ways to make this work at
http://sa.wikipedia.org/wiki/%E0%A4%AF%E0%A5%8B%E0%A4%9C%E0%A4%95%E0%A4%83:Siddhartha_Ghai/vector.js
but couldn't get it to work. The unshift method as described at the
documentation works when using the console but doesn't work as part of the
userscript. Gives the error described at
http://www.mediawiki.org/wiki/Extension_talk:Narayam#Formalization_of_rules

Hope a way to do this can be found soon.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35115] Narayam core resource should load before other Wiki level editable JavaScripts

2012-03-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35115

--- Comment #4 from Krinkle  2012-03-10 16:28:30 UTC ---
(In reply to comment #3)
> Thanks Krinkle, it helped

You're welcome. I found this (small) section on the Narayam extension
documentation page:

https://www.mediawiki.org/wiki/Extension:Narayam#User_level_customization

Perhaps you can improve it based on the customizations you have've created.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35115] Narayam core resource should load before other Wiki level editable JavaScripts

2012-03-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35115

--- Comment #3 from Junaid  2012-03-10 15:15:35 UTC 
---
Thanks Krinkle, it helped

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35115] Narayam core resource should load before other Wiki level editable JavaScripts

2012-03-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35115

Krinkle  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||krinklem...@gmail.com
 Resolution||INVALID

--- Comment #2 from Krinkle  2012-03-10 08:11:56 UTC ---
mw.loader.using('ext.narayam.core', function () {

  /* customization here */

});

the above will work anywhere anytime, including in Mediawiki:Common.js

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35115] Narayam core resource should load before other Wiki level editable JavaScripts

2012-03-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35115

Niklas Laxström  changed:

   What|Removed |Added

 CC||niklas.laxst...@gmail.com

--- Comment #1 from Niklas Laxström  2012-03-10 
07:34:57 UTC ---
That's not how resource loader works. You need to specify you want to have
something loaded before you start altering it.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 35115] Narayam core resource should load before other Wiki level editable JavaScripts

2012-03-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=35115

Junaid  changed:

   What|Removed |Added

 Blocks||34693

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l