
wilson.jim.r at gmail
May 13, 2008, 6:43 AM
Post #4 of 4
(90 views)
Permalink
|
|
Re: Making [[<link>]] behave differently and adding features
[In reply to]
|
|
> It would probably be best to write a tag extension. Your syntax would > then be something like <r8>Foo</r8> . I'd go one step further and suggest a parser function: {{#r:8|http://some.url|Link Title}} or its close cousin the magic word: {{RATING:8|http://some.url|Link Title}} That has the potential to be used in templates such as: {{r8|http://someurl|Link Title}} -- Jim R. Wilson (jimbojw) On Tue, May 13, 2008 at 4:58 AM, Roan Kattouw <roan.kattouw[at]home.nl> wrote: > Jonathan Nowacki schreef: > > > > > I would like to add a different link tag (lets say *[r8[[ <link> "link text > > "]]r8] * ) which can then be parsed like a normal link but this will have > > a rating function next to it. Many people have built rating extensions so > > much of the work has already been done for me. I simply want to be able to > > allow people to rate links. Any suggestions on how I can find what part of > > mediawiki parses the links? > It would probably be best to write a tag extension. Your syntax would > then be something like <r8>Foo</r8> . > > Roan Kattouw (Catrope) > > [1] http://www.mediawiki.org/wiki/Manual:Tag_extensions > > > > _______________________________________________ > Wikitech-l mailing list > Wikitech-l[at]lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ Wikitech-l mailing list Wikitech-l[at]lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
|