Last modified: 2012-01-03 22:43:17 UTC
When I save a book collection, whether it is new or an updated version, I wish to have the book title automatically copied as proposed Wiki page name (for storing the book, which I call stored "book page", or "book storage page"). Using Javascript, or jQuery, this can in my view easily accomplished.
Couldn't help myself noting here, jQuery and javascript are not on the same level. jQuery is a collection of javascript functions to simplify many things. They are not separate, "writing jQuery" is a weird way of saying "writing javascript and calling jQuery functions". More on topic though, Yes, this should be simple to implement. -- Krinkle [0] http://en.wikipedia.org/wiki/JQuery
Adding easy keyword, per Krinkle's comment. PS: this feature was also requested on [[mw:Extension:Collection/Wishlist#Modifying_an_existing_book]]
(In reply to comment #2) > Adding easy keyword, per Krinkle's comment. > > PS: this feature was also requested on > [[mw:Extension:Collection/Wishlist#Modifying_an_existing_book]] thanks, I added the bug number there
Created attachment 9761 [details] Collection.template.php patch Here is a quick patch to get it working, is this suitable?
Thanks for the patch! Marking it "patch" and "need-review" as a signal that this patch awaits review by developers.
(In reply to comment #4) > Here is a quick patch to get it working, is this suitable? We don't usually put javascript in-line like that. I took your hint, though, and applied it in r107951 in what I think will be a more suitable form. Thanks for your help!
Is there somewhere a reference (test) implementation to see this working ?