@@ -36,6 +36,9 @@ |
||
| 36 | 36 | $this->mLingoBackend = new $wgexLingoBackend( $messages ); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @return string |
|
| 41 | + */ |
|
| 39 | 42 | private static function uniqPrefix( Parser &$parser) { |
| 40 | 43 | if ( defined("Parser::MARKER_PREFIX" )) { |
| 41 | 44 | return Parser::MARKER_PREFIX; |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * Adds an element to the Lingo Tree |
| 63 | 63 | * |
| 64 | - * @param array $path An array containing the constituing lexemes of the term |
|
| 64 | + * @param string[] $path An array containing the constituing lexemes of the term |
|
| 65 | 65 | * @param String $term |
| 66 | 66 | * @param String $definition |
| 67 | 67 | * @return Array the tree node the element was stored in |
@@ -97,6 +97,10 @@ discard block |
||
| 97 | 97 | return $this->mList; |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | + /** |
|
| 101 | + * @param integer $index |
|
| 102 | + * @param integer $countLexemes |
|
| 103 | + */ |
|
| 100 | 104 | function findNextTerm( &$lexemes, $index, $countLexemes ) { |
| 101 | 105 | wfProfileIn( __METHOD__ ); |
| 102 | 106 | |