I've implemented an extension to the [[MediaWiki:Bad image list]] feature. You can now specify a list of exceptions, i.e. articles where the image is allowed to be displayed inline. The typical format is:
* [[:Image:Penis.jpg]] except on [[Penis]]
The text "except on" is ignored, it is not special. Only the links are relevant.
I've documented the format at:
http://en.wikipedia.org/wiki/MediaWiki:Bad_image_list
-- Tim Starling
Tim Starling wrote:
I've implemented an extension to the [[MediaWiki:Bad image list]] feature. You can now specify a list of exceptions, i.e. articles where the image is allowed to be displayed inline. The typical format is:
- [[:Image:Penis.jpg]] except on [[Penis]]
The text "except on" is ignored, it is not special. Only the links are relevant.
I've documented the format at:
/me imagines that this will be quite useful for enforcing "fair use" restrictions (cc-ed to wikien-l)
On 9/24/06, Alphax (Wikipedia email) alphasigmax@gmail.com wrote:
Tim Starling wrote:
I've implemented an extension to the [[MediaWiki:Bad image list]] feature. You can now specify a list of exceptions, i.e. articles where the image is allowed to be displayed inline. The typical format is:
- [[:Image:Penis.jpg]] except on [[Penis]]
The text "except on" is ignored, it is not special. Only the links are relevant.
I've documented the format at:
/me imagines that this will be quite useful for enforcing "fair use" restrictions (cc-ed to wikien-l)
-- Alphax - http://en.wikipedia.org/wiki/User:Alphax
Why do you think that?
Reading that page leads me to believe that this is a quick hack which filters all edits to the relevant pages, and somewhat of a performance hog. Doesn't seem like something that could be applied to thousands and thousands of images or pages.
--Gwern
Reading that page leads me to believe that this is a quick hack which filters all edits to the relevant pages, and somewhat of a performance hog. Doesn't seem like something that could be applied to thousands and thousands of images or pages.
--Gwern _______________________________________________
I agree. It would be good if there *were* a technical measure to stop fair use violation though. Perhaps if it were to check the page when it is saved (like the spam black list) it would be viable.
.. That actually leads me to think: does the spam black list extenstion have a "block this link except on this page"?
/me also thinks that wikipedia-l is not IRC, alphax
gwern branwen wrote:
Reading that page leads me to believe that this is a quick hack which filters all edits to the relevant pages, and somewhat of a performance hog. Doesn't seem like something that could be applied to thousands and thousands of images or pages.
I wouldn't call it a quick hack, and it is fast enough in its current application. But it is most certainly not intended for fair use enforcement and it would indeed scale quite poorly if an attempt was made to use it that way. The filter applies to page views, not edits, so it acts retroactively for history views and diffs.
-- Tim Starling
On 25/09/06, Tim Starling tstarling@wikimedia.org wrote:
I've implemented an extension to the [[MediaWiki:Bad image list]] feature. You can now specify a list of exceptions, i.e. articles where the image is allowed to be displayed inline. The typical format is:
- [[:Image:Penis.jpg]] except on [[Penis]]
The text "except on" is ignored, it is not special. Only the links are relevant.
I've documented the format at:
Tim, you are a genius and we love you dearly. This'll be a great help in selectively handling vandalism-magnets...
(Hope you're feeling better, by the way)
10KB Limit? 1) How do I know when I have reached the limit? 2) Why is the limit so small - the link-black-list is way over 10KB, or so I believe.
he:yonidebest
On 9/25/06, Andrew Gray shimgray@gmail.com wrote:
On 25/09/06, Tim Starling tstarling@wikimedia.org wrote:
I've implemented an extension to the [[MediaWiki:Bad image list]]
feature.
You can now specify a list of exceptions, i.e. articles where the image
is
allowed to be displayed inline. The typical format is:
- [[:Image:Penis.jpg]] except on [[Penis]]
The text "except on" is ignored, it is not special. Only the links are
relevant.
I've documented the format at:
Tim, you are a genius and we love you dearly. This'll be a great help in selectively handling vandalism-magnets...
(Hope you're feeling better, by the way)
--
- Andrew Gray
andrew.gray@dunelm.org.uk _______________________________________________ Wikipedia-l mailing list Wikipedia-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikipedia-l
Yoni Weiden wrote:
10KB Limit?
- How do I know when I have reached the limit?
Paste it into a text editor. But it's not a limit, it's a recommendation. I'm working on the (naive?) assumption that sysops care about performance too.
- Why is the limit so small - the link-black-list is way over 10KB, or so I
believe.
It's stored in the message cache, a single blob containing pretty much everything in the MediaWiki namespace. This blob is loaded and unserialized on every request. Currently on enwiki it is about 280KB. I wouldn't want to see this single feature take up a significant proportion of it.
Also there's the fact that this is implemented on the page view side, so it's called much more often than the spam blacklist, which only filters saves. The spam blacklist would be far too slow to work on the parser side. wfIsBadImage is currently profiling at 0.8ms per call, wfSpamBlacklistFilter is taking 505ms per call (it's very badly optimised at the moment).
-- Tim Starling
On 9/26/06, Tim Starling tstarling@wikimedia.org wrote:
I'm working on the (naive?) assumption that sysops care about performance too.
Wouldn't that be violating the "don't worry about performance" guideline? :)
http://en.wikipedia.org/wiki/Wikipedia:Don%27t_worry_about_performance
Angela.
On 9/25/06, Angela beesley@gmail.com wrote:
On 9/26/06, Tim Starling tstarling@wikimedia.org wrote:
I'm working on the (naive?) assumption that sysops care about performance too.
Wouldn't that be violating the "don't worry about performance" guideline? :)
http://en.wikipedia.org/wiki/Wikipedia:Don%27t_worry_about_performance
Hey, wow. Thanks. :)
I was going to raise that point... but I figured I'd catch Tim in IRC.
In any case, I agree here.. the issue is that for every valid case where it might be good to be performance minded there are 10 other cases where people will use uninformed performance oriented arguments to support whatever policy measure they prefer... The end result is a lot of silly actions in the name of performance .. or a lot of needless performance questions. :)
Last I heard, the bad image list only had autofellatio on it. Do we really expect the list to go beyond 10Kb in the near future? So long as users don't restrict their user page images to just their user page, and fair use images don't get lumped under it, I can't see it growing too much.
~Mark Ryan
Gregory Maxwell wrote:
http://en.wikipedia.org/wiki/Wikipedia:Don%27t_worry_about_performance
Hey, wow. Thanks. :)
I was going to raise that point... but I figured I'd catch Tim in IRC.
In any case, I agree here.. the issue is that for every valid case where it might be good to be performance minded there are 10 other cases where people will use uninformed performance oriented arguments to support whatever policy measure they prefer... The end result is a lot of silly actions in the name of performance .. or a lot of needless performance questions. :)
Sure, using poorly informed performance-oriented arguments to win whatever argument you're having is a bad thing. But it's not an issue when I am telling you EXACTLY WHAT TO DO. In fact, I've been thinking about writing some general guidelines for template performance optimisation that editors can follow. Editors can do quite a lot for the performance of the site, if their efforts are properly informed. I've even edited articles myself, for the sole purpose of making them render faster. Others could do the same.
-- Tim Starling
On 26/09/06, Tim Starling tstarling@wikimedia.org wrote:
In fact, I've been thinking about writing some general guidelines for template performance optimisation that editors can follow. Editors can do quite a lot for the performance of the site, if their efforts are properly informed. I've even edited articles myself, for the sole purpose of making them render faster. Others could do the same.
Please make them vaguer than you might, to discourage robotic zealotry from people who see "guideline" and think "COMMAND FROM ON HIGH. MUST IMPLEMENT! PART OF THE COMPLETE PROCESS FOR EVERYTHING!!"
- d.
On 25/09/06, Tim Starling tstarling@wikimedia.org wrote:
I've implemented an extension to the [[MediaWiki:Bad image list]] feature. You can now specify a list of exceptions, i.e. articles where the image is allowed to be displayed inline. The typical format is:
- [[:Image:Penis.jpg]] except on [[Penis]]
The text "except on" is ignored, it is not special. Only the links are relevant.
I've documented the format at:
http://en.wikipedia.org/wiki/MediaWiki:Bad_image_list
-- Tim Starling
Good work. Given your recent operation, I wouldn't have thought you'd be able to stomach much programming right now (heh, bad, I know).
~Mark Ryan
wikipedia-l@lists.wikimedia.org