I seriously doubt it, so that could be one reason to create a separate extension. I'm not sure whether it's worth the effort to try and duplicate Wikipedia's transformations though. Are they documented anywhere?
At any rate, creating an extension to add a role like this is pretty easy. Check out the sphinx-contrib repo for examples: https://bitbucket.org/birkenfeld/sphinx-contrib Kevin Horn On Fri, Mar 18, 2011 at 8:03 PM, cool-RR <cool...@cool-rr.com> wrote: > Can the extlinks extension replace " " with "_", and possibly other > transformations that Wikipedia requires? > > > On Fri, Mar 18, 2011 at 7:57 PM, Kevin Horn <kevin.h...@gmail.com> wrote: > >> Not that I know of, though it should be fairly trivial to do. >> >> A better solution is probably to use the extlinks extension, though, >> unless your proposed wikipedia extension would do something that extlinks >> wouldn't. >> >> Kevin Horn >> >> >> On Fri, Mar 18, 2011 at 7:52 PM, cool-RR <ram.rac...@gmail.com> wrote: >> >>> Hey, >>> >>> Did anyone ever write a :wikipedia: extension for linking to articles on >>> Wikipedia? I would love to use that in my project. >>> >>> >>> Ram. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "sphinx-dev" group. >>> To post to this group, send email to sphinx-dev@googlegroups.com. >>> To unsubscribe from this group, send email to >>> sphinx-dev+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/sphinx-dev?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sphinx-dev" group. >> To post to this group, send email to sphinx-dev@googlegroups.com. >> To unsubscribe from this group, send email to >> sphinx-dev+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/sphinx-dev?hl=en. >> > > > > -- > Sincerely, > Ram Rachum > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-dev" group. > To post to this group, send email to sphinx-dev@googlegroups.com. > To unsubscribe from this group, send email to > sphinx-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sphinx-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.