diff -r bf802e97111d files/mediawiki/includes/parser/Preprocessor.php --- a/files/mediawiki/includes/parser/Preprocessor.php Sat Oct 01 00:03:34 2011 +0300 +++ b/files/mediawiki/includes/parser/Preprocessor.php Sat Oct 08 00:57:18 2011 +0300 @@ -102,6 +102,11 @@ * Return true if the frame is a template frame */ function isTemplate(); + + /** + * Get a title of frame + */ + function getTitle(); } /** diff -r bf802e97111d files/mediawiki/includes/parser/Preprocessor_DOM.php --- a/files/mediawiki/includes/parser/Preprocessor_DOM.php Sat Oct 01 00:03:34 2011 +0300 +++ b/files/mediawiki/includes/parser/Preprocessor_DOM.php Sat Oct 08 00:57:18 2011 +0300 @@ -1261,6 +1261,13 @@ function isTemplate() { return false; } + + /** + * Get a title of frame + */ + function getTitle() { + return $this->title; + } } /** diff -r bf802e97111d files/mediawiki/includes/parser/Preprocessor_Hash.php --- a/files/mediawiki/includes/parser/Preprocessor_Hash.php Sat Oct 01 00:03:34 2011 +0300 +++ b/files/mediawiki/includes/parser/Preprocessor_Hash.php Sat Oct 08 00:57:18 2011 +0300 @@ -1206,6 +1206,13 @@ function isTemplate() { return false; } + + /** + * Get a title of frame + */ + function getTitle() { + return $this->title; + } } /**