Index: trunk/lucene-search-2/src/org/wikimedia/lsearch/util/PHPParser.java |
— | — | @@ -14,12 +14,16 @@ |
15 | 15 | |
16 | 16 | import org.wikimedia.lsearch.search.NamespaceFilter; |
17 | 17 | |
| 18 | + |
18 | 19 | /** |
19 | 20 | * Extract some variable from MediaWiki MessageXX.php files. In particular, |
20 | 21 | * the localized namespace names (needed for proper parsing of wiki code). |
21 | 22 | * |
22 | 23 | * One day, make this implementation suck less, and actually parse some PHP, |
23 | 24 | * instead of just catch stuff with regexps... |
| 25 | + * |
| 26 | + * TODO: use the PHP ANTLR grammar to improve |
| 27 | + * it is at code.google.com/p/phpparser |
24 | 28 | * |
25 | 29 | * @author rainman |
26 | 30 | * |