Difference between revisions of "Wiki setup notes"
m |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Troubleshooting == | == Troubleshooting == | ||
− | ===2014-02-16=== | + | === 2015-03-29 === |
+ | |||
+ | Installed math extension [https://www.mediawiki.org/wiki/Extension:Math] <br> | ||
+ | Tried MathML -> seems there's no public server <br> | ||
+ | Tried MathJAX -> the math tags get only converted to $-signs nothing else :( <br> | ||
+ | adding default path of public server(s) -> no change; | ||
+ | adding newer default path that's available from the MathJAX site -> no change <br> | ||
+ | '''status: does not work yet''' | ||
+ | Seems to be a known problem since Mediawiki 1.23 [http://www.mediawiki.org/wiki/Extension_talk:Math#Math_rendering_with_MathJax_not_working_with_Mediawiki_1.23]. | ||
+ | Suggested solution: use SimpleMathJax extension instead [http://www.mediawiki.org/wiki/Extension:SimpleMathJax/en]. <br> | ||
+ | '''SimpleMathJax Works :)''' (but only with math delimiters not with $ and $$) | ||
+ | |||
+ | === 2015-03-16 === | ||
+ | |||
+ | On mobile devices the wikipedia logo is shown instead of the correct one: | ||
+ | Reason: [http://www.mediawiki.org/wiki/Thread:Project:Support_desk/$wgLogo_is_working_on_the_Desktop_PC,_but_not_on_mobile.] -> [https://www.mediawiki.org/wiki/Thread:Project:Support_desk/MediaWiki_showing_wrong_logo_-_Hacked%3F/reply] -> [http://proutypedia.com/wiki/MediaWiki:Common.css] | ||
+ | |||
+ | * p-logo at the bottom ... [http://apm.bplaced.net/w/index.php?title=MediaWiki:Common.css LOCAL title=MediaWiki:Common.css] -- '''simply commented it out -- works :)''' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | The normal logo does not show up even standard when $wgLogo is set to standard value for new wiki version | ||
+ | ([http://www.mediawiki.org/wiki/Manual:$wgLogo/en manual page for $wgLogo]) -- '''why?? -- status: yet unresolved''' | ||
+ | * LOCAL location of logos [http://apm.bplaced.net/w/resources/assets/ /w/resources/assets/] | ||
+ | |||
+ | === 2014-03-?? === | ||
+ | |||
+ | Problem resolved! It had nothing to do with image sizes. | ||
+ | PHP stuff changed its behavior due to an server side software update. | ||
+ | Since a newer mediawiki version dealt with that issue an mediawiki version update to 1.24.1 resolved the problem. | ||
+ | |||
+ | === 2014-02-16 === | ||
'''After uploading an 205,2kB SVG-image the uploaded file page [http://apm.bplaced.net/w/index.php?title=Special:ListFiles] isn't viewable anymore''' <br> | '''After uploading an 205,2kB SVG-image the uploaded file page [http://apm.bplaced.net/w/index.php?title=Special:ListFiles] isn't viewable anymore''' <br> | ||
Line 8: | Line 39: | ||
'''Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 25485840 bytes) in /users/apm/www/w/includes/media/Bitmap.php on line 552''' | '''Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 25485840 bytes) in /users/apm/www/w/includes/media/Bitmap.php on line 552''' | ||
− | * known problem: [http://forum.bplaced.net/viewtopic.php?f=6&t=10967 bplaced forum entry] | + | * known problem: [http://forum.bplaced.net/viewtopic.php?f=6&t=10967 bplaced forum entry]; [http://meta.wikimedia.org/wiki/Uploading_files#Fatal_error:_Allowed_memory_size_of_8388608_bytes_exhausted uploading files - stumbling blocks]; [http://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#Fatal_error:_Allowed_memory_size_of_nnnnnnn_bytes_exhausted_.28tried_to_allocate_nnnnnnnn_bytes.29 mediawiki related error info] |
* it seems in php.ini the webhoster can set a memory limit | * it seems in php.ini the webhoster can set a memory limit | ||
− | * this limit may or may not be over-ridable in the | + | * this limit may or may not be over-ridable in the LocalSettings.php ... (Mediawiki==v1.20>v1.51) => no "ini_set('memory_limit', '__M');" override. |
− | * Todo: find and try | + | * Todo: find and try. [https://www.google.com/search?client=ubuntu&channel=fs&q=PHP+Fatal+error%3A+Allowed+memory+size+of&ie=utf-8&oe=utf-8#channel=fs&q=mediawiki+PHP+Fatal+error%3A+Allowed+memory+size+of&safe=off google-search]; [http://stackoverflow.com/questions/5541540/mediawiki-exhausting-phps-memory-limit-while-uploading-file maybe similar problem] |
+ | |||
+ | === 2022-09-04 === | ||
+ | |||
+ | Added favicon by just putting an .ico into hosters root directory <br> | ||
+ | https://www.mediawiki.org/wiki/Manual:$wgFavicon | ||
+ | |||
+ | = Related = | ||
+ | |||
+ | * [[Wishlist]] |
Latest revision as of 12:44, 4 September 2022
Contents
Troubleshooting
2015-03-29
Installed math extension [1]
Tried MathML -> seems there's no public server
Tried MathJAX -> the math tags get only converted to $-signs nothing else :(
adding default path of public server(s) -> no change;
adding newer default path that's available from the MathJAX site -> no change
status: does not work yet
Seems to be a known problem since Mediawiki 1.23 [2].
Suggested solution: use SimpleMathJax extension instead [3].
SimpleMathJax Works :) (but only with math delimiters not with $ and $$)
2015-03-16
On mobile devices the wikipedia logo is shown instead of the correct one: Reason: [4] -> [5] -> [6]
- p-logo at the bottom ... LOCAL title=MediaWiki:Common.css -- simply commented it out -- works :)
The normal logo does not show up even standard when $wgLogo is set to standard value for new wiki version (manual page for $wgLogo) -- why?? -- status: yet unresolved
- LOCAL location of logos /w/resources/assets/
2014-03-??
Problem resolved! It had nothing to do with image sizes. PHP stuff changed its behavior due to an server side software update. Since a newer mediawiki version dealt with that issue an mediawiki version update to 1.24.1 resolved the problem.
2014-02-16
After uploading an 205,2kB SVG-image the uploaded file page [7] isn't viewable anymore
Following error meassage appears:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 25485840 bytes) in /users/apm/www/w/includes/media/Bitmap.php on line 552
- known problem: bplaced forum entry; uploading files - stumbling blocks; mediawiki related error info
- it seems in php.ini the webhoster can set a memory limit
- this limit may or may not be over-ridable in the LocalSettings.php ... (Mediawiki==v1.20>v1.51) => no "ini_set('memory_limit', '__M');" override.
- Todo: find and try. google-search; maybe similar problem
2022-09-04
Added favicon by just putting an .ico into hosters root directory
https://www.mediawiki.org/wiki/Manual:$wgFavicon