https://bugzilla.wikimedia.org/show_bug.cgi?id=22297

--- Comment #3 from Voyagerfan5761 <mediaw...@technobabbl.es> 2010-01-28 
19:28:18 UTC ---
(In reply to comment #1)
> Created an attachment (id=7043)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7043) [details]
> A patch to provide this
> 
> I have attached a patch which implements the proposed change by adding another
> special-cased magic word to Parser::braceSubstitution.
> 
> There is some thought on #mediawiki that instead of hacking it in like this, a
> more general framework should allow for any magic word to take specific action
> at this point in the parse. The process by which this might be done, and the
> concrete benefits of such an approach are not immediately obvious to me.

Adding a hook at this point in the parse would be similar to WordPress'
"shortcode" system, the way I see it. That system has proven to be useful for
many, many plugins and I'm sure MediaWiki extension developers would find such
a hook useful, too.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to