Index: trunk/extensions/SemanticResultFormats/SemanticResultFormats.php |
— | — | @@ -30,6 +30,11 @@ |
31 | 31 | |
32 | 32 | $wgExtensionMessagesFiles['SemanticResultFormats'] = dirname( __FILE__ ) . '/SRF_Messages.php'; |
33 | 33 | |
| 34 | +// To ensure Maps remains compatible with pre 1.16. |
| 35 | +if ( !class_exists( 'Html' ) ) { |
| 36 | + $wgAutoloadClasses['Html'] = dirname( __FILE__ ) . '/compat/Html.php'; |
| 37 | +} |
| 38 | + |
34 | 39 | // FIXME: hardcoded path |
35 | 40 | $srfgScriptPath = $wgScriptPath . '/extensions/SemanticResultFormats'; |
36 | 41 | $srfgIP = dirname( __FILE__ ); |