From 196a9856e4d50669a73b83827001447c4258976a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 11 Aug 2008 13:23:45 +0000 Subject: [PATCH] Add getRevisionId() --- includes/OutputPage.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 9fcac1b3c1..a40e50e0a9 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -421,6 +421,10 @@ class OutputPage { $val = is_null( $revid ) ? null : intval( $revid ); return wfSetVar( $this->mRevisionId, $val ); } + + public function getRevisionId() { + return $this->mRevisionId; + } /** * Convert wikitext to HTML and add it to the buffer -- 2.20.1