Index: trunk/extensions/InlineEditor/InlineEditor.class.php |
— | — | @@ -430,18 +430,4 @@ |
431 | 431 | |
432 | 432 | return Html::rawElement( 'div', array( 'class' => 'editbox' ), $form ); |
433 | 433 | } |
434 | | - |
435 | | - /** |
436 | | - * Make sure the entire page rerenders when rendering a reference. |
437 | | - * |
438 | | - * @todo: FIXME: This should be moved over to the Cite extension, and something like this should |
439 | | - * be included in other extensions as well. In the future, something smarter should be |
440 | | - * implemented, to be able to only rerender the dependencies and not the entire page. |
441 | | - * |
442 | | - * @param $markedWiki string |
443 | | - * @return bool |
444 | | - */ |
445 | | - public static function partialRenderCite( $markedWiki ) { |
446 | | - return ( preg_match( '/<ref[^\/]*?>.*?<\/ref>|<ref.*?\/>/is', $markedWiki) <= 0) ; |
447 | | - } |
448 | 434 | } |
Index: trunk/extensions/InlineEditor/InlineEditor.php |
— | — | @@ -46,7 +46,6 @@ |
47 | 47 | |
48 | 48 | $wgHooks['InlineEditorPartialBeforeParse'] = array(); |
49 | 49 | $wgHooks['InlineEditorPartialAfterParse'] = array(); |
50 | | -$wgHooks['InlineEditorPartialBeforeParse'][] = 'InlineEditor::partialRenderCite'; |
51 | 50 | |
52 | 51 | // i18n messages |
53 | 52 | $wgExtensionMessagesFiles['InlineEditor'] = $dir . 'InlineEditor.i18n.php'; |