https://bugzilla.wikimedia.org/show_bug.cgi?id=31958

--- Comment #5 from Gregor Hagedorn <[email protected]> 2011-11-23 
23:14:13 UTC ---
That is interesting. But can you have a template on the page that automatically
causes specific javascript to be loaded? Our use case is that the page has
special functionality available to all users. 

I believe adding this to mediawiki core would not only allow to have more
interactive content (Yes, such content needs testing, deployment consensus, AND
a careful design to have a fallback view when interactivity is broken), which
is why I think the functionality should be such:

* A page in a user namespace searches for the corresponding javascript in
User:Name/Mediawiki:JavascriptName.js
* A page in any other namespace searches for the corresponding javascript in
Mediawiki:JavascriptName.js which is writeable only by admins.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to