Maintenance reference: Difference between revisions

From Bitpost wiki
(Created page with "{| class="mw-collapsible mw-collapsed wikitable" ! Updating mediawiki |- | To update mediawiki, |- | cd to /var/www/localhost/htdocs/mediawiki |- | and run php maintenance/upd...")
 
No edit summary
Line 2: Line 2:
! Updating mediawiki
! Updating mediawiki
|-
|-
| To update mediawiki,
| <pre>cd /var/www/localhost/htdocs/mediawiki
|-
| cd to /var/www/localhost/htdocs/mediawiki
|-
| and run php maintenance/update.php
|-
| you need to muck with LocalSettings_redirector.php
|-
| to ensure that all mediawiki sites get updated.
|}
 
{| class="mw-collapsible mw-collapsed wikitable"
! Updating mediawiki
|-
| <pre><code>cd /var/www/localhost/htdocs/mediawiki
emacs LocalSettings_redirector.php (to hardcode each site)
emacs LocalSettings_redirector.php (to hardcode each site)
php maintenance/update.php</code></pre>
php maintenance/update.php
(repeat for each site)
emacs LocalSettings_redirector.php (to reset dynamic behavior)
</pre>
|}
|}

Revision as of 14:11, 30 September 2012

Updating mediawiki
cd /var/www/localhost/htdocs/mediawiki
emacs LocalSettings_redirector.php (to hardcode each site)
php maintenance/update.php
(repeat for each site)
emacs LocalSettings_redirector.php (to reset dynamic behavior)