Last modified: 2006-04-17 10:36:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5235 - Tool-tips in editing toolbar show JavaScript under Opera
Tool-tips in editing toolbar show JavaScript under Opera
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
PC Windows XP
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-03-13 00:37 UTC by Ben
Modified: 2006-04-17 10:36 UTC (History)
0 users

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


Description Ben 2006-03-13 00:37:40 UTC
On every edit page of WikiMedia software, the icons (Bold, Internal Link etc.) popup  
text with code (Title: and Address:javascript:inserttags(blahblahblah)) but not any 
usefull instruction to the user like they should.  This is a very visible page and to the 
first time user this is cryptic and meaningless.  Heck, to a seasoned user this is still 
cryptic and not usefull.  

This is as seen in Opera.
Comment 1 Rob Church 2006-03-13 00:52:24 UTC
Step one. Upgrade to MediaWiki 1.5.7. MediaWiki 1.5rc4 is a release candidate
and could well have been broken.
Comment 2 Rob Church 2006-03-13 01:11:24 UTC
(Sigh, removing bogus URL change)
Comment 3 Melancholie 2006-03-13 01:22:20 UTC
Why "bogus"? I changed the URL about the same time you changed the Summary. For
the old summary it would have been a help for you to easily get the point of
this bug. But now a URL with &action=edit in it would be more appropriate,
wouldn't it?
Comment 4 Brion Vibber 2006-03-13 02:04:15 UTC
Provide very specific information if still happening.
Comment 5 Melancholie 2006-03-13 02:07:55 UTC
(In reply to comment #2, #3)

Furthermore the initial URL has been, so I 
thought (not seeing v1.5rc4) "every edit" would also affect Meta; 
and so the URL would have lead you to a page where you just would 
have had to click "edit"; so "[[Much Ado About Nothing|Sigh No 
More, Ladies...]]" ;-)

@Ben: Sorry for this. But in which wiki did you experience this 
Comment 6 Ben 2006-03-13 13:39:23 UTC
Ok I inspected it a little more and it looks like this is an Opera issue, 
independent of which release (
title=Theodore_Roosevelt&action=edit) shows it as well as my site 
28Crusty_French_Bread%29&action=edit) on edit pages buttons.

In Internet Explorer the buttons just show the popup title (Bold Text) 
which is clear enough.  But in Opera a popup also shows the javascript 
link, see (Title: Bold Text Address:javascript:inserTtags
('\'\'\,'\'\'\,'Bold Text');)  This text is NOT being put into the textbox 
but just showing up on the dragover popup.

I don't know if this can be changed, but when a first time user see's this 
popup, it confuses them.  And rightly so.

One suggestion is to depreciate the inserTtags() function and break it 
into seperate functions that are actually descriptive for each of the 
buttons.  Either that or change the text that is sent to the inserTtags() 
function to something a little more user friendly.  As a programmer myself 
I don't like the idea of changing functions just for an interface but... 
I'm not sure of any other solution... and this would work.
Comment 7 Brion Vibber 2006-03-13 22:07:24 UTC
Tested Opera 9 TP2 on Mac OS X.

Opera's tooltop shows two lines, like this:

Title: Bold text
Address: javascript:insertTags('\'\'\'','\'\'\'','Bold text');

This seems to be a special magic "feature" of Opera; most browsers just show the address 
tucked away in the status bar, and don't slap you in the face with it on a tooltip!

It might be possible to "work around" it by using an empty address and moving the code to an 
onclick handler. However this would hide the code in the status bar from everybody with 
normal browsers, which power users might like to see. I'm inclined to leave it be unless 
there's some overwhelming reason otherwise.

Comment 8 Ben 2006-03-14 12:42:36 UTC
Maybe it would be beneficial to just add an extra line in the Title so the Address 
isn't as "overpowering".  For Example:
Title: Bold text
       Inserts ''' characters around selected text to make it bold.
Address: javascript:insertTags('\'\'\'','\'\'\'','Bold text');

What do you think?

I know us tech guys you may not think this is a big deal but I have explained this 
toolbar to 3 people out of three with Opera.
Comment 9 Ben 2006-03-14 12:45:52 UTC
By the way in the above example I had space in front of before "Inserts" in the 
second title line so it lined up with "Bold". It looked a lot clearer like this, But 
the formatting was removed in the comment.
Comment 10 Brion Vibber 2006-04-17 10:36:54 UTC
Fixed on trunk, r13689.

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