Editing User:Jukeboksi/Blog/2018

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 82: Line 82:
=== Monday 2018-07-23 ===
=== Monday 2018-07-23 ===
* Made, verified and distributed backups and also took a snapshot of the system disk. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 11:09, 23 July 2018 (UTC)
* Made, verified and distributed backups and also took a snapshot of the system disk. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 11:09, 23 July 2018 (UTC)
* Noticed the "change password" in preferences was warning about the password being sent over unencrypted .. After a little while of disbelief I checked the page source and there were a few 'http://' items there. Then checked the LocalSettings.php and in fact there were a few 'http://' values hardcoded back from setting the wiki family up. Sorry about that. Corrected those and now everything is TLS/SSL protected. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 16:51, 23 July 2018 (UTC)
* Noticed the "change password" in preferences was warning about the password being sent over unencrypted .. After a little while of disbelief I checked the page source and there were a few 'http://' items there. Then checked the LocalSettings.php and in fact there were a few 'http://' values hardcoded back from setting the wiki family up. Sorry about that. Corrected those and now everything is TLS/SSL protected. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 16:51, 23 July 2018 (UTC)
 
* Installed [[mw:Extension:LinkedWiki]] on the [[test wiki]], but not quite sure if it is properly installed now as I got [https://www.mediawiki.org/wiki/Topic:Uhgoypksk5nul6y4 some warnings] when installing dependencies with yarn.  
* Installed [[mw:Extension:LinkedWiki]] on the [[test wiki]], but not quite sure if it is properly installed now as I got [https://www.mediawiki.org/wiki/Topic:Uhgoypksk5nul6y4 some warnings] when installing dependencies with yarn. '''Note''' to people who want to '''try installing LinkedWiki''': [https://packages.debian.org/stable/yarn yarn from standard Debian repositories (a tool to test command line programs)] '''is not''' the [https://yarnpkg.com/lang/en/ yarn (package manager)]. You want the latter in order to install LinkedWiki. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 20:28, 23 July 2018 (UTC)
:::: Note to people who want to try installing LinkedWiki: [https://packages.debian.org/stable/yarn yarn from standard Debian repositories (a tool to test command line programs)] '''is not''' the '''[https://yarnpkg.com/lang/en/ yarn (package manager)]''' that you want in order to install LinkedWiki, but a totally different program. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 20:28, 23 July 2018 (UTC)
 
:: '''Update''': [[mw:User:Karima Rafes]] promptly [https://www.mediawiki.org/w/index.php?title=Topic:Uhgoypksk5nul6y4&topic_showPostId=uhgta2fdat172xwy#flow-post-uhgta2fdat172xwy replied to my question on Mediawiki.org] that only the SPARQL editor requires bootstrap and that it is somewhat "experimental".
 


Note to self: This is what I did to install the LinkedWiki:
Note to self: This is what I did to install the LinkedWiki:
Line 95: Line 91:
2. install yarn as follows
2. install yarn as follows


  curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
  echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  sudo apt-get update && sudo apt-get install yarn
sudo apt-get update && sudo apt-get install yarn


3. install node.js as follows
3. install node.js as follows


  curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
  sudo apt-get install -y nodejs
sudo apt-get install -y nodejs


4. Install dependencies
4. Install dependencies


  composer install --no-dev
composer install --no-dev
  yarn install --production=true
yarn install --production=true
</pre>
</pre>
This warned that bootstrap is not installed, which breaks the experimental SPARQL editor
'''Update''': Installed bootstrap
<pre>
  yarn add jquery # dependency of bootstrap
  yarn add popper.js # dependency of bootstrap
  yarn add bootstrap@4.1.2
  yarn install --production=true
</pre>
and the <pre>yarn install --production=true</pre> run without warnings. Today I'm going to test the LinkedWiki extension to see if it works. [[User:Jukeboksi|Jukeboksi]] ([[User talk:Jukeboksi|talk]]) 10:28, 24 July 2018 (UTC)


=== Sunday 2018-07-15 ===
=== Sunday 2018-07-15 ===
Please note that all contributions to Consumerium development wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Consumerium:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)