Re: [Wikitech-l] MediaWiki 1.20wmf1 deployed to test2 mediawiki.org

2012-04-11 Thread Raimond Spekking
Am 11.04.2012 00:46, schrieb Rob Lanphier: Hi everyone, Sam has created the wmf/1.20wmf1 branch and deployed it to test2.wikipedia.org and mediawiki.org. So, please, go for and test! Oh, btw, enjoy the pretty new diff colors! :)

[Wikitech-l] Patch for gallery tag, review questions.

2012-04-11 Thread Kim Eik
I have created a patch for the gallery tag and have been given the following review. https://gerrit.wikimedia.org/r/4609 * JavaScript injection: you can inject javascript: URIs which execute code when clicked * plain links (link=Firefox) are taken as relative URLs which will randomly work or not

Re: [Wikitech-l] MediaWiki 1.20wmf1 deployed to test2 mediawiki.org

2012-04-11 Thread Petr Bena
This version of mediawiki is also present for some time on the deployment test site, where you can test various tools and check how is everything going to work on the wiki you are using now, for example the english wikipedia: http://en.wikipedia.beta.wmflabs.org/wiki In case any wiki is not

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Marcin Cieslak
Petr Bena benap...@gmail.com wrote: It isn't stable, maybe someone should take over the work on it... If it was finished it would be nice to have feature, if it was ever deployed of course. Can you describe (maybe on a talk page or maybe better in bugzilla) what's wrong with this extension

Re: [Wikitech-l] selenium browser testing proposal and prototype

2012-04-11 Thread Marcin Cieslak
Markus Glaser gla...@hallowelt.biz wrote: Some time ago some people from the test framework team started working on a Selenium Framework for MediaWiki [1], in PHP and with Selenium 1.0. One of the reasons the project discontinued was that there was no clear case of when Selenium would be

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Petr Bena
I have no idea the page of extension say that it isn't stable On Wed, Apr 11, 2012 at 10:59 AM, Marcin Cieslak sa...@saper.info wrote: Petr Bena benap...@gmail.com wrote: It isn't stable, maybe someone should take over the work on it... If it was finished it would be nice to have feature, if

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Chris Grant
Hmm, you could probably do this with a javascript gadget. It would probably be quicker and easier than an extension. - Chris On Wed, Apr 11, 2012 at 5:18 PM, Petr Bena benap...@gmail.com wrote: I have no idea the page of extension say that it isn't stable On Wed, Apr 11, 2012 at 10:59 AM,

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Benjamin Lees
On Wed, Apr 11, 2012 at 5:18 AM, Petr Bena benap...@gmail.com wrote: I have no idea the page of extension say that it isn't stable Because the author of the extension never marked it as stable. ___ Wikitech-l mailing list

[Wikitech-l] @since

2012-04-11 Thread Marcin Cieslak
Hello, I have a problem similar to the one of RELEASE-NOTES. After great pains (broken merges, unknown dependencies, etc.) I have pushed f74ed02ef744138a8d2a87322f81023ddc143a5f where I have marked some methods @since 1.19 since I really hope to have this backported to 1.19 and maybe even 1.18.

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Happy Melon
On 11 April 2012 10:48, Benjamin Lees emufarm...@gmail.com wrote: On Wed, Apr 11, 2012 at 5:18 AM, Petr Bena benap...@gmail.com wrote: I have no idea the page of extension say that it isn't stable https://bugzilla.wikimedia.org/show_bug.cgi?id=1 --HM

Re: [Wikitech-l] Page views

2012-04-11 Thread Lars Aronsson
On 04/11/2012 01:45 AM, Erik Zachte wrote: Here are some numbers on total bot burden: 1) http://stats.wikimedia.org/wikimedia/squids/SquidReportCrawlers.htm states for March 2012: In total 69.5 M page requests (mime type text/html only!) per day are considered crawler requests, out of 696 M

Re: [Wikitech-l] Page views

2012-04-11 Thread Diederik van Liere
My suggestion for how to filter these bots efficiently in c program (no costly nuanced regexps) before sending data to webstatscollector: a) Find 14th field in space delimited log line = user agent (but beware of false delimiters in logs from varnish, if still applicable) b) Search this

[Wikitech-l] Being able to deprecated functions

2012-04-11 Thread Jeroen De Dauw
Hey, I am currently working on some WikiData code that deprecates a number of core functions since new more generic ones have been introduced (don't panic - this is all on a branch). Since I want to see if I'm using anything that got deprecated right away, I have deprecation warnings turned on.

Re: [Wikitech-l] Being able to deprecated functions

2012-04-11 Thread MZMcBride
Jeroen De Dauw wrote: I am currently working on some WikiData code that deprecates a number of core functions since new more generic ones have been introduced (don't panic - this is all on a branch). Since I want to see if I'm using anything that got deprecated right away, I have deprecation

Re: [Wikitech-l] @since

2012-04-11 Thread Chad
On Wed, Apr 11, 2012 at 6:24 AM, Marcin Cieslak sa...@saper.info wrote: Hello, I have a problem similar to the one of RELEASE-NOTES. After great pains (broken merges, unknown dependencies, etc.) I have pushed f74ed02ef744138a8d2a87322f81023ddc143a5f where I have marked some methods @since

Re: [Wikitech-l] SyntaxHighlight_GeSHi broken out of the box

2012-04-11 Thread Chad
On Tue, Apr 10, 2012 at 11:31 PM, Roan Kattouw roan.katt...@gmail.com wrote: In SVN, SyntaxHighlight had an external for geshi/geshi.php and friends. This is gone in git, so out of the box I now get: Warning: require(geshi/geshi.php): failed to open stream: No such file or directory in

Re: [Wikitech-l] MediaWiki 1.20wmf1 deployed to test2 mediawiki.org

2012-04-11 Thread Chad
On Wed, Apr 11, 2012 at 2:46 AM, Raimond Spekking raimond.spekk...@gmail.com wrote: Am 11.04.2012 00:46, schrieb Rob Lanphier: Hi everyone, Sam has created the wmf/1.20wmf1 branch and deployed it to test2.wikipedia.org and mediawiki.org.  So, please, go for and test! Oh, btw, enjoy the

Re: [Wikitech-l] Being able to deprecated functions

2012-04-11 Thread Jeroen De Dauw
Hey, You can't just filter the output? This seems like a trivial problem to solve Yeah, filtering this was trivial and was done by my 3 lines of code. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- ___ Wikitech-l

Re: [Wikitech-l] MediaWiki 1.20wmf1 deployed to test2 mediawiki.org

2012-04-11 Thread Chad
On Wed, Apr 11, 2012 at 9:57 AM, Chad innocentkil...@gmail.com wrote: On Wed, Apr 11, 2012 at 2:46 AM, Raimond Spekking raimond.spekk...@gmail.com wrote: Am 11.04.2012 00:46, schrieb Rob Lanphier: Hi everyone, Sam has created the wmf/1.20wmf1 branch and deployed it to test2.wikipedia.org

Re: [Wikitech-l] @since

2012-04-11 Thread Jeroen De Dauw
Hey, I fully agree with what Chad said. Or, once something @since 1.20 gets merged in to REL1_19, I should modify @since to 1.19 in master and update master's RELEASE-NOTES-1.19 as well? We've never listed documentation fixes like this in release notes, I don't see any reason to start now.

Re: [Wikitech-l] selenium browser testing proposal and prototype

2012-04-11 Thread Chris McMahon
- have a sysop account to watch the non-existing page name - create that page with some content - have a sysop to delete this page Very good testing case for DB transaction related problems. I doing such tests should be possible in the new framework? //Saper Yes. This is a good

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Petr Bena
So you say person who created it finished the extension to deployment ready status and just forgot to update the extension page for it :-) I will try to review it a bit then On Wed, Apr 11, 2012 at 12:28 PM, Happy Melon happy.melon.w...@gmail.com wrote: On 11 April 2012 10:48, Benjamin Lees

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Petr Bena
I deployed it to english wikipedia on deployment site for test: http://en.wikipedia.beta.wmflabs.org/wiki/Special:Drafts let's try it ;) if there are no issues found I will ask for a full code review and hopefully it won't take years for it to happen. Anyway I still believe this should be in

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Petr Bena
It really needs some more work, I didn't find how to use it, it likely doesn't work with latest mediawiki, anyway, the question now is whether it's worth of implementing this to core or making an extension? I would prefer making an extension, but again, implementing it to core will make it easier

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Helder
On Wed, Apr 11, 2012 at 11:38, Petr Bena benap...@gmail.com wrote: It really needs some more work, I didn't find how to use it, it likely doesn't work with latest mediawiki I noticed this: https://www.mediawiki.org/wiki/Extension_talk:Drafts#Bugs ___

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Petr Bena
Yes it looks like some problem with the het setup, I will try to talk to werdna regarding this. On Wed, Apr 11, 2012 at 4:47 PM, Helder helder.w...@gmail.com wrote: On Wed, Apr 11, 2012 at 11:38, Petr Bena benap...@gmail.com wrote: It really needs some more work, I didn't find how to use it, it

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Petr Bena
Ok, I managed to fix it, anyway there are still some issues: The autosave works after 2 minutes of inactivity. It should work anyway, in case your pc crash there is no way to recover your work, since it's browser which waits 2 minutes for inactivity and not a server and browser crashes together

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Chad
On Wed, Apr 11, 2012 at 11:15 AM, Petr Bena benap...@gmail.com wrote: Ok, I managed to fix it, anyway there are still some issues: The autosave works after 2 minutes of inactivity. It should work anyway, in case your pc crash there is no way to recover your work, since it's browser which

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Petr Bena
On Wed, Apr 11, 2012 at 5:47 PM, Chad innocentkil...@gmail.com wrote: On Wed, Apr 11, 2012 at 11:15 AM, Petr Bena benap...@gmail.com wrote: Ok, I managed to fix it, anyway there are still some issues: The autosave works after 2 minutes of inactivity. It should work anyway, in case your pc

Re: [Wikitech-l] Save to userspace

2012-04-11 Thread Chad
On Wed, Apr 11, 2012 at 12:03 PM, Petr Bena benap...@gmail.com wrote: On Wed, Apr 11, 2012 at 5:47 PM, Chad innocentkil...@gmail.com wrote: On Wed, Apr 11, 2012 at 11:15 AM, Petr Bena benap...@gmail.com wrote: If this is done properly with classes and ids, this should all be customizable by

Re: [Wikitech-l] MediaWiki 1.20wmf1 deployed to test2 mediawiki.org

2012-04-11 Thread Erwin Dokter
On 11-04-2012 00:46, Rob Lanphier wrote: Oh, btw, enjoy the pretty new diff colors! :) http://www.mediawiki.org/w/index.php?title=MediaWiki_1.19%2FRoadmap%2Fstatusdiff=516437oldid=508794 Aw, I had some last-minute tweaks that fixes some padding issues, but I forgot to reopen bug 11374

Re: [Wikitech-l] SyntaxHighlight_GeSHi broken out of the box

2012-04-11 Thread Brion Vibber
On Wed, Apr 11, 2012 at 6:50 AM, Chad innocentkil...@gmail.com wrote: That's weird, Sam went ahead and copied GeSHi into the repo in 43764e3[0]. I haven't tested it personally--is it working on test2 and mw.org? Looks ok to me, works locally... and the ext does work on mediawiki.org so

Re: [Wikitech-l] Patch for gallery tag, review questions.

2012-04-11 Thread Sumana Harihareswara
On 04/11/2012 03:27 AM, Kim Eik wrote: I have created a patch for the gallery tag and have been given the following review. https://gerrit.wikimedia.org/r/4609 * JavaScript injection: you can inject javascript: URIs which execute code when clicked * plain links (link=Firefox) are taken

[MediaWiki-CodeReview] [MediaWiki r114828]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Reedy changed the status of MediaWiki.r114828 to ok URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/114828 Old status: new New status: ok Commit summary for MediaWiki.r114828: Syntax errors galore! ___ MediaWiki-CodeReview mailing list

[MediaWiki-CodeReview] [Wikimedia r1585]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1585 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1585 Old status: new New status: ok Commit summary for Wikimedia.r1585: Fixes last issue with r1571. Records are now properly edited.

[MediaWiki-CodeReview] [Wikimedia r1586]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1586 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1586 Old status: new New status: ok Commit summary for Wikimedia.r1586: Fixes last issue with r1571. Records are now properly edited. See r1585.

Re: [Wikitech-l] Patch for gallery tag, review questions.

2012-04-11 Thread Brion Vibber
On Wed, Apr 11, 2012 at 12:27 AM, Kim Eik k...@heldig.org wrote: I have created a patch for the gallery tag and have been given the following review. https://gerrit.wikimedia.org/r/4609 * JavaScript injection: you can inject javascript: URIs which execute code when clicked * plain links

Re: [Wikitech-l] MediaWiki 1.20wmf1 deployed to test2 mediawiki.org

2012-04-11 Thread Raimond Spekking
Am 11.04.2012 15:57, schrieb Chad: On Wed, Apr 11, 2012 at 2:46 AM, Raimond Spekking raimond.spekk...@gmail.com wrote: Am 11.04.2012 00:46, schrieb Rob Lanphier: Hi everyone, Sam has created the wmf/1.20wmf1 branch and deployed it to test2.wikipedia.org and mediawiki.org. So, please, go

[MediaWiki-CodeReview] [Wikimedia r1589]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1589 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1589 Old status: new New status: ok Commit summary for Wikimedia.r1589: Form is now able to edit the next contribution date. ___

[Wikitech-l] APC and memcached

2012-04-11 Thread Daniel Renfro
I'd like to get some input on configuring the caching-strategy for my Mediawiki installation. As I understand it, APC caches the PHP byte-code to improve on webserver performance, but can also store sessions and objects. Memcached is mainly used to save rendered pages, can be used to store

[MediaWiki-CodeReview] [Wikimedia r1590]: New comment added

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) posted a comment on Wikimedia.r1590. URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1590#c32665 Commit summary for Wikimedia.r1590: Added new method: _recurring_globalcollect_get_subscription_by_order_id(). Khorn (WMF)'s comment: If this gives you problems, break this

[MediaWiki-CodeReview] [Wikimedia r1590]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1590 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1590 Old status: new New status: ok Commit summary for Wikimedia.r1590: Added new method: _recurring_globalcollect_get_subscription_by_order_id().

Re: [Wikitech-l] APC and memcached

2012-04-11 Thread Brion Vibber
On Wed, Apr 11, 2012 at 11:18 AM, Daniel Renfro dren...@vistaprint.comwrote: I'd like to get some input on configuring the caching-strategy for my Mediawiki installation. As I understand it, APC caches the PHP byte-code to improve on webserver performance, but can also store sessions and

Re: [Wikitech-l] APC and memcached

2012-04-11 Thread Daniel Renfro
Thanks Brion, It's always nice to hear what you were thinking from someone else! Now, off to configure-land! -Daniel -Original Message- From: wikitech-l-boun...@lists.wikimedia.org [mailto:wikitech-l-boun...@lists.wikimedia.org] On Behalf Of Brion Vibber Sent: Wednesday, April 11,

[MediaWiki-CodeReview] [Wikimedia r1591]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1591 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1591 Old status: new New status: ok Commit summary for Wikimedia.r1591: Adding search by order id to module. See r1590. ___

[MediaWiki-CodeReview] [Wikimedia r1596]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1596 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1596 Old status: new New status: ok Commit summary for Wikimedia.r1596: Moving $dbs-use_civicrm() next to relevant queries. ___

[MediaWiki-CodeReview] [Wikimedia r1597]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1597 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1597 Old status: new New status: ok Commit summary for Wikimedia.r1597: Replaced CRG with RG. ___ MediaWiki-CodeReview mailing list

[MediaWiki-CodeReview] [Wikimedia r1599]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1599 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1599 Old status: new New status: ok Commit summary for Wikimedia.r1599: Fixed issue with ORDERID not being properly parsed. ___

[MediaWiki-CodeReview] [Wikimedia r1600]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1600 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1600 Old status: new New status: ok Commit summary for Wikimedia.r1600: Added ability to edit failure_retry_date in forms. ___

[MediaWiki-CodeReview] [Wikimedia r1601]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1601 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1601 Old status: new New status: ok Commit summary for Wikimedia.r1601: Added ability to edit failure_retry_date in forms. See r1600.

[MediaWiki-CodeReview] [Wikimedia r1602]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1602 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1602 Old status: new New status: ok Commit summary for Wikimedia.r1602: Reversing the order allows the calendar to work. See r1601. ___

[MediaWiki-CodeReview] [Wikimedia r1603]: Revision status changed

2012-04-11 Thread MediaWiki Mail
Khorn (WMF) changed the status of Wikimedia.r1603 to ok URL: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/1603 Old status: new New status: ok Commit summary for Wikimedia.r1603: Need to tell the page that it is embedded so it does not try to render the view for the parent.

Re: [Wikitech-l] Interwiki talk page posting

2012-04-11 Thread Platonides
On 10/04/12 23:52, MZMcBride wrote: Now, whether for your purposes using the API is the best option, I don't know. But for my purposes, the API has been wonderful. The only major hiccup I hit was a few weeks ago when database lag spiked to a crazy level and the script couldn't get past it.

Re: [Wikitech-l] Interwiki talk page posting

2012-04-11 Thread Terry Chay
Niklas, On Apr 10, 2012, at 7:24 AM, Niklas Laxström wrote: Solution 3: ''Suggest another solution.'' https://www.mediawiki.org/wiki/Echo_(Notifications) Unfortunately, this won't see real headway until June/July timeframe:

Re: [Wikitech-l] Interwiki talk page posting

2012-04-11 Thread MZMcBride
Platonides wrote: On 10/04/12 23:52, MZMcBride wrote: Now, whether for your purposes using the API is the best option, I don't know. But for my purposes, the API has been wonderful. The only major hiccup I hit was a few weeks ago when database lag spiked to a crazy level and the script

[Wikitech-l] Mentor still needed for Watchlist Improvements

2012-04-11 Thread Aaron Pramana
If anyone is interested in improving watchlists with grouping and usability enhancements, please let me know. I have submitted a clear and practical project proposal for the 2012 Google Summer of Code and I am seeking a mentor. I will, of course, do all of the heavy lifting (coding) to make it