Extension talk:AjaxShowEditors

You might want to add that the contents of the JS file have to be included somewhere, like MediaWiki:Common.js or MediaWiki:Monobook.js. It took me a while to figure out that the script wasn't loading, and that's why nothing was showing up. — Tuvok[Talk/Contribs] 23:28, 28 March 2007 (UTC)  '''Question So how do you set it up? Thanks'''

more information would be nice

Disallow editing if page is being edited
Is this possible? -Eep² 19:19, 30 July 2007 (UTC)

Not working with MW1.11
Not working with MW 1.11. he classic function "return problem". how to solve it?

Strange problem with MW 1.11
Anyone using the AjaxShowEditors extension with MW 1.11?

I have a problem with this extension. When 2 people Jack and John are editing a page, it's showing only Jack's name as currently editing to Jack. And to John it's showing "John is editing". Though the DB table has 2 rows for jack and john. Any clues?

Regards, Jack

MediaWiki 1.11.0
Don't work with me too... Waiting a fix for this great extension ;)


 * This is fixed in 26485. -- Sayuri 13:53, 8 October 2007 (UTC)

Error messages not internationalized
In a previous version of this extension, I created three messages in the database: 'ajax-se-invalidpage', 'ajax-se-invaliduser', and 'ajax-se-usernotfound'. They showed up when there were errors returned by the script. Now, Response.php has been altered to return hard-coded error messages that can only be changed by editing the code. I have patched my own installation to use the messages in the database.

You need only change three things: the  statement of the first three   statements in. Here is my code up to the database read :

That will allow editing the messages by creating pages in the database for them. Note that AjaxShowEditors.i80n.php also has to be changed. For example, change:

to

For each language in use on your wiki, add those three messages. Even if you don't define customized messages, it will still work and show something, even if it's not in the local language.

I hope that sometime in the future, Ashar will see this and patch the SVN version, since I don't have write access (nor would I want to commit on someone else's extension). — Tuvok[Talk/en.wp] 17:53, 30 December 2007 (UTC)

Another Problem with MW 1.11.0
I had another Problem with this great extension It works only for articles in main namespace, not for those I created in my userdefined namespaces. Anyone having the same problem? Ben

MW 1.12.0: Sections and editing > 60 sec.
2 Problems: ~ 26 September 2008
 * If User A edits a page and after less than 60 sec. User B wants to edit the same page, there will be a message that User 1 is already editing the page. So, everything works fine. But: If User A edits a page and after 60 sec. User B will wants to edit the same page, there will be no message that User 1 is already editing the page. How can this be fixed?
 * Is it possible to change the script in the way that there will be no conflict-message if User A and User B edit different Sections on the same page at the same time?

About comment one
Would you be able to describe more indepth what you did to install this extension? I'm still not sure where to save all the files, and you seemed to mention that one of them actually nees to be copied into another?

FCKeditor support
add this to AjaxShowEditors.js (or some more appropriate spot)

function FCKeditor_OnComplete( editorInstance ) { editorInstance.Events.AttachEvent( 'OnSelectionChange', wgAjaxShowEditors.refresh ) ; }

FCKeditor keystrokes will now be captured.