Last modified: 2014-11-17 09:21:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73916, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71916 - Add a hook for custom diff engines (for Extension:WikEdDiff)
Add a hook for custom diff engines (for Extension:WikEdDiff)
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Cacycle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-10 15:20 UTC by Cacycle
Modified: 2014-11-17 09:21 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Cacycle 2014-10-10 15:20:39 UTC
I have written a new extension for custom inline-diff with block move support(WikEdDiff, https://www.mediawiki.org/wiki/Extension:WikEdDiff). This extension needs a new hook.

E.g. "CustomDifferenceEngine" in /includes/diff/DifferenceEngine.php in function generateTextDiffBody after "$ntext = str_replace( "\r\n", "\n", $ntext );":

	# Custom difference engine hook
	wfRunHooks( 'CustomDifferenceEngine', array( &$otext, &$ntext, &$diffText ) );
	if ( $diffText !== false ) {
		wfProfileOut( __METHOD__ );
		return $diffText;
	}

I am new to git/Gerrit and wanted to discuss this here first.
Comment 1 Andre Klapper 2014-10-10 16:06:31 UTC
Thanks for taking the time to report this!

In case you don't get feedback here I'd recommend to just put an initial patch into Gerrit, to iterate on. See http://www.mediawiki.org/wiki/Gerrit/Tutorial and https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker
Comment 2 Cacycle 2014-10-10 21:54:56 UTC
OK, I have committed this, please see https://gerrit.wikimedia.org/r/#/c/166143/
Comment 3 Andre Klapper 2014-10-11 19:02:59 UTC
Thank you!
Comment 4 Gerrit Notification Bot 2014-10-11 19:10:27 UTC
Change 166143 had a related patch set uploaded by Martineznovo:
Add a hook for custom diff engines (WikEdDiff)

https://gerrit.wikimedia.org/r/166143
Comment 5 Jesús Martínez Novo (Ciencia Al Poder) 2014-10-11 19:13:12 UTC
I've just updated the commit message so it's properly linked to the bug
Comment 6 Gerrit Notification Bot 2014-10-29 11:21:38 UTC
Change 169677 had a related patch set uploaded by Cacycle:
Add a hook for custom diff engines (WikEdDiff)

https://gerrit.wikimedia.org/r/169677
Comment 7 Gerrit Notification Bot 2014-10-29 12:35:51 UTC
Change 166143 had a related patch set uploaded by PleaseStand:
Add a hook for custom diff engines (WikEdDiff)

https://gerrit.wikimedia.org/r/166143
Comment 8 Gerrit Notification Bot 2014-10-29 12:37:36 UTC
Change 169677 abandoned by PleaseStand:
Add a hook for custom diff engines (WikEdDiff)

Reason:
Squashed into Change-Id: I9da63c1ceb339bfeba7beddc712be51977b95f65

https://gerrit.wikimedia.org/r/169677
Comment 9 Gerrit Notification Bot 2014-11-03 15:57:49 UTC
Change 170716 had a related patch set uploaded by Cacycle:
Add a hook for custom difference engine (WikEdDiff)

https://gerrit.wikimedia.org/r/170716
Comment 10 Gerrit Notification Bot 2014-11-03 16:01:34 UTC
Change 170716 abandoned by Cacycle:
Add a hook for custom difference engine (WikEdDiff)

Reason:
Should have gone into https://gerrit.wikimedia.org/r/#/c/166143/

https://gerrit.wikimedia.org/r/170716
Comment 11 Gerrit Notification Bot 2014-11-03 16:44:47 UTC
Change 170723 had a related patch set uploaded by Cacycle:
Add a hook for custom difference engine (WikEdDiff)

https://gerrit.wikimedia.org/r/170723
Comment 12 Gerrit Notification Bot 2014-11-03 16:52:47 UTC
Change 170723 abandoned by Cacycle:
Add a hook for custom difference engine (WikEdDiff)

Reason:
Should have gone into https://gerrit.wikimedia.org/r/#/c/166143/

https://gerrit.wikimedia.org/r/170723

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links