Index: trunk/phase3/includes/parser/Preprocessor_Hash.php |
— | — | @@ -826,7 +826,15 @@ |
827 | 827 | */ |
828 | 828 | var $parser; |
829 | 829 | |
830 | | - var $preprocessor, $title; |
| 830 | + /** |
| 831 | + * @var Preprocessor |
| 832 | + */ |
| 833 | + var $preprocessor; |
| 834 | + |
| 835 | + /** |
| 836 | + * @var Title |
| 837 | + */ |
| 838 | + var $title; |
831 | 839 | var $titleCache; |
832 | 840 | |
833 | 841 | /** |
— | — | @@ -894,8 +902,7 @@ |
895 | 903 | return $root; |
896 | 904 | } |
897 | 905 | |
898 | | - if ( ++$this->parser->mPPNodeCount > $this->parser->mOptions->getMaxPPNodeCount() ) |
899 | | - { |
| 906 | + if ( ++$this->parser->mPPNodeCount > $this->parser->mOptions->getMaxPPNodeCount() ) { |
900 | 907 | return '<span class="error">Node-count limit exceeded</span>'; |
901 | 908 | } |
902 | 909 | if ( $expansionDepth > $this->parser->mOptions->getMaxPPExpandDepth() ) { |
— | — | @@ -1203,6 +1210,8 @@ |
1204 | 1211 | |
1205 | 1212 | /** |
1206 | 1213 | * Returns true if the infinite loop check is OK, false if a loop is detected |
| 1214 | + * |
| 1215 | + * @param $title Title |
1207 | 1216 | */ |
1208 | 1217 | function loopCheck( $title ) { |
1209 | 1218 | return !isset( $this->loopCheckHash[$title->getPrefixedDBkey()] ); |
Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -42,7 +42,14 @@ |
43 | 43 | const AS_IMAGE_REDIRECT_ANON = 233; |
44 | 44 | const AS_IMAGE_REDIRECT_LOGGED = 234; |
45 | 45 | |
| 46 | + /** |
| 47 | + * @var Article |
| 48 | + */ |
46 | 49 | var $mArticle; |
| 50 | + |
| 51 | + /** |
| 52 | + * @var Title |
| 53 | + */ |
47 | 54 | var $mTitle; |
48 | 55 | private $mContextTitle = null; |
49 | 56 | var $action; |