MediaWiki talk:Monobook.js
Comments by Hippietrail
editI've gone ahead and added code to the global Javascript file here to make subsets of the special characters selectable rather than seeing the whole lot at once. I think it might be better with this functionality to make a subset for each language but I'm open to suggestions. Of course let me know here or on my talk page if there are any bugs, if you would like any features added, or if you think I'm barging in and taking over without proper consultation (-; — Hippietrail 08:09, 22 July 2005 (UTC)
Link FA
editHi,
can someone please add the code for highlighting featured-article links here? The corresponding snippet over at w:MediaWiki:Monobook.js is as follows:
function LinkFA() { // iterate over all <span>-elements for(var i=0; a = document.getElementsByTagName("span")[i]; i++) { // if found a FA span if(a.className == "FA") { // iterate over all <li>-elements for(var j=0; b = document.getElementsByTagName("li")[j]; j++) { // if found a FA link if(b.className == "interwiki-" + a.id) { b.className += " FA"; b.title = "This article has gained featured status"; } } } } }
Thanks, --Schwallex 18:39, 5 November 2006 (UTC)
- I think that's a pretty bad idea, since we don't have articles, nor featured articles. --Connel MacKenzie 17:43, 14 June 2007 (UTC)
Interwiki link to the Vietnamese Wiktionary
editPlease add an interwiki link to the Vietnamese version of this script:
[[vi:MediaWiki:Monobook.js]]
Thanks.
Common.js
editIf MediaWiki:Common.js is enabled for this wiki, a lot of the stuff here should be moved over there, so that all users can take advantage of them. Examples: dynamic navigation bars, edittools helper script. Ingoolemo (talk) 18:46, 14 December 2006 (UTC)
- How? There never seems to be a lull, when this can just be [move]d over. Doing it piecemeal is, (IMHO) more likely to cause pretty significant problems. --Connel MacKenzie 17:47, 14 June 2007 (UTC)
Please don't comment here
editPlease use the much more widely monitored page Wiktionary:Grease pit for discussions about this page. --Connel MacKenzie 17:48, 14 June 2007 (UTC)