From IT Skills
Revision as of 18:35, 25 May 2016 by Waiter1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ukraine.com.ua hosting used.

Mediawiki[edit]

  • 1.26 update
    • crons to maintenance/update.php and (composer.phar update - has bug with searching for composer.json in /home/777/)
      • maybe Установка Composer will help
      • put required extensions for composer in the /home/777/composer.local.json file
      • run cron /usr/local/php56/bin/php -d extension=phar.so -f /home/777/www/aaw/composer.phar
      • copy extensions and vendor from /home/777
    • updated some extensions
  • 1.24.2

Extensions[edit]

Google+[edit]

!!does not work in local network, Google allows only public domain names

Semantic MediaWiki (SMW)[edit]

  • 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[edit]

SocialProfile and Comments

voting[edit]

https://www.mediawiki.org/wiki/Extension:AJAXPoll - simple but impossible to see other people results(maybe to look in db)

https://www.mediawiki.org/wiki/Extension:PollNY - cannot modify(add variants) poll after creation

Extension:VoteNY - doesn't work in MediaWiki:Hf-nsfooter-

graphs[edit]

multi-languages[edit]

planned[edit]

https://www.mediawiki.org/wiki/Help:Extension:Translate/Installation

http://www.mediawiki.org/wiki/MediaWiki_Language_Extension_Bundle

http://www.mediawiki.org/wiki/Extension:Lingo

tried https://www.mediawiki.org/wiki/Extension:LanguageTag

other planned[edit]

http://www.mediawiki.org/wiki/Extension:Add_Article_to_Category

http://www.mediawiki.org/wiki/Extension:Popups

Optimizations[edit]

<IfModule mod_headers.c>
<FilesMatch "\.(js|css|gz)$">
 Header set Cache-Control "max-age=60000"
 Header append Vary: Accept-Encoding
</FilesMatch>
</IfModule>
<IfModule mod_headers.c>
<FilesMatch "\.(php)$">
 Header set Cache-Control "max-age=300"
 Header append Vary: Accept-Encoding
</FilesMatch>
</IfModule>
      • in skins .htaccess
ExpiresActive On
ExpiresDefault "access plus 1 month"

Ukraine.com.ua[edit]

  • має "Настройки параметров сайта"/"Кеширование"
  • має "Настройки оптимизации сайта"
    • extend_cache_images was set off to allowing proxy with only one IP opened

mail[edit]

  • для работы с библиотекой PEAR вы можете закачать необходимые библиотеки прямо к себе на сайт (допустим, в папку pear в корне сайта) и в начале скриптов (обычно достаточно в index.php) добавить строку: set_include_path(get_include_path().PATH_SEPARATOR.'/home/логин-аккаунта/ваш-сайт.com/www/pear/'); Это даст вам возможность использовать любые модули PEAR.

bugs[edit]

page with ' in name cannot be opened in mediawiki - the problem was only if wiki hosted on ukraine.com.ua was proxied by apache