[Wikitech-l] Disable module mediawiki.searchSuggest in MW 1.20+

2013-01-15 Thread Robert Vogel
Hi everybody! I'm writing an extension that needs to replace/disable the build-in suggestion feature of the search box. In earlier versions this could be archived by setting $wgEnableMWSuggest (http://www.mediawiki.org/wiki/Manual:$wgEnableMWSuggest) to false. But with 1.20 this option is no

Re: [Wikitech-l] Željko Filipin presenting at FOSDEM

2013-01-15 Thread Sébastien Santoro
Hello, On Mon, Jan 14, 2013 at 7:04 PM, Chris McMahon cmcma...@wikimedia.org wrote: Željko Filipin, QA Engineer for WMF, will be giving a presentation at FOSDEM in Brussels Feb 2 about our browser automation project. Congratulations Željko, it looks like a great track to be part of.

[Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Jeroen De Dauw
Hey, I have observed a difference in opinion between two groups of people on gerrit, which unfortunately is causing bad blood on both sides. I'm therefore interested in hearing your opinion about the following scenario: Someone makes a sound commit. The commit has a clear commit message, though

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Nikola Smolenski
On 15/01/13 12:44, Jeroen De Dauw wrote: I have observed a difference in opinion between two groups of people on gerrit, which unfortunately is causing bad blood on both sides. I'm therefore interested in hearing your opinion about the following scenario: Someone makes a sound commit. The

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Daniel Kinzler
On 15.01.2013 12:44, Jeroen De Dauw wrote: Hey, I have observed a difference in opinion between two groups of people on gerrit, which unfortunately is causing bad blood on both sides. I'm therefore interested in hearing your opinion about the following scenario: Someone makes a sound

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Daniel Kinzler
On 15.01.2013 12:58, Nikola Smolenski wrote: In my opinion, if the typo is trivial (f.e. someone typed fo instead of of), there is no need to -1 the commit, however if the typo pertains to a crucial element of the commit (f.e. someone typed fixed wkidata bug) perhaps it should, since

Re: [Wikitech-l] How to support MediaWiki

2013-01-15 Thread Daniel Friesen
On Mon, 14 Jan 2013 08:56:50 -0800, Dmitriy Sintsov ques...@rambler.ru wrote: 14 Январь 2013 г. 19:59:01 пользователь Mark A. Hershberger (m...@everybody.org) написал: On 01/14/2013 01:34 AM, Dmitriy Sintsov wrote: One guess I know that some admins consider newer versions are slower

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Chad
On Tue, Jan 15, 2013 at 6:44 AM, Jeroen De Dauw jeroended...@gmail.com wrote: Hey, I have observed a difference in opinion between two groups of people on gerrit, which unfortunately is causing bad blood on both sides. I'm therefore interested in hearing your opinion about the following

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Antoine Musso
Le 15/01/13 12:44, Jeroen De Dauw wrote: I have observed a difference in opinion between two groups of people on gerrit, which unfortunately is causing bad blood on both sides. I'm therefore interested in hearing your opinion about the following scenario: Someone makes a sound commit. The

[Wikitech-l] Problem to get an article's content in MW 1.20.2

2013-01-15 Thread Andreas Plank
Hi, I'm using MW 1.20.2 and I want to get the content of a page for further parsing in a PHP application. The PHP application is triggered via a special page (Special:MobileKeyV1) and parses nature guides for mobile devices. I tried to get the content via getArticleID() ...

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Tyler Romeo
I agree with Antoine. Commit messages are part of the permanent history of this project. From now until MediaWiki doesn't exist anymore, anybody can come and look at the change history and the commit messages that go with them. Now you might ask what the possibility is of somebody ever coming

Re: [Wikitech-l] Problem to get an article's content in MW 1.20.2

2013-01-15 Thread Harsh Kothari
Hi Andreas Try this $someobj = WikiPage::newFromId( $ID ); if(is_object( $someobj ) ){ $text = $someobj-getRawText(); or you can use $text = $someobj-getText(); } else{ return true; } Thanks Harsh --- Harsh Kothari Research Fellow,

Re: [Wikitech-l] Problem to get an article's content in MW 1.20.2

2013-01-15 Thread Tyler Romeo
I think the best thing to do would be to just avoid getting the article ID in the first place. If you have a Title object, you can just pass that object directly to either Article::newFromTitle or to WikiPage::factory. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in

[Wikitech-l] Somebody Explain File Repositories

2013-01-15 Thread Tyler Romeo
Hey, Are there any resources that explain how MediaWiki's file repositories work? I've been going through the code, but between the various FileRepo classes and their corresponding File classes, it's way too confusing. I'm trying to make a new FileRepo/File class to allow storage of uploads on a

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Daniel Kinzler
On 15.01.2013 15:06, Tyler Romeo wrote: I agree with Antoine. Commit messages are part of the permanent history of this project. From now until MediaWiki doesn't exist anymore, anybody can come and look at the change history and the commit messages that go with them. Now you might ask what the

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Daniel Kinzler
On 15.01.2013 13:39, Chad wrote: This is a non issue in the very near future. Once we upgrade (testing now, planning for *Very Soon* after eqiad migration), we'll have the ability to edit commit messages and topics directly from the UI. I think this will save people a lot of time

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread John Erling Blad
Its not that difficult to read through the text before you commit, right? At least try to remove the most obvious spelling errors. Perhaps I just find to much BS I should have given a -1 or even a -2 in some cases. John ___ Wikitech-l mailing list

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread bawolff
-- - Brian Caution: The mass of this product contains the energy equivalent of 85 million tons of TNT per net ounce of weight. On Tue, Jan 15, 2013 at 10:57 AM, Daniel Kinzler dan...@brightbyte.de wrote: On 15.01.2013 15:06, Tyler Romeo wrote: I agree with Antoine. Commit messages are part of

Re: [Wikitech-l] Problem to get an article's content in MW 1.20.2

2013-01-15 Thread bawolff
While it may be true that there are better methods to call for this purpose, an article's id should be 0 if and only if it does not exist (or perhaps if its in a fake namespace like special). -bawolff On Tue, Jan 15, 2013 at 10:15 AM, Tyler Romeo tylerro...@gmail.com wrote: I think the best

Re: [Wikitech-l] Somebody Explain File Repositories

2013-01-15 Thread bawolff
On Tue, Jan 15, 2013 at 10:27 AM, Tyler Romeo tylerro...@gmail.com wrote: Hey, Are there any resources that explain how MediaWiki's file repositories work? I've been going through the code, but between the various FileRepo classes and their corresponding File classes, it's way too confusing.

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread OQ
On Tue, Jan 15, 2013 at 10:05 AM, bawolff bawolff...@gmail.com wrote: On the other hand, new users may be attracted to the fact that we have high standards. I agree that spelling is a valid reason for a -1. After all, -1 is not the same as a revert in the svn days, it simply means that the

Re: [Wikitech-l] How to support MediaWiki

2013-01-15 Thread Mark A. Hershberger
On 01/15/2013 07:25 AM, Daniel Friesen wrote: Daniel Friesen attempted to make skins template-based but I do not think it was accepted into the core. No... I never finished. Said system is still incomplete, in bits, pieces, and documents full of plans. Where is your current work? This is

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Tim Landscheidt
Daniel Kinzler dan...@brightbyte.de wrote: In my opinion, if the typo is trivial (f.e. someone typed fo instead of of), there is no need to -1 the commit, however if the typo pertains to a crucial element of the commit (f.e. someone typed fixed wkidata bug) perhaps it should, since

Re: [Wikitech-l] Problem to get an article's content in MW 1.20.2

2013-01-15 Thread Tyler Romeo
That is true. Also if it's interwiki. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Jan 15, 2013 at 11:12 AM, bawolff bawolff...@gmail.com wrote: While it may be true that there are better

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Chad
On Tue, Jan 15, 2013 at 11:44 AM, Tim Landscheidt t...@tim-landscheidt.de wrote: Daniel Kinzler dan...@brightbyte.de wrote: In my opinion, if the typo is trivial (f.e. someone typed fo instead of of), there is no need to -1 the commit, however if the typo pertains to a crucial element of

Re: [Wikitech-l] Somebody Explain File Repositories

2013-01-15 Thread Tyler Romeo
I just read it over. The only frustrating thing is trying to figure out which of the approximately 100 functions in the File class need to be overloaded and then which of the 100 additional functions in FileRepo need to be overloaded. *--* *Tyler Romeo* Stevens Institute of Technology, Class of

Re: [Wikitech-l] Somebody Explain File Repositories

2013-01-15 Thread Tyler Romeo
Actually, not I'm not even sure whether I should be overriding File or FileRepo, because in reality all the storage happens in FileBackend. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Jan 15,

Re: [Wikitech-l] revamped/updated QA docs on mediawiki.org

2013-01-15 Thread Quim Gil
On 01/04/2013 02:33 PM, Chris McMahon wrote: I've sorted, linked, tagged, organized, and gardened our collection of QA pages on mw.o to be more useful. Of course there is always more to do, so comments, criticism, edits are welcome. http://www.mediawiki.org/wiki/QA In the past days I went a

Re: [Wikitech-l] Fwd: Deployment freeze during Eqiad migration week (and deployments next week)

2013-01-15 Thread Arthur Richards
I am scheduled to do a deployment (to all wikis) for MobileFrontend this Thursday afternoon: * I presume scap/sync-blah will still work for 1.21wmf7 - can you please confirm? * Will I *have* to use git-deploy for 1.21wmf8 or will scap/sync-blah still work? And to reiterate my question from a few

[Wikitech-l] Welcome, Munagala Ramanath (Ram)

2013-01-15 Thread Rob Lanphier
Hi everyone, I’m delighted to introduce Munagala Ramanath (a.k.a. “Ram”), who started yesterday as a Senior Software Engineer in our Platform Engineering group (MediaWiki Core, specifically). He comes to us most recently from a small company called Oblong Industries, where he was responsible for

Re: [Wikitech-l] Welcome, Munagala Ramanath (Ram)

2013-01-15 Thread James Forrester
Welcome, Ram! J. On 15 January 2013 12:08, Rob Lanphier ro...@wikimedia.org wrote: Hi everyone, I’m delighted to introduce Munagala Ramanath (a.k.a. “Ram”), who started yesterday as a Senior Software Engineer in our Platform Engineering group (MediaWiki Core, specifically). He comes to us

Re: [Wikitech-l] Welcome, Munagala Ramanath (Ram)

2013-01-15 Thread Subramanya Sastry
Ram also has a PhD in Computer Science from University of Wisconsin, Madison. Welcome Ram, and small world ... I got my PhD in CS from UW, Madison as well! Have to share notes about UW, and Madison sometime. :) Subbu. ___ Wikitech-l mailing

Re: [Wikitech-l] Welcome, Munagala Ramanath (Ram)

2013-01-15 Thread Platonides
Please join me in welcoming Ram! Rob It's always good to get more ram! :) Welcome! ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Platonides
Well, I would prefer to get a notice that I made a typo than having that embarrassing typo in the commit log forever. That's the point of using a gating system, right? :) So yes, I do think they should be corrected. (And I have committed typos in both commit messages and inside files, just as

Re: [Wikitech-l] Welcome, Munagala Ramanath (Ram)

2013-01-15 Thread Rob Moen
Welcome Ram! On Tue, Jan 15, 2013 at 2:00 PM, Platonides platoni...@gmail.com wrote: Please join me in welcoming Ram! Rob It's always good to get more ram! :) Welcome! ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] Problem to get an article's content in MW 1.20.2

2013-01-15 Thread Platonides
On 15/01/13 14:44, Andreas Plank wrote: Hi, I'm using MW 1.20.2 and I want to get the content of a page for further parsing in a PHP application. The PHP application is triggered via a special page (Special:MobileKeyV1) and parses nature guides for mobile devices. I tried to get the

Re: [Wikitech-l] Fwd: Deployment freeze during Eqiad migration week (and deployments next week)

2013-01-15 Thread Rob Lanphier
Hi Arthur, Sorry for the delayed reply. Comments below: On Tue, Jan 15, 2013 at 12:07 PM, Arthur Richards aricha...@wikimedia.org wrote: I am scheduled to do a deployment (to all wikis) for MobileFrontend this Thursday afternoon: * I presume scap/sync-blah will still work for 1.21wmf7 - can

Re: [Wikitech-l] Welcome, Munagala Ramanath (Ram)

2013-01-15 Thread Matthew Flaschen
On 01/15/2013 03:08 PM, Rob Lanphier wrote: Hi everyone, I’m delighted to introduce Munagala Ramanath (a.k.a. “Ram”), who started yesterday as a Senior Software Engineer in our Platform Engineering group (MediaWiki Core, specifically). Welcome, Ram! I look forward to working with you.

[Wikitech-l] Disambiguation features: Do they belong in core or in an extension?

2013-01-15 Thread Ryan Kaldari
Back in December, there was discussion about needing a better method of identifying disambiguation pages programmatically (bug 6754). I wrote some core code to accomplish this, but was informed that disambiguation functions should reside in extensions rather than in core, per bug 35981. I

Re: [Wikitech-l] Disambiguation features: Do they belong in core or in an extension?

2013-01-15 Thread Jon Robson
To me disambiguation seems like a common problem of wikis and thus should be a core feature. On a wiki about people, people share the same name On a wiki about cities, cities share the same name etc etc you get the idea. On Tue, Jan 15, 2013 at 5:58 PM, Ryan Kaldari rkald...@wikimedia.org wrote:

Re: [Wikitech-l] Disambiguation features: Do they belong in core or in an extension?

2013-01-15 Thread Chad
On Tue, Jan 15, 2013 at 8:58 PM, Ryan Kaldari rkald...@wikimedia.org wrote: Personally, I don't mind implementing it either way, but would like to have consensus on where this code should reside. The code is pretty clean and lightweight, so it wouldn't increase the footprint of core MediaWiki

Re: [Wikitech-l] Welcome, Munagala Ramanath (Ram)

2013-01-15 Thread Erik Moeller
On Tue, Jan 15, 2013 at 12:08 PM, Rob Lanphier ro...@wikimedia.org wrote: started yesterday as a Senior Software Engineer in our Platform Engineering group (MediaWiki Core, specifically). Welcome on-board, Ram :-). Look forward to your efforts on search, which is in desperate need of love and

Re: [Wikitech-l] Disambiguation features: Do they belong in core or in an extension?

2013-01-15 Thread Tyler Romeo
I agree with extension. For example, my school's IT department uses a wiki to collect information about common computer problems, and on a wiki about computer problems, none of the issues share the same name. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer

Re: [Wikitech-l] Somebody Explain File Repositories

2013-01-15 Thread Tim Starling
A File object represents the thing that the user uploads to MediaWiki. It has metadata, a description page, archived versions and thumbnails. FileBackend deals with storing individual archived versions, thumbnails, etc. on disk or in remote storage. It can be plugged into any FileRepo or even

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Tim Starling
On 16/01/13 01:57, Daniel Kinzler wrote: On 15.01.2013 15:06, Tyler Romeo wrote: I agree with Antoine. Commit messages are part of the permanent history of this project. From now until MediaWiki doesn't exist anymore, anybody can come and look at the change history and the commit messages that

Re: [Wikitech-l] The ultimate bikeshed: typos in commit messages

2013-01-15 Thread Matthew Flaschen
On 01/15/2013 06:58 AM, Nikola Smolenski wrote: In my opinion, if the typo is trivial (f.e. someone typed fo instead of of), there is no need to -1 the commit, however if the typo pertains to a crucial element of the commit (f.e. someone typed fixed wkidata bug) perhaps it should, since

[Wikitech-l] WikiEditor-like functionality in the VisualEditor age

2013-01-15 Thread Amir E. Aharoni
Hi, The Visual Editor is growing. One of the things that it's going to replace in one way or another is WikiEditor's toolbars. Some WikiEditor features are already built into VE, for example links and bold font. Some core WikiEditor features should be there some day: search and replace, special