Anonymous user
HousingWiki:About: Difference between revisions
no edit summary
imported>Tmccormick No edit summary |
imported>Tmccormick No edit summary |
||
Line 14:
== '''Sponsorship''' ==
Line 47 ⟶ 48:
Contributing Editor: <br/> [[User:Eaymer|Elise Aymer]], Toronto.<br/> + You.
== '''Editing/Creating pages''' ==
Line 52 ⟶ 54:
open to anyone, requires account with email confirmation. <br/> New content/edits go live immediately, though may be reviewed and changed by editors later. Change logs are reviewed regularly.
=== Editing tips & tricks ===
Line 69 ⟶ 72:
== '''Installation details''' ==
To see current complete installation details, see special page: [http://www.yimby.wiki/wiki/Special:Version [1]].
Summary:
MediaWiki 1.26.31<br/> + [https://www.mediawiki.org/wiki/Extension:WYSIWYG WYSIWYG extension] (WYSIWYG-CKeditor 1.27, CKEditor 4.5.9) for visual editor. <br/> + [https://www.mediawiki.org/wiki/Manual:Short_URL ShortURL] url rewriting set up. <br/> + [https://www.mediawiki.org/wiki/Extension:MobileFrontend MobileFrontend] extension to improve reading/editing on mobile <br/> (note, this means some pages like site Main page have an alternate mobile version, for example to show logo which would otherwise not appear on Main in mobile view; so changes to that page need to be edited in both the normal place and a second section below, enclosed in tags. See [https://www.mediawiki.org/wiki/Thread:Extension_talk:MobileFrontend/Can_i_hide_some_content_from_the_desktop-view_and_show_it_ONLY_in_mobile_View? note on how]. <br/> + [https://www.mediawiki.org/wiki/Extension:InputBox InputBox] extension to make it easier / more obvious how ot create a new page. <br/> + Duplicator<br/> + Nuke<br/> + EmbedVideo<br/> + GoogleDocTag<br/> + Google Analytics
== Manual backup procedure ==
Note: this is currently running automatically daily using a Crontab job on server, except for the part of transferring backup files back to a personal account for personal and Google Drive backup copy. But if you need to do it manually or reset up the Crontab job, below are the commands, shown prefaced by the shell prompt '%':
<pre>% ssh yimbywiki@yimby.wiki</pre>
now enter password for account 'yimbywiki'.
<pre>% php yimby.wiki/maintenance/dumpBackup.php --full | gzip > ~/backup/wiki-yimby_wiki-XML-$(date +%Y%m%d).xml.gz</pre>
that puts a date-labeled backup file X.xml.gz into /backup
<pre>% cd backup
% tar -zcvf "$(date '+%F').tar.gz" /home/yimbywiki/yimby.wiki
% mysqldump -u yimbywiki --password=XXXXXXXX --host=mysql.yimby.wiki yimby_wiki -c | gzip > ~/backup/wiki-yimby_wiki-$(date '+%Y%m%d').sql.gz</pre>
[note: replace XXXXXXXX with real database password].
To then retrive these backup files to personal computer, to store backups there and automatically on Google Drive:
Open terminal window.
Change to correct local directory, e.g.
<pre>% cd ~Users > tim > Google Drive > Tim > YIMBYwiki > site-backup</pre>
Now sftp to server:
<pre>% sftp yimbywiki@yimby.wiki
sftp> cd backup
sftp> get [1st backup file just created]
sftp> get [2nd backup file just created]
sftp> get [3rd backup file just created] </pre>
These will then in turn get backed up automatically by Google Backup and Sync / Google Drive, at least on Tim's computers. <br/>
|