[Foundation-l] Remove EDP images bot
Bryan Tong Minh
bryan.tongminh at gmail.com
Fri Mar 14 22:46:15 UTC 2008
On Fri, Mar 14, 2008 at 11:14 PM, Ben McIlwain <cydeweys at gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> shi zhao wrote:
> > According to resolution: Licensing policy(
> > http://wikimediafoundation.org/wiki/Resolution:Licensing_policy ), I'm
> > development an bot, remove EDP images in non-article namespaces. Code see
> > http://botwiki.sno.cc/wiki/Python:Deledpimage.py
> >
> > Hope can help licensing policy :)
>
> It may not be that easy. A lot of the way images are used, especially
> in templates, aren't amenable to just removing them outright. We've had
> a bot on the English Wikipedia that lists all non-articlespace pages
> containing non-free images (and which ones). I think we need to get
> more active with that while still manually removing them.
>
> - --
> Ben "Cyde Weys" McIlwain ( http://www.cydeweys.com/blog/ )
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
>
> iD8DBQFH2vjPvCEYTv+mBWcRAlo1AJ4h+VSRTAQmhi2Cm3Rh5+aE417J7ACfbsBm
> Gi2EXNGpkY1DGYM6y1DiV14=
> =GE6p
> -----END PGP SIGNATURE-----
>
>
In fact it is waaay more difficult. See
<http://fisheye.ts.wikimedia.org/browse/pywikipedia/trunk/pywikipedia/commonsdelinker/delinker.py?r=HEAD>,
the function replace_image. It should also be available in
wikipedia.Page.replaceImage, but I have heard rumours that that one is
quite broken.
Bryan
More information about the foundation-l
mailing list