Menu

#404 the first edit of a WW-page and the following one after its preview give two different files for an external editor

closed
None
5
2014-04-17
2013-09-05
No

Lee, I will try to explain more clear the problem, since it disturbs me a long period of time already.

If you use the external editor and edit the WW-page, then the very first edit of the page and the subsequent one after clicking to preview the page would give you two different files (and, consequently, two different tabs) in your external editor. However, if you choose the option to get the preview of the page at the very first edit, it would give you the same: also two different files and two different tabs in your external editor. Would it possible somehow to fix that in order to get the same file for editing?

This seems a small problem, but sometimes you edit the page not once and it can give you a mess.

Thank you in advance

Related

Bugs: #404

Discussion

  • Jonathan Dushoff

    I think this problem has been solved by Lee using a Monobook.js
    something. I am on a train now. Please try searching for Monobook on
    the projects wiki, and let me know if it does not work.

    On 09/05/2013 05:12 AM, Andrei Akhmetzhanov wrote:


    [bugs:#404] http://sourceforge.net/p/workingwiki/bugs/404/ the first
    edit of a WW-page and the following one after its preview give two
    different files for an external editor

    Status: open
    Created: Thu Sep 05, 2013 09:12 AM UTC by Andrei Akhmetzhanov
    Last Updated: Thu Sep 05, 2013 09:12 AM UTC
    Owner: nobody

    Lee, I will try to explain more clear the problem, since it disturbs me
    a long period of time already.

    If you use the external editor and edit the WW-page, then the very first
    edit of the page and the subsequent one after clicking to preview the
    page would give you two different files (and, consequently, two
    different tabs) in your external editor. However, if you choose the
    option to get the preview of the page at the very first edit, it would
    give you the same: also two different files and two different tabs in
    your external editor. Would it possible somehow to fix that in order to
    get the same file for editing?

    This seems a small problem, but sometimes you edit the page not once and
    it can give you a mess.

    Thank you in advance


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/workingwiki/bugs/404/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #404

  • Lee Worden

    Lee Worden - 2013-09-14

    On 09/09/2013 08:50 PM, Jonathan Dushoff wrote:

    I think this problem has been solved by Lee using a Monobook.js
    something. I am on a train now. Please try searching for Monobook on
    the projects wiki, and let me know if it does not work.

    http://lalashan.mcmaster.ca/theobio/projects/index.php/User:JoDu/monobook.js

    Copy that code to User:(yourself)/monobook.js, on each wiki you want to
    use it on. It will make it so that those pages share a single file in
    the external editor. (Tested in Firefox, maybe not in Chrome.)

     
  • Andrei Akhmetzhanov

    Thanks a lot! I am going to check it

     
  • Jonathan Dushoff

    For the record, here is the documentation (found using Google!) http://yushan.mcmaster.ca/theobio/projects/index.php/It%27s_all_text.

     
  • Lee Worden

    Lee Worden - 2013-09-16

    we should link to that from our Tips and Tricks page. I looked there
    and didn't find it.

    On 09/16/2013 02:15 PM, Jonathan Dushoff wrote:

    For the record, here is the documentation (found using Google!)
    http://yushan.mcmaster.ca/theobio/projects/index.php/It%27s_all_text.

     
  • Jonathan Dushoff

    By all means feel free. My thinking at the time was it's only
    relevant if you're using an external editor.

    JD

    On Mon, Sep 16, 2013 at 5:55 PM, Lee Worden worden@users.sf.net wrote:

    we should link to that from our Tips and Tricks page. I looked there
    and didn't find it.

    On 09/16/2013 02:15 PM, Jonathan Dushoff wrote:

    For the record, here is the documentation (found using Google!)
    http://yushan.mcmaster.ca/theobio/projects/index.php/It%27s_all_text.


    [bugs:#404] the first edit of a WW-page and the following one after its
    preview give two different files for an external editor

    Status: open
    Created: Thu Sep 05, 2013 09:12 AM UTC by Andrei Akhmetzhanov
    Last Updated: Thu Sep 05, 2013 09:12 AM UTC
    Owner: nobody

    Lee, I will try to explain more clear the problem, since it disturbs me a
    long period of time already.

    If you use the external editor and edit the WW-page, then the very first
    edit of the page and the subsequent one after clicking to preview the page
    would give you two different files (and, consequently, two different tabs)
    in your external editor. However, if you choose the option to get the
    preview of the page at the very first edit, it would give you the same: also
    two different files and two different tabs in your external editor. Would it
    possible somehow to fix that in order to get the same file for editing?

    This seems a small problem, but sometimes you edit the page not once and it
    can give you a mess.

    Thank you in advance


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/workingwiki/bugs/404/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

    --
    McMaster University Department of Biology
    http://lalashan.mcmaster.ca/theobio/DushoffLab/index.php/Main_Page
    https://twitter.com/jd_mathbio

     

    Related

    Bugs: #404

  • Lee Worden

    Lee Worden - 2014-04-17

    Dave Leaman has written a MW extension to handle this for all users on all wikis on our site, so the Monobook.js thing is no longer needed. Please contact Dave for any further issues with this.

     
  • Lee Worden

    Lee Worden - 2014-04-17
    • status: open --> closed
    • assigned_to: David Leaman
    • Group: workingwiki --> lalashan-yushan_site-specific
     
  • David Leaman

    David Leaman - 2014-04-17

    Yes, this is no longer an issue on any lalashan wikis. For the record, the extension that fixes this is called ActionEditSubmit; I intend to make it publicly available soon.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.