r77095 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77094‎ | r77095 | r77096 >
Date:03:23, 22 November 2010
Author:tstarling
Status:ok
Tags:
Comment:
* Fix typo in r77094
* Update sync script
Modified paths:
  • /trunk/tools/upload-scripts/404.php (modified) (history)
  • /trunk/tools/upload-scripts/sync (modified) (history)

Diff [purge]

Index: trunk/tools/upload-scripts/sync
@@ -1,6 +1,6 @@
22 #!/bin/bash
33
4 -for srv in ms1; do
 4+for srv in ms7; do
55 echo $srv
66 rsync --rsh=ssh -cr /home/wikipedia/upload-scripts/ root@$srv:/export/upload/sync-from-home
77 done
Index: trunk/tools/upload-scripts/404.php
@@ -13,7 +13,7 @@
1414 $encUrl = htmlspecialchars( $prot . $serv . $loc );
1515
1616 header( 'HTTP/1.1 404 Not Found' );
17 -header( 'Content-Type: text/html;charset=utf8' );
 17+header( 'Content-Type: text/html;charset=utf-8' );
1818
1919 $standard_404=<<<ENDTEXT
2020 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r77094Send Content-Type headertstarling03:19, 22 November 2010

Status & tagging log