Last modified: 2012-01-03 22:43:17 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 T31236, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29236 - Extension:Collection should copy the book title automatically to the stored "book page" input field
Extension:Collection should copy the book title automatically to the stored "...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Collection (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: PediaPress Development Team
: easy, patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-01 21:09 UTC by T. Gries
Modified: 2012-01-03 22:43 UTC (History)
6 users (show)

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


Attachments
Collection.template.php patch (1.29 KB, patch)
2011-12-25 04:36 UTC, John Norrington
Details

Description T. Gries 2011-06-01 21:09:39 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.
Comment 1 Krinkle 2011-06-03 08:13:20 UTC
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
Comment 2 Helder 2011-08-24 16:21:46 UTC
Adding easy keyword, per Krinkle's comment.

PS: this feature was also requested on [[mw:Extension:Collection/Wishlist#Modifying_an_existing_book]]
Comment 3 T. Gries 2011-08-24 18:27:11 UTC
(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
Comment 4 John Norrington 2011-12-25 04:36:43 UTC
Created attachment 9761 [details]
Collection.template.php patch

Here is a quick patch to get it working, is this suitable?
Comment 5 Sumana Harihareswara 2011-12-26 03:03:27 UTC
Thanks for the patch!  Marking it "patch" and "need-review" as a signal that this patch awaits review by developers.
Comment 6 Mark A. Hershberger 2012-01-03 22:27:09 UTC
(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!
Comment 7 T. Gries 2012-01-03 22:43:17 UTC
Is there somewhere a reference (test) implementation to see this working ?

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


Navigation
Links