Tags:
create new tag
view all tags

Question

Hello

We are storing authors and publications in our wiki. We'd like to be able to refer to them using the standard notation of Lastname + YEAR of publication. So the string would look like Lastname1967.

We can force these links using double-brackets, but twiki wont automaticallly link to those topics - we always have to force the link.

Is there a way to get twiki to treat Johnson1943 (for example) as an ordinary wikiword??

thanks!

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat
Web server: Apache
Perl version:  
Client OS:  
Web Browser:  

-- DaveHecker - 21 Sep 2004

Answer

This is not a direct answer to your question but the BibliographyPlugin might be of interest to you, probably the EmbedBibPlugin as well.

-- ChristianKohl - 21 Sep 2004

Other ideas:

  • Add a simple rule to your DefaultPlugin's outsidePREHandler that changes Lastname1967 into [[Lastname1967]]: (untested code)
    $_[0] =~ s/([\s\(])([A-Z][A-Za-z]*[0-9]{4})/$1[[$2]]/go;

  • Define InterwikiPlugin rules to resolve Lastname:1967 to topic Lastname1967. This means, that you have to add all author's last names which might not be practical

-- PeterThoeny - 21 Sep 2004

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2004-09-21 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.