User:Juho Kunsola/log/2021: Difference between revisions
Juho Kunsola (talk | contribs) (Made and verified backups and took an interim snapshot of the system disk) |
Juho Kunsola (talk | contribs) (Finally enabled VisualEditor successfully) |
||
Line 2: | Line 2: | ||
=== Saturday 2021-12-11 === | === Saturday 2021-12-11 === | ||
==== Finally enabled VisualEditor successfully ==== | |||
The solution given here [[phabricator:T270376#7365202]] after the breakthrough discovery [[phabricator:T270376#7364419]] by Func needed to be tweaked also with <code>AllowEncodedSlashes NoDecode</code> to stop the [[mw:VisualEditor]] REST 404 errors exhibiting when trying to edit subpages. Adding <code>AllowEncodedSlashes NoDecode</code> to the Apache 2.4 config inside of the <VirtualHost>-directive seems to yield a completely functioning VisualEditor setup. | |||
This advice I found in [[mw:Extension:VisualEditor#Allowing VisualEditor on page titles containing slashes]] after it was kindly pointed out by an irc-goer in #mediawiki. So the documentation has been improved lately. | |||
So two configuration changes to Apache2 were needed to successfully enable VisualEditor: | |||
<pre> | |||
AllowEncodedSlashes NoDecode | |||
</pre> | |||
for VE to work with URL's with slashes in them | |||
<pre> | |||
RewriteEngine On | |||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f | |||
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d | |||
RewriteRule ^(?:(?!rest.php/).)*$ %{DOCUMENT_ROOT}/w/index.php [L] | |||
</pre> | |||
for REST traffic to work as intended and naturally also short URLs working (MediaWiki is residing in w/ and wiki URL is /wiki/) and no more REST 404 errors at all. | |||
==== Made and verified backups and took an interim snapshot of the system disk ==== | ==== Made and verified backups and took an interim snapshot of the system disk ==== | ||
* Making and verifying backups | * Making and verifying backups | ||
Line 8: | Line 30: | ||
=== Saturday 2021-11-27 === | === Saturday 2021-11-27 === | ||
==== | ==== Enabled VisualEditor ==== | ||
I finally enabled [[mw:VisualEditor]] on all wikis. I'm still getting REST 404 errors with VisualEditor, but I have verified that those exhibit '''only when trying to edit a subpage'''. When trying to edit a subpage with VE, it fails with REST 404 when loading the VE, but if trying to create a subpage with VE it fails only after the final "save page". | I finally enabled [[mw:VisualEditor]] on all wikis. I'm still getting REST 404 errors with VisualEditor, but I have verified that those exhibit '''only when trying to edit a subpage'''. When trying to edit a subpage with VE, it fails with REST 404 when loading the VE, but if trying to create a subpage with VE it fails only after the final "save page". | ||
Revision as of 22:54, 11 December 2021
December
Saturday 2021-12-11
Finally enabled VisualEditor successfully
The solution given here phabricator:T270376#7365202 after the breakthrough discovery phabricator:T270376#7364419 by Func needed to be tweaked also with AllowEncodedSlashes NoDecode
to stop the mw:VisualEditor REST 404 errors exhibiting when trying to edit subpages. Adding AllowEncodedSlashes NoDecode
to the Apache 2.4 config inside of the <VirtualHost>-directive seems to yield a completely functioning VisualEditor setup.
This advice I found in mw:Extension:VisualEditor#Allowing VisualEditor on page titles containing slashes after it was kindly pointed out by an irc-goer in #mediawiki. So the documentation has been improved lately.
So two configuration changes to Apache2 were needed to successfully enable VisualEditor:
AllowEncodedSlashes NoDecode
for VE to work with URL's with slashes in them
RewriteEngine On RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d RewriteRule ^(?:(?!rest.php/).)*$ %{DOCUMENT_ROOT}/w/index.php [L]
for REST traffic to work as intended and naturally also short URLs working (MediaWiki is residing in w/ and wiki URL is /wiki/) and no more REST 404 errors at all.
Made and verified backups and took an interim snapshot of the system disk
- Making and verifying backups
November
Saturday 2021-11-27
Enabled VisualEditor
I finally enabled mw:VisualEditor on all wikis. I'm still getting REST 404 errors with VisualEditor, but I have verified that those exhibit only when trying to edit a subpage. When trying to edit a subpage with VE, it fails with REST 404 when loading the VE, but if trying to create a subpage with VE it fails only after the final "save page".
This is an matter of importance, because mobile users have been unable to edit any pages due to an issue with mw:Extension:ConfirmEdit and mw:Extension:MobileFrontend not quite playing catch with each other.
I was alerted to the issue of no captcha by a user of the Consumerium development wiki on ciumd:User:Jukeboksi/Log/2021#Sunday 2021-02-07.
I filed a ticket on it ciumd:MediaWiki/Tickets/Phabricator T274807 - No CAPTCHA from ConfirmEdit served for users that use MobileFrontend.
I did try to enable VisualEditor on 2021-05-13 but run into 404 problems regarding the REST-traffic, as have many other people. See catalogue phabricator:T266971 - "Error contacting the Parsoid/RESTBase server" (HTTP 404/403) and similar errors (catalog). The weird thing about these 404's was that they did not start to exhibit immediately after enabling VisualEditor, nor did they exhibit consistently.
It seems that the 404 errors with the REST-communication used by VisualEditor are due to old style of apache2 rewrite engine settings.
For the problem of 404 errors in REST-communication I took the solution given here phabricator:T270376#7365202 after the breakthrough discovery phabricator:T270376#7364419 by Func.
This Apache configuration (snippet) in the VirtualHost directive in /etc/apache2/sites-available/000-website.tld
worked for wikis where short URLs in the format of /wiki/
and the MediaWiki residing in /w/
and document root is one directory up from /w/
RewriteEngine On RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d RewriteRule ^(?:(?!rest.php/).)*$ %{DOCUMENT_ROOT}/w/index.php [L]
Thank yous to Func for solving this for us and Kghbln for asking the question in phabricator:T270376 and thanks to Bob, who brought to my attention the problem that mobile users were unable to edit wiki.
- Making and verifying backups and taking a snapshot
- Made and verified backups and took a snapshot of the system disk.
Friday 2021-11-26
Made and verified backups and took a snapshot of the system disk
- Based on one wiki, I would say that using this phabricator:T270376#7365202 solution based on solution phabricator:T270376#7364419 by Func solved the REST traffic 404 problem. Making backups and taking a snapshot in preparation of enabling mw:VisualEditor on more wikis.
Friday 2021-11-19
Made and verified backups and took a snapshot of the system disk
- Making and verifying backups and taking an interim snapshot of the system disk in preparation for some testing in a testing wiki.
Tuesday 2021-11-09
Made and verified backups and took a snapshot of the system disk
- Making and verifying backups and taking an interim snapshot of the system disk.
October
Sunday 2021-10-24
Made and verified backups and took a snapshot of the system disk
- Making and verifying backups and taking a snapshot in preparation of trying out the recently found fix for the REST communication 404s that Visual Editor has been causing for many. At least in one particular case it turned out to be an Apache2 rewrite configuration issue. Will try it out in my private test wiki and if it works there then I'll enable it in an another wiki and if that works then probably roll out the Visual Editor to all wikis, as that will enable also mobile users to edit the wiki (an CAPTCHA issue of long standing, pointed out by a Consumerium.org development wiki user). See ciumd:Tickets and feature request#Tickets under observation for general outline of the situation.
Sunday 2021-10-17
Made and verified backups and took a snapshot of the system disk
- Making and verifying backups and taking a snapshot after migrating the https://d.consumium.org diaspora* pod from Münich to Helsinki.
Monday 2021-10-11
Made and verified backups and took a snapshot of the system disk
- Making and verifying backups after substantial additions to ciumd:User:Jukeboksi/Wiki.study/Natural therapeutics#Alzheimer's, which I have been preparing since Saturday. I hope to get it soon to good shape in order to send to (ex) President Martti Ahtisaari of Finland, who has unfortunately come down with Alzheimer's disease.
Tuesday 2021-10-05
Made and verified backups and took a snapshot of the system disk
- Making and verifying backups in preparation of migrating the https://d.consumium.org diaspora* pod on another server
Friday 2021-10-01
- Making backups and taking a snapshot after successful upgrade.
Upgraded the wiki to latest LTS point release
- Upgraded the mw:MediaWiki from version 1.35.3 to 1.35.4. mw:Release notes for 1.35.
September
Thursday 2021-09-30
Made and verified backups and took a snapshot of the system disk
- Making and verifying backups and taking a snapshot of the system disk in preparation for upgrade to 1.35.4, that is slated to be released today.
Tuesday 2021-09-21
Made and verified backups and took a snapshot of the system disk
- Making and verifying backups and taking an interim snapshot of the system disk
Monday 2021-09-13
Made and verified backups and took a snapshot
- Making and verifying backups.
Sunday 2021-09-05
Enabled 2FA
- Enabled w:Multi-factor authentication here by installing and configuring mw:Extension:OATHAuth.
- 2FA is activated in Special:Preferences and when activating it offers you
- the w:QR code for scanning with smartphone.
- the equivalent numeric code in case you aren't using a smartphone for 2FA authenticator
- list of disposable codes for emergency login without your 2FA app (these are shown only once)
- it asks you to enter the correct time-based code in order to finish activating
- Done [✔]
- 2FA is activated in Special:Preferences and when activating it offers you
See mw:Help:Two-factor authentication for further info.
Took a snapshot of the system disk
- Took an interim snapshot of the system disk.
Saturday 2021-09-04
Made and verified backups
- Made and verified backups. Lately I've been keeping busy with #SSFWIKI improvements. Past few days I added 45 churches that I contacted in late 2020 to ssfwiki:Bibles and churches#Contacted. I also mailed all the parliamentarians of the Finnish 2019-2023 parliamentary session and also other political parties in Finland and am going to add those somewhere.
August
Wednesday 2021-08-25
Made and verified backups and took a snapshot
Made and verified backups and took a snapshot.
I've been busy with improving the #SSFWIKI:
- Recent improvements were mostly made to ssfwiki:Mediatheque (I started on slimming up the Mediatheque by moving some key synthetic human-like fakes (e.g. made into the appearance and sound-like of Obama-like, Pres. Sauli Niinistö-like and Nixon-like to sub-pages and linking them to articles where needed
- I added the rest of the contact information for churches and associated organizations from my intrawiki into ssfwiki:Bibles and churches
Monday 2021-08-16
Made and verified backups
- Making and verifying backups. Recent improvements were mostly made to ssfwiki:Synthetic human-like fakes (added contact information for the organizations) and ssfwiki:Glossary (sourced translations and linked the wikidata items in ongoing effort to make it more like a "Glossary and a dictionary")
- Done, also took an interim snapshot of the system disk
Wednesday 2021-08-04
Made and verified backups and took a snapshot of the system disk
- Making and verifying backups and taking a snapshot of the system disk. Juho Kunsola (talk) 19:06, 4 August 2021 (CEST)
- Done
July
Saturday 2021-07-24
Making backups
- Making and verifying backups and taking a snapshot of the system disk. Juho Kunsola (talk) 17:42, 24 July 2021 (CEST)
Friday 2021-07-16
- Making and verifying backups and taking a snapshot of the system disk in preparation to upgrade to MediaWiki version 1.36.1 Juho Kunsola (talk) 22:37, 16 July 2021 (CEST)
Wednesday 2021-07-07
- Took a snapshot of the system disk in preparation for some maintenance work. Did the work, made and verified backups and another snapshot. Juho Kunsola (talk) 20:26, 7 July 2021 (CEST)
June
Tuesday 2021-06-29
- Making and verifying backups. Juho Kunsola (talk) 19:43, 29 June 2021 (CEST)
- Made and verified backups and took a snapshot of the system disk.
Thursday 2021-06-17
- Making and verifying backups. Juho Kunsola (talk) 14:00, 17 June 2021 (CEST)
- Made, verified and stashed backups
Monday 2021-06-14
- Took a snapshot of the system disk. Juho Kunsola (talk) 10:56, 14 June 2021 (CEST)
Sunday 2021-06-06
- Took a snapshot of the system disk. Juho Kunsola (talk) 11:48, 6 June 2021 (CEST)
- Made and verified backups. Juho Kunsola (talk) 23:03, 6 June 2021 (CEST)
May
Wednesday 2021-05-26
- Took a snapshot of the system disk. Juho Kunsola (talk) 09:21, 26 May 2021 (CEST)
Monday 2021-05-24
Making, verifying and stashing backups and taking a snapshot of the system disk. Juho Kunsola (talk) 19:25, 24 May 2021 (CEST)
Sunday 2021-05-02
- Making and verifying backups. Juho Kunsola (talk) 10:47, 2 May 2021 (CEST)
- Made, verified and distributed backups
April
Thursday 2021-04-22
- Making and verifying backups in preparation for upgrading Consumium free social diaspora* at https://d.consumium.org/ to diaspora* version 0.7.15.0. Juho Kunsola (talk) 16:55, 22 April 2021 (CEST)
- Made, verified and stashed backups
Sunday 2021-04-11
- Made and verified backups. Juho Kunsola (talk) 21:33, 11 April 2021 (CEST)
- Took a snapshot of the system disk. Juho Kunsola (talk) 19:19, 11 April 2021 (CEST)
- Upgraded the wiki to MediaWiki 1.35.2.
- Making and verifying backups in preparation for upgrade. Juho Kunsola (talk) 15:11, 11 April 2021 (CEST)
- Made and verified the backups and took a snapshot of the system disk
Wednesday 2021-04-07
- Making and verifying backups and taking a snapshot of the system disk after enabling mw:Extension:HeadScript and then the Tidio chat on SSF! wiki. Also installed and configured mw:Extension:TimedMediaHandler, which allows a wiki to display audio and video files in wiki pages, using the same syntax as for image files. This will be useful for the videos in the SSF! wiki mediatheque. Juho Kunsola (talk) 21:35, 7 April 2021 (CEST)
- Made and verified backups, took a snapshot of the system disk.
Saturday 2021-03-04
- Making and verifying backups and taking a snapshot of the system disk after progress in recording the current and possible laws against synthetic filth at Stop Synthetic Filth! wiki Juho Kunsola (talk) 14:41, 3 April 2021 (CEST)
- Made, verified and stashed backups and took a snapshot of the system disk.
March
Tuesday 2021-03-23
- Making, verifying and stashing backups and also taking a snapshot of the system disk. Juho Kunsola (talk) 11:17, 23 March 2021 (CET)
- Backupping and snapshotting complete. Juho Kunsola (talk) 12:08, 23 March 2021 (CET)
Wednesday 2021-03-17
- Enabled w:Memcached. See mw:Manual:memcached for info on how to. The wikis really sped up a lot and it ain't using even half of the RAM allocation I gave it.
Sunday 2021-03-07
- Making, verifying and stashing backups. Juho Kunsola (talk) 16:49, 7 March 2021 (CET)
- Done, also took a snapshot of the system disk.
February
Tuesday 2021-02-16
- Making, verifying and stashing backups and taking a snapshot of the system disk. Juho Kunsola (talk) 19:47, 16 February 2021 (CET)
- Made, verified and stashed backups and took a snapshot of the system disk. Juho Kunsola (talk) 20:13, 16 February 2021 (CET)
Sunday 2021-02-07
- I was made aware today by a user on the Consumerium development wiki that there is a problem with invoking the mw:CAPTCHA for the mobile users, rendering mobile users unable to edit any pages. This is a semi-known issue in mw:Extension:MobileFrontend. There is an another minor issue to patch also. I'm looking for a solution or workaround to the problem for our mobile users and making backups now. Juho Kunsola (talk) 16:10, 7 February 2021 (CET)
- Made, verified and stashed backups. Juho Kunsola (talk) 16:43, 7 February 2021 (CET)
January
Friday 2021-01-22
- Making and verifying backups after successfully added some novel contacting methods to the English language #SSF! wordpress. Also made a reasonable mobile menu by adapting this example and wrote a blog post about these improvements. Today I also optimized the #SSF! wiki biblical explainer for mobile users, who comprise majority of the traffic. Juho Kunsola (talk) 18:38, 22 January 2021 (CET)
- Made, verified and stashed backups.
Friday 2021-01-08
- Made, verified and stashed backups + took a snapshot of the system disk. Juho Kunsola (talk) 15:45, 8 January 2021 (CET)
- Upgraded the wiki to mw:MediaWiki_1.35.1. Making and verifying backups and taking a snapshot of the system disk. Juho Kunsola (talk) 14:57, 8 January 2021 (CET)
Wednesday 2021-01-06
- Snapshot done. Juho Kunsola (talk) 23:05, 6 January 2021 (CET)
- Made, verified and stashed backups. Taking a snapshot of the system disk. Juho Kunsola (talk) 22:52, 6 January 2021 (CET)
- Making and verifying backups in preparation for upgrade. Juho Kunsola (talk) 22:30, 6 January 2021 (CET)
2021-01-03
- Took a snapshot of the system disk. Juho Kunsola (talk) 17:43, 3 January 2021 (CET)
- Made, verified and stashed backups. Juho Kunsola (talk) 16:05, 3 January 2021 (CET)
- Making and verifying backups. Juho Kunsola (talk) 14:47, 3 January 2021 (CET)