News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Wiki Links

Started by [SiNaN], January 19, 2009, 10:55:05 AM

Previous topic - Next topic

rii

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.

daveaite

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

candidosa2

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>

TomW

Nice mod !  Are there any other variables besides t and u ?  Where can I get a complete list ?

[SiNaN]

Quote from: [SiNaN] on January 19, 2009, 10:55:05 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 | SimplePortal

grafitus

A small issue: Subs-WikiLinks.php file (Line 51). Spelling mistake.
Code (Should be) Select
$parse_errors = array();

KensonPlays

Nice! will this be updated to 2.0 RC3?

Owner of Mesozoic Haven

Illori

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.

[SiNaN]

This isn't the mod used on is this site.
Former SMF Core Developer | My Mods | SimplePortal

KensonPlays

Can you update this for RC5 or Gold? I'd LOVE to use it!

Owner of Mesozoic Haven

ben sisko

Quote from: Kcmartz on June 08, 2011, 03:10:28 PM
Can you update this for RC5 or Gold? I'd LOVE to use it!
+1
please.

WasdMan

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>

ceewee

Used older wiki packages that produced wikilinks in [wiki][/wiki] format, have a lot of those had hoped your mod used same...
so they would work again.

Too bad, have to wait for other one...see no way I can convert those links all.


spiros

#33
Seems that when using the code BBC, links still get parsed (unless one uses modify inline), is there any way not to parse anything within code tags?

aegersz

i also have 100's of [wiki] ... [/wiki] entries and how is this different ?

I can't figure out what the mod does, sorry to say ...
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Arantor

Um, the description is quite clear. It lets you make wiki style links in your regular forum posts, so you can just quickly link to specific topics using wiki style links rather than bbcode.

aegersz

Thanks for the reply but i still don't know what a "wiki style link" would look like ?

I did my research and saw references to "[ ... ]" but i am still unsure what a wiki link looks like.

isn't the wiki BBC just as useful ?

if you give me an exaple then it would be appreciated
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Arantor

But it%u2019s right there in the first post.

Fine, I%u2019ll type out an example on iPad. The following examples have an extra space to prevent them working here, followed by what the code makes (because this mod, in a slightly different form, is enabled here)

[ [topic:Wiki Links]] - not to this topic but another topic with the same name.

Wiki Links

[ [board:Modifications and Packages]]

Modifications and Packages

aegersz

thank you, i see sort of what you mean.

It's controlled by the double brackets from what I can tell.

I shall stick with the good old BBC version.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Arantor

Um, yes, just like links in Wikipedia are... hence the title 'wiki links'...?

Advertisement: