https://bugzilla.wikimedia.org/show_bug.cgi?id=20407
Summary: page move over redirect may fail with "PHP Fatal error:
Call to a member function timestamp() on a non-object in
includes/Title.php on line 2860"
Product: MediaWiki
Version: 1.16-svn
Platform: PC
URL: http://desciclopedia.org/wiki/Forum:Problema_pra_mover_p
%C3%A1ginas
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: Normal
Component: Redirects
AssignedTo: [email protected]
ReportedBy: [email protected]
On page move over redirect, I'm seeing errors where the move may fail with "PHP
Fatal error: Call to a member function timestamp() on a non-object in
...includes/Title.php on line 2860"
Title.php: function moveOverExistingRedirect( &$nt, $reason = '',
$createRedirect = true ) invokes
$rcts = $dbw->timestamp( $nt->getEarliestRevTime() );
without first checking that $dbw is a valid object.
I've tried substituting:
$rcts = '';
if ($dbw != null)
$rcts = $dbw->timestamp( $nt->getEarliestRevTime() );
for this code, which allows the move operation to proceed. I'm running the MW
1.16alpha obtained from SVN on August 15th, 2009.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l