注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Package talk:MediaWiki

From Funtoo
Jump to navigation Jump to search

much of the cleanup had occurred.

connection problems tonight

generate sitemaps.... if localhost/mediawiki or localhost/wiki sitemaps are placed @ localhost/sitemap-index-my_wiki.xml

root # php maintenance/generateSitemap.php --fspath ..

obviously this needs more work....

robots.txt will go to seo but its worth documenting to this talk page commit....

syntax http://www.robotstxt.org/robotstxt.html

database of spiders to use with robots. http://www.robotstxt.org/db.html


moar

super simple bootstrapping skin: http://www.mediawikibootstrapskin.co.uk/index.php?title=Get_BootStrapSkin

just requires navigation sub items are removed... mobile phones cant edit pages, but you probably dont want them trying to anyways.

forced cash revalidation

   /var/www/localhost/mediawiki/includes/OutputPage.php (php source code) - disable forced cache revalidation
#$response->header( "Cache-Control: private, must-revalidate, max-age=0" );

im a moron and realized i put cash instead of cache LOL Threesixes (talk)

i don't get obscene cache speeds with out disabling this by commenting it out.

before: (funtoos site as of 22:54, December 6, 2014 (UTC))

  • Requests per second: 11.57 [#/sec] (mean)
  • Transfer rate: 339.56 [Kbytes/sec] received

vs

my local wiki's speeds

  • Requests per second: 4647.70 [#/sec] (mean)
  • Transfer rate: 100836.66 [Kbytes/sec] received

where its just bandwidth as the bottleneck.