MediaWiki talk:Common.js/Archive 8: Difference between revisions
Content deleted Content added
Alex Smotrov (talk | contribs) archiving «Please set NavigationBarShowDefault = 0» from talk page |
m (Task6) HTML cleanup of Category:Pages using invalid self-closed HTML tags |
||
Line 1:
<span id="63308533199" ></span>
==Global JS/CSS "safe" now==
{{tl|editprotected}}
Line 11:
If you still want to see it with all the bells and whistles (parsed wikicode), try a diff, like: [http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.js&oldid=141424535&diff= &oldid=141424535&diff=]. --[[User:Splarka|Splarka]] ([[User_talk:Splarka|rant]]) 07:05, 30 June 2007 (UTC)
:There is ongoing discussion about this on bugzilla (bugs [[bugzilla:10196|10196]], [[bugzilla:10314|10314]], [[bugzilla:10410|10410]], [[bugzilla:10422|10422]]), so don't be surprised if it changes again soon. --[[User:ais523|ais523]] 15:39, 2 July 2007 ([[User:ais523|U]][[User talk:ais523|T]][[Special:Contributions/Ais523|C]])
<span id="63308889130" ></span>
== Make "Upload file" more like on commons ==
Line 23:
:::I already posted it at the village pump, what more do you need? --[[User:Steinninn|Steinn]][[User talk:Steinninn|inn]] 13:55, 6 July 2007 (UTC)
::::Unfortunately, I am unwilling to make such changes without agreement of the community. The only thing I would say is trying re-listing, possibly at [[WP:VPT]] too. [[User:GDonato|GDonato]] ('''[[User talk:GDonato|talk]]''') 18:32, 6 July 2007 (UTC)
<span id="63309176658" ></span>
== Search images ==
Line 187:
:It would require a bit of tweaking to the script since it assumes that there is only one additional parameter besides the free text field used for the search term. For Yahoo!, this is currently being used for <code>vs=en.wikipedia.org</code>. The code would have to be changed to add a hidden element to the form for the <code>ei</code> parameter on submit, which would significantly alter the structure of the code. [[User talk:Mike Dillon|Mike Dillon]] 02:24, 10 July 2007 (UTC)
<span id="63309291258" ></span>
== small replace() bug ==
{{tl|editprotected}}
Line 197:
::{{tick}} '''Done''' (after testing the relevant expressions). (There are certainly a lot of ways to express the intended concept; I went for / /g in the actual change, but when writing my own code I often use /\ /g (which is correct in both JavaScript and Perl, even when using Perl's /x modifier) or even split(" ").join("_") (which has the advantages of accepting non-literal strings). --[[User:ais523|ais523]] 17:22, 6 July 2007 ([[User:ais523|U]][[User talk:ais523|T]][[Special:Contributions/Ais523|C]])
:: Right, my copy&paste mistake. --[[User:Piet Delport|Piet Delport]] 10:14, 11 July 2007 (UTC)
<span id="63309567253" ></span>
== JavaScript framework ==
Line 203:
:While that may be true, it would also add another 20k of overhead to the site JavaScript. I'm not sure if the readability benefit is enough, since 99.9% of the people for whom this code executes will never even know about it, let alone read it. [[User talk:Mike Dillon|Mike Dillon]] 14:54, 14 July 2007 (UTC)
<span id="63309762904" ></span>
== Please discuss first ==
Line 331:
::::One possible improvement would be introducing an additional user preference where you could specific one or more alternative locations, but then thats collecting additional private data that we would have to worry about protecting, and it is not clear how many things we'll use ___location data for. Notices are an obvious thing, and we could do a "Recently changed subjects near me" feature as well, but beyond that the applications are fairly slim. Nothing that I can come up with absolutely requires accurate ___location data.--[[User:Gmaxwell|Gmaxwell]] 21:06, 16 July 2007 (UTC)
:::::Possibly, user categories might be useful. Though, I know there are userboxes that say "User:X lives or hails from Maryland". Then you get people who were born in Maryland, but no longer live there. Nothing private about these, though we would want to distinguish "lives in" from "hails from". --[[User:Aude|Aude]] <small>([[User talk:Aude|talk]])</small> 21:15, 16 July 2007 (UTC)
<span id="63309918016" ></span>
== "Technical restrictions" title fix ==
Line 341:
:::It's not as simple for {{tl|wrongtitle}}, for example see [[P*U*L*S*E (film)]]: the javascript code is smart enough not to replace the heading but it does replace the page title, also the template shows "The correct title is …" message. P.S. [http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=23393 This seems to be a revision] which enabled <code><nowiki>{{DISPLAYTITLE:}}</nowiki></code> ∴ [[User:Alex Smotrov|Alex Smotrov]] 16:20, 18 July 2007 (UTC)
<span id="63310490192" ></span>
== Administrator.js ==
|