Jump to content

Talk:Language Comparison Table: Difference between revisions

(Paradigm links shortened!)
Line 123:
Most of the paradigm links are in the form of <nowiki>"[[{blah} programming]]"</nowiki>. Can someone script something up real quick to shorten the display title of the links by changing the wikicode to something like <nowiki>"[[{blah} programming|{blah}]]"</nowiki>? Seems like an easy Perl program, but I don't know Perl. --[[User:Mwn3d|Mwn3d]] 20:27, 9 November 2009 (UTC)
:Done. Here, for completeness, is the regex I used: <code>s/(\[\[((?:\w| |-|')+?) programming)\]\]/$1|$2]]/g</code>. —[[User:Underscore|Underscore]] ([[User talk:Underscore|Talk]]) 23:44, 9 November 2009 (UTC)
::Good job. The table looks a lot cleaner now. Thanks a bunch. --[[User:Mwn3d|Mwn3d]] 00:46, 10 November 2009 (UTC)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.