MediaWiki talk:Common.js/Archive Jul 2007

message: Could be useful here as well. —Ruud 22:03, 29 May 2007 (UTC)
replies: text: I have added it now, I'm 99.99% sure it won't affect anything on the page. →AzaToth 22:28, 29 May 2007 (UTC)
replies: text:  Hmm.. it breaks the wikilinks. —Ruud 22:37, 29 May 2007 (UTC)
replies: text: Please discuss things here before implementing them, if you are 99.99% sure, and it is uploaded to 100,000 people then statistically you are messing up 10 people. Better that 10 or 20 people become 99.99% sure. (H) 22:48, 29 May 2007 (UTC)
thread_title:  [[MediaWiki:Geshi.css]] 

message: In response to the suggestions made on WP:AN#Deletion summaries for attack pages, I wrote User:Ilmari Karonen/cleandelsummary.js.  What it does is check if the MediaWiki-prefilled deletion summary contains a template such as  and, if so, replaces the summary with one that doesn't contain any of the content being deleted.  Assuming this does not cause any unexpected problems, would anyone oppose including such code here?  —Ilmari Karonen (talk) 21:50, 6 June 2007 (UTC)
replies: text: See two threads up. —Ruud 22:38, 6 June 2007 (UTC)
replies: text:  Assuming you mean #Administrator.js, if we do set up such a system this should obviously be placed there.  In the mean time, the code is only nine lines (which isn't that much more than what the code to pull in an extra .js page would take anyway), and does absolutely nothing except on pages having action=delete.  —Ilmari Karonen (talk) 23:55, 6 June 2007 (UTC)
thread_title:  Overriding automatic deletion summaries for attack pages 

message: I added Exalead's search engine. The idea has been floated at Village Pump and was not opposed. My experience is that users complaining about our search engine on OTRS are pleased with Exalead's solution. David.Monniaux 11:43, 8 June 2007 (UTC)
thread_title:  Exalead search engine 

message: It might enhance the convenience of the page if the following was done for each script:
#Preface each one with //. "Script name" is a simple description of the script.
#Added   *  Shortcut: [[MediaWiki:Common.js#Script name]] to each code description
#Ended each one with 
It should be mentioned, this does increase the byte count of the page a bit without enhancing the scripts' functionalities. This will make the page more navigable and allow the space between  tags to make scripts more visibly separate. How does this idea sound? GracenotesT § 01:07, 15 June 2007 (UTC)
replies: text: Sounds fine to me. If there are no objections, I'll go ahead an implement. AmiDaniel (talk) 02:19, 15 June 2007 (UTC)
replies: text: This might be a good idea. But I wish somebody would also clean the code a little bit, removing unnecessary *************** lines, meaningless comments, etc. And there are so many places where the code could be shortened, making it easier to read at the same time â´ Alex Smotrov 14:49, 15 June 2007 (UTC)
thread_title:  Navigation and general appearance 

message: This may be obvious to some, but others seem to find it difficult to know what this article is all about.  Perhaps it would be handy to place a comment near the top of these messages spelling out that one should view it's source and past the contents into the MediaWiki:Common.js article/message at your mediawiki site.  I can tell you that I felt a little dumb having spent a few days figuring out something this obvious which a simple comment might have told me.  --D0li0 22:11, 21 June 2007 (UTC)
replies: text: Likewise I feel dumb for not understanding anything you just said. —freak(talk) 22:14, 21 June 2007 (UTC)

text: This JavaScript code is not meant for installing on other sites. It is purpose-specific to English Wikipedia. What made you think that this is something you should install on another MediaWiki site? If there is something on the site leading people to think this code is ready-made for installation on other sites, it needs to be fixed. Mike Dillon 21:56, 23 June 2007 (UTC)
thread_title:  How to install 

message: I've been hosting for some time now a CSD user script which adds a drop down list of CSD criteria next to the wpReason box on the deletion page (ie: admins only). Would there be any opposition to adding this to Common.js so all admins have access to it by default? Of course I'd like us to do some more testing so it doesn't break people, but so far it works in IE6/7, Firefox and Safari with no issues. The project page is here, if you wish to look for more information, including the code. In addition, we'd need to finalize the wording of the deletion rationales, since this would be used on such a large scale. Thanks, ^demon[omg plz] 14:25, 29 June 2007 (UTC)
replies: text: I support this. – Steel 15:20, 29 June 2007 (UTC)
replies: text: I don't mind but ONLY if inside Administrator.js (proposal above), the main file is big enough already  ∴ Alex Smotrov 16:15, 29 June 2007 (UTC)
thread_title:  CSD Script