Last modified: 2007-10-21 15:02:43 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 7211 - Extended toolbar bug in Opera
Extended toolbar bug in Opera
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.8.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ru.wikisource.org/w/index.php?...
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-02 23:04 UTC by Alexander Sigachov
Modified: 2007-10-21 15:02 UTC (History)
0 users

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


Attachments
revert (812 bytes, patch)
2006-09-02 23:05 UTC, Alexander Sigachov
Details
Screenshot (116.44 KB, image/jpeg)
2006-09-02 23:10 UTC, Alexander Sigachov
Details

Description Alexander Sigachov 2006-09-02 23:04:23 UTC
We use extended toolbar with javascript buttons in ru.wikisource and
fr.wikisource. But Where is bug in Opera browser with tags in javascript.

The bug appeared after r14419.
Comment 1 Alexander Sigachov 2006-09-02 23:05:16 UTC
Created attachment 2301 [details]
revert
Comment 2 Alexander Sigachov 2006-09-02 23:10:28 UTC
Created attachment 2302 [details]
Screenshot
Comment 3 Brion Vibber 2006-09-03 10:32:50 UTC
This probably comes from using innerHTML, which is very very unreliable.
Instead, try using the JS function for adding toolbar buttons.
Comment 4 Alexander Sigachov 2006-09-03 11:32:21 UTC
But so I can not add button with javascript function (wikifikator, add table) on
click.
Comment 5 Brion Vibber 2006-09-03 14:13:41 UTC
I have no idea what that means, but I assume it means "JavaScript functions can't be run 
in response to UI events" which I'm pretty sure is not true. ;)
Comment 6 Alexander Sigachov 2006-09-03 15:00:16 UTC
> try using the JS function for adding toolbar buttons

Which functions?

I know only about "mwCustomEditButtons" array, but i can not use it for:

<a href="javascript:Wikificator();"><img src="http://...button.png" \></a>

I know 2 ways to solve this problem:

1. something like in
http://fr.wikikipedia.org/wiki/MediaWiki:Monobook.js
but in this case i can add button with javascript function on click only at
first position in toolbar (edit any article en fr.wikipedia). It is because
CDATA javascript in <div id='toolbar'>.

2. or something like in
http://fr.wikisource.org/wiki/MediaWiki:Monobook.js

it is good, but not for Opera browser. And so i create this patch.


Pardonu mian anglan :(

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


Navigation
Links