(Bug 41436) Tone down sanity check, just warn, don't die.
[lhc/web/wiklou.git] / includes / Revision.php
index 431be69..afba498 100644 (file)
@@ -607,7 +607,7 @@ class Revision implements IDBAccessObject {
                                        $this->mPage = $this->mTitle->getArticleID();
                                } elseif ( $this->mTitle->getArticleID() !== $this->mPage ) {
                                        // got different page IDs, something is wrong.
-                                       throw new MWException( "Page ID " . $this->mPage . " mismatches the ID "
+                                       wfWarn( "Page ID " . $this->mPage . " mismatches the ID "
                                                        . $this->mTitle->getArticleID() . " provided by the Title object." );
                                }
                        }