From IT Skills
Jump to: navigation, search
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[]] hosting used.
= Mediawiki =
*1.26 update
** crons to maintenance/update.php and (composer.phar update - has bug with searching for composer.json in /home/777/)
*** maybe [!8 Установка Composer] will help
*** put required extensions for composer in the  /home/777/composer.local.json file
*** run cron /usr/local/php56/bin/php -d -f /home/777/www/aaw/composer.phar
*** copy extensions and vendor from /home/777
** updated some extensions
== Extensions ==
*composer require mediawiki/header-footer ~2.1
**[[MediaWiki:Hf-nsheader-]] and many others, linksto redirected pages are not supported
=== Google+ ===
!!does not work in local network, Google allows only public domain names
**[[Languages|language of site changed on EN]] because [ Authorized redirect URIs] does not understand Ukrainian 'і'
**Google+ API allowed
** is better than
=== Semantic MediaWiki (SMW) ===
* PHP composer.phar require mediawiki/semantic-media-wiki "~2.1"
mediawiki/semantic-media-wiki suggests installing mediawiki/semantic-result-formats (Additional result formats for SMW queries)
mediawiki/semantic-media-wiki suggests installing mediawiki/semantic-forms (Easy creation of forms to add semantic data)
=== Social ===
SocialProfile and Comments
==== voting ==== - simple but impossible to see other people results(maybe to look in db) - cannot modify(add variants) poll after creation
Extension:VoteNY - doesn't work in MediaWiki:Hf-nsfooter-
=== graphs ===
* allow_url_fopen was set to on and is better than
** UML -
* GraphViz allowes links on pictures by composer, allowed writing permission to images folder
** Данное ПО не возможно установить на виртуальном хостинге. (
* tried without success
=== multi-languages ===
==== planned ====
=== other planned ===
== Optimizations ==
**$wgResourceLoaderUseESI = true; прискорила майже у кілька разів! однак при цьому в CategoryTree відключилося відкривання піддерев..
*** in root .htaccess
<source lang=xml>
<IfModule mod_headers.c>
<FilesMatch "\.(js|css|gz)$">
Header set Cache-Control "max-age=60000"
Header append Vary: Accept-Encoding
<IfModule mod_headers.c>
<FilesMatch "\.(php)$">
Header set Cache-Control "max-age=300"
Header append Vary: Accept-Encoding
*** in skins .htaccess
<source lang=xml>
ExpiresActive On
ExpiresDefault "access plus 1 month"
=== [[]] ===
*має "Настройки параметров сайта"/"Кеширование"
*має "Настройки оптимизации сайта"
**extend_cache_images was set off to allowing proxy with only one IP opened
==== mail ====
*для работы с библиотекой PEAR вы можете закачать необходимые библиотеки прямо к себе на сайт (допустим, в папку pear в корне сайта) и в начале скриптов (обычно достаточно в index.php) добавить строку: set_include_path(get_include_path().PATH_SEPARATOR.'/home/логин-аккаунта/ваш-сайт.com/www/pear/'); Это даст вам возможность использовать любые модули PEAR.
== bugs ==
page with ' in name cannot be opened in mediawiki - the problem was only if wiki hosted on was proxied by apache

Latest revision as of 17:03, 31 May 2016