Index: trunk/extensions/WikiObjectModel/INSTALL |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | == Requirements ==
|
3 | 3 |
|
4 | 4 | * MediaWiki 1.13.5
|
5 | | -* Semantic MediaWiki 1.4.3
|
| 5 | +* Semantic MediaWiki 1.4.3 (optional)
|
6 | 6 | * PHP 5.x or greater installed and working
|
7 | 7 | * MySQL >= 4.0.14 (version required by MediaWiki)
|
8 | 8 |
|
Index: trunk/extensions/WikiObjectModel/includes/parsers/WOMLinkParser.php |
— | — | @@ -20,7 +20,7 @@ |
21 | 21 | if ( $r && !preg_match( '/^(?:' . wfUrlProtocols() . ')/', $m[1] ) ) {
|
22 | 22 | return array( 'len' => strlen( $m[0] ), 'obj' => new WOMLinkModel( $m[1], isset( $m[3] ) ? $m[3] : '' ) );
|
23 | 23 | }
|
24 | | - $r = preg_match( '/^\[([^ \[\]]+)(\s+([^\]]+))?\]/', $text, $m );
|
| 24 | + $r = preg_match( '/^\[((?:' . wfUrlProtocols() . ')[^ \[\]]+)(\s+([^\]]+))?\]/', $text, $m );
|
25 | 25 | if ( $r ) {
|
26 | 26 | return array( 'len' => strlen( $m[0] ), 'obj' => new WOMLinkModel( $m[1], isset( $m[3] ) ? $m[3] : '' ) );
|
27 | 27 | }
|
Index: trunk/extensions/WikiObjectModel/COPYING |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | "COPYING", or a subdirectory thereof. For those files, the license text contained in
|
5 | 5 | said file overrides any license information contained in directories of smaller depth.
|
6 | 6 | Alternative licenses are typically used for software that is provided by external
|
7 | | -parties, and merely packaged with the Semantic Object Model release for convenience.
|
| 7 | +parties, and merely packaged with the Wiki Object Model release for convenience.
|
8 | 8 | ----
|
9 | 9 |
|
10 | 10 | GNU GENERAL PUBLIC LICENSE
|