Linking wiki articles into forum posts

Discussions about the forum and contents
Post Reply
User avatar
Peculiar_Investor
Posts: 973
Joined: Thu Oct 20, 2011 12:23 am
Location: Calgary, AB
Contact:

Linking wiki articles into forum posts

Post by Peculiar_Investor » Fri Jan 20, 2012 7:42 am

In the spirit of sharing between Bogleheads and FWF (and finiki), there is a quick method to create links from the wiki for posting in the forum. The wiki pages currently have a footer that provides a link that can be copied and pasted into a forum posting, but with the help of a browser add-on, it is much simpler to link into a forum post.

Personally I use a Chrome extension Create Link (for Firefox users there is Make Link :: Add-ons for Firefox).
Make Link website wrote:Make Link is an extension for Mozilla Firefox which adds a context menu item (Make Link) which allows the user to easily copy links to the clipboard in HTML, forum-code or simple "text (URL)" format.
Create Link (Chrome) is based on Make Link and operates the same way.

Create Link only provides for plain text and HTML links out of the box so add a BBCode option using this syntax: [url=%url%]%htmlEscapedText%[/url] (tip of the hat to Bylo).

The neat thing about these tools is they can be used to create a link from any website that you'd like to include in a forum post.

Since I don't use IE unless absolutely necessary, I don't know if an equivalent add-on/extension exists.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams

User avatar
LadyGeek
Site Admin
Posts: 41651
Joined: Sat Dec 20, 2008 5:34 pm
Location: Philadelphia
Contact:

Re: Linking wiki articles into forum posts

Post by LadyGeek » Fri Jan 20, 2012 8:49 am

These add-ons are very useful for any type of web page. I use Make Link :: Add-ons for Firefox. For example:

- http://www.bogleheads.org/wiki/Principl ... _Placement becomes Principles of Tax-Efficient Fund Placement - Bogleheads, or easily edit to: Principles of Tax-Efficient Fund Placement

- Use as-is if you want to see which wiki is linked: Lazy Portfolios - Bogleheads versus Portfolio Design and Construction - finiki

This also works for the forum: viewtopic.php?f=10&t=88005 becomes Bogleheads • View topic - The Three Fund Portfolio, or easily edit to The Three Fund Portfolio

- Other web sites: Investing Blog: Oblivious Investor

=============================
It's very, very easy to use.
1. Go to the page you want to link to. Right-click your mouse --> Make Link --> Forum Code.
2. Go to your forum post, paste (Ctrl-V or mouse).
Done.
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

sscritic
Posts: 21858
Joined: Thu Sep 06, 2007 8:36 am

Re: Linking wiki articles into forum posts

Post by sscritic » Fri Jan 20, 2012 8:52 am

LadyGeek wrote:It's very, very easy to use.
1. Go to the page you want to link to. Right-click your mouse --> Make Link --> Forum Code.
2. Go to your forum post, paste (Ctrl-V or mouse).
Done.

And this is easier than copy and paste from the address bar of the page you are reading? Oh, I know it gets the text right, but what text do you need for this?
viewtopic.php?p=1282776#p1282776

User avatar
LadyGeek
Site Admin
Posts: 41651
Joined: Sat Dec 20, 2008 5:34 pm
Location: Philadelphia
Contact:

Re: Linking wiki articles into forum posts

Post by LadyGeek » Fri Jan 20, 2012 10:41 am

The same amount of text that you'd need for everything else. Now, it's easy to see that you're linking back to here Bogleheads • View topic - Linking wiki articles into forum posts.

It's much quicker than using the forum's BBcode formatting and saves everyone else's time to figure out what you are linking to.

Update: This is also good for YouTube: Average vs. Marginal Tax Rates - YouTube
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

User avatar
Peculiar_Investor
Posts: 973
Joined: Thu Oct 20, 2011 12:23 am
Location: Calgary, AB
Contact:

Re: Linking wiki articles into forum posts

Post by Peculiar_Investor » Fri Jan 20, 2012 1:36 pm

One more, I added a Wiki option to Create Link in Chrome using this syntax: [%url% %title%], so now I can quickly insert links into Wiki edits.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams

User avatar
tfb
Posts: 7736
Joined: Mon Feb 19, 2007 5:46 pm
Contact:

Re: Linking wiki articles into forum posts

Post by tfb » Tue Jan 31, 2012 11:26 am

Because this requires work from the users, it will never have wide adoption. It's better to do it from the forum software side, as is done in the Early Retirement forum, where every link posted will automatically have its title retrieved and displayed.
Harry Sit, taking a break from the forums.

User avatar
NAVigator
Posts: 2457
Joined: Tue Feb 27, 2007 7:24 am
Location: Iowa

Re: Linking wiki articles into forum posts

Post by NAVigator » Tue Jan 31, 2012 2:20 pm

Thanks for the suggestion to use Make Link with FireFox. I added it to the browser and it makes it so easy to add a link and a title. I often edit the title to just include the essentials.

I can now add "text" links in gmail. I had not taken the time to learn how. This handy add-on makes it a snap.

Jerry
"I was born with nothing and I have most of it left."

User avatar
Kevin M
Posts: 8884
Joined: Mon Jun 29, 2009 3:24 pm
Contact:

Re: Linking wiki articles into forum posts

Post by Kevin M » Thu May 31, 2012 1:45 pm

I just installed Create Link in Chrome. The %input% variable is supposed to pop up a dialogue to enter text, but does not do so for me. Has anyone else tried this and got it working? I am on a Chromebook if it matters.

Kevin
||.......|| Suggested format for Asking Portfolio Questions (edit original post)

User avatar
Peculiar_Investor
Posts: 973
Joined: Thu Oct 20, 2011 12:23 am
Location: Calgary, AB
Contact:

Re: Linking wiki articles into forum posts

Post by Peculiar_Investor » Thu May 31, 2012 6:14 pm

Kevin M wrote:I just installed Create Link in Chrome. The %input% variable is supposed to pop up a dialogue to enter text, but does not do so for me. Has anyone else tried this and got it working? I am on a Chromebook if it matters.

Kevin

I've never had the occasion to use the %input% variable. I just tried it out and also can report no dialog box to enter text. What are you trying to accomplish?
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams

User avatar
Kevin M
Posts: 8884
Joined: Mon Jun 29, 2009 3:24 pm
Contact:

Re: Linking wiki articles into forum posts

Post by Kevin M » Thu May 31, 2012 6:56 pm

Peculiar_Investor wrote:
Kevin M wrote:I just installed Create Link in Chrome. The %input% variable is supposed to pop up a dialogue to enter text, but does not do so for me. Has anyone else tried this and got it working? I am on a Chromebook if it matters.

Kevin

I've never had the occasion to use the %input% variable. I just tried it out and also can report no dialog box to enter text. What are you trying to accomplish?

Create a forum link in which I can enter my own text instead of the page title or highlighted text, which I would expect this to do:

[url=%url%]%input%[/url]

but this just retains "%input%" in the output.

Kevin
||.......|| Suggested format for Asking Portfolio Questions (edit original post)

User avatar
LadyGeek
Site Admin
Posts: 41651
Joined: Sat Dec 20, 2008 5:34 pm
Location: Philadelphia
Contact:

Re: Linking wiki articles into forum posts

Post by LadyGeek » Thu May 31, 2012 7:21 pm

Firefox's Make Link add-on will utilize selected text as the title. Not the same extension, but it's useful info for Firefox users:

Swiping across "Make Link" on the extension page produces:

Code: Select all

[url=https://addons.mozilla.org/en-US/firefox/addon/make-link/]Make Link[/url]

Which appears as: Make Link
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

User avatar
Kevin M
Posts: 8884
Joined: Mon Jun 29, 2009 3:24 pm
Contact:

Re: Linking wiki articles into forum posts

Post by Kevin M » Thu May 31, 2012 7:36 pm

Create Link for Chrome also uses the selected text instead of page title (if text is selected).

Kevin
||.......|| Suggested format for Asking Portfolio Questions (edit original post)

User avatar
LadyGeek
Site Admin
Posts: 41651
Joined: Sat Dec 20, 2008 5:34 pm
Location: Philadelphia
Contact:

Re: Linking wiki articles into forum posts

Post by LadyGeek » Mon Sep 07, 2015 2:06 pm

I'm bumping this 3-year old thread to mention another Firefox add-on that can turn any link into the BBCode format used by the forum software. It can also format links for the wiki. See this Firefox add-on: CoLT

I've modified the BBCode preferences to use a conditional expression:

Code: Select all

[url=%U]%?[S|T][/url]

Selecting text on a page will show the display text as a link. (Right-click --> Copy Page tile and location --> BBCode)

Code: Select all

[url=https://addons.mozilla.org/en-us/firefox/addon/colt/]CoLT[/url]

Which appears as: CoLT

Not selecting any text on the page will copy the page title:

Code: Select all

[url=https://addons.mozilla.org/en-us/firefox/addon/colt/]CoLT :: Add-ons for Firefox[/url]

Which appears as: CoLT :: Add-ons for Firefox
===============

That being said, Make Link :: Add-ons for Firefox is working just fine. I had a compatibility issue, but reinstallation of the extension fixed the problem. Perhaps it's the new implementation of Mozilla forcing signed extensions.*

Make Link is also much simpler to use, but its last update was in 2011. I wanted to mention the CoLT alternative in case Make Link disappears.

I also use Chrome with the Create Link extension.

* Update: No, it's still broken and the compatibility problem is real. I installed Disable Add-on Compatibility Checks :: Add-ons for Firefox as a work-around.
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

User avatar
FiveK
Posts: 3311
Joined: Sun Mar 16, 2014 2:43 pm

Re: Linking wiki articles into forum posts

Post by FiveK » Tue Nov 14, 2017 10:02 pm

Both "Make Link" and "CoLT" now show "This add-on is not compatible with your version of Firefox" (version 57.0 - 64 bit) that was auto-installed within the past day or so.

Anyone know of a working Firefox add-on?

User avatar
LadyGeek
Site Admin
Posts: 41651
Joined: Sat Dec 20, 2008 5:34 pm
Location: Philadelphia
Contact:

Re: Linking wiki articles into forum posts

Post by LadyGeek » Thu Nov 16, 2017 10:51 pm

My Firefox just updated to version 57.0 and I have the same problem.

I've switched to Chrome with the Create Link extension until I can find a substitute.

The reason I used Firefox is that the Make Link extension allowed you to hover over a link and capture the text. Chrome didn't do that, so I needed to select the link text manually. It was more work and prone to error. This may be a limitation of Chrome's API.

Until Make Link is rewritten or a substitute is found, Chrome will be my primary browser.
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

User avatar
FiveK
Posts: 3311
Joined: Sun Mar 16, 2014 2:43 pm

Re: Linking wiki articles into forum posts

Post by FiveK » Thu Nov 16, 2017 11:20 pm

Peculiar_Investor wrote:
Fri Jan 20, 2012 7:42 am
Create Link only provides for plain text and HTML links out of the box so add a BBCode option using this syntax: %htmlEscapedText% (tip of the hat to Bylo).
For those unfamiliar with how to do the above, after adding the Create Link extension:
1) Left click on the three vertical dots at the top right of a Chrome page ("Customize and control Google Chrome")
2) Left click on More Tools > Extensions
3) Left click Options in the Create Link section
4) Add the BBCode option at a place of your choosing. I used the third row:
Image

User avatar
LadyGeek
Site Admin
Posts: 41651
Joined: Sat Dec 20, 2008 5:34 pm
Location: Philadelphia
Contact:

Re: Linking wiki articles into forum posts

Post by LadyGeek » Fri Nov 17, 2017 9:45 am

^^^ When hovering over the link, I will get the page title.

For example, hover your cursor over the "Forum Issues and Administration" link while viewing this thread (not editing a post). You'll get Linking wiki articles into forum posts - Bogleheads.org with Create Link.

Firefox's Make Link would instead select the link's text as Forum Issues and Administration - what I intended.
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

Mudpuppy
Posts: 5477
Joined: Sat Aug 27, 2011 2:26 am
Location: Sunny California

Re: Linking wiki articles into forum posts

Post by Mudpuppy » Sat Nov 18, 2017 2:14 pm

FiveK wrote:
Tue Nov 14, 2017 10:02 pm
Both "Make Link" and "CoLT" now show "This add-on is not compatible with your version of Firefox" (version 57.0 - 64 bit) that was auto-installed within the past day or so.

Anyone know of a working Firefox add-on?
All plug-ins will have to make changes to be compatible with Firefox 57. Give it a little time for the plug-in authors to make the changes.

If you don't want to wait, you can switch to Firefox ESR (extended-support-release), which is based off an older version of Firefox for the features, but receives all the security updates of the latest version of Firefox. Firefox ESR will not switch over to this new model of Firefox until March, which gives plenty of time for active plug-in authors to update their plug-ins.

User avatar
LadyGeek
Site Admin
Posts: 41651
Joined: Sat Dec 20, 2008 5:34 pm
Location: Philadelphia
Contact:

Re: Linking wiki articles into forum posts

Post by LadyGeek » Sat Nov 18, 2017 2:39 pm

^^^ Good point. Another alternative is Waterfox - The free, open and private browser, which I'm using for this post. Make Link works fine. (I'm not committed to Waterfox, just testing.)

One issue with Make Link is that the plugin appears abandoned - the developer's website links are broken. Unless another developer comes up with a replacement, Chrome appears to be the only long-term solution.
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

User avatar
LadyGeek
Site Admin
Posts: 41651
Joined: Sat Dec 20, 2008 5:34 pm
Location: Philadelphia
Contact:

Re: Linking wiki articles into forum posts

Post by LadyGeek » Sun Nov 19, 2017 9:36 pm

To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

User avatar
FiveK
Posts: 3311
Joined: Sun Mar 16, 2014 2:43 pm

Re: Linking wiki articles into forum posts

Post by FiveK » Thu Dec 07, 2017 3:42 am

The "Link Text and Location Copier" for Firefox at https://addons.mozilla.org/en-US/firefo ... on-copier/ has been working well for the ~10 days I've tried it. Other than - for whatever reason? - the addon page itself.

User avatar
LadyGeek
Site Admin
Posts: 41651
Joined: Sat Dec 20, 2008 5:34 pm
Location: Philadelphia
Contact:

Re: Linking wiki articles into forum posts

Post by LadyGeek » Thu Dec 07, 2017 8:04 pm

Thanks! It works fine with Firefox. I'm wondering if the known limitation is used on the add-on site.
Will not work when dom.event.clipboardevents.enabled is set to false.
For the wiki, use this format:

Code: Select all

[%U %T]
To some, the glass is half full. To others, the glass is half empty. To an engineer, it's twice the size it needs to be.

Post Reply