Advertisement:
2by2host

Author Topic: Wiki Links  (Read 12736 times)

Offline rii

  • Semi-Newbie
  • *
  • Posts: 33
Re: Wiki Links
« Reply #20 on: February 10, 2009, 12:01:55 AM »
Blue Dream

Yes, it is working here very well. I tried it (with my user name) again on mine and it just showed up the same code. I will remove it and do it again.

Thank you.

Offline daveaite

  • Semi-Newbie
  • *
  • Posts: 88
    • The BuyPoe Network
Re: Wiki Links
« Reply #21 on: March 14, 2009, 05:37:14 AM »
Is their a way to change only the wiki links to a certain color, say blue in my custom theme.
The BuyPoe Network!


http://vBSocial.com: Forum Styles for vBulletin and SMF

Offline candidopt

  • Jr. Member
  • **
  • Posts: 139
  • Gender: Male
Re: Wiki Links
« Reply #22 on: July 05, 2009, 06:08:06 AM »
thank you
Nice mod
good work
when have time Update linguage
portugues and brazilian

Quote
<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Wiki Links translate portugues by candidosa2 Suporte smfpt.net
$txt['wiki_links_category'] = 'Categoria';
$txt['error_wiki_links'] = 'N&atilde;o a wiki kinks ou est&atilde;o duplicados.';
$txt['error_wiki_links_missing'] = '%1s com nome ou id of %2s n&atilde;o existe.';
$txt['error_wiki_links_duplicate'] = '%1s com o nome ou ID de %2s: #%3s %4s';
// Wiki Links
]]></add>
      </operation>
   </file>
   <file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Wiki Links translate portugues by candidosa2 Suporte smfpt.net
$txt['wiki_links_category'] = 'Categoria';
$txt['error_wiki_links'] = 'N&atilde;o a wiki kinks ou est&atilde;o duplicados.';
$txt['error_wiki_links_missing'] = '%1s com nome ou id of %2s n&atilde;o existe.';
$txt['error_wiki_links_duplicate'] = '%1s com o nome ou ID de %2s: #%3s %4s';
// Wiki Links
]]></add>
      </operation>
   </file>
   <file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Wiki Links translate portugues by candidosa2 Suporte smfpt.net
$txt['wiki_links_category'] = 'Categoria';
$txt['error_wiki_links'] = 'N&atilde;o a wiki kinks ou est&atilde;o duplicados.';
$txt['error_wiki_links_missing'] = '%1s com nome ou id of %2s n&atilde;o existe.';
$txt['error_wiki_links_duplicate'] = '%1s com o nome ou ID de %2s: #%3s %4s';
// Wiki Links
]]></add>
      </operation>
   </file>
   <file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Wiki Links translate portugues by candidosa2 Suporte smfpt.net
$txt['wiki_links_category'] = 'Categoria';
$txt['error_wiki_links'] = 'N&atilde;o a wiki kinks ou est&atilde;o duplicados.';
$txt['error_wiki_links_missing'] = '%1s com nome ou id of %2s n&atilde;o existe.';
$txt['error_wiki_links_duplicate'] = '%1s com o nome ou ID de %2s: #%3s %4s';
// Wiki Links
]]></add>
      </operation>
   </file>

Offline TomW

  • Jr. Member
  • **
  • Posts: 246
  • Gender: Male
Re: Wiki Links
« Reply #23 on: July 13, 2009, 10:13:54 AM »
Nice mod !  Are there any other variables besides t and u ?  Where can I get a complete list ?

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,503
  • Young and Foolish
    • SimplePortal
Re: Wiki Links
« Reply #24 on: July 13, 2009, 10:40:07 AM »
Link to Mod

Wiki Links

This modification adds wiki style links to your forum. The following format is used:

category => [[c|category:{value]]
board => [[b|board:{value}]]
topic => [[t|topic:{value}]]
user => [[u|user:{value}]]

{value} can be id or name.

-Blue Dream
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline grafitus

  • SMF Hero
  • ******
  • Posts: 3,021
  • Gender: Male
  • just looking for own old energy
    • beratdogan on LinkedIn
Re: Wiki Links
« Reply #25 on: May 09, 2010, 04:12:18 PM »
A small issue: Subs-WikiLinks.php file (Line 51). Spelling mistake.
Code: (Should be) [Select]
$parse_errors = array();

Offline Kcmartz

  • SMF Hero
  • ******
  • Posts: 4,278
  • Community Support Helper
    • @kcmartz on Twitter
    • Kenson's Website
Re: Wiki Links
« Reply #26 on: July 30, 2010, 06:47:09 PM »
Nice! will this be updated to 2.0 RC3?
Community Support (non-staff)
2.0.4 | Avatar Packs By Me

Thanks,
Kcmartz

Offline Illori

  • Doc Writer
  • SMF Master
  • *
  • Posts: 25,774
Re: Wiki Links
« Reply #27 on: May 18, 2011, 05:05:25 PM »
small bug found on this forum with this mod. if you use code tags and put a wiki link in it, if it is not a valid link you can not post the code block, as it tries to parse the text into a url instead of not parsing it at all. can be an issue when running wiki bots and getting wiki link output for the wiki and those pages dont exist here i cant leave the formatting as is.

you can see an example of the code block here http://www.simplemachines.org/community/index.php?topic=428042.msg3003435#msg3003435 in the doc helpers board.

Offline [SiNaN]

  • SMF Super Hero
  • *******
  • Posts: 11,503
  • Young and Foolish
    • SimplePortal
Re: Wiki Links
« Reply #28 on: May 18, 2011, 10:41:53 PM »
This isn't the mod used on is this site.
Former SMF Core Developer | My Mods | My Anime List | SimplePortal | Samanyolu Fanları

Offline Kcmartz

  • SMF Hero
  • ******
  • Posts: 4,278
  • Community Support Helper
    • @kcmartz on Twitter
    • Kenson's Website
Re: Wiki Links
« Reply #29 on: June 08, 2011, 03:10:28 PM »
Can you update this for RC5 or Gold? I'd LOVE to use it!
Community Support (non-staff)
2.0.4 | Avatar Packs By Me

Thanks,
Kcmartz

Offline ben sisko

  • Semi-Newbie
  • *
  • Posts: 60
Re: Wiki Links
« Reply #30 on: June 09, 2011, 09:57:53 AM »
Can you update this for RC5 or Gold? I'd LOVE to use it!
+1
please.

Offline WasdMan

  • Jr. Member
  • **
  • Posts: 176
  • Gender: Male
  • SMF opposition
Re: Wiki Links
« Reply #31 on: July 04, 2012, 05:18:38 AM »
Hungarian Language:

ISO:
Quote
<file name="$languagedir/Modifications.hungarian.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Wiki Links
$txt['wiki_links_category'] = 'Kategória';
$txt['error_wiki_links'] = 'Vannak hiányzó vagy ismétlődő wiki linkek.';
$txt['error_wiki_links_missing'] = '%1s nevű vagy azonosítójú %2s nem létezik.';
$txt['error_wiki_links_duplicate'] = '%1s nevű vagy azonosítójú %2s: #%3s %4s';
// Wiki Links
]]></add>
      </operation>
   </file>

UTF8:
Quote
   <file name="$languagedir/Modifications.hungarian-utf8.php" error="skip">
      <operation>
         <search position="end" />
         <add><![CDATA[
// Wiki Links
$txt['wiki_links_category'] = 'Kategória';
$txt['error_wiki_links'] = 'Vannak hiányzó vagy ismétlődő wiki linkek.';
$txt['error_wiki_links_missing'] = '%1s nevű vagy azonosítójú %2s nem létezik.';
$txt['error_wiki_links_duplicate'] = '%1s nevű vagy azonosítójú %2s: #%3s %4s';
// Wiki Links
]]></add>
      </operation>
   </file>