Wiki tasks: Difference between revisions
update task status' |
file upload max size task done 🎉 thank Antonin |
||
Line 21: | Line 21: | ||
** 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 | ||
*** even this seems a bit janky, '''postpone til syntax highlighting demanded.''' | *** even this seems a bit janky, '''postpone til syntax highlighting demanded.''' | ||
* issue: file upload limited to 2MB | * <s>issue: file upload limited to 2MB</s> | ||
** the PDF manuals for the DHW tank are too big to upload | ** <s>the PDF manuals for the DHW tank are too big to upload</s> | ||
** the mediawiki default is 100MB | ** <s>the mediawiki default is 100MB</s> | ||
** modifications to the PHP configuration directives | ** <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> | ||
** <s>mount additional PHP config to docker container: https://github.com/stephenliang/mediawiki-dockerfile/issues/3</s> | |||
*** '''done''' | |||
* issue: discussion/talk page discussion is tricky to do right | * issue: discussion/talk page discussion is tricky to do right | ||
** There is an extension for that! https://www.mediawiki.org/wiki/Extension:DiscussionTools | ** There is an extension for that! https://www.mediawiki.org/wiki/Extension:DiscussionTools |
Revision as of 18:03, 5 December 2024
User
migrate remaining pages from testing wiki https://pommel.uber.space/wiki/Special:AllPagesdoneconvert emoji shortcodes to actual emojisdone 🎉categorize roomsdonecreate templatesdone (well, started 😉)
System
issue:.excalidraw
files can't be uploaded"File extension ".excalidraw" does not match the detected MIME type of the file (application/json)."disabling MIME type detection altogether is badcustomizations to MIME type detection can be made through extensions https://www.mediawiki.org/wiki/Manual:MIME_type_detection- done
- issue: no code syntax highlighting
- 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
- 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
- even this seems a bit janky, postpone til syntax highlighting demanded.
issue: file upload limited to 2MBthe PDF manuals for the DHW tank are too big to uploadthe mediawiki default is 100MBmodifications to the PHP configuration directives upload_max_filesize and post_max_size in php.ini required. https://www.mediawiki.org/wiki/Manual:$wgMaxUploadSizemount additional PHP config to docker container: https://github.com/stephenliang/mediawiki-dockerfile/issues/3- done
- issue: discussion/talk page discussion is tricky to do right
- There is an extension for that! https://www.mediawiki.org/wiki/Extension:DiscussionTools
- 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
- 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?)
- Looks like there is a workaround with
- 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
- There is an extension for that! https://www.mediawiki.org/wiki/Extension:DiscussionTools
- 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:ConfirmEdit#Configuration that would reduce the barrier for account creation. Discuss.
Upstream
- issue: 404 on Discussion creation when DiscussionTools installed
- 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
- issue: Media search is a bit tricky, require care when naming
- issue: Instant commons not enabled since it overwhelms local media
- issue: excalidraw generated SVG upload fails
- "Found unsafe CSS in the style element of uploaded SVG file."
- issue: Mobile (MinervaNeue) does not allow editing on main page
- by design https://www.mediawiki.org/wiki/Topic:Ui9jkjungdin7alo (more of a gotcha)
- issue: Mobile (MinervaNeue) does not allow page creation
- option is there, just hidden https://www.mediawiki.org/wiki/Topic:Vi9o8iqrz2t4o2ge
- issue: Category pages need to be manually initialized
- There is an extension to create them automatically when first referenced https://www.mediawiki.org/wiki/Extension:Auto_Create_Category_Pages