I tried \bword\b but no luck.
Extension talk:WikiEditor
There are two ways to match whole words: you can use \bword\b
with the (.*) button selected (that makes the search use regex); or you can just type in word
and select the button with the quote icon, which forces the search to match only full words.
Apparently it does not appear to work for non-Latin characters, i.e. Greek. Test with these: λέξη, λέξης, αλέξης.
I am getting this error in the developer console.
I have the latest verison of wikieditor extracted and in the extension folder !
these are the settings/config
Installed software
Product | Version |
---|---|
MediaWiki | 1.42.1 |
PHP | 8.3.10 (cgi-fcgi) |
ICU | 72.1 |
MySQL | 8.0.39 |
Pygments | 2.17.2 |
Entry point URLs
Entry point | URL |
---|---|
Article path | /$1 |
Script path | / |
index.php | /index.php |
api.php | /api.php |
rest.php | /rest.php |
Special pages | ||||
---|---|---|---|---|
Extension | Version | License | Description | Authors |
UserMerge | 1.10.2 (573930b) 06:04, 15 August 2024 | GPL-2.0-or-later | Merges references from one user to another user in the wiki database - will also delete old users following merge. Requires usermerge privileges | Tim Laqua, Thomas Gries and Matthew April |
Editors | ||||
Extension | Version | License | Description | Authors |
WikiEditor | 0.5.4 (d9a5b4e) 06:04, 15 August 2024 | GPL-2.0-or-later | Provides an advanced, extensible wikitext editing interface | Derk-Jan Hartman, Trevor Parscal, Roan Kattouw, Nimish Gautam and Adam Miller |
Hey there, ext.wikiEditor.toolbar
is a very old feature that was removed in this patch, which shipped in REL1_30
7 years ago. It sounds like you've got some local gadget/etc. that's trying to interact with that?
@Jdforrester (WMF),is there any way to find out which one is trying to interact with it >?
hi guys i've got a problem with bootstrap 4: after upgrading from mediawiki 1.35 to mediawiki 1.39 the link editor tool not work anymore it seems to work but actually not ler you post the link or exit if not with the cros in the upperright corner of it's windows
Can you please explain how bootstrap 4 interacts with your wiki editor ? By default MediaWiki doesn't use any bootstrap.
Hi sorry for the delay, i have bootstrap 4.5.0 added in my personalized extension for wiki tablet filter, it's called via JavaScript in the JSON files, but with the layer of bootstrat the link tool of wikieditor 1.39 not work. It Will open and do all, but cannot send the the link and exit, with the previous versione 1.35 i had no problem
It's quite nasty; but we've managed to create a custom script when using Bootstrap;
(function() { var originalButtonMethod = $.fn.button; $.fn.button = function() { if (arguments.length > 1 && arguments[0] === 'option' && this.hasClass('wikieditor-toolbar-tool-link-insert')) { var optionName = arguments[1]; if (optionName === 'disabled') { return false; } } return originalButtonMethod.apply(this, arguments); }; })();
The issue it self is related to https://github.com/wikimedia/mediawiki-extensions-WikiEditor/blob/3a6c52fb5cc988ffe23eb9dd840755acc9b06ee8/modules/jquery.wikiEditor.dialogs.config.js#L156. The if statement returns true, probably because there is a race condition between jquery-ui and your custom skin.
WikiEditor 1.32 has a compatibility issue with the Page Forms extension. This is due to the fact that
$.wikiEditor.modules.dialogs.config = { ... };
has been replaced with
module.exports = toolbarConfig;
Page Forms still relies on the jQuery module, and thus fails to render the WikiEditor toolbar when using the form editor. This is easy to resolve by redefining the jQuery module for backwards compatibility, but may be more appropriate to resolve with the Page Forms team.
We won't bloat the experience for all users of WikiEditor just to provide compatibility for PageForms; the maintainers of code dependent on WikiEditor are responsible for maintaining that, sorry.
Pinging @Yaron Koren, because this incompatibility should probably be documented somewhere (assuming it can't be fixed).
I thought this was fixed in Page Forms already, but maybe not. What version of Page Forms are you running? Or are you just looking at the current code?
Hi @Yaron Koren -- I'm having this exact issue with PF 4.5.1 and WikiEditor 0.5.2. Have you been able to implement a fix yet?
It seems that after the changes done in WikiEditor going from 1.34.0-wmf.16 to 1.34.0-wmf.17 WikiEditor stopped working inside a form.
This means when you use WikiEditor version 1.34.0-wmf.16.zip it works just fine inside a form.
This was with tested and works on:
- MW 1.34.4
- SMW 3.2.0
- Page Forms 5.0-alpha (9e17cd7)
- WikiEditor 1.34.0-wmf.16
- PHP 7.3.23
I am not sure what has to be done to get the later versions of WikiEditor to work in a form, a lot has changed since then but this probably needs to be solved in Page Forms.
If you want to add "RTL" text as "auto" (text direction is based on text characters used):
File: WikiEditor/modules/jquery.wikiEditor.js
line: 458
Add: .attr( 'dir', "auto" )
This will only fix it for adding the text. You will still need to use a "div" in order to actually display the text as RTL.
The text direction of the editor is based on the primary content language, not on the characters used. It should not be automatic.
Pressing button "Edit" on [kinda] any page with WikiEditor enabled (previously I thought it was CodeEditor) lead me to page with damaged view, where there are coloured spots above with no code (in front of big white square) and the code is below (in a window).
This error is inconsistent. I don't know why. I disable/enable another extensions — it works fine some time and then it corrupt again.
MW 1.39.1. I experienced it on 1.34, too. I've updated all dependencies via Composer. Can anybody suggest the reason?
Dear all,
I will glad if you will add new section - math to the layer: Advanced, Special characters, Help, Cite.
It will be easier for new users - to click on bottun such us :
- "Fraction" (and not frac{a}{b})
- "Radicals" (and not \sqr{a}{b})
- "long list (and not <math>\begin{align} a\\ \b\\ \c\\ \d\\ \end{align} </math>
- there and many buttons you can added. In many site base on wiki DB, there are already such option.
- thanks, ~~~~
See phab:T25354.
T25354 is about CharInsert, this topic is on the talk page of WikiEditor. The two have independent character collections, and WikiEditor’s is pre-defined in software (and has already supported different display text), so the patch for T25354 didn’t make it possible to use math from WikiEditor’s toolbar.
Using MW 1.35.0 and WikiEditor 0.5.3 You can try this out at: https://www.istaria-lexica.de/index.php?title=User:Elteria_Shadowhand/sandbox&action=edit
If I have a text, maybe 4000 characters or more, I cannot paste it into the editor. Sadly, google did not give me any hints about what is wrong. I assume it is some kind of spam protection?
Any ideas?
Thanks,
Dominik
When search and replace, can I insert newline? '\n' seems not to work for replace text.
Wikitext is not just a string so common "\n" doesn't make new lines here. Use HTML tag "<br />" instead of "\n" to make a new line in the article.
What if the intention is not to make a new line in the displayed text, but only in the wikitext?
An example would be to search & replace * bullet1 *bullet2 *bullet3 *bullet4 *bullet5 - search "*" replace "\n*" unfortunately does not work - doing this manually is very tedious so adding the capability to insert tabs newlines and other special characters would be really helpful.
Now tracked in phab:T281326.
... by the removal of the preview feature which was working fine. The publish feature was indeed a bit suboptimal but the preview feature was great and working fine for years. This is a big step towards making MediaWiki editing less awesome for people who do not want or cannot use parsoid. I guess this is a sign of a lost perspective and for defying reality.
True. This isn't cool.
Missing the preview feature as well!
Is there any way to reactivate the preview?
I am both saddened and highly annoyed. The feature was one of the most used on my wiki.
This functionality has been moved to a gadget by Hydra/Gamepedia contributors. See this page for download and instructions. Note that the Gadgets extension is a requirement. Works at least for MW 1.31.x.
Thanks to @FreedomFighterSparrow: for detecting this and sharing the info.
As of the time of this comment, there seems to be an intention to bring this functionality back, starting version 1.39, as obvious from the mentioning of a configuration variables in Extension:WikiEditor#Realtime_Preview