MediaWiki talk:Common.js/Archive 8: Difference between revisions
Content deleted Content added
MalnadachBot (talk | contribs) m Fixed Lint errors in signatures. (Task 2) |
m Andrybak moved page MediaWiki talk:Common.js/Archive Aug 2007 to MediaWiki talk:Common.js/Archive 8: Template talk:Automatic archive navigator#Later archives are not linked |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 3:
{{tl|editprotected}}
Looks like developers did the same thing for global JS/CSS files as they already did before for personal js/css files: now the whole page is shown inside <pre class="mw-code mw-js"> tag, which means nothing is going to work inside and we can remove all templates (e.g. {{tl|Interwiki-all}} in [[MediaWiki:Monobook.css]] and [[MediaWiki:Common.css]]), <nowiki>[[User:]]</nowiki> links, headings, <pre> tags and so on. However, there is still one little reason to keep <source> tag: you can trasclude the file on another page and then still enjoy it with syntax highlighting ∴ [[User:Alex Smotrov|Alex Smotrov]] 22:29, 27 June 2007 (UTC)
: For highlighting add both <nowiki></pre></nowiki> before <nowiki><
::Well, that was my first idea as well, but it doesn't work since Mediawiki simply replaces all < into &lt;. Note that this doesn't happen immediately after saving (I have no idea why), so if markup on js/css pages seems to work for you, just wait a little and it won't ;) ∴ [[User:Alex Smotrov|Alex Smotrov]] 22:13, 28 June 2007 (UTC)
Line 244:
::Just to be clear, what I said about user scripts not loading was overstated and not entirely correct. I think the only side effect of waiting for the call to tools.wikimedia.de to time out will be that any scripts or stylesheets added in an onload hook will not be loaded until the tools.wikimedia.de call times out. This is a pretty marginal case since most onload hooks just have code to execute and new scripts/styles are usually imported outside of the onload hook itself which means the associated resource will have been loaded before the onload hooks execute. [[User talk:Mike Dillon|Mike Dillon]] 15:10, 15 July 2007 (UTC)
:The ''no reason to revert'' stance doesn't appear to be much differant from the ''why was this ever added'' stance. If for nothing else, users accessing the english wikipedia may wonder why they have a script loading from a german ___domain. Additionally the only documentation delivered with it is "Allows for geographic targeting of watchlist notices", which doesn't explain much to even experienced editors what is really going on here. If new off-site scripts are going to be included, can they include onsite documentation (or a link to meta, or somewhere else on-wiki)? — [[User:Xaosflux|<
::Could you please ask an actual question? I'm not sure exactly what you want to know. --[[User:Gmaxwell|Gmaxwell]] 01:49, 15 July 2007 (UTC)
Line 255:
:::::Please read my comments above. I addressed this earlier. Further, I've yet to see any actual problem with the software being held externally to mediawiki proper. Can you please articulate your concerns on this front?
:::#How can this be better documented so that everyone knows what is going on here and in the future for off-loaded scripts?
:::#:I'd suggest a project page documenting this new code-set referenced from a comment code if loading scripts from other servers is required. — [[User:Xaosflux|<
:::Thank you, — [[User:Xaosflux|<
:::::Understand that it is currently a test to determine the usefulness. At this point you may now be asking me to expend more work to justify my code to ''you personally'' than was required for the entire implementation. The operation is fairly simple, and nearly self-explanatory. The addition to common.js loads a script from a cgi which depends on the ___location of the browser loading it. That script displays a notice. I have a mediawiki implementation, but without experience using the feature I don't know how ___location ranges can be most usefully specified. I was hoping to gain experience with DC and NYC, but it appears that you have decided to not permit me to do so.
:::::Frankly I am disinclined to spend several more hours justifying a rather simple feature which has already been removed for no particular reason. If you don't want it fine, but please adjust the pages to make it clear that the English Wikipedia is not open to contributions because you have personally decided that it shouldn't be.--[[User:Gmaxwell|Gmaxwell]] 06:32, 15 July 2007 (UTC)
Line 264:
::Greg can correct me if I'm wrong, but I believe it uses the user's IP address to determine whether they are in a region with an upcoming [[Wikipedia:Meetup|Meetup]] and alerts them with a dismissable message. It may be limited only to the Washington DC meetup at the moment. [[User talk:Mike Dillon|Mike Dillon]] 04:49, 15 July 2007 (UTC)
:::So it's passing IP information about active editors to another server? How does providing this type of information to the toolserver play with the privacy policy? — [[User:Xaosflux|<
::::It's loading a page from another Wikimedia system. The same way many of other things do here, for example the mediaplayer, which has been in service for a very long time. Furthermore, no information which connects a specific editor to an IP is transfered, which is far more than many of our other internal features. Why do you have the access required to revert this change if you can't see for yourself exactly what it is doing in that regard? --[[User:Gmaxwell|Gmaxwell]] 06:32, 15 July 2007 (UTC)
:::::When using media players, etc our users are making a specific request to leave en: and connect to the other server. When loading their watchlist, they are not generally not even going to be aware of this connection. As this is also executing off-site, what it is doing there is beyond review here, thus my request for documentation to be published. This certainly doesn’t mean that I’m assuming something bad is happening either. To answer your “why”, while I, and >1000 others here, have access to change this page, it is not a page I normally update (and I did not revert it), we have administrator accounts for many more reasons that updating javascript and that should be blatantly obvious. Site administrators have a variety of skills, and while javascript coding is not one of my strong points, networking and privacy are. — [[User:Xaosflux|<
::::::"while javascript coding is not one of my strong points, networking and privacy are", can you please provide some evidence of these skills? My experience with your trackrecord indicates otherwise... In numerous occasions you have objected to actions taken by users on technical grounds, such as "system load", which had no baring in reality.--[[User:Gmaxwell|Gmaxwell]] 17:31, 15 July 2007 (UTC)
So, we've now had hours of discussion... and no one has brought up any concrete examples of problems. Would some third party be interested in restoring my faith in English Wikipedia by restoring the code so that I can continue to learn useful things about its performance? Thanks. --[[User:Gmaxwell|Gmaxwell]] 06:38, 15 July 2007 (UTC)
:There appear to be a few things outstanding: How it will benefit our editors?, How will this content (new messages) be managed?; What is the expected amounts of false positives and false negatives expected from a geo-coded rsult? Is the geo-___location being performed on the tool server itself, or being farmed out to another server? All of these leadto: Where have we shown a consensus that we want to run this? Making interface changes simply to run an experiment to "learn useful things" seems to be pushing it. — [[User:Xaosflux|<
::FWIW, I'm never going to personally add this, but will also not remove it if another admin does add it. — [[User:Xaosflux|<
:::"How it will benefit our editors?" I think this point has been sufficiently explained, already. Are you just asking in order to make sure I've filled out Form #XBR1952 in triplicate, or are some useful applications of this notice not already obvious to you? I'd be less skeptical about your question were it not for the fact that the notice was already in use in a way which was clearly beneficial.
Line 317:
::::::I did not say "you're requred to provide documentation", but that would be a nice thing to do; and be realistic - someone else would have asked anyway; and I don't see why this page is less suited to ask questions than your talk page ∴ [[User:Alex Smotrov|Alex Smotrov]] 20:04, 16 July 2007 (UTC)
<
if (!document.cookie.match('hidedcn=1')){
insertsub=document.getElementById("contentSub")
Line 323:
'<div class="plainlinks" id="WN_DCN" style="width:98%; margin:5px auto 0; background:transparent; text-align:right;"><font size="+1" color="#000000">The next <a href="http://en.wikipedia.org/wiki/Wikipedia:Meetup/DC_2">Washington DC meetup</a> is Saturday the 21st.<br/></font><i>You\'re invited! [<a href="#" onClick="var date = new Date(); date.setTime(date.getTime()+86400000);document.cookie = \'hidedcn=1; expires=\' + date.toGMTString() + \'; path=/\';document.getElementById(\'WN_DCN\').style.visibility = \'hidden\';return false">hide</a>]</i></div>'
}
</syntaxhighlight>
:I notice this is accessing some python script, which generates that JavaScript code for some people. I don't see any documentation or code for the python script makes use of our IP address information. Gmaxwell is a trusted and experienced user, who I'm sure wouldn't misuse any of that information. Nonetheless, I think people would be reassured if the python source code was provided. --[[User:Aude|Aude]] <small>([[User talk:Aude|talk]])</small> 17:02, 16 July 2007 (UTC)
|