"Wikitravel has a speed and convenience the books' publishers can only envy." Time Europe

Difference between revisions of "Tech:Use of Common.css and Common.js"

From Wikitravel Shared
Jump to: navigation, search
(Common.js)
(Common.js)
 
Line 46: Line 46:
  
 
:::Given the streamlining of the feature & bug reporting effort that you're spearheading, let's close this and when someone is ready to open a discussion of editing/spam remediation tools, that can be done then.--[[User:IBobi|IBobi]] [[User talk:IBobi|talk]] [[Special:EmailUser/IBobi|email]] 20:48, 24 July 2012 (EDT)
 
:::Given the streamlining of the feature & bug reporting effort that you're spearheading, let's close this and when someone is ready to open a discussion of editing/spam remediation tools, that can be done then.--[[User:IBobi|IBobi]] [[User talk:IBobi|talk]] [[Special:EmailUser/IBobi|email]] 20:48, 24 July 2012 (EDT)
 +
 +
::::''cannot risk anyone making changes that could dramatically impact site functionality''—Would you be able to clarify what this means?  --[[User:Peterfitzgerald|Peter]] <small><sup>[[User_talk:Peterfitzgerald|Talk]]</sup></small> 14:03, 26 July 2012 (EDT)
  
 
==See also==
 
==See also==

Latest revision as of 18:07, 26 July 2012

Japanese version wants to use JavaScript and CSS to replace list marker with icon for list item in the "In other languages" box. Related discussion, trial code and test result on my local pc are here. → en:Wikitravel talk:Destination of the Month candidates#Icons into sidebar?

By using MediaWiki:Common.css and MediaWiki:Common.js, language versions can localize the text in title attribute as a tooltip by their own language. Please enable MediaWiki:Common.css and MediaWiki:Common.js to work. -- Tatata 00:31, 29 July 2007 (EDT)

Yeah! Let's do this... then we can get rid of the "Main page" header on en:Main Page, which is ugly and useless – cacahuate talk 01:56, 24 November 2007 (EST)
Here's some links handily provided by Ravikiran to help: [1], [2]
It seems this was enabled for :ja, but should be enabled for all language versions – cacahuate talk 20:46, 25 June 2009 (EDT)
Common.css seems to be enabled on all language versions now. But Common.js is not enabled any language versions. -- Tatata 22:49, 25 June 2009 (EDT)


Are you asking whether you can make individual style sheet changes to the different language versions? I don't think we can enable javascript for you but tech will follow up on this with you. -- Ibsteph 2:11 PM , 18 February 2010 (PST)
There heaps of useful work we can do with those tools; but enabling common.js, will allow us to employ new effective anti vandalism tools, like the mass revert script. I fail to see why this should be an issue, it's a standard mediawiki feature. sertmann 17:33, 18 February 2010 (EST)
Tech is fine with enabling common css and can do so on all languages. I will put in a request to make sure it is turned on one every language. However they cannot enable js, simply because they cannot risk anyone making changes that could dramatically impact site functionality. Thank you for understanding.- Ibsteph 3:17 PM , 22 February 2010 (PST()
UPDATE: Tech has now enabled CSS in all languages. Thanks- Ibsteph 8:52 am, 22 June, 2010 ( PST)


Unfortunately, we are going to have to revert the common.css implementation, as it is causing a problem with our caching system.

We recognize your needs to provide edits to the pages and truly appreciate your hard work and contributions to the Wikitravel community. We would like to set up a formalized process for you to send these css requests to us. You can do this by posting them in “ open tech requests" and I will do my best to get your requests prioritized by tech. You can alert me to these requests by emailing me at my community address. Sorry for any inconvenience caused. Thanks- Ibsteph 5:00 pm , 1 July, 2010 ( PST)


Common.js[edit]

However they cannot enable js, simply because they cannot risk anyone making changes that could dramatically impact site functionality. Thank you for understanding.- Ibsteph 3:17 PM , 22 February 2010 (PST() (quoting from above)

Is there any chance you could hard code the mass revert script into admin and janitor user profiles? I think that is the only common.js feature we really need. Or do anything else that would allow us to revert all edits by a single user at the click of button (link)? sertmann 18:48, 22 February 2010 (EST)
I like Sertmann's idea, is this possible Steph? Is there any other reason that people would like common.js enabled? – cacahuate talk 21:22, 22 June 2010 (EDT)

As I just posted on another issue, I am in discussions with Tech over Common.css and Common.js. I can't promise movement, and our answer as given ("will not do") still stands -- but it's back on the table. Any new data, use-cases, etc. that you can provide would help. Please remember that I am not a techie, so my understanding of issues like these is going to be somewhat limited.--IBobi 19:57, 29 July 2011 (EDT)

Regarding Common.css & Common.js: These are primarily spam-remediation features. We are looking into the possibility of providing a mass revert toolbox to admins only. I believe this is where the common.css/.js discussion had led anyway, and I discussed it with tech today in conjunction with other technical WT site issues.--IBobi 20:55, 3 August 2011 (EDT)

May this ticket be closed and taken off the roadmap? Riggwelter 07:12, 9 August 2011 (EDT)
Good question, Riggwelter. It might be useful to leave it up for now, just to have a place to discuss options such as a mass revert tool? --IBobi 15:18, 9 August 2011 (EDT)
Given the streamlining of the feature & bug reporting effort that you're spearheading, let's close this and when someone is ready to open a discussion of editing/spam remediation tools, that can be done then.--IBobi talk email 20:48, 24 July 2012 (EDT)
cannot risk anyone making changes that could dramatically impact site functionality—Would you be able to clarify what this means? --Peter Talk 14:03, 26 July 2012 (EDT)

See also[edit]

Variants

Actions

In other languages