https://bugzilla.wikimedia.org/show_bug.cgi?id=26775

           Summary: Users can exceed the max number of pages allowsed in a
                    collection $wgCollectionMaxArticles
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://en.wikipedia.org/w/index.php?title=Special:Book
                    &bookcmd=add_category&cattitle=Living+people
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Collection
        AssignedTo: developm...@pediapress.com
        ReportedBy: mybugs.m...@gmail.com


Currently the extension doesn't seems to respect the max number of articles
which a book could have ($wgCollectionMaxArticles = 500 [1]).

You can confirm this by going to a big category of Wikipedia, with more than
500 articles (e.g. [[Category:Living_people]]), and adding it to a collection.
The extension will add only 500 pages, but then it should display the warning
from [[MediaWiki:coll-limit_exceeded_text]] ("Your book is too big. No more
pages can be added."), and it doesn't.

Besides this, if you go to another article wich is not in you big book (e.g.
[[Sport]])), and add it, your book will have 501 pages and no warning will be
displayed.

A user can also easily create a book page ([[Category:Wikipedia books
(community books)]]) with more than 500 pages and then load it into
[[Special:Book]].

This inconsistent use of $wgCollectionMaxArticles should be fixed.

[1]
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Collection/Collection.php?view=markup#l86

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to