Re: [Wikitech-l] Files with unknown copyright status on MediaWiki wiki

2011-12-31 Thread Maciej Jaros
K. Peachey (2011-12-31 11:25): We currently have a large number of file uploads with no licensing data on MW wiki! And we should really start doing something about it, As some people may have noticed last week(ish) I went though and tag most (if not all) of the uploads from this year that

Re: [Wikitech-l] VisualEditor link-activating/following

2011-12-18 Thread Maciej Jaros
Kaseluris-Nikos-1959 (2011-12-18 05:19): The processes|actions on links we deal-with are: 1) in a browser: a) link activating. 2) in a source-editor: a) link-text editing, b) link-target editing. 3) in a wysiwyg-editor: a) link-text editing, b) link-target editing c) link

Re: [Wikitech-l] Visual editor collaboration

2011-12-17 Thread Maciej Jaros
Mihály Héder (2011-12-17 14:46): Hello, Congratulations on LocalWiki, that is really great! In HTML5 editor category you should check out Aloha Editor as well: http://aloha-editor.org My favorite demos: http://aloha-editor.org/demos/css3/ (*everyone* should check out this one! Of course

Re: [Wikitech-l] RFC: Geo RSS for recent changes

2011-08-22 Thread Maciej Jaros
Strainu (2011-08-20 23:53): Hi, Just a quick thought about the recent change feed [1]. Wouldn't it be interesting to transform it in a GeoRSS [2]? This would be done by adding the coordinate from the articles, if available, and/or by using rssToGeo [3] where coordinates are unavailable?

Re: [Wikitech-l] Asking for notes on a MediaWiki:Sidebar replacement

2011-08-22 Thread Maciej Jaros
jida...@jidanni.org (2011-08-23 01:56): DF == Daniel Friesenli...@nadir-seen-fire.com writes: DF For something like this where users are going to want to be able to drag DF and reorganize things do we have to do this in a slow way that works DF without JS? Yes you do. You need to offer

Re: [Wikitech-l] We need to make it easy to fork and leave

2011-08-12 Thread Maciej Jaros
John Elliot (2011-08-12 13:36): [...] The thing about me, is that there can be hundreds of thousands of people like me, and when you add up all our contributions, you have a formidable force. I can't host Wikipedia, but there could be facilities in place for me to be able to easily mirror the

Re: [Wikitech-l] Experimental Wikia RTE branch for MediaWiki trunk

2011-07-29 Thread Maciej Jaros
Dmitriy Sintsov (2011-07-29 07:54): Speaking of server-side (php interface), yes, MediaWiki is largely backwards compatible (except for static call Linker::link() and few ancient things, like wfLoadExtensionMessages‎() and so on). Speaking of client-side (Javascript), it is not so simple.

Re: [Wikitech-l] Experimental Wikia RTE branch for MediaWiki trunk

2011-07-27 Thread Maciej Jaros
Dmitriy Sintsov (2011-07-21 09:48): Brion Vibberbr...@pobox.com [Fri, 6 May 2011 16:34:20 -0700]: This gets a little scarier-looking once it turns out that the core Parser class has a hojillion little patches on it that the extension depends on, which do much of the annotation placeholder

Re: [Wikitech-l] RFC: Modifying diff colors due to color blindness issues

2011-07-27 Thread Maciej Jaros
Leo Koppelkamm (2011-07-27 23:31): On Wednesday, July 27, 2011 at 8:33 PM, George Herbert wrote: Could we get visual mockups of the various proposals, preferably stacked on one page so we can compare them fairly easily? Red/Green

Re: [Wikitech-l] SVG image display bug (width-dependent)

2011-07-15 Thread Maciej Jaros
Neil Kandalgaonkar (2011-07-14 01:40): That's interesting. Your SVG file seems to be hand-edited, using xlink and entities so the repetitive elements, like the court, are only defined once. It's clever. Using xlink alone shouldn't be a problem. You can see this works fine from quite some time

Re: [Wikitech-l] JSGantt inside wiki articles

2011-06-15 Thread Maciej Jaros
Brion Vibber (2011-06-11 23:23): On Sat, Jun 11, 2011 at 2:16 PM, Daniel Friesen li...@nadir-seen-fire.comwrote: There's also the technique Raphael JS uses. I'm quite fond of Raphael for interactive graphics -- it provides a nice little JS API that maps things to native elements in either

[Wikitech-l] JSGantt inside wiki articles

2011-06-11 Thread Maciej Jaros
Hi. I faintly remember someone mentioned Gantt diagrams/charts here so here it is: http://www.mediawiki.org/wiki/Extension:JSWikiGantt I must warn you that if you want to look at the code, please close your eyes when you look at jsgantt.js ;-). This must have been a fun project some years ago

Re: [Wikitech-l] Gantt extension for MediaWiki

2011-04-14 Thread Maciej Jaros
Roan Kattouw (2011-04-14 13:30): 2011/4/14 Maciej Jarose...@wp.pl: BTW are there any guidelines (or at least good examples) of i18n in JS? What I mean is - I need to use some (most) localized strings in JS and would like to use existing code (if possible) for pushing strings from PHP to JS

Re: [Wikitech-l] Gantt extension for MediaWiki

2011-04-14 Thread Maciej Jaros
Roan Kattouw (2011-04-14 13:30): 2011/4/14 Maciej Jarose...@wp.pl: BTW are there any guidelines (or at least good examples) of i18n in JS? What I mean is - I need to use some (most) localized strings in JS and would like to use existing code (if possible) for pushing strings from PHP to JS

Re: [Wikitech-l] Gantt extension for MediaWiki

2011-04-14 Thread Maciej Jaros
Maciej Jaros (2011-04-14 16:03): Roan Kattouw (2011-04-14 13:30): 2011/4/14 Maciej Jarose...@wp.pl: BTW are there any guidelines (or at least good examples) of i18n in JS? What I mean is - I need to use some (most) localized strings in JS and would like to use existing code (if possible

Re: [Wikitech-l] Simple Search Simplification

2011-02-15 Thread Maciej Jaros
+1 to both, looks to much like another tab and it does something completely different. Different things should look differently. Might be even more confusing if the drop down menu arrow would be on the left of it (then that's usually visible when you log in) - would suggest a search history

Re: [Wikitech-l] Planned 1.17 deployment on February 8

2011-02-03 Thread Maciej Jaros
Roan Kattouw (2011-02-01 10:14): 2011/2/1 Rob Lanphierro...@robla.net: Can you explain why you're rolling out when it's the middle of the night where Wikimedia is headquartered? I have a few different theories (site traffic, time zones of the operations team, etc.), but a clarification here

Re: [Wikitech-l] Planned 1.17 deployment on February 8

2011-02-03 Thread Maciej Jaros
Platonides (2011-02-03 21:53): Maciej Jaros wrote: Can you set a different deploy date for different projects? E.g. 18.00 UTC for Poland. I will not be able to be there when hell will brake loose as I will be working and I'm sure most of the Polish tech admins will be too. Note that we

Re: [Wikitech-l] Re sourceLoader + Windows + PHP bug 47689

2011-01-30 Thread Maciej Jaros
Ilmari Karonen (2011-01-30 15:19): On 01/30/2011 04:16 PM, Platonides wrote: Ilmari Karonen wrote: Hmm... I don't really know what's going on inside PHP's PCRE implementation, but you might want to try replacing that regexp with: $parser-add( '/\\/\\*.*?\\*\\//s' ); The add()s are

Re: [Wikitech-l] user email validation ready

2011-01-25 Thread Maciej Jaros
Brion Vibber (2011-01-25 02:51): On Mon, Jan 24, 2011 at 4:02 PM, Platonidesplatoni...@gmail.com wrote: The original spec had feedback based precisely on enwiki numbers. http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-August/00.html So about 100? Note that there are invalid

Re: [Wikitech-l] Farewell JSMin, Hello JavaScriptDistiller!

2011-01-22 Thread Maciej Jaros
Michael Dale (2011-01-21 16:04): On 01/21/2011 08:21 AM, Chad wrote: While I happen to think the licensing issue is rather bogus and doesn't really affect us, I'm glad to see it resolved. It outperforms our current solution and keeps the same behavior. Plus as a bonus, the vertical line

Re: [Wikitech-l] Farewell JSMin, Hello JavaScriptDistiller!

2011-01-20 Thread Maciej Jaros
Trevor Parscal (2011-01-20 23:13): For those of you who didn't see bug 26791, our use of JSMin has been found to conflict with our GPL license. After assessing other options ( https://bugzilla.wikimedia.org/show_bug.cgi?id=26791#c8 ) Roan and I decided to try and use the minification from

Re: [Wikitech-l] Farewell JSMin, Hello JavaScriptDistiller!

2011-01-20 Thread Maciej Jaros
Roan Kattouw (2011-01-21 00:50): 2011/1/21 Maciej Jarose...@wp.pl: Yes, I know I'm stubborn, but 6 bytes (0.6%)? Seriously? Doesn't seem convincing to me and seems like it could at least use $wgResourceLoaderMinifyJSHorizontalSpace (even if true by default). Trevor probably didn't choose a

Re: [Wikitech-l] Category sorting and first letters

2011-01-18 Thread Maciej Jaros
Tim Starling (2011-01-18 02:03): On 18/01/11 07:41, Amir E. Aharoni wrote: 2011/1/17 Tim Starlingtstarl...@wikimedia.org: * It automatically drops accents, since accented letters sort the same as unaccented letters (at the primary level). How locale aware is it? For example, in Swedish

Re: [Wikitech-l] Category sorting and first letters

2011-01-18 Thread Maciej Jaros
Maciej Jaros (2011-01-18 15:42): Tim Starling (2011-01-18 02:03): On 18/01/11 07:41, Amir E. Aharoni wrote: 2011/1/17 Tim Starlingtstarl...@wikimedia.org: * It automatically drops accents, since accented letters sort the same as unaccented letters (at the primary level). How locale aware

Re: [Wikitech-l] WYSIFTW status

2011-01-17 Thread Maciej Jaros
Aryeh Gregor (2011-01-17 17:31): On Sun, Jan 16, 2011 at 7:16 PM, Magnus Manske magnusman...@googlemail.com wrote: There is the question of what browsers/versions to test for. Should I invest large amounts of time optimising performance in Firefox 3, when FF4 will probably be released before

Re: [Wikitech-l] [Foundation-l] Big problem to solve: good WYSIWYG on WMF wikis

2010-12-31 Thread Maciej Jaros
masti (2010-12-31 01:33): On 12/31/2010 01:19 AM, Platonides wrote: masti wrote: That is true - We can't do away with Wikitext always been the intermediate conclusion (in between My god, we need to do something about this problem and This is hopeless, we give up again). between wikitext and

Re: [Wikitech-l] StringFunctions on enwiki?

2010-12-29 Thread Maciej Jaros
@2010-12-28 22:22, MZMcBride: Alex Brollo wrote: I too don't understand precisely why string functions are so discouraged. I saw extremely complex templates built just to do (with a high server load I suppose in my ignorance...) what could be obtained with an extremely simple string function.

Re: [Wikitech-l] How would you disrupt Wikipedia?

2010-12-29 Thread Maciej Jaros
2010-12-29 08:31, Neil Kandalgaonkar: I've been inspired by the discussion David Gerard and Brion Vibber kicked off, and I think they are headed in the right direction. But I just want to ask a separate, but related question. Let's imagine you wanted to start a rival to Wikipedia. Assume

Re: [Wikitech-l] How would you disrupt Wikipedia?

2010-12-29 Thread Maciej Jaros
Bryan Tong Minh (2010-12-29 13:05): On Wed, Dec 29, 2010 at 12:36 PM, Maciej Jarose...@wp.pl wrote: If one would have a budget of gazillions of dollars then it would be quite easy ;-). The problem is - what would be the point of investing such money if you wouldn't get it back from this

Re: [Wikitech-l] How would you disrupt Wikipedia?

2010-12-29 Thread Maciej Jaros
Neil Kandalgaonkar (2010-12-29 21:40): On 12/29/10 4:05 AM, Bryan Tong Minh wrote: On Wed, Dec 29, 2010 at 12:36 PM, Maciej Jarose...@wp.pl wrote: If one would have a budget of gazillions of dollars then it would be quite easy ;-). The problem is - what would be the point of investing such

Re: [Wikitech-l] A tool or web form for creating new pages

2010-12-14 Thread Maciej Jaros
@2010-12-15 00:12, Ben Schwartz: On 12/14/2010 05:40 PM, Platonides wrote: Neil may be interested on this. He recently made the UploadWizard. I hadn't heard of this extension, but it looks interesting. I presume it's not yet active on the actual Commons? Recently activated:

Re: [Wikitech-l] Fwd: Re: [Mediawiki-l] vector components many blank lines

2010-12-10 Thread Maciej Jaros
@2010-12-09 05:25, Neil Kandalgaonkar: On 12/8/10 3:40 PM, Andrew Garrett wrote: On Wed, Dec 8, 2010 at 3:11 AM, Trevor Parscaltpars...@wikimedia.orgwrote: This particular change (the don't delete line breaks part of r73196) should be reverted, Tim's good changes should be pushed upstream, and

Re: [Wikitech-l] Resource Loader problem

2010-11-09 Thread Maciej Jaros
@2010-11-09 05:51, Jeroen De Dauw: Hey, Thanks again for the quick reply. The image paths appear to be correct when I view the file via that url. What I'm seeing when I load an OpenLayers map is that some of the controls that consist out of images get displayed as firefox image not found

Re: [Wikitech-l] Skip local file description pages

2010-11-05 Thread Maciej Jaros
@2010-11-03 01:58, Lars Aronsson: Swedish Wikipedia has long ago disabled all local uploading of files (pictures) and has moved all files to Wikimedia Commons. When explaining Wikipedia and Commons to newcomers, it's very frustrating to land on the intermediary file description page on

Re: [Wikitech-l] Commons ZIP file upload for admins

2010-10-26 Thread Maciej Jaros
@2010-10-26 03:45, Erik Moeller: 2010/10/25 Brion Vibberbr...@pobox.com: In all cases we have the worry that if we allow uploading those funky formats, we'll either a) end up with malicious files or b) end up with lazy people using and uploading non-free editing formats when we'd prefer them

Re: [Wikitech-l] ResourceLoader Debug Mode

2010-10-21 Thread Maciej Jaros
@2010-10-22 00:53, Trevor Parscal: On 10/21/10 3:39 PM, Maciej Jaros wrote: What about setting a cookie to go into a debug mode? I thought you liked the idea? I have no problem with that, it's just not implemented yet. Want to help? Sure. I see new line characters are there, too. Cool

Re: [Wikitech-l] Vector extension naming

2010-10-13 Thread Maciej Jaros
At 2010-10-13 05:10, Trevor Parscal wrote: On 10/12/10 8:03 PM, Chad wrote: On Tue, Oct 12, 2010 at 10:45 PM, Trevor Parscaltpars...@wikimedia.org wrote: On 10/12/10 7:42 PM, MZMcBride wrote: Trevor Parscal wrote: Apologies in advance for the sheer triviality of this matter;

Re: [Wikitech-l] Vector extension naming

2010-10-13 Thread Maciej Jaros
At 2010-10-13 09:12, Roan Kattouw wrote: 2010/10/13 Trevor Parscaltpars...@wikimedia.org: That's an entirely different discussion, and the results of that discussion have so far been that any such action is being deferred until after 1.17. With pretty much every participant in this thread

Re: [Wikitech-l] MediaWiki.org's [[MediaWiki:Newarticletext]]

2010-10-10 Thread Maciej Jaros
At 2010-10-10 10:02, Max Semenik wrote: On 10.10.2010, 6:36 Andrew wrote: Do we seriously need such an obnoxious message here? I realise that we might have had a problem in the past with people clicking on the MediaWiki logo in the corner when installing their wikis, but perhaps we could

Re: [Wikitech-l] ResourceLoader Debug Mode

2010-09-30 Thread Maciej Jaros
At 2010-09-30 20:35, Trevor Parscal wrote: [...] * Where end users report platform-specific JavaScript errors, it may be useful to be able to match the line number of the error with something meaningful. The usefulness of this is attached to the idea the most important part of the error

Re: [Wikitech-l] ResourceLoader Debug Mode

2010-09-30 Thread Maciej Jaros
At 2010-09-30 23:13, Trevor Parscal wrote: On 9/30/10 1:55 PM, Maciej Jaros wrote: At 2010-09-30 20:35, Trevor Parscal wrote: [...] * Where end users report platform-specific JavaScript errors, it may be useful to be able to match the line number of the error with something

Re: [Wikitech-l] ResourceLoader Debug Mode

2010-09-30 Thread Maciej Jaros
At 2010-10-01 01:50, Trevor Parscal wrote: On 9/30/10 4:31 PM, Maciej Jaros wrote: At 2010-09-30 23:13, Trevor Parscal wrote: On 9/30/10 1:55 PM, Maciej Jaros wrote: At 2010-09-30 20:35, Trevor Parscal wrote: [...] * Where end users report platform-specific JavaScript

Re: [Wikitech-l] ResourceLoader Debug Mode

2010-09-29 Thread Maciej Jaros
Trevor Parscal wrote: There seems to be some confusion about how ResourceLoader works, which has been leading people to make commits like r73196 and report bugs like #25362. I would like to offer some clarification. ResourceLoader, if you aren't already aware, is a new system in

Re: [Wikitech-l] Proposal: reversion collapsing in edit history

2010-09-12 Thread Maciej Jaros
At 2010-09-12 22:09, Rob Lanphier wrote: [...] The text 4 revisions not shown would be a hyperlink that would expose the collapsed revisions. The revisions would still be available for everyone to view; they just wouldn't be given the same level of visibility as revisions that had a more

Re: [Wikitech-l] ResourceLoader, now in trunk!

2010-09-09 Thread Maciej Jaros
At 2010-09-09 10:15, Trevor Parscal wrote: On 9/9/10 12:42 AM, Jean-Marc van Leerdam wrote: Hi, On 9 September 2010 09:36, Tgrgti...@gmail.com wrote: Roan Kattouwroan.kattouwat gmail.com writes: Actually, the line number would not mean a great deal because the scripts would

Re: [Wikitech-l] ResourceLoader, now in trunk!

2010-09-09 Thread Maciej Jaros
At 2010-09-09 21:18, Neil Kandalgaonkar wrote: I don't know about the rest of you, but I am the kind of person who would forget that they were in debug mode, or would leave it on all the time anyway. Just a suggestion, but if there's a cookie or pref I feel it should add something visible

Re: [Wikitech-l] Page display slowness

2010-09-08 Thread Maciej Jaros
At 2010-09-09 01:20, Lars Aronsson wrote: For various reasons, I'm now using the Opera 10.10 browser on Linux. With the new vector skin, trying to open an edit form takes 4 or 5 seconds. This is not because the servers are slow, the whole is quite fast in Firefox, but in Opera time elapses

Re: [Wikitech-l] ResourceLoader, now in trunk!

2010-09-06 Thread Maciej Jaros
AT 2010-09-06 18:26, Roan Kattouw wrote: 2010/9/6 Maciej Jarose...@wp.pl: At 2010-09-04 05:59, Trevor Parscal wrote: * Allows minification of JavaScript and CSS. Will JS/CSS developers/testers be able to disable this in preferences? Like I said in my previous reply to Aryeh, you can use

Re: [Wikitech-l] Transaction nesting and savepoints

2010-09-05 Thread Maciej Jaros
At 2010-09-02 01:04, Aryeh Gregor wrote: On Wed, Sep 1, 2010 at 6:47 PM, Platonidesplatoni...@gmail.com wrote: Is there some way to find out those points were the commit needs to be there for lock freeing and not just for normal transaction finish ? Look at every single commit() and guess?

Re: [Wikitech-l] Transaction nesting and savepoints

2010-09-01 Thread Maciej Jaros
At 2010-08-31 19:09, Aryeh Gregor wrote: On Tue, Aug 31, 2010 at 11:08 AM, Platonidesplatoni...@gmail.com wrote: I propose changing Database::begin() / commit() / rollback() to keep the count in mTrxLevel and perform a savepoint instead of a BEGIN should it be called inside another one.

Re: [Wikitech-l] Transaction nesting and savepoints

2010-09-01 Thread Maciej Jaros
At 2010-09-01 17:03, Aryeh Gregor wrote: On Wed, Sep 1, 2010 at 2:42 AM, Maciej Jarose...@wp.pl wrote: I think it still should be conscious decision and so those functions could use their first... hm... second parameter as the transaction name. For MS SQL you can simply use BEGIN

Re: [Wikitech-l] Increasing default cookie expiry time

2010-08-24 Thread Maciej Jaros
At 2010-08-24 14:51, Helder Geovane wrote: Would it be possible for a user to create a small javascript to replace the default cookie by another one which doesn't expires? Probably not unless some browser don't respect HttpOnly flag of cookies. But you could make an extension for a browser

Re: [Wikitech-l] How to generate link to section in JavaScript?

2010-08-24 Thread Maciej Jaros
At 2010-08-24 15:44, lampak wrote: On 24/08/10 15:25, Tgr wrote: lampakllampakat gmail.com writes: Hi. I'm working on a script which edits a page, adds a section to it and then redirects to this page. It would be nice if it went straight to the newly-created section. So I need to

Re: [Wikitech-l] Developing true WISIWYG editor for media wiki

2010-08-20 Thread Maciej Jaros
Hi. Does anybody know which extension Wikia uses currently? On Wikia's SVN I've found the RTE extension[1], but I think they at least something extra for adding categories... BTW. I think that usability might consider working from their version rather then developing everything from

Re: [Wikitech-l] I need an extra tab.

2010-08-14 Thread Maciej Jaros
At 2010-08-09 04:39, Mike.lifeguard wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there any documentation for this kind of client-side hacking? I suppose there are comments in wikibits.js... :) AFAIK there are various Wikipedia pages in various languages that describe some

Re: [Wikitech-l] Anyone with CSS fu that can help out on Flagged Revs?

2010-05-30 Thread Maciej Jaros
At 2010-05-30 17:45, Aryeh Gregor wrote: On Fri, May 28, 2010 at 12:43 AM, Rob Lanphierro...@wikimedia.org wrote: What we're struggling with is that the [review pending revisions] with the little lock icon beside it to look right in a cross-browser and cross-skin fashion. A couple of

Re: [Wikitech-l] Anyone with CSS fu that can help out on Flagged Revs?

2010-05-30 Thread Maciej Jaros
At 2010-05-30 18:55, Aryeh Gregor wrote: On Sun, May 30, 2010 at 12:20 PM, Maciej Jarose...@wp.pl wrote: I agree. Don't use CSS for positioning if you can do it better. Except for the problems mentioned by others there is a box model problem:

Re: [Wikitech-l] js2 extensions / Update ( add-media-wizard, uploadWizard, timed media player )

2010-05-17 Thread Maciej Jaros
On 2010-05-14 05:44, Michael Dale wrote: If you have been following the svn commits you may have noticed a bit of activity on the js2 front. I wanted to send a quick heads up that describes what is going on and invite people to try things out, and give feedback. == Demos == The js2