Last modified: 2014-11-16 21:03:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30061, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28061 - Collection extension doesn't sort chapters when the user clicks on "Sort alphabetically"
Collection extension doesn't sort chapters when the user clicks on "Sort alph...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
https://en.wikipedia.org/wiki/Help:Bo...
: javascript
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-15 15:50 UTC by Helder
Modified: 2014-11-16 21:03 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screencast (1.42 MB, video/ogg)
2014-09-01 11:04 UTC, Helder
Details

Description Helder 2011-03-15 15:50:42 UTC
If you go to [[b:Special:Book]] and use the button to create some chapters in the order you want them in your book, e.g.:
* Glossary of Biology/A
* Glossary of Biology/B
* ...
* Glossary of Biology/Z

you will get the chapters in reverse order:
;Glossary of Biology/Z
;...
;Glossary of Biology/B
;Glossary of Biology/A

Since Bug 28060 is not fixed yet, when you start adding your chapters you may think
 "Hmm, there is a problem, but I think I can insert all chapters and then get the correct order using this button which sort things alphabetically..."
so you continues your work and then, when you click on "Sort alphabetically" expecting some magic to happen: ...nothing! Oddly enough, your 26 chapters are still there, in the reverse order and you will need to fix the order by hand.

Could someone fix this?

Some options were suggested in the url given above.
Comment 1 Helder 2011-03-15 17:16:59 UTC
(In reply to comment #0)
> Some options were suggested in the url given above.

For example, the link "Sort alphabetically" could be changed to

 Sort alphabetically: [ ] chapters / [x] articles

In this way, the user could see what will happens when clicking the link, and also could set what exactly he wants:
* Sort the articles inside each chapter (but not move an article from one chapter to another)
* Sort the chapters (without changing the order of the articles inside of them)
* Sort both the chapters and articles inside chapters (but not moving an article from one chapter to another)

A similar checkbox would be interesting when using "drag & drop": it would allow the user to move a whole chapter (together with its articles) from one position to another in the book. This could be achieved by adding an option like
 [x] move articles and chapters together

in some place... See Bug 28063.
Comment 2 Bugmeister Bot 2011-08-19 19:12:30 UTC
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
Comment 3 Marcin Cieślak 2014-09-01 08:44:29 UTC
Is this still an issue? Marking as "enhancement" now to provide more sorting options.
Comment 4 Helder 2014-09-01 11:04:04 UTC
Created attachment 16334 [details]
Screencast

Yes. No one fixed this bug yet.
Comment 5 Marcin Cieślak 2014-09-01 13:03:46 UTC
It does not even sort chapters for me...
Comment 6 Helder 2014-09-01 13:10:52 UTC
Yah... That is what this bug is all about ;-)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links