I tried a personal wiki (MediaWiki and SharePoint) on localhost too and encountered the same problems (hard to reorganize, secure mobile access).
So I switched back to plain text, using the Markdown syntax format. Sync works fine with IMAP based email account (note apps on iOS & Android support that too). For visual complex documents I use a WYSIWYG HTML editor and the HTML format. SVN/Git repo to preserve the edit history. And I coded an desktop/enterprise search engine myself to search through PDFs, HTML and various Office formats - similar to the discontinued Google Desktop search and some enterprise search software.
Org-mode is a really good replacement for MediaWiki. You can manage links, tables and lists all with simple and reliable text files with .org suffix in Emacs.
So I switched back to plain text, using the Markdown syntax format. Sync works fine with IMAP based email account (note apps on iOS & Android support that too). For visual complex documents I use a WYSIWYG HTML editor and the HTML format. SVN/Git repo to preserve the edit history. And I coded an desktop/enterprise search engine myself to search through PDFs, HTML and various Office formats - similar to the discontinued Google Desktop search and some enterprise search software.