Show preview -> save page breaks page saves
A free, open-source, offline Wikipedia application
Status: Beta
Brought to you by:
gnosygnu
I am using linux 64 bit version of Xowa. While using it without importing the wiki, when I create a new page, then without inputing anything in the page, I hit show preview and then save page - This does not do anything. This is ok, because I had not inputed anything in the text field. But now, even if I input anything in the text box and try to save the page (with or without clicking on "show preview"), it does not do anything.
Normal functioning of save works fine, if I don't click on show preview with empty text box at the first time.
Anonymous
Thanks for the detailed breakdown. This is also a bug, but is related to new pages. Specifically, this is what I did
error while executing script: err= update requested but title does not exist: Test_page
You can workaround the bug by not using Preview for new pages. Press Save first, and then Preview as much as you want afterwards.
As I explained in https://sourceforge.net/p/xowa/tickets/357/, the new page functionality only has limited uses. Also, my time is focused on Android now, and I won't be able to look at Edit until sometime next year. I'm going to mark this item as a PFE, and will fix this bug when I return to it.
Finally, three of your four tickets were around editing. Although XOWA does support updating pages, it's meant for correcting errors in WMF wikis. I don't know if you're thinking of using XOWA as a standalone wiki editor. If so, I would recommend against it for now. There's a lot of functionality that I cobbled together just for the home wiki. I'm going to change most of it when I overhaul the Edit system next year. You're better off waiting until then.
Let me know if you need any other information. In the meantime, thanks again for the excellent defect writeup.
Thanks for all your quick responses and fixes.
I can wait till the next edition to use it as a standalone wiki editor :)
You can expect more bugs reported from me, in case I find any more!
Cool. Looking forward to seeing any other issues. Thanks again for the reports
Can you give a temporary fix for this bug and https://sourceforge.net/p/xowa/tickets/357/ by simply disabling the new page feature (check if the page exists already, if not, then give an error message), and thereby taking care of both the bugs at the same time. Then you can push this change in the next version that you release, and work on fixing it properly when you get time next year.
Thanks for the idea. Keep in mind that the new page feature only works on the home wiki. For all other wikis, it's disabled.
I'll try to disable this feature in near release, but it probably won't be for a few weeks. I really don't expect anyone to try to create new pages in the home wiki, so it shouldn't affect anyone's day-to-day usage of the app.
I understand that you are busy with the Android version right now.
Is it all right if I give a fix for that and you patch it for the next release? Xowa looks really interesting to me, and I would be happy to help you out.
Sure! Feel free to. However, keep in mind the following:
If you want to do this as a learning exercise, then go on ahead. Otherwise you might want to try a different item -- one perhaps with more utility to you?
Finally, I asked in another ticket, but since I may have your attention here: Do you want the change log to say "detected by Srijan Kumar"? Or do you prefer some other nickname?
Thanks.