Add support for SemanticMediaWiki, MobileFrontend, MsUpload, PageForms, PageSchemas, WikiMarkdown, Tweeki #31

Merged
decentral1se merged 13 commits from flancian/wiki.social.coop:main into main 2023-05-30 23:00:42 +00:00
Member

This adds optional support for several plugins and a skin used by the Social.coop wiki setup @jonny (sneakers-the-rat) put together for the community.

This is my first PR for coop cloud :) All feedback of any type welcome!

This is running on https://wiki-alpha.social.coop as of the time of writing.

This adds optional support for several plugins and a skin used by the Social.coop wiki setup @jonny (sneakers-the-rat) put together for the community. This is my first PR for coop cloud :) All feedback of any type welcome! This is running on https://wiki-alpha.social.coop as of the time of writing.
flancian added 8 commits 2023-05-14 23:15:38 +00:00
flancian added 1 commit 2023-05-15 17:44:34 +00:00
continuous-integration/drone/pr Build is failing Details
cc3682ef89
Merge branch 'main' into main
flancian added 1 commit 2023-05-28 13:19:32 +00:00
continuous-integration/drone/pr Build is failing Details
112bd3300f
Disable parsoid, it's no longer needed.
This applies changes from #32 independently; I believe the result should be a clean merge.
flancian added 1 commit 2023-05-28 13:21:35 +00:00
decentral1se reviewed 2023-05-28 14:18:11 +00:00
decentral1se left a comment
Owner

Thank you @flancian! This looks legit. I have some minor comments, the latter of which might warrant a fixup but do let me know. Can merge this ASAP. So so cool to see these changes coming back from the social.coop fork.

Thank you @flancian! This looks legit. I have some minor comments, the latter of which might warrant a fixup but do let me know. Can merge this ASAP. So so cool to see these changes coming back from the social.coop fork.
@ -1,8 +1,8 @@
export LOCAL_SETTINGS_CONF_VERSION=v6
export LOCAL_SETTINGS_CONF_VERSION=v17
Owner

Usually we increment "+1" on these versions. Can imagine you did this because you have different versions on your fork? This might be confusing to folks if they see such a version increment but I think in practice nobody will notice and nobodys deploy will break. Just wanted to note this for due dilligence.

Usually we increment "+1" on these versions. Can imagine you did this because you have different versions on your fork? This might be confusing to folks if they see such a version increment but I think in practice nobody will notice and nobodys deploy will break. Just wanted to note this for due dilligence.
Author
Member

This is me getting rid of the following kind of error message, step by step while running abra app deploy -C -- for ~tens of steps :)

continueFATA[0002] failed to update config wiki-alpha_social_coop_entrypoint2_v16: Error response from daemon: rpc error: code = InvalidArgument desc = only updates to Labels are allowed

I'm guessing there's a way to 'squash' these changes into minimal increments on integrating to the main branch, but I don't know what it is?

This is me getting rid of the following kind of error message, step by step while running abra app deploy -C -- for ~tens of steps :) continueFATA[0002] failed to update config wiki-alpha_social_coop_entrypoint2_v16: Error response from daemon: rpc error: code = InvalidArgument desc = only updates to Labels are allowed I'm guessing there's a way to 'squash' these changes into minimal increments on integrating to the main branch, but I don't know what it is?
Owner

You would undeploy / deploy to "squash" the changes in the sense that the daemon wouldn't complain about "only updates blah blah" because it's a "fresh slate".

You would `undeploy` / `deploy` to "squash" the changes in the sense that the daemon wouldn't complain about "only updates blah blah" because it's a "fresh slate".
@ -77,3 +126,4 @@
set -eu
init_extensions
init_skins
Owner

Indentation looks a bit off but whatevs.

Indentation looks a bit off but whatevs.
Author
Member

Yes, thank you, fixed :)

Yes, thank you, fixed :)
decentral1se marked this conversation as resolved
@ -3,2 +3,4 @@
max_execution_time = 7200
max_file_uploads = 1000
{{ if eq (env "MEDIAWIKI_DEBUG") "0" }}
Owner

Did you mean "1"? I see the default is MEDIAWIKI_DEBUG=0 in the .env.sample and elsewhere in the LocalSettings.php.tmpl it is {{ if eq (env "MEDIAWIKI_DEBUG") "1" }}.

Did you mean `"1"`? I see the default is `MEDIAWIKI_DEBUG=0` in the `.env.sample` and elsewhere in the `LocalSettings.php.tmpl` it is `{{ if eq (env "MEDIAWIKI_DEBUG") "1" }}`.
Author
Member

Indeed I did, thank you :)

Indeed I did, thank you :)
Author
Member

Oh, actually I didn't ;) This was meant to disable deprecation warnings and such -- I added an else block to make this clearer, I think this looks better?

Oh, actually I didn't ;) This was meant to *disable* deprecation warnings and such -- I added an else block to make this clearer, I think this looks better?
decentral1se marked this conversation as resolved
Author
Member

Thank you @flancian! This looks legit. I have some minor comments, the latter of which might warrant a fixup but do let me know. Can merge this ASAP. So so cool to see these changes coming back from the social.coop fork.

Thank you so much for the review! Trying to address these now :)

> Thank you @flancian! This looks legit. I have some minor comments, the latter of which might warrant a fixup but do let me know. Can merge this ASAP. So so cool to see these changes coming back from the social.coop fork. Thank you so much for the review! Trying to address these now :)
flancian changed title from Add support for SemanticMediaWiki, MsUpload, PageForms, PageSchemas, WikiMarkdown, Tweeki to Add support for SemanticMediaWiki, MobileFrontend, MsUpload, PageForms, PageSchemas, WikiMarkdown, Tweeki 2023-05-30 21:09:36 +00:00
flancian added 1 commit 2023-05-30 21:47:29 +00:00
Author
Member

Thank you @flancian! This looks legit. I have some minor comments, the latter of which might warrant a fixup but do let me know. Can merge this ASAP. So so cool to see these changes coming back from the social.coop fork.

Thank you so much for the review! Trying to address these now :)

I think comments have been addressed :)

Note that I added MobileFrontend support (updated PR title).

> > Thank you @flancian! This looks legit. I have some minor comments, the latter of which might warrant a fixup but do let me know. Can merge this ASAP. So so cool to see these changes coming back from the social.coop fork. > > Thank you so much for the review! Trying to address these now :) I think comments have been addressed :) Note that I added MobileFrontend support (updated PR title).
flancian added 1 commit 2023-05-30 21:50:35 +00:00
continuous-integration/drone/pr Build is failing Details
0c50c3398f
Use tabs ;)
decentral1se approved these changes 2023-05-30 23:00:02 +00:00
decentral1se left a comment
Owner

LGTM, thanks!

LGTM, thanks!
decentral1se merged commit 57cf8db271 into main 2023-05-30 23:00:41 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/mediawiki#31
No description provided.