[Wikitech-l] Could not connect to SOLR Server yet?

2012-07-23 Thread wangfeng wangfeng
Hi , I have build mediawiki with EnhancedRetrieval. When I search a existing item , it worked well. But when I search a non existing one , it reported this: ** *Could not connect to SOLR Server yet. Faceted Search will

Re: [Wikitech-l] developing skin

2012-07-23 Thread Daniel Friesen
On 12-07-23 6:17 PM, linuxlover wrote: > Il giorno lun, 23/07/2012 alle 17.54 -0700, Daniel Friesen ha scritto: >> No, you should have two classes in your skin. The one inheriting from >> BaseTemplate is your skins template, that one should be {MySkin}Template, >> not {MySkin}. You need a diffe

Re: [Wikitech-l] developing skin

2012-07-23 Thread linuxlover
Il giorno lun, 23/07/2012 alle 17.54 -0700, Daniel Friesen ha scritto: > No, you should have two classes in your skin. The one inheriting from > BaseTemplate is your skins template, that one should be {MySkin}Template, > not {MySkin}. You need a different class called {MySkin} that inherits >

Re: [Wikitech-l] developing skin

2012-07-23 Thread Daniel Friesen
On Mon, 23 Jul 2012 17:43:07 -0700, linuxlover wrote: Il giorno lun, 23/07/2012 alle 15.39 -0700, Daniel Friesen ha scritto: On Mon, 23 Jul 2012 15:02:16 -0700, Adm wrote: http://blog.redwerks.org/2012/02/08/mediawiki-skinning-tutorial/ I think there is an error in the tutorial: class M

Re: [Wikitech-l] developing skin

2012-07-23 Thread Daniel Friesen
On Mon, 23 Jul 2012 17:29:40 -0700, linuxlover wrote: Il giorno lun, 23/07/2012 alle 15.39 -0700, Daniel Friesen ha scritto: http://blog.redwerks.org/2012/02/08/mediawiki-skinning-tutorial/ http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/ Following the first tutorial: PHP Fa

Re: [Wikitech-l] developing skin

2012-07-23 Thread linuxlover
Il giorno lun, 23/07/2012 alle 15.39 -0700, Daniel Friesen ha scritto: > On Mon, 23 Jul 2012 15:02:16 -0700, Adm wrote: > > http://blog.redwerks.org/2012/02/08/mediawiki-skinning-tutorial/ I think there is an error in the tutorial: class MySkinTemplate extends BaseTemplate { Replace with: class

Re: [Wikitech-l] developing skin

2012-07-23 Thread linuxlover
Il giorno lun, 23/07/2012 alle 15.39 -0700, Daniel Friesen ha scritto: > http://blog.redwerks.org/2012/02/08/mediawiki-skinning-tutorial/ > http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/ Following the first tutorial: PHP Fatal error: Class 'MySkin' not found in /var/www/mediawiki

Re: [Wikitech-l] developing skin

2012-07-23 Thread linuxlover
Il giorno lun, 23/07/2012 alle 15.39 -0700, Daniel Friesen ha scritto: > Read over the tutorials I have on skinning MediaWiki 1.18+ > > http://blog.redwerks.org/2012/02/08/mediawiki-skinning-tutorial/ > http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/ > > > I have 2 issues: > > > >

Re: [Wikitech-l] wfMsg* [was: developing skin]

2012-07-23 Thread Mark Holmquist
1) In the extension I can made a file ext.i18n.php and then use: $wgExtensionMessagesFiles['ext'] = dirname( __FILE__ ) . 'ext.i18n.php'; wfMsg('something'); In the interest of keeping up with the times, I'll leave this here: http://www.mediawiki.org/wiki/WfMessage#Comparison_with_the_deprecate

Re: [Wikitech-l] developing skin

2012-07-23 Thread Daniel Friesen
On Mon, 23 Jul 2012 15:02:16 -0700, Adm wrote: Hello, I have allready programmed mediawiki extensions but no skins. Read over the tutorials I have on skinning MediaWiki 1.18+ http://blog.redwerks.org/2012/02/08/mediawiki-skinning-tutorial/ http://blog.redwerks.org/2012/02/28/mediawiki-subski

[Wikitech-l] developing skin

2012-07-23 Thread Adm
Hello, I have allready programmed mediawiki extensions but no skins. I have 2 issues: 1) In the extension I can made a file ext.i18n.php and then use: $wgExtensionMessagesFiles['ext'] = dirname( __FILE__ ) . 'ext.i18n.php'; wfMsg('something'); With skins it doesn't work. Can you help me? 2) How

Re: [Wikitech-l] Automatic mobile redirection enabled for *.wikimedia.org sites hosted on the cluster (except for commons)

2012-07-23 Thread Arthur Richards
Diederik, Thanks - that was an oversight. Donate was left out of the exclusion list. I've just committed a change to prevent donate.wikimedia.org from automatically redirecting to the non-existent mobile domain: https://gerrit.wikimedia.org/r/#/c/16449/ Arthur On Fri, Jul 20, 2012 at 5:51 PM, Di

Re: [Wikitech-l] Wikidata blockers

2012-07-23 Thread Rob Lanphier
Hi Jeroen, Thanks for this! Per our conversation, I'd love for this to be weekly, even if the status is "no change". Even that is useful information, since it may uncover cases where we're waiting for each other thinking that the other party has the next step. More below: On Mon, Jul 23, 2012

Re: [Wikitech-l] Wikidata blockers

2012-07-23 Thread Lydia Pintscher
On Mon, Jul 23, 2012 at 8:36 PM, Lydia Pintscher wrote: > I'd like to add one thing: It'd be awesome if Jens Ohlig could get > enough gerrit karma to be able to push tags. This way he could create > a tag whenever he updates the demo system and it'd be easy to see for > people which patches are li

Re: [Wikitech-l] Wikidata blockers

2012-07-23 Thread Lydia Pintscher
On Mon, Jul 23, 2012 at 8:23 PM, Jeroen De Dauw wrote: > Hey, > > After discussion with Robla and DanielK, we (the Wikidata team) decided to > write mails to this list now and then complain about our blockers for which > we need WMF (or other core dev) assistance :) > > Right now we have three pat

[Wikitech-l] Wikidata blockers

2012-07-23 Thread Jeroen De Dauw
Hey, After discussion with Robla and DanielK, we (the Wikidata team) decided to write mails to this list now and then complain about our blockers for which we need WMF (or other core dev) assistance :) Right now we have three patches to core awaiting review: * https://gerrit.wikimedia.org/r/#/c/

Re: [Wikitech-l] Serious alternatives to Gerrit

2012-07-23 Thread Ryan Lane
> I think the "we" is a bit unwarranted. I don't hate Ruby and I certainly > don't hate Ruby more than Java :-) I also don't feel the same about > puppet; I do see some problems with it, but none of them have nothing to > do with the fact that it's written in Ruby. > Well, 90% of the ops team. >

Re: [Wikitech-l] Article revision numbers

2012-07-23 Thread Adam Wight
> >It's really not. Things that are (relatively) simple in the > >database tend to require walking the entire revision > >tree in Git in order to figure the same data out. > > > >Git is awesome for software development, but trying > >to use it as an article development tool is really a bad > >solu

[Wikitech-l] Creating a centralized access point for propriety databases/resources

2012-07-23 Thread Ocaasi Ocaasi
Hi Folks! The problem: Many proprietary research databases have donated free access to select Wikipedia editors (Credo Reference, HighBeam Research, JSTOR). Managing separate account distribution for each service doesn't scale well. The idea: Centralize access to these separate resources behind a

Re: [Wikitech-l] Article revision numbers

2012-07-23 Thread Derric Atzrott
>It's really not. Things that are (relatively) simple in the >database tend to require walking the entire revision >tree in Git in order to figure the same data out. > >Git is awesome for software development, but trying >to use it as an article development tool is really a bad >solution in search

Re: [Wikitech-l] Article revision numbers

2012-07-23 Thread Chad
On Mon, Jul 23, 2012 at 7:25 AM, Derric Atzrott wrote: >>> This is all a fantastic idea. Distributing Wikipedia in a fashion >>> similar to git will make it a lot easier to use in areas where >>> Internet connections are not so common. >> >>It always surprises me when people express enthusiasm for

Re: [Wikitech-l] Article revision numbers

2012-07-23 Thread Derric Atzrott
>> This is all a fantastic idea. Distributing Wikipedia in a fashion >> similar to git will make it a lot easier to use in areas where >> Internet connections are not so common. > >It always surprises me when people express enthusiasm for >this kind of idea, since my instinct assumption is the ex

Re: [Wikitech-l] Serious alternatives to Gerrit

2012-07-23 Thread Faidon Liambotis
On Fri, Jul 20, 2012 at 02:52:55PM -0700, Ryan Lane wrote: > On Thu, Jul 19, 2012 at 11:55 PM, Antoine Musso wrote: > > Daniel Friesen wrote: > >> The ops guys hate ruby. > > > > I am pretty sure they love it. Puppet itself is a DSL based on top of > > ruby. The ops argument is we don't want to ha