Last modified: 2012-09-27 01:10:58 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 T35893, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33893 - Changing editing toolbars removes the citation options
Changing editing toolbars removes the citation options
Status: RESOLVED DUPLICATE of bug 31983
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.18.x
Macintosh Mac OS X 10.6
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-22 22:33 UTC by Tom Morris
Modified: 2012-09-27 01:10 UTC (History)
4 users (show)

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


Attachments

Description Tom Morris 2012-01-22 22:33:45 UTC
If you have the more advanced JavaScript editing toolbar, changing the editing toolbar removes the citation templates from the Cite header.

On en.wikipedia.org, logged in with admin account (User:Tom Morris), I usually have the Cite toolbar expanded (I can remember syntax, I can't remember all the attributes for cite web/cite book etc.). I was editing an article earlier and wanted to add a citation template, then I misclicked on one of the other options, then clicked back on to Cite. I also tested again and found that if you just close the Cite header and reopen it, you get the same problem. When you click on the drop-down, the options list is no longer populated with templates and is just an empty list.

I'm using Firefox 9.0.1 (release branch) on Mac OS X 10.6.8. I also tested it on Mac, not logged in using Safari 5.1.2 (6534.52.7) and 18.0.1010.0dev. No luck on either. I also asked a Windows user to test it and he tried Firefox 9.0.1 on WinXP and had the same issue. It is only a Vector issue though as Monobook doesn't have the new editor.
Comment 1 Spitfire 2012-01-22 23:54:47 UTC
This issue seems to be caused by the fact that the div tag which contains the cite tool appears like this when the page is first loaded:
<div class="toolbar section section-cites section-visible" rel="cites" style="display: block;">
Is set to the following when you toggle a different tab: 
<div class="toolbar section section-cites" rel="cites" style="display: none; position: relative;">
When you toggle back to the cite tab, it is readded to the class 'section-visible', but the position remains set to relative, which causes the drop down box for "template" to not work, as follows:
<div class="toolbar section section-cites section-visible" rel="cites" style="display: none; position: relative;">
If you remove 'position: relative;' it works fine again.

Essentially, when you toggle to the cite tab, the position styling for the div needs to be removed.
Comment 2 Spitfire 2012-01-23 04:05:05 UTC

*** This bug has been marked as a duplicate of bug 31983 ***

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


Navigation
Links