Re: [Wikitech-l] Should JS/CSS pages be parsed?

2012-10-22 Thread Brad Jorsch
On Sun, Oct 21, 2012 at 12:43:32PM +0200, John Erling Blad wrote: In my opinion, parsing .js and .css as wikitext is a borken idea. Add some kind of pragmas to the page and strip them off in the ResourceLoader. Going further in that direction, I seem to recall one of the goals of ContentHandler

Re: [Wikitech-l] Should JS/CSS pages be parsed?

2012-10-21 Thread John Erling Blad
In my opinion, parsing .js and .css as wikitext is a borken idea. Add some kind of pragmas to the page and strip them off in the ResourceLoader. John On Fri, Oct 19, 2012 at 12:44 AM, MZMcBride z...@mzmcbride.com wrote: Krinkle wrote: On Oct 18, 2012, at 5:04 AM, Daniel Kinzler

Re: [Wikitech-l] Should JS/CSS pages be parsed?

2012-10-18 Thread Tyler Romeo
It seems like people have some pretty good reasons for parsing JS/CSS pages (categorization, backlinks, speedy deletion templates, etc.), so unless there is some significant disadvantage to MW for enabling parsing, I'm going to have to agree with the bug filer. *--* *Tyler Romeo* Stevens Institute

Re: [Wikitech-l] Should JS/CSS pages be parsed?

2012-10-18 Thread Krinkle
On Oct 18, 2012, at 5:04 AM, Daniel Kinzler dan...@brightbyte.de wrote: Hi! When designing the ContentHandler, I asked around about whether JS and CSS pages should be parsed as wikitext, so categories etc would work. The gist of the responses I got was naw, lets get rid of that. So I did

Re: [Wikitech-l] Should JS/CSS pages be parsed?

2012-10-18 Thread Platonides
Yes, it should be put back. Unless maybe if there was a way to get out to wikitext from js. ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Should JS/CSS pages be parsed?

2012-10-18 Thread Strainu
2012/10/18 Platonides platoni...@gmail.com: Yes, it should be put back. Unless maybe if there was a way to get out to wikitext from js. Perhaps it would make sense to only parse comments? it might slightly degrade performance, though, and would also require a small level of adaptation from

Re: [Wikitech-l] Should JS/CSS pages be parsed?

2012-10-18 Thread Tim Starling
On 18/10/12 20:04, Daniel Kinzler wrote: Hi! When designing the ContentHandler, I asked around about whether JS and CSS pages should be parsed as wikitext, so categories etc would work. The gist of the responses I got was naw, lets get rid of that. So I did (though PST is still applied -

Re: [Wikitech-l] Should JS/CSS pages be parsed?

2012-10-18 Thread MZMcBride
Krinkle wrote: On Oct 18, 2012, at 5:04 AM, Daniel Kinzler dan...@brightbyte.de wrote: When designing the ContentHandler, I asked around about whether JS and CSS pages should be parsed as wikitext, so categories etc would work. The gist of the responses I got was naw, lets get rid of that. So