[Labs-l] Wikimedia tool framework (php)

Magog The Ogre magog.the.ogre at gmail.com
Mon Dec 8 16:23:42 UTC 2014


For what it's worth, I've used Peachy extensively and found it good for
some functions, but lacking in many others.

Also, is it even supported anymore? I've had to write numerous custom
updates to the framework as the Mediawiki interface changed or to support
my own needs (e.g., proper handling for the dreaded HTTP 503 code which
Mediawiki sometimes returns). I'm not sure the framework would even work
anymore without updates. (I can provide more examples after I get home)

On Monday, December 8, 2014, Petr Bena <benapetr at gmail.com> wrote:

> OK,
>
> I have some issues with it though. For example I can't find any decent
> documentation. How would I for example, create a simple styled index
> page that would contain OAuth login form? Is there some HTML generator
> class that would help me construct it?
>
> On Mon, Dec 8, 2014 at 5:09 PM, Maximilian Doerr
> <maximilian.doerr at gmail.com <javascript:;>> wrote:
> > Peachy works for both.
> >
> > Cyberpower678
> > English Wikipedia Account Creation Team
> > Mailing List Moderator
> >
> >
> >
> > On Dec 8, 2014, at 11:04, Petr Bena <benapetr at gmail.com <javascript:;>>
> wrote:
> >
> > That is interesting, but I am not talking about a bot framework, but a
> > tool framework. eg. something that would be like a set of classes
> > which would contain functions to handle everything that tool (not bot)
> > developers needs, from html page generating to API, local db etc. So,
> > I think this would be something else than "Peachy" thing.
> >
> > On Mon, Dec 8, 2014 at 4:54 PM, Bruce Myers <bruce at brucemyers.com
> <javascript:;>> wrote:
> >
> > Check out Peachy.
> >
> >
> > On 14-12-08 10:30 AM, Petr Bena wrote:
> >
> > Hi,
> >
> > It's been some time since we launched tool labs and there is
> > incredible number of tools now. They all however have 2 major
> > problems. Every tool has own, different layout / css style (which may
> > be confusing the users of these tools) and every developer of these
> > tools probably have to reinvent a wheel at some point as they all have
> > to do some common tool setup - eg. they have to create some basic php
> > skeleton that would access wikimedia resources, from databases,
> > memcache, reddis to API's and so on.
> >
> > What about creating some common uniform framework in php that, just as
> > pywikipediabot that is used to create bots, would be used to create
> > web-based tools. So that maintainer of a tool would just fork or clone
> > this framework and wouldn't have to spend their time creating
> > functions that would generate html pages with wikimedia uniform style
> > (similar to how vector looks, for example, or just any uniform style,
> > so that tools would look similar), access wikimedia databases, OAuth,
> > ldap, API...
> >
> > I believe it would not just make creation of new tools incredibly
> > simple, but it would also make all tools have consistent look and
> > feel, and thus improve the end user experience. What you think? Is
> > there someone who would like to work on that?
> >
> > _______________________________________________
> > Labs-l mailing list
> > Labs-l at lists.wikimedia.org <javascript:;>
> > https://lists.wikimedia.org/mailman/listinfo/labs-l
> >
> >
> >
> > _______________________________________________
> > Labs-l mailing list
> > Labs-l at lists.wikimedia.org <javascript:;>
> > https://lists.wikimedia.org/mailman/listinfo/labs-l
> >
> >
> > _______________________________________________
> > Labs-l mailing list
> > Labs-l at lists.wikimedia.org <javascript:;>
> > https://lists.wikimedia.org/mailman/listinfo/labs-l
> >
> >
> >
> > _______________________________________________
> > Labs-l mailing list
> > Labs-l at lists.wikimedia.org <javascript:;>
> > https://lists.wikimedia.org/mailman/listinfo/labs-l
> >
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org <javascript:;>
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20141208/f51ea692/attachment.html>


More information about the Labs-l mailing list