Last modified: 2011-03-13 18:06:26 UTC
We are working on the Semantic MediaWiki extension (see
http://meta.wikimedia.org/wiki/Semantic_MediaWiki ). In order to create an easy
to install extension and not to need to patch the MediaWiki first, we would ask
to add the following hook at the end of the function getRevisionText in the
Revision class in Revision.php:
The patch is based on the 1.5rc4 from SourceForge.
Created attachment 930 [details]
patch with suggested hook, based on mw 1.5rc4
Created attachment 931 [details]
diff -u used, patch to resolve enhancement
FIXED in HEAD and REL1_5
I'm reverting this until someone explains what it's intended to do.
Note that modifying text in that part of the code would cause data corruption when
things are moved from one storage mode to another. If you want a hook that filters data
on wiki rendering, that needs to be somewhere else.
No further information from requester, resolving WONTFIX.