Wiki tasks: Difference between revisions

From Kanthaus wiki
link to discussiontools issue
update QuestyCaptcha link
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
== User ==
== User ==


* <s>migrate remaining pages from testing wiki https://pommel.uber.space/wiki/Special:AllPages</s>
* <s>migrate remaining pages from testing wiki https://pommel.uber.space/wiki/Special:AllPages</s> '''done'''
* <s>convert emoji shortcodes to actual emojis</s> 🎉
* <s>convert emoji shortcodes to actual emojis</s> '''done''' 🎉
* <s>categorize rooms</s>
* <s>categorize rooms</s> '''done'''
* <s>create templates</s>
* <s>create templates</s> '''done''' (well, started 😉)
** [[Template:Roombox|roombox]]
** [[Template:Roombox|roombox]]
** [[Template:Warning|warning]]
** [[Template:Warning|warning]]
Line 11: Line 11:
== System ==
== System ==


* issue: <code>.excalidraw</code> files can't be uploaded
* issue: no notifications
** ''"File extension ".excalidraw" does not match the detected MIME type of the file (application/json)."''
** there's an extension for that 🥹 https://www.mediawiki.org/wiki/Extension:Echo
** disabling MIME type detection altogether is bad
* <s>issue: <code>.excalidraw</code> files can't be uploaded</s>
** customizations to MIME type detection can be made through extensions https://www.mediawiki.org/wiki/Manual:MIME_type_detection
** ''<s>"File extension ".excalidraw" does not match the detected MIME type of the file (application/json)."</s>''
** <s>disabling MIME type detection altogether is bad</s>
** <s>customizations to MIME type detection can be made through extensions https://www.mediawiki.org/wiki/Manual:MIME_type_detection</s>
*** '''done'''
* issue: no code syntax highlighting
* issue: no code syntax highlighting
** there is already ''computer code'' formatting and ''preformatted'' for basic formatting
** there is already ''computer code'' formatting and ''preformatted'' for basic formatting
** the most downloaded extension https://www.mediawiki.org/wiki/Extension:SyntaxHighlight but a test installation on the test wiki broke it
** the most downloaded extension https://www.mediawiki.org/wiki/Extension:SyntaxHighlight but a test installation on the test wiki broke it
** a "drop in replacement" extension for the previous one with more up to date tech https://www.mediawiki.org/wiki/Extension:Highlightjs_Integration with an example on the test wiki https://pommel.uber.space/wiki/Syntax_highlighting_test
** a "drop in replacement" extension for the previous one with more up to date tech https://www.mediawiki.org/wiki/Extension:Highlightjs_Integration with an example on the test wiki https://pommel.uber.space/wiki/Syntax_highlighting_test
* issue: file upload limited to 2MB
*** even this seems a bit janky, '''postpone til syntax highlighting demanded.'''
** the PDF manuals for the DHW tank are too big to upload
* <s>issue: file upload limited to 2MB</s>
** the mediawiki default is 100MB
** <s>the PDF manuals for the DHW tank are too big to upload</s>
** modifications to the PHP configuration directives <code>upload_max_filesize</code> and <code>post_max_size</code> in <code>php.ini</code> required. https://www.mediawiki.org/wiki/Manual:$wgMaxUploadSize
** <s>the mediawiki default is 100MB</s>
* issue: discussion/talk page discussion is tricky to do right
** <s>modifications to the PHP configuration directives upload_max_filesize and post_max_size in php.ini required. https://www.mediawiki.org/wiki/Manual:$wgMaxUploadSize</s>
** There is an extension for that! https://www.mediawiki.org/wiki/Extension:DiscussionTools
** <s>mount additional PHP config to docker container: https://github.com/stephenliang/mediawiki-dockerfile/issues/3</s>
*** There's an issue with it: creating a new discussion page leads to a 404. Could be solved if there was a way to autocreate discussion pages, like the AutoCreateCategoryPages extension above. https://www.mediawiki.org/w/index.php?title=Topic:Yf61jpped9qatknc&topic_showPostId=yf61jppeddod1olk#flow-post-yf61jppeddod1olk
*** '''done'''
* <s>issue: discussion/talk page discussion is tricky to do right</s>
** <s>There is an extension for that! https://www.mediawiki.org/wiki/Extension:DiscussionTools</s>
*** <s>There's an issue with it: creating a new discussion page leads to a 404. Could be solved if there was a way to autocreate discussion pages, like the AutoCreateCategoryPages extension above. https://www.mediawiki.org/w/index.php?title=Topic:Yf61jpped9qatknc&topic_showPostId=yf61jppeddod1olk#flow-post-yf61jppeddod1olk</s>
**** <s>Looks like there is a workaround with $wgSend404Code = false https://phabricator.wikimedia.org/T380885 (clarify backups before installing DiscussionTools, and perhaps it 'just works' with this server config?)</s>
**** '''done'''
***** Seems indeed to be a server config issue, clarify with Uberspace.
* issue: SEO spammers
** We blocked them, and restricted account creation to Nextcloud SSO. It would be possible to implement a password for account creation with https://www.mediawiki.org/wiki/Extension:QuestyCaptcha that would reduce the barrier for account creation. '''Discuss'''.


== Upstream ==
== Upstream ==
*issue: 404 on Discussion creation when DiscussionTools installed
**https://phabricator.wikimedia.org/T380885
*issue: difficult to categorize multiple pages at once
*issue: difficult to categorize multiple pages at once
**cat-a-lot exists and is enabled here as a gadget, but does not work on [[Special:AllPages]] which is where it would be most needed. Also the UI is pretty snarled up
**cat-a-lot exists and is enabled here as a gadget, but does not work on [[Special:AllPages]] which is where it would be most needed. Also the UI is pretty snarled up

Latest revision as of 14:40, 2 January 2025

User

System

Upstream