Last modified: 2011-03-13 18:05:57 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 T3708, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1708 - Allow the user to enter JavaScript regular expressions during editing.
Allow the user to enter JavaScript regular expressions during editing.
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: javascript
  Show dependency treegraph
 
Reported: 2005-03-18 19:06 UTC by Ævar Arnfjörð Bjarmason
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

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


Attachments

Description Ævar Arnfjörð Bjarmason 2005-03-18 19:06:37 UTC
This is a feature request for an additional user preference which if enabled
would add an additional textbox to be displayed during editing where regular
expressions to be run on the main input textbox could be performed.

This would be very useful for mass text editing describeable by a patter.
Comment 1 Goplat 2005-03-26 18:31:11 UTC
You can do this with a javascript: URL, like this
javascript:t=document.forms['editform'].wpTextbox1;void(t.value=t.value.replace(/foo/g,
'bar'))
Comment 2 Antoine "hashar" Musso (WMF) 2005-03-27 19:35:12 UTC
You want to copy the text in your favorite editor and use regex
there. The editing box is not meant to emulate emacs / vim :o)
Comment 3 Niklas Laxström 2005-08-19 21:21:11 UTC
This can be achieved without changes to Mediawiki using Javascript to create
needed components. Marking as WONTFIX.
Comment 4 Ævar Arnfjörð Bjarmason 2005-08-22 16:03:44 UTC
*** Bug 3221 has been marked as a duplicate of this bug. ***

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


Navigation
Links