Last modified: 2011-03-13 18:05:22 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 12378 - Move notify() and associated functions from preview.js to wikibits.js
Move notify() and associated functions from preview.js to wikibits.js
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-12-22 06:42 UTC by Voyagerfan5761 / dgw
Modified: 2011-03-13 18:05 UTC (History)
0 users

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


Description Voyagerfan5761 / dgw 2007-12-22 06:42:39 UTC
The preview.js file in /skins/common/ has a few useful functions, named notify(), dismissNotify(), and createNotify(), which would do well if moved outside that file. I propose a move to wikibits.js, where the functions could be accessed by userscripts and other extensions.

The code I propose moving is on lines 125-162 of preview.js as of r28769.
Comment 1 Brion Vibber 2009-09-23 17:56:13 UTC
These functions are obsolete and no longer exist in the current code... front-end JS is under major rework right now.

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