Re: [Wikitech-l] Project Idea " Extension: Offline MediaWiki "

2015-09-25 Thread Purodha Blissenbach
There has been a project in the past that converted a MediaWiki code 
base from SQL to use svn or git as message store. I do not remember 
which. It worked afaicr but was discontinued as not being used irl, and 
pretty slow, too.


Yet offine editing and then merging via an api that uses a similar 
approach could indeed be cool, imho.


Purodha


On 25.09.2015 17:35, C. Scott Ananian wrote:

As I wrote on https://phabricator.wikimedia.org/T113396, I would be
willing to mentor work on mw-ocg-zimwriter.  I believe Kelson
volunteered about to mentor work on kiwix, if Adisha would rather 
work

on that part of the project.  (Offline editing support would be very
cool, for instance, although perhaps quite a technical challenge.)
 --scott

On Wed, Sep 23, 2015 at 12:44 PM, C. Scott Ananian
 wrote:
Note that I presented a tutorial at the latest wikimania which 
created

a simple offline version of wikipedia in ~100 lines of code:
https://phabricator.wikimedia.org/T105175

That code could be further developed into a proper tool, with
user-configurable offlining, offline editing, etc.  One of the 
slides
in my presentation outlined a decent number of "next steps" that 
could

be done.

But I personally would love to see development of the zimwriter for
OCG, which would allow us to restore the "download as ZIM" option 
for

Kiwix. A start at that code is at
https://github.com/cscott/mw-ocg-zimwriter but it needs to be
finished.

Editing offline is an interesting challenge.  It might be subsumed 
on

the back-end by the real-time collaboration work, since that will
introduce more fine-grained mechanisms for merging changes.  But
actual implementations in the field are always useful, even if 
limited
(for example, limited to edits where the article has not been 
modified
by anyone else while the editor was offline), since getting people 
to
actually use a tool like this always helps us learn more about how 
it

*should* work.
 --scott

On Wed, Sep 23, 2015 at 6:47 AM, Quim Gil  
wrote:
Adisha created https://phabricator.wikimedia.org/T113396 and I 
commented

there before seeing this thread.

Accidentally, I related that proposal with editing offline, which 
is an

interesting scenario that has in fact more than one related task in
Phabricator -- see 
https://phabricator.wikimedia.org/T106898#1665449


And yes, Kiwix projects are welcome to Outreachy / GSoC / etc, just 
like
any other projects with a connection with Wikimedia or MediaWiki. 
In fact,
Kiwix has been already one of the main providers of Google Code-in 
tasks.


On Tue, Sep 22, 2015 at 7:10 PM, adisha porwal 


wrote:


Greeting,
I want to contribute to wikimedia and for that Outreachy
 intership program looks perfect 
fit for

me.

For participating in outreachy internship, I need a project idea 
that I
will be working on during my internship period. The project idea 
is to
develop a new extension to make MediaWiki available offline 
suggested by

bmansurov .

 Is their any existing extension or project which implements this 
project

idea or similar to it?If yes, please provide link to that project.

--
Regards
Adisha Porwal
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l





--
Quim Gil
Engineering Community Manager @ Wikimedia Foundation
http://www.mediawiki.org/wiki/User:Qgil
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l




--
(http://cscott.net)



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Project Idea " Extension: Offline MediaWiki "

2015-09-25 Thread C. Scott Ananian
As I wrote on https://phabricator.wikimedia.org/T113396, I would be
willing to mentor work on mw-ocg-zimwriter.  I believe Kelson
volunteered about to mentor work on kiwix, if Adisha would rather work
on that part of the project.  (Offline editing support would be very
cool, for instance, although perhaps quite a technical challenge.)
 --scott

On Wed, Sep 23, 2015 at 12:44 PM, C. Scott Ananian
 wrote:
> Note that I presented a tutorial at the latest wikimania which created
> a simple offline version of wikipedia in ~100 lines of code:
> https://phabricator.wikimedia.org/T105175
>
> That code could be further developed into a proper tool, with
> user-configurable offlining, offline editing, etc.  One of the slides
> in my presentation outlined a decent number of "next steps" that could
> be done.
>
> But I personally would love to see development of the zimwriter for
> OCG, which would allow us to restore the "download as ZIM" option for
> Kiwix. A start at that code is at
> https://github.com/cscott/mw-ocg-zimwriter but it needs to be
> finished.
>
> Editing offline is an interesting challenge.  It might be subsumed on
> the back-end by the real-time collaboration work, since that will
> introduce more fine-grained mechanisms for merging changes.  But
> actual implementations in the field are always useful, even if limited
> (for example, limited to edits where the article has not been modified
> by anyone else while the editor was offline), since getting people to
> actually use a tool like this always helps us learn more about how it
> *should* work.
>  --scott
>
> On Wed, Sep 23, 2015 at 6:47 AM, Quim Gil  wrote:
>> Adisha created https://phabricator.wikimedia.org/T113396 and I commented
>> there before seeing this thread.
>>
>> Accidentally, I related that proposal with editing offline, which is an
>> interesting scenario that has in fact more than one related task in
>> Phabricator -- see https://phabricator.wikimedia.org/T106898#1665449
>>
>> And yes, Kiwix projects are welcome to Outreachy / GSoC / etc, just like
>> any other projects with a connection with Wikimedia or MediaWiki. In fact,
>> Kiwix has been already one of the main providers of Google Code-in tasks.
>>
>> On Tue, Sep 22, 2015 at 7:10 PM, adisha porwal 
>> wrote:
>>
>>> Greeting,
>>> I want to contribute to wikimedia and for that Outreachy
>>>  intership program looks perfect fit for
>>> me.
>>>
>>> For participating in outreachy internship, I need a project idea that I
>>> will be working on during my internship period. The project idea is to
>>> develop a new extension to make MediaWiki available offline suggested by
>>> bmansurov .
>>>
>>>  Is their any existing extension or project which implements this project
>>> idea or similar to it?If yes, please provide link to that project.
>>>
>>> --
>>> Regards
>>> Adisha Porwal
>>> ___
>>> Wikitech-l mailing list
>>> Wikitech-l@lists.wikimedia.org
>>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>
>>
>>
>>
>> --
>> Quim Gil
>> Engineering Community Manager @ Wikimedia Foundation
>> http://www.mediawiki.org/wiki/User:Qgil
>> ___
>> Wikitech-l mailing list
>> Wikitech-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
>
>
> --
> (http://cscott.net)



-- 
(http://cscott.net)

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] svn/git backends

2015-09-25 Thread Tim Landscheidt
"C. Scott Ananian"  wrote:

>> There has been a project in the past that converted a MediaWiki code base
>> from SQL to use svn or git as message store. I do not remember which. It
>> worked afaicr but was discontinued as not being used irl, and pretty slow,
>> too.

> If you could dig up more details on that project I'd be very
> interested!  Those who don't learn from history, etc.  I'd love to
> read through the code and see what was done.  It would be relevant to
> https://phabricator.wikimedia.org/T113004

I assume Purodha might have referred to Levitation
(http://scytale.name/blog/2009/11/announcing-levitation;
current state and links to spawns at
https://workflowy.com/s/jJtGnQ8p3W).

Tim


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] svn/git backends (was: Re: Project Idea " Extension: Offline MediaWiki ")

2015-09-25 Thread Erik Bernhardson
I can't remember the name, but i played around previously with a software
project that read in mediawiki XML dumps and converted them to a format
usable by git-fast-import.   A quick google turned up levitation[1] which
seems to be a similar concept, but not the same one i used before

[1] https://github.com/scy/levitation

On Fri, Sep 25, 2015 at 8:58 AM, C. Scott Ananian 
wrote:

> On Fri, Sep 25, 2015 at 11:52 AM, Purodha Blissenbach
>  wrote:
> > There has been a project in the past that converted a MediaWiki code base
> > from SQL to use svn or git as message store. I do not remember which. It
> > worked afaicr but was discontinued as not being used irl, and pretty
> slow,
> > too.
>
> If you could dig up more details on that project I'd be very
> interested!  Those who don't learn from history, etc.  I'd love to
> read through the code and see what was done.  It would be relevant to
> https://phabricator.wikimedia.org/T113004
>  --scott
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] svn/git backends (was: Re: Project Idea " Extension: Offline MediaWiki ")

2015-09-25 Thread Legoktm
On 09/25/2015 08:58 AM, C. Scott Ananian wrote:
> If you could dig up more details on that project I'd be very
> interested!  Those who don't learn from history, etc.  I'd love to
> read through the code and see what was done.  It would be relevant to
> https://phabricator.wikimedia.org/T113004

Probably not the same project, but someone linked to
 on IRC a few weeks
ago.

-- Legoktm

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] svn/git backends (was: Re: Project Idea " Extension: Offline MediaWiki ")

2015-09-25 Thread C. Scott Ananian
On Fri, Sep 25, 2015 at 11:52 AM, Purodha Blissenbach
 wrote:
> There has been a project in the past that converted a MediaWiki code base
> from SQL to use svn or git as message store. I do not remember which. It
> worked afaicr but was discontinued as not being used irl, and pretty slow,
> too.

If you could dig up more details on that project I'd be very
interested!  Those who don't learn from history, etc.  I'd love to
read through the code and see what was done.  It would be relevant to
https://phabricator.wikimedia.org/T113004
 --scott

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] svn/git backends

2015-09-25 Thread Gergo Tisza
On Fri, Sep 25, 2015 at 9:09 AM, Tim Landscheidt 
wrote:

> "C. Scott Ananian"  wrote:
>
> >> There has been a project in the past that converted a MediaWiki code
> base
> >> from SQL to use svn or git as message store. I do not remember which. It
> >> worked afaicr but was discontinued as not being used irl, and pretty
> slow,
> >> too.
>
> > If you could dig up more details on that project I'd be very
> > interested!  Those who don't learn from history, etc.  I'd love to
> > read through the code and see what was done.  It would be relevant to
> > https://phabricator.wikimedia.org/T113004
>
> I assume Purodha might have referred to Levitation
> (http://scytale.name/blog/2009/11/announcing-levitation;
> current state and links to spawns at
> https://workflowy.com/s/jJtGnQ8p3W).
>

Also, lots of git-related discussion in
https://en.wikipedia.org/wiki/User:HaeB/Timeline_of_distributed_Wikipedia_proposals
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Getting mediawiki core to pass codesniffer standard

2015-09-25 Thread Tyler Romeo
On Fri, Sep 25, 2015 at 2:08 PM, Legoktm 
wrote:

> I've tried out a different approach in
> , by disabling all the
> failing rules. This will let us make the rules that do pass voting (e.g.
> no closing ?> tags), and we can selectively enable failing rules instead
> of trying to make giant patches and hope no one introduces regressions
> while it's still non-voting.
>

Very much agree with this post. I have worked on phpcs compliance on other
projects at my company, and we have found it vastly easier to stage-in over
time, that way at the very least additional errors are not accidentally
introduced.

*-- *
*Tyler Romeo*
Stevens Institute of Technology, Class of 2016
Major in Computer Science
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Join the Wikimedia Developer Summit 2016

2015-09-25 Thread Rachel Farrand
Just a reminder that the deadline for travel sponsorship and the call for
participation is one week from today.

On Monday, September 14, 2015, Rachel Farrand 
wrote:

> Hello!
>
> The Wikimedia Developer Summit 2016 will be taking place in San Francisco,
> CA between January 4th and January 6th, 2016.
>
> Registration is open along with the call for participation.
>
> *Deadline for travel sponsorship requests and the call for participation
> is October 2, 2015.*
>
> https://www.mediawiki.org/wiki/Wikimedia_Developer_Summit_2016
>
> Hope to see you in San Francisco!
>
>
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] svn/git backends (was: Re: Project Idea " Extension: Offline MediaWiki ")

2015-09-25 Thread Brian Wolff
On 9/25/15, C. Scott Ananian  wrote:
> On Fri, Sep 25, 2015 at 11:52 AM, Purodha Blissenbach
>  wrote:
>> There has been a project in the past that converted a MediaWiki code base
>> from SQL to use svn or git as message store. I do not remember which. It
>> worked afaicr but was discontinued as not being used irl, and pretty slow,
>> too.
>
> If you could dig up more details on that project I'd be very
> interested!  Those who don't learn from history, etc.  I'd love to
> read through the code and see what was done.  It would be relevant to
> https://phabricator.wikimedia.org/T113004
>  --scott
>

There was also https://www.mediawiki.org/wiki/Extension:WebDAV which
allegedly allowed you to make svn checkouts of a MW wiki.

--
-bawolff

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Getting mediawiki core to pass codesniffer standard

2015-09-25 Thread Legoktm
Hi,

On 06/16/2015 07:19 AM, Vivek Ghaisas wrote:
> Hello, wikitech-l,
> 
> tl;dr trying to make mw-core pass mw-codesniffer, expect large patches on
> Gerrit, and please help

I've tried out a different approach in
, by disabling all the
failing rules. This will let us make the rules that do pass voting (e.g.
no closing ?> tags), and we can selectively enable failing rules instead
of trying to make giant patches and hope no one introduces regressions
while it's still non-voting.

Thoughts?

-- Legoktm

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Getting mediawiki core to pass codesniffer standard

2015-09-25 Thread Thomas Mulhall
I have filed a task about this at https://phabricator.wikimedia.org/T113774 


 On Friday, 25 September 2015, 22:45, Tyler Romeo  
wrote:
   

 On Fri, Sep 25, 2015 at 2:08 PM, Legoktm 
wrote:

> I've tried out a different approach in
> , by disabling all the
> failing rules. This will let us make the rules that do pass voting (e.g.
> no closing ?> tags), and we can selectively enable failing rules instead
> of trying to make giant patches and hope no one introduces regressions
> while it's still non-voting.
>

Very much agree with this post. I have worked on phpcs compliance on other
projects at my company, and we have found it vastly easier to stage-in over
time, that way at the very least additional errors are not accidentally
introduced.

*-- *
*Tyler Romeo*
Stevens Institute of Technology, Class of 2016
Major in Computer Science
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

   
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l