Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
MediaWiki talk:Common.js
(section)
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
Message
Discussion
More
More
Page actions
Read
Edit source
New topic
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==New requests == ===ReplaceText toolbar button (on hold)=== For the ReplaceText toolbar button gadget to work, the following code needs to be added at the end of [[MediaWiki:Common.js]]: <pre> // Replace Text visual editor toolbar button gadget, from https://en.wikipedia.org/wiki/User:%D7%A2%D7%A8%D7%9F/veReplace copied to [[MediaWiki:Gadget-veReplace.js]] //translate the following: mw.messages.set({ 've-SearchAndReplaceDialog-title': 'Search and replace', 've-SearchAndReplaceDialog-from-label': 'From:', 've-SearchAndReplaceDialog-to-label': 'To:', 've-SearchAndReplaceDialog-from-placeholder': 'From text', 've-SearchAndReplaceDialog-to-placeholder': 'To text', 've-SearchAndReplaceDialog-replaceAll': 'Replace all', 've-SearchAndReplaceDialog-replace': 'Replace', 've-SearchAndReplaceDialog-matchcase': 'Match case', 've-SearchAndReplaceDialog-replace-complete': 'Found and replaced $1 occurrences', 've-ReplaceTool-ToolbarButton': 'Replace' }); //end of translations mw.loader.using( 'ext.visualEditor.desktopArticleTarget.init', function(){ mw.libs.ve.addPlugin( function() { return $.getScript('https://me-pedia.org/w/index.php?title=MediaWiki:Gadget-veReplace.js&action=raw&ctype=text/javascript'); } ); }); // End Replace text gadget </pre> '''On hold:''' Please do not do this task yet. The following must be done first: * Establish if the source editor error involving replacing links with "-en" text is caused by this script * test note that the external link to WO has been replaced with the MEpedia version * MW upgrade (currently in progress) * Notify all via Slack Thank you ~[[User:Notjusttired|Njt]] ([[User talk:Notjusttired|talk]]) 21:48, September 21, 2022 (UTC)
Summary:
Please make sure your edits are consistent with
MEpedia's guidelines
.
By saving changes, you agree to the
Terms of use
, and you irrevocably agree to release your contribution under the
CC BY-SA 3.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Skip to content
Main page
Browse
Become an editor
Random page
Popular pages
Abbreviations
Glossary
About MEpedia
Links for editors
Contents
Guidelines
Recent changes
Pages in need
Search
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs