Jump to content

User:Jukeboksi/Blog/2018: Difference between revisions

→‎Monday 2018-07-23: + Update: Not having bootstrap breaks only the SPARQL editor. Today I installed bootstrap. Going to test the newly installed mw:Extension:LinkedWiki today.
(→‎Monday 2018-07-23: + Installed mw:Extension:LinkedWiki on the test wiki, but not quite sure if it is properly installed now as I got some warnings when installing dependencies with yarn.)
(→‎Monday 2018-07-23: + Update: Not having bootstrap breaks only the SPARQL editor. Today I installed bootstrap. Going to test the newly installed mw:Extension:LinkedWiki today.)
Line 2: Line 2:
=== 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.  
 
:::: 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)
* 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)
 
:: '''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 11: Line 15:
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 ===
9,854

edits

We use only those cookies necessary for the functioning of the website.