MediaWiki talk:Common.js/Archive 7: Difference between revisions
Content deleted Content added
Shadowbot3 (talk | contribs) m Automated archival of 1 sections from MediaWiki talk:Common.js |
m (Task6) HTML cleanup of Category:Pages using invalid self-closed HTML tags |
||
Line 1:
<span id="63305692162" ></span>
==Link to subpages from the toolbox in certain namespaces==
<pre>
Line 68:
::I agree subpages link is useful, but since I already have it, and the suggested code is a bit bloated (i18n and stuff), personally I'd vote for leaving it a personal script and simply adding a good how-to into [[Wikipedia:Subpages]] — [[User:Alex Smotrov|Alex Smotrov]] 18:25, 29 May 2007 (UTC)
<span id="63305707702" ></span>
== [[MediaWiki:Geshi.css]] ==
Line 77:
:::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. [[User talk:H|<small><sup><font color="#000">(</font><font color="#c20">H</font><font color="#000">)</font></sup></small>]]<!-- Was HighInBC --> 22:48, 29 May 2007 (UTC)
<span id="63306316516" ></span>
== Overriding automatic deletion summaries for attack pages ==
Line 85:
:: 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 <code>action=delete</code>. —[[User:Ilmari Karonen|Ilmari Karonen]] <small>([[User talk:Ilmari Karonen|talk]])</small> 23:55, 6 June 2007 (UTC)
<span id="63306445402" ></span>
== Exalead search engine ==
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 [[m:OTRS|OTRS]] are pleased with Exalead's solution. [[User:David.Monniaux|David.Monniaux]] 11:43, 8 June 2007 (UTC)
<span id="63307061356" ></span>
== Navigation and general appearance ==
It might enhance the convenience of the page if the following was done for each script:
#Preface each one with <code><nowiki>//<span id="Script name"></span><source lang="JavaScript"></nowiki></code>. "Script name" is a simple description of the script.
#Added <code><nowiki> * Shortcut: [[MediaWiki:Common.js#Script name]]</nowiki></code> to each code description
#Ended each one with <code><nowiki></source></nowiki></code>
Line 100:
::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 â´ [[User:Alex Smotrov|Alex Smotrov]] 14:49, 15 June 2007 (UTC)
<span id="63307407923" ></span>
==Help with a section please==
Hello, I would like to include this section to a Common.js on another wiki, but somehow it does not work, is there any other thing I have to change, many thanks in advance, --[[User:Spacebirdy|birdy]] [[User_talk:Spacebirdy|<sub>(:> )=|</sub>]] 23:47, 18 June 2007 (UTC)
Line 146:
:::Hi Alex Smotrov, thank You very much for this, and for the hint with the variables, it works now, but for some reason it kills the link to the mainpage itself while one is on the mainpage :( I don't understand why, --[[User:Spacebirdy|birdy]] [[User_talk:Spacebirdy|<sub>(:> )=|</sub>]] 15:05, 19 June 2007 (UTC)
<span id="63307778183" ></span>
== How to install ==
Line 154:
: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. [[User talk:Mike Dillon|Mike Dillon]] 21:56, 23 June 2007 (UTC)
<span id="63308125771" ></span>
==Request: mainPageAppendCompleteListLink() rewrite==
I suggest rewriting this function as
Line 180:
::: I'd agree if this was something in the content-area (which could easily lead to an almost infinite number of CSS stylings) but I consider this link part of the MediaWiki-interface (which are quite finite in their number). Using CSS ''might'' have a (likely negligible) performance benefit, under the assumption the CSS class can be assigned to the element before it is added to the document tree. —''[[User:Ruud Koot|Ruud]]'' 20:29, 24 June 2007 (UTC)
::::Well, if the code was moved into say MainPage.js… but since it's still here — okay, let it be CSS, since CSS ''there'' takes less space than Javascript ''here''. P.S. Don't forget that 'interwiki-completelist' is going to be <tt>id</tt> now, not <tt>class</tt> ∴ [[User:Alex Smotrov|Alex Smotrov]] 22:29, 27 June 2007 (UTC)
<span id="63308276156" ></span>
== CSD Script ==
|