r25442 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25441‎ | r25442 | r25443 >
Date:16:11, 3 September 2007
Author:ilabarg1
Status:old
Tags:
Comment:
[ApiEditPage.php]-Edittime request parameter adapted to numeric format (clear all -,: and a-z characters).
Modified paths:
  • /branches/ApiEdit_Vodafone/includes/api/ApiEditPage.php (modified) (history)

Diff [purge]

Index: branches/ApiEdit_Vodafone/includes/api/ApiEditPage.php
@@ -85,7 +85,8 @@
8686 }
8787
8888 extract($this->extractRequestParams());
89 -
 89+ // Ensure the correct timestamp format
 90+ $edittime =eregi_replace("[-,a-z,:]","",$edittime);
9091 $object_title = Title::newFromDBkey($title);
9192 $myArticle = new Article($object_title);
9293

Status & tagging log