* Follow-up r84610: don't assume a Parser object is attached
[lhc/web/wiklou.git] / includes / DjVuImage.php
index a55017e..59f49af 100644 (file)
@@ -226,6 +226,8 @@ class DjVuImage {
         */
        function retrieveMetaData() {
                global $wgDjvuToXML, $wgDjvuDump, $wgDjvuTxt;
+               wfProfileIn( __METHOD__ );
+               
                if ( isset( $wgDjvuDump ) ) {
                        # djvudump is faster as of version 3.5
                        # http://sourceforge.net/tracker/index.php?func=detail&aid=1704049&group_id=32953&atid=406583
@@ -272,6 +274,7 @@ EOR;
                                $xml = $xml . $txt. '</mw-djvu>' ;
                        }
                }
+               wfProfileOut( __METHOD__ );
                return $xml;
        }