Merge "Skin: Make skins aware of their registered skin name"
[lhc/web/wiklou.git] / includes / page / WikiPage.php
index c04eb0a..d0a04c0 100644 (file)
@@ -1984,6 +1984,7 @@ class WikiPage implements Page, IDBAccessObject {
                        // This code path is deprecated, and nothing is known to
                        // use it, so performance here shouldn't be a worry.
                        if ( $revid !== null ) {
+                               wfDeprecated( __METHOD__ . ' with $revision = revision ID', '1.25' );
                                $revision = Revision::newFromId( $revid, Revision::READ_LATEST );
                        } else {
                                $revision = null;