Last modified: 2014-02-21 00:27:16 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 T33566, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31566 - toolbar and header/footer from proofread page on wikisource
toolbar and header/footer from proofread page on wikisource
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: need-integration-test
: 31606 (view as bug list)
Depends on:
Blocks: Wikisource
  Show dependency treegraph
Reported: 2011-10-09 19:29 UTC by enomil
Modified: 2014-02-21 00:27 UTC (History)
8 users (show)

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


Description enomil 2011-10-09 19:29:25 UTC
Toolbar can't be used in the header and footer editform from proofread page extension. The most big wikisources uses this extension, so add #wpHeaderTextbox and #wpFooterTextbox to mediawiki.action.edit.js.
Comment 1 Mark A. Hershberger 2011-10-15 22:03:39 UTC
tagging bugs for Marcus to look at
Comment 2 enomil 2011-10-17 14:02:15 UTC
*** Bug 31606 has been marked as a duplicate of this bug. ***
Comment 3 Derk-Jan Hartman 2011-10-22 21:15:18 UTC
I suggest we add:

".wpEdittoolsText" to the focus policy of mediawiki.action.edit.js.

Then we can add the class wpEdittoolsText to the header and footer fields of ProofreadPage, and to something like the old upload wizard of Commons (bug 31682) and any other field that wants to make use of the editor.
Comment 4 Derk-Jan Hartman 2011-11-14 23:29:02 UTC
Fixed in r103074
Comment 5 Derk-Jan Hartman 2011-11-14 23:32:14 UTC
Come to think of it. Only partially solved. The WikiEditor toolbar does not yet have a method of inserting characters into the Header/Footer yet, so this probably needs some additional work.

But at least the Extension:CharInsert icw MediaWiki:Edittools now works again.
Comment 6 Alessandro Brollo 2012-11-06 23:44:30 UTC
If possible, I'd like that toolbar/toolbox tool would act into any box selected with a $( document.activeElement ) selection. I'll try to add this selection into my own scripts; it would be very useful to manage both nsPage header-body-footer and multi-field forms too. I'm not so experienced with jQuery, and I can't understand difference between that selector and a :focus selector.

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