Extension talk:WikiEditor/2018
This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
MW 1.30: Is there solution to do not remove "Cancel" button in right up corner?
editButtons "Publish" and "Cancel" in right top corner are very useful. $wgOOUIEditPage from MW 1.29 is removed in MW 1.30. "Cancel" is not working properly for now: it redirects to "undefined" error page. Is there any solution to fix this problem without removing both or single button? B.Shapoval (talk) 18:00, 16 January 2018 (UTC)
- "Cancel" was removed because it almost never got used. Most people (on the public wikis, especially Wikipedia) who wanted to cancel an edit either closed their browser tab or clicked on the "Read" tabs (at the very top). The team has considered other options, such as putting the "Cancel" button in one of the menus. Whatamidoing (WMF) (talk) 19:54, 18 January 2018 (UTC)
I am deeply saddened ...
edit... 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. [[kgh]] (talk) 14:50, 8 February 2018 (UTC)
- True. This isn't cool. FFS Talk 15:19, 11 February 2018 (UTC)
- Missing the preview feature as well! Ralfk (talk) 13:24, 22 June 2018 (UTC)
- Is there any way to reactivate the preview? 141.40.253.35 (talk) 15:03, 18 July 2018 (UTC)
- I am both saddened and highly annoyed. The feature was one of the most used on my wiki. 2600:1700:1D01:22D0:BCF3:11DA:6306:20BB (talk) 18:02, 18 August 2018 (UTC)
- 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. [[kgh]] (talk) 06:38, 28 April 2021 (UTC)
- 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 Ahmad Gharbeia أحمد غربية (talk) 11:49, 1 April 2022 (UTC)
[SOLVED] WikiEditor does not show - Fresh install
editI've just installed a fresh MW wiki, and elected to use the WikiEditor extension during the installation process. Looking at my LocalSettings.php file, I do show the "wfLoadExtension( 'WikiEditor' ); - However, when I go to edit or create a page, it's just the standard editor. I've cleared the cache, logged in as different user accounts, etc. I'm at a loss here. Any tips?
Info:
MediaWiki 1.30.0
PHP 7.0.27-0 (Debian 9 & apache2)
MariaDB 10.1.26
WikiEditor does show under "Installed extensions" on my Version page
Thanks ahead of time for any help! Slidinghorn (talk) 18:02, 20 February 2018 (UTC)
- It appears that this option needs to be set for the editor to be enabled:
- $wgDefaultUserOptions['usebetatoolbar'] = 1;
- Thanks for those who were taking a look at this - Hope this is useful to anyone who comes across this issue in the future. Slidinghorn (talk) 18:29, 20 February 2018 (UTC)
- This works, I finally got it working after using this fix. Rikskansler (talk) 17:51, 13 May 2018 (UTC)
- Ok its the same thing they say on WikiEditor page but they use the language like this
- "" If you are using a version before
REL1_31
and would want the toolbar to be default for users when they first join add this line to your LocalSettings.php:""' $wgDefaultUserOptions['usebetatoolbar'] = 1;
- If work when we use this fix
- my version is
- !Product
- !Version
- |-
- |MediaWiki
- |1.30.0
- |-
- |PHP
- |7.0.30-0ubuntu0.16.04.1 (fpm-fcgi)
- |-
- |MySQL
- |5.7.22-0ubuntu0.16.04.1
- |-
- |ICU
- |55.1
- |} 117.98.179.65 (talk) 18:57, 7 June 2018 (UTC)
Large Blue Header Space
editHey,
I've noticed that there's a huge blue header space when I'm trying to use wikieditor to edit something online. It's a large blue box between the toolbar and the text area that is used to edit. We updated the mediawiki to 1.29.2, and the WikiEditor is on version 0.5.1. We've tried editing files in the less and css files, but nothing seems to remove this blue space. Any help will be greatly appreciated.
Thanks,
Manish 131.179.59.101 (talk) 20:04, 27 April 2018 (UTC)
- Can you show a screenshot of it? Sounds like another extension could be interfering. Do you have MsUpload installed (it adds a box between the toolbar and edit box)? Sam Wilson 05:54, 28 April 2018 (UTC)
- Hey Sam,
- No we don't have MsUpload installed. We looked at some extensions but couldn't find anything related to this issue, but I'm sure it's an issue with another extension. I can't add screenshots here, so please follow the following link to look at the screenshot.
- https://github.com/manurao30/Work/blob/master/image.png
- Thanks for your help. Manurao30 (talk) 09:17, 2 May 2018 (UTC)
- If you open your browser's devtools console (press F12), and reload the page, you might see an error there. Also, can turn off all other extensions one by one and see if you can isolate which one is causing the problem?
- Do all the bits of the toolbar work still, even with the blue box there? Sam Wilson 01:00, 3 May 2018 (UTC)
- I have same problems. Libattery (talk) 09:48, 9 May 2018 (UTC)
- Hey Sam,
- I opened the devtools console and there were three issues - jquery.ui.widget, jquery.ui.core and jquery.ui.position. I've included them below. My guess is that some extension is calling the deprecated modules and the toolbar is failing which causes the blue space to be removed. I've tried a bunch of stuff and some removed the blue space but also removed the toolbar so there must be some sort of relation between the two. Do you have any ideas about this issue or any solutions?
- VM303:126 This page is using the deprecated ResourceLoader module "jquery.ui.widget".
- (anonymous) @ VM303:126
- (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:161
- fire @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:45
- add @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:45
- always @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:46
- runScript @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:160
- checkCssHandles @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:161
- execute @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:162
- implement @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:168
- (anonymous) @ VM303:126
- (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:4
- globalEval @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:4
- (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:165
- requestIdleCallback (async)
- asyncEval @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:165
- work @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:166
- enqueue @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:163
- load @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:169
- (anonymous) @ index.php?title=Main_Page&action=edit:10
- startUp @ load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:27
- script.onload.script.onreadystatechange @ load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:28
- load (async)
- (anonymous) @ load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:27
- (anonymous) @ load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:28
- VM303:166 This page is using the deprecated ResourceLoader module "jquery.ui.position".
- (anonymous) @ VM303:166
- (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:161
- fire @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:45
- add @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:45
- always @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:46
- runScript @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:160
- checkCssHandles @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:161
- execute @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:162
- implement @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:168
- (anonymous) @ VM303:166
- (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:4
- globalEval @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:4
- (anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:165
- requestIdleCallback (async)
- asyncEval @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:165
- work @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:166
- enqueue @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:163
- load @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=13nadqn:169
- (anonymous) @ index.php?title=Main_Page&action=edit:10
- startUp @ load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:27
- script.onload.script.onreadystatechange @ load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:28
- load (async)
- (anonymous) @ load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:27
- (anonymous) @ load.php?debug=false&lang=en&modules=startup&only=scripts&skin=vector:28
- VM303:121 This page is using the deprecated ResourceLoader module "jquery.ui.core".
- Please use "mediawiki.ui.button" or "oojs-ui" instead. Manurao30 (talk) 22:30, 9 May 2018 (UTC)
- This is the code section of big blue background. you can see style="background-position: 2px -862px;" etc.
- ====== --- ======
- <div class="toolbar section section-main" rel="main" id="wikiEditor-section-main">
- <div class="group group-format" rel="format"><a href="#" title="Bold" rel="bold" role="button" class="tool tool-button wikiEditor-toolbar-spritedButton" style="background-position: 2px -142px;">Bold</a><a href="#" title="Italic" rel="italic" role="button" class="tool tool-button wikiEditor-toolbar-spritedButton"
- style="background-position: 2px -862px;">Italic</a></div>
- <div class="group group-insert" rel="insert"><a href="#" title="Link" rel="link" role="button" class="tool tool-button wikiEditor-toolbar-spritedButton" style="background-position: 2px -1654px;">Link</a><a href="#" title="Embedded file" rel="file" role="button" class="tool tool-button wikiEditor-toolbar-spritedButton"
- style="background-position: 2px -1438px;">Embedded file</a><a href="#" title="Reference" rel="reference" role="button" class="tool tool-button wikiEditor-toolbar-spritedButton" style="background-position: 2px -1798px;">Reference</a></div>
- </div> Libattery (talk) 02:19, 10 May 2018 (UTC)
- Solved: In my case, "DynamicPageList"(intersection) caused problem. clean-up and reinstall solved problem. Libattery (talk) 07:49, 11 May 2018 (UTC)
The extension in download link doesn't work
editHello, i downloaded the extension linked in the first instruction "Download" (WikiEditor-REL1_30-dc5f855.tar.gz) and the extension didn't work (i see no error). Then i tried to download it on github, and this last version works very well. Luffah (talk) 15:12, 2 May 2018 (UTC)
- Hello Luffah, after downloading the extension, you need to setup it up (hook it up to MW). See this page for that: Extension:WikiEditor.
- Make sure to install the extension after download in order to see it working. Thanks X-Savitar (talk) 15:37, 2 May 2018 (UTC)
Delayed WikiEditor Loading Causes Text Shift
editI sometimes open multiple pages for editing and I let all the pages fully load. However, it seems that the wikieditor toolbar doesn't load until the browser window is focused.
This is mildly frustrating as I click the textbox where I need to edit, then the toolbar loads, and now I need to refind my place. I noticed the toolbar seems to have a height of 66px so I tried to add .wikiEditor-ui-top{min-height:66px} to no MediaWiki:Common.css page.
However, I notice that the wikieditor html isn't even initially loaded with the page, but is part of code that gets inserted a split second after the page is loaded.
Is there a way to make the wikieditor html "automatically turned on by default" so it does not get dynamically inserted after the page load? Or is there some css I can insert into the MediaWiki:Common.css page to account for the space the toolbar will take once fully loaded to prevent text from shifting? Jer Hughes (talk) 18:32, 19 June 2018 (UTC)
- Which wiki are you have problems at? Whatamidoing (WMF) (talk) 15:36, 21 June 2018 (UTC)
- It's on a personal wiki that uses MediaWiki. Only extensions used on Wikipedia are used. Jer Hughes (talk) 03:42, 27 June 2018 (UTC)
How to reactive preview tab?
editRESOLVED See this thread. The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
preview tab disappeared with MW 1.31 upgrade.
It was one of the most used on our wikis, and everybody like it.
How can we reactive preview tab? Deletedaccount4567435 (talk) 07:33, 15 September 2018 (UTC)
- Unfortunately, it's gone for good, unless someone develops an appropriate extension. See discussions here: phab:T165112 and phab:T185555. FFS Talk 19:27, 16 September 2018 (UTC)
- This functionality has been moved to a gadget by Hydra/Gamepedia contributors. See this [https://help.fandom.com/wiki/Special:Gadgets/export/previewTab 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. [[kgh]] (talk) 06:40, 28 April 2021 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.What's the difference between this and the Visual Editor?
editFrom the description it is not clear. Is this an older project that was eventually superseded by the Visual Editor but had similar ideas? AslanFrench (talk) 20:53, 18 October 2018 (UTC)
- They're actually quite different. As the name suggests, Extension:VisualEditor provides a visual editing interface that doesn't require knowledge of wikitext. On the other hand, Extension:WikiEditor extends the standard wikitext editing interface. You may have noticed that the default editor included in MediaWiki core doesn't have as extensive a toolset as the wikitext editor on Wikimedia sites. The additional wikitext editor toolbars these wikis have are added by WikiEditor. James Martindale (talk) 00:13, 19 October 2018 (UTC)
- @Jkmartindale Thank you, I can kind of get the gist of that but I wasn't clear on what their relationship was to each other within the organization? As in, if I were a new dev coming in, and I wanted to start learning how MediaWiki works, and I wanted to only focus on the new tools that would be actively evolved and developed going forward, which one would I focus on? Are they both being actively developed and have different use cases? Are the reasons why they're kept around due to a difference in design philosophy?
- I eventually found a conversation on a third party website where an article described the WikiEditor as being superseded by the VisualEditor which confirms the idea that I got from their visual design etc, but it might be helpful if this information was explicated in the article in some way. I don't mean to tell you guys what to do, I'm just saying as a developer coming from the outside, it's difficult to see what the main thrust of the community or org is right now in it's development process. (for instance I can tell you off the top of my head what Wordpress, Canonical, ES6, Mozilla etc are all focusing on as communities and orgs, but it's much hard for me to parse this when looking at the MediaWiki project because things seem to be a bit all over the place). AslanFrench (talk) 02:10, 19 October 2018 (UTC)
- It's been a while since I've been actively participating (if you could call it that) in the MediaWiki project, but judging from a quick glance at the trunk of WikiEditor, it's still actively developed. Not as actively as VisualEditor, but it's still getting bug fixes and being kept up-to-date with MediaWiki releases. WikiEditor is also pretty much "finished", so I'm not sure what else would be added to it other than maintenance fixes.
- Don't treat this as an official statement or anything other than speculation, but I'm pretty sure WikiEditor is going to be around for a long time. VisualEditor is still "unstable" and some people like myself prefer WikiEditor by far (I've actually disabled VisualEditor on every Wikimedia site I'm a part of). Additionally, VisualEditor relies on Parsoid which in turn relies on Node.js, and I'm pretty sure WikiEditor would be kept around so that MediaWiki installs won't require both PHP and Node.
- However if you're a new dev wanting to see how MediaWiki works, definitely ignore VisualEditor for now. You want to learn about MediaWiki core first, and when you get to extensions you'll want to look at simpler extensions. VisualEditor has a ton of moving parts that aren't necessarily tied to MediaWiki, so it's not going to give you much information that other extensions can't.
- As far as what the main goals of the MediaWiki developers are, I don't really have a clue. I sort of just started fixing what I came across that was broken, or adding things that I wanted to a handful of extensions. I never really did figure out where all the developers hang out, except maybe IRC. James Martindale (talk) 04:00, 19 October 2018 (UTC)
- WikiEditor (aka the 2010 wikitext editor) is in active maintenance. That means that it will be kept working, but no new features are planned. The visual editor (aka VisualEditor's visual mode; it also has a wikitext mode) is still under development. The Editing team's current focus is VisualEditor on the mobile site.
- If you are trying to figure out which one you're using, then you can go to the page Editor to see the screenshots. Whatamidoing (WMF) (talk) 16:56, 19 October 2018 (UTC)
- @Thedonquixotic I understand your frustrations! I would like to share with you our New Developers guide which might give you an idea of our broader technical community, projects and recommended steps to start contributing. If you are interested in contributing to MediaWiki, then extension writing is what we recommend starting with and not MediaWiki core as its codebase is complex and we've limited resources to help with support and code review. If you would like to share your thoughts on how we could improve our New Developers guide to explain better what we do and anything else, I would love to hear your thoughts on the talk page. User:SSethi_(WMF) 19:51, 22 October 2018 (UTC)
- @SSethi (WMF) Thanks! I'll check it out. I'm going to start by fiddling around with creating skins since I'm really mostly a designer learning frontend development right now. But I've got some ideas of things I can do and it will help me learning the wiki way of doing things :) thanks! AslanFrench (talk) 03:37, 26 October 2018 (UTC)
- Side note from a non-technical person: Apparently, MediaWiki's definition of a "skin" is very narrow and specific, so some things that people call skins aren't really skins here. I don't know where (or even "if") that is documented properly. Whatamidoing (WMF) (talk) 17:45, 26 October 2018 (UTC)
- @SSethi (WMF) BTW here's another example of what I find really confusing when coming to MW: Extension talk:VisualEditor (BlueSpice)#h-What_is_the_relationship_between_this_and_other_editors?-2018-10-28T22:33:00.000Z I basically get the relationship between the wikitext editor and the visual editor (espc since I now know how the 2017 wikitext editor integrates into visual editor when you have both installed) but then I find stuff like multiple WYSIWYG editors (which seem MW supported, at least at some point though one of them seems to be supported by some org called BlueSpice?)
- Maybe some kind of "Editors Explained" page that had every single major extension, past or present that served as an editor could be stacked up and compared, along with some comparative analysis on what they offer strengths and weaknesses wise, and what their current development status is etc.
- Also btw, idk if you guys have looked at Gutenberg much but I'm a WP guy and I'm really excited about it. It might be something MW folks should check out, especially since Drupal peeps recently proved how it could be decoupled from the underlying CMS and pretty easily migrated to a new CMS. https://wptavern.com/first-look-at-live-demo-of-the-gutenberg-content-editor-for-drupal-8 AslanFrench (talk) 22:40, 28 October 2018 (UTC)
- Editor has a list of (most of) the editors that are or were recently installed on wikis that are supported by the Wikimedia Foundation (e.g., the English Wikipedia). Most, but not all, of the software on that page is supported by devs employed by the Wikimedia Foundation.
- The ones that aren't on that list are more like "this can be run on MediaWiki" rather than "supported".
- I guess you could think of software in these groups:
- the editing environments on the Wikimedia Foundation's wikis,
- stuff maintained by the Wikimedia Foundation's devs, e.g., VisualEditor or the 2010 WikiEditor
- stuff maintained by volunteers, e.g., WikEd or Proofread Page
- the third-party options, not on the Wikimedia Foundation's wikis, e.g., all things BlueSpice. Whatamidoing (WMF) (talk) 01:14, 7 November 2018 (UTC)
- the editing environments on the Wikimedia Foundation's wikis,
Toolbar disappears when activating assistants
editRESOLVED Missing php7.2-xml The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hello there! I found a little problem with the WikiEditor toolbar. In my user preferences, I've activated the extended toolbar (german: "Erweiterte Bearbeiten-Werkzeugleiste aktivieren"), which works fine so far. As soon as I activate the Links&Table-assistants (german: "Assistenten zum Einfügen von Links und Tabellen sowie die Funktion „Suchen und Ersetzen“ aktivieren"), then, when I open the editor, the toolbar disappears.
Mediawiki: 1.27.4 Apache 2.4.29 PHP 7.2.10
The day before, I updated the server system software to Ubuntu 18.04. With the previously installed 14.04 and PHP 5.5, the toolbar assistant did work. I suspect the PHP version to cause the problem. Can anyone offer any hints, please? AnonymusGdpr (talk) 21:13, 3 November 2018 (UTC)
- The problem has been solved. After the upgrade to PHP7.2, there was one package missing: php7.2-xml. I have installed it and now everything works. Thank you anyway ;-) AnonymusGdpr (talk) 11:00, 4 November 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.Missing WikiEditor options in 1.31
editThe following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.
Hi there! I have just upgraded our test wiki to Mediawiki 1.31. Previously, in the user settings there have been options for the width and height of the editor window, these are missing now. Also there has been an option for the WikiEditor font called "browser default". Am I looking at the wrong place or have they been removed intentionally? AnonymusGdpr (talk) 20:01, 8 December 2018 (UTC)
- I don't know offhand about the font, but the width and height options were intentionally removed, yes. It is preferred to customize these via sitewide or user CSS. 「ディノ奴千?!」☎ Dinoguy1000 22:27, 8 December 2018 (UTC)
- Great. And how can I do that? AnonymusGdpr (talk) 09:34, 9 December 2018 (UTC)
- 「ディノ奴千?!」☎ Dinoguy1000 09:34, 10 December 2018 (UTC)
#wpTextbox1 { width: ##; height: ##; }
- That's it! Thank you very much! AnonymusGdpr (talk) 13:17, 10 December 2018 (UTC)
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.