Difference between revisions of "Package talk:MediaWiki"

From Funtoo
Jump to navigation Jump to search
(Created page with "nginx information for emerging nginx & setting up php should be in the nginx wiki called by a page for lemp. we should have a lamp stack meta wiki directing to apache php etc...")
 
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
nginx information for emerging nginx & setting up php should be in the nginx wiki called by a page for lempwe should have a lamp stack meta wiki directing to apache php etc. emerging nginx with cgi / fpm does not check that php has support for cgi / fpm which is needed for nginx to serve php. nginx / apache caveats should be minimized code blocks. basically i need to insert apache modrewrite caveats and have a shit storm to deal with herethe package isnt pulled in by emerge either, so i have a lot of work ahead of me to clean this page up.  [[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]]) 21:20, 27 August 2014 (UTC)
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
 
<console>###i## php maintenance/generateSitemap.php --fspath ..</console>
 
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 ==
{{file|name=/var/www/localhost/mediawiki/includes/OutputPage.php|lang=php|desc=disable forced cache revalidation|body=
#$response->header( "Cache-Control: private, must-revalidate, max-age=0" );
}}
im a moron and realized i put cash instead of cache LOL [[User:Threesixes|Threesixes]] ([[User talk: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.

Latest revision as of 22:59, December 6, 2014

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.