MediaWiki talk:Common.js/Archive 4: Difference between revisions

Content deleted Content added
Fluxbot (talk | contribs)
Line 1:
<span id="63298023827" ></span>
==vandal problem==
 
Line 12:
 
:Any changes we could make here would be fairly easy for the vandal to work around. It would probably be more effective to get the anti-vandalism bots to automatically revert such edits and report the users making them. It's not as if detecting them should be hard, given that we have the source for the script that makes them. —[[User:Ilmari Karonen|Ilmari Karonen]] <small>([[User talk:Ilmari Karonen|talk]])</small> 00:23, 1 March 2007 (UTC)
<span id="63298253943" ></span>
== Access key for project page: why change it? ==
 
Line 20:
 
::Thanks Ruud! For the explanation and the fix. [[User:Grouse|Grouse]] 16:19, 3 March 2007 (UTC)
<span id="63298430893" ></span>
== escape() and replace() in importScript function ==
 
Line 34:
 
::::You're correct that it avoids an HTTP redirect. I just tested it. [[User talk:Mike Dillon|Mike Dillon]] 17:28, 5 March 2007 (UTC)
<span id="63298753350" ></span>
== Collapsible tables ==
 
Line 49:
::I have added a test for whether any header row exists: HTH HAND —[[User:Phil Boswell|Phil]] | [[User talk:Phil Boswell|Talk]] 11:02, 9 March 2007 (UTC)
 
<span id="63298677990" ></span>
== Optimizing [[Mediawiki:Edittools]] ==
 
Line 109:
 
:As Ruud just said, there is no need for a fallback, since the edit tools already do not work (and cannot work) without Javascript. --[[User:CesarB|cesarb]] 14:06, 8 March 2007 (UTC)
<span id="63299025922" ></span>
== Placing the cursor after the section name ==
 
Line 156:
:: I don't know enough to check it for compatibility with all browsers and situations. I'm just proposing that someone with the knowledge include it site-wide. — [[User:Omegatron|Omegatron]] 03:59, 10 March 2007 (UTC)
:::Your version is a syntax error in IE6. Code shouldn't be added to the site-wide JS unless it works on ''all'' browsers! --[[User:ais523|ais523]] 14:45, 12 March 2007 ([[User:ais523|U]][[User talk:ais523|T]][[Special:Contributions/Ais523|C]])
<span id="63299562298" ></span>
 
:Further work at [[bugzilla:9937]]. --[[User:Brion VIBBER|brion]] 15:59, 17 May 2007 (UTC)
Line 169:
::Question: What happens for users with javascript disabled? [[User:Prodego|<font color="darkgreen">''Prodego''</font>]] <sup>[[User talk:Prodego|<font color="darkgreen">talk</font>]]</sup> 19:23, 18 March 2007 (UTC)
:::The edit tools don't appear. Since clicking on them relies on JavaScript anyways, this is not a problem. It's actually better than the current situation since right now the tools show up if you don't have JS enabled, but they don't actually work. [[User talk:Mike Dillon|Mike Dillon]] 19:44, 18 March 2007 (UTC)
<span id="63298081396" ></span>
== Collapsible sections ==
 
Line 192:
HTH HAND —[[User:Phil Boswell|Phil]] | [[User talk:Phil Boswell|Talk]] 16:23, 1 March 2007 (UTC)
 
<span id="63298702036" ></span>
== Proposal: Editpage.js ==
Create another «common» javascript file <tt>MediaWiki:Editpage.js</tt> and «call» it from [[MediaWiki:Common.js]] (already implemented e.g. in [[:pl:MediaWiki:Monobook.js]] and [[:ru:MediaWiki:Common.js]]: search for "<tt>Onlyifediting.js</tt>")
Line 203:
 
 
<span id="63299899636" ></span>
== notcollapsed class in collapsible tables and navframes ==