Extension talk:WikiEditor

Jump to: navigation, search

About this board

Edit description

pre LQT talk on this page

By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL

Toolbar bold/italic buttons have "wrong" appearance

Metalbunny (talkcontribs)

We have a fairly freshly installed LAN-based wiki (so I can't link to it from here) which runs on MW 1.27.1. The two first editor buttons (Bold and Italic) show as A A instead of the normal B I like on other EN-language wikis (no biggie, but confusing nonetheless). I assume this is caused by a configuration setting somewhere, but where and what?

Metalbunny (talkcontribs)

2 secs later someone figured out that the bar gets confused when there are multiple languages set in localsettings. Removing everything but "en" makes it appear correctly. This really needs to be in the documentation.

Whatamidoing (WMF) (talkcontribs)

"A" is the generic, since the "B for Bold" idea doesn't apply to most languages (it'd be "G for Gras" in French, "F for Fett" in German, etc.).

Reply to "Toolbar bold/italic buttons have "wrong" appearance"

preview and change not working on my wiki?

Tetrana (talkcontribs)

I have the latest stable mediawiki (1.24) and the latest stable wikieditor

When I press on "Preview" or "Changes", it does not work, I see the spinning wheel that says "Loading", but it just spins forever and nothing happens?

I disabled those tabs in localsettings for now, but how can I find out whats causing the problem?

GBT248 (talkcontribs)

Same here with fresh install of 1.26. Is there a fix or workaround to use the buttons on top?

(PS: old wiki with 1.23.6 and WikiEditor 0.40 works well) (talkcontribs)

I have this problem with Mediawiki 1.26 and Wiki Editor 0.5. Upgraded to mediawiki 1.28 ad the problem is still there. The preview tab wheel spins forever and looking what is happening in Chrome or Firefox debugging tools there is a 400 error from api.php that stems from the xhr request in load.php:

line 5807: "xhr.send((options.hasContent && options.data) || null);"

Note this only happens if there is some tag within the text such as \<pre\> or \<br\> (talkcontribs)

I have this issue as well, just upgraded to MediaWiki 1.28 and still this problem. How do I post a bug report? (talkcontribs)

I have the same problem with 1.27. I found out the api.php return a message in chrome debugger which said that preview functionality have to open the read permission.

Adding $wgGroupPermissions['*']['read'] = true; 

It's work well for me.

Reply to "preview and change not working on my wiki?"

How can I disable the "publish to {{SITENAME}}" popup upon clicking Publish?

Axonn Echysttas (talkcontribs)

Is there any way to disable that popup from appearing every time I click the "Publish" button? This is the text of the popup:

"Please note that all contributions to <MY WIKI NAME> are considered to be released under the Creative Commons Zero (Public Domain)"

And yes, the title of the popup is obviously not rendering correctly :).

NikusPokus (talkcontribs)

Edit the file « extensions/WikiEditor/modules/jquery.wikiEditor.publish.js »

Line 146 and 147 comment the following code:

//$( '#' + dialogID ).dialog( 'open' );

//return false;

Tolvic (talkcontribs)

Do you know what files needs to be to be edited to change the message that is shown?

Do you know what file I would need to edit to fix the "publish to {{SITENAME}}" header?


Reply to "How can I disable the "publish to {{SITENAME}}" popup upon clicking Publish?"

Diff styles not loaded? (MW 1.27.1, REL1_27 branch of WikiEditor)

Summary by FreedomFighterSparrow

User:TheDJ backported the fix to the REL1_27 branch.

FreedomFighterSparrow (talkcontribs)

I'm using WikiEditor with the "wikieditor-preview" option on. I just noticed that it seems like mediawiki.action.history.diff isn't loaded at all when I click the "Changes" tab - it shows a diff, with strikeouts for deletions, etc., but no colors (which come from the above module, apparently).

I see no errors on the console (or in the network resources tab), and it works just fine if I click the bottom diff button (which shows a diff view below the textarea), as well as in the regular changes view (action=history).

In jquery.wikiEditor.preview.js there's an API call to diff, which I can see actually happens; but the style module isn't loaded.

This might be happening since I upgraded to MW 1.27 (from MW 1.26), and I just haven't noticed so far...

Any ideas what the issue could be, or how I can further debug it?

FreedomFighterSparrow (talkcontribs)

Never mind, a few seconds after posting this I finally found Phab:T142845; it's a shame this wasn't backported to the REL1_27 branch of WikiEditor. I've now requested it would be.

As a workaround, you can set

$wgDefaultUserOptions['uselivepreview'] = true;

, because it loads module 'mediawiki.action.edit.preview', which depends on the needed 'mediawiki.action.history.diff'.

FreedomFighterSparrow (talkcontribs)

Please note that User:TheDJ indeed backported the fix to the REL1_27 branch. Thank you :-)

Users can pull the changes or redownload the extension from the extension distributor. (talkcontribs)

Adding wfLoadExtension( 'WikiEditor' ); on a new installed Wikimedia does not show the toolbar.

Same process on 1,16 make it workL

Jongfeli (talkcontribs)

See: https://www.mediawiki.org/wiki/Topic:T5s4nikynwxsjh46 (talkcontribs)

You're the man ! Thanks ! It works ! (talkcontribs)

Not for me. Upgraded to 1.27.1 under ubuntu 14 and no toolbar appears in the edit window. Under XAMPP and Win7 all toolbars appear and work.

Berbo (talkcontribs)

I upgraded from 1.19 to 1.27, and then enabled WikiEditor. I thought it was working, but it isn't now - for pages in the Main namespace. Other namespaces (MediaWiki, Talk, Template, User) appear to work as expected.

By 'not working', I mean:

no 'Wikitext/Preview/Changes' buttons (these work for the other namespace pages).

No Editor Toolbar (this works for the other pages).

Berbo (talkcontribs)

Sorry, that was my mistake. I had tried to modify another extension, LastModified, but must have screwed it up. Somehow, that broke the WikiEditor.

When I reverted my changes, all was well.

As an aside, beware of extensions that can mess up the Javascript.

Reply to "Does not work on Wikimedia 1.27"

Is the "upload" in "image" tab only available for Wikipedia?

Zoglun (talkcontribs)

I saw same icon in image window, but when I click it in my MW 1.27.1 wiki, it only show you are not login.(Where I am login-ed for sure )

Any other extension or config need to be set to get this function work?

Here is the upload that I mentioned: http://i.imgur.com/0HcDtYB.png

Error example: http://i.imgur.com/D3w6am8.png

Reply to "Is the "upload" in "image" tab only available for Wikipedia?" (talkcontribs)


I have just run the update.php script and now I am having a problem with the wikieditor-ui. When I edit a page with the advanced editor eg. the one used here, there is a large blank 'blue' box between the 'Bold', 'Italic', 'Link', etc. icons and the text box where the edit is made. I am not sure what the problem is. I have a feeling it has something to do with the 'SkinAfterBottomScripts' or 'SkinAfterContent' but I can't figure it out. Any help would be greatly appreciated.

Thanks Michael

Clifford.kasper (talkcontribs)

I have this same problem with MW 1.25.2. Have you found a solution? Thanks.

CharlesSpencer (talkcontribs)

Did anybody solve this? I get this in MW1.26.2 as well! CharlesSpencer (talk) 19:03, 11 October 2016 (UTC)

Reply to "Large header space -WikiEditor UI"
Ядерный Трамвай (talkcontribs)

Phrases are visible. Looks like buttons work, just there are no icons on them.

Reply to "No icons appearing at MW 1.27.1"

How to adjust line spacing in editing box?

Metalbunny (talkcontribs)

Using the WikiEditor that came with MW 1.27.0 (not sure how to check what the WE ver. is), when I enable the enhanced toolbar, the line spacing in the editing box is increased so it looks like 1.3 or 1.5 line spacing. With the normal toolbar the spacing looks like I'd expect (single spacing I assume), but with the enhanced toolbar the spacing looks too big.

Along with the bigger spacing looking "weird" and making text harder to read (courier don't work well with big line spacing), it also makes it difficult to tell how many lines are between text in sections with double (or more) line breaks.

Don't know if it makes a difference that I use MonoBook (without the WYSIWYG).

But, enough rambling: Is there a way to adjust the linespacing (and where do I look)?

Reply to "How to adjust line spacing in editing box?"
Fexadom (talkcontribs)

I have a new Mediawiki 1.26 installation in Centos 7, everything works fine except the WikiEditor. After installing the Wikieditor extension and configuring the Localsettings.php according to the extensions README file, the new editor appears but the icons are not showing. The tooltip shows correctly and I click the buttons and the correct action is executed but no icons. I've tried this in the latest Firefox, Chrome and IE browsers and I get the same results. Also, I tried already editing the Common.css wiki page as suggested in a couple of forums but it doesn't work. I am running out of ideas. Any suggestions? Thanks! (talkcontribs)

Same as in my installation at Centos 7

JohnEagles (talkcontribs)

You need the latest version of the WikiEditor: Special:ExtensionDistributor/WikiEditor (talkcontribs)

I am having this issue on CentOS 6.7, mediawiki 1.26 with WikiEditor version info:



The buttons do not render and while the default toolbar renders as a single line when mediawiki is disabled, the button regions render as two empty table cells next to the tabs. I believe that 72db6c7 is the latest version published - is there any update or am I missing something? (talkcontribs)

Same problem. Did anyone get this figured out?

Reply to "Icons on buttons do not appear"