MediaWiki/Parser45

From Nick Jenkins
< MediaWiki
Revision as of 08:13, 16 June 2006 by Nickj (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This curl command:

curl --silent --include \
 -F 'limit'='-------------0'\
 -F 'go'='first'\
 -F 'dir'='prev'\
 -F 'diff'='+1'\
 -F 'oldid'='prev'\
 '192.168.0.64/wiki/index.php?title=Main_Page&action=history'

When run on a 1.6.7 wiki at 192.168.0.64 which has error_reporting set to E_ALL (but not E_STRICT) gives the following six PHP notices:

root@bling:~/tmp#  ./14.curl.sh | head -30
HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Fri, 09 Jun 2006 10:55:11 GMT
Server: Apache
Content-language: en
Vary: Accept-Encoding,User-Agent
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: private, must-revalidate, max-age=0
Last-modified: Fri, 09 Jun 2006 00:32:42 GMT
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8

<br />
<b>Notice</b>:  Undefined variable: gourl in <b>/var/www/hosts/mediawiki/phase3/includes/PageHistory.php</b> on line <b>113</b><br />
<br />
<b>Notice</b>:  Undefined variable: latestShown in <b>/var/www/hosts/mediawiki/phase3/includes/PageHistory.php</b> on line <b>534</b><br />
<br />
<b>Notice</b>:  Undefined variable: latestShown in <b>/var/www/hosts/mediawiki/phase3/includes/PageHistory.php</b> on line <b>535</b><br />
<br />
<b>Notice</b>:  Undefined variable: latestShown in <b>/var/www/hosts/mediawiki/phase3/includes/PageHistory.php</b> on line <b>537</b><br />
<br />
<b>Notice</b>:  Undefined variable: earliestShown in <b>/var/www/hosts/mediawiki/phase3/includes/PageHistory.php</b> on line <b>545</b><br />
<br />
<b>Notice</b>:  Undefined variable: earliestShown in <b>/var/www/hosts/mediawiki/phase3/includes/PageHistory.php</b> on line <b>546</b><br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="robots" content="noindex,nofollow" />
root@bling:~/tmp#