Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_OrderedListPage.php |
— | — | @@ -52,12 +52,14 @@ |
53 | 53 | * Main method for addig all additional HTML to the output stream. |
54 | 54 | */ |
55 | 55 | protected function showList() { |
| 56 | + wfProfileIn( __METHOD__ . ' (SMW)'); |
56 | 57 | global $wgOut, $wgRequest; |
57 | 58 | $this->from = $wgRequest->getVal( 'from' ); |
58 | 59 | $this->until = $wgRequest->getVal( 'until' ); |
59 | 60 | if ($this->initParameters()) { |
60 | 61 | $wgOut->addHTML( $this->getHTML() ); |
61 | 62 | } |
| 63 | + wfProfileOut( __METHOD__ . ' (SMW)'); |
62 | 64 | } |
63 | 65 | |
64 | 66 | /** |
Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_TypePage.php |
— | — | @@ -62,6 +62,7 @@ |
63 | 63 | * shall be shown. |
64 | 64 | */ |
65 | 65 | protected function getPages() { |
| 66 | + wfProfileIn( __METHOD__ . ' (SMW)'); |
66 | 67 | $ti = htmlspecialchars( $this->mTitle->getText() ); |
67 | 68 | $nav = $this->getNavigationLinks(); |
68 | 69 | $r = '<a name="SMWResults"></a>' . $nav . "<div id=\"mw-pages\">\n"; |
— | — | @@ -71,6 +72,7 @@ |
72 | 73 | |
73 | 74 | $r .= $this->formatList(); |
74 | 75 | $r .= "\n</div>" . $nav; |
| 76 | + wfProfileOut( __METHOD__ . ' (SMW)'); |
75 | 77 | return $r; |
76 | 78 | } |
77 | 79 | |
Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php |
— | — | @@ -71,12 +71,14 @@ |
72 | 72 | * shall be shown. |
73 | 73 | */ |
74 | 74 | protected function getPages() { |
| 75 | + wfProfileIn( __METHOD__ . ' (SMW)'); |
75 | 76 | $ti = htmlspecialchars( $this->mTitle->getText() ); |
76 | 77 | $nav = $this->getNavigationLinks(); |
77 | 78 | $r = '<a name="SMWResults"></a>' . $nav . "<div id=\"mw-pages\">\n"; |
78 | 79 | $r .= '<h2>' . wfMsg('smw_attribute_header',$ti) . "</h2>\n"; |
79 | 80 | $r .= wfMsg('smw_attributearticlecount', min($this->limit, count($this->articles))) . "\n"; |
80 | 81 | $r .= $this->shortList( $this->articles, $this->articles_start_char ) . "\n</div>" . $nav; |
| 82 | + wfProfileOut( __METHOD__ . ' (SMW)'); |
81 | 83 | return $r; |
82 | 84 | } |
83 | 85 | |