Version 1.1 update: Item #3 is done now!Version 1.2 update: Added item #4.Version 1.3 update: Added 0, *, and + cost symbols.Version 1.4 update: Made rollover images smaller. Fixed position of rollover images (all images were at the left of the post even if the card link wasn't).Version 1.5 update: Added 3*, 4*, 5*, and 6* icons. Fixed other icon sizes so that they are all the same.Version 1.6 update: Fixed rollover image sizes for events.Version 1.7 update: Added 2 new features/buttons! The "Card Image" button will insert the "cardImage" tag around your card. When you post this tag, your post will contain an image of the actual card from the wiki. Useful for asking a question about a card or writing an article about one. The other is a "Kingdom" button, which adds the "kingdom" tag. This will generate card images given a comma-delimited list of card and event names. Perfect for discussing a game.Version 1.8 update: Just smaller card images.Version 1.9 update: Fixed VP image link.Version 1.10 update: Added image icons for debt costs. Added icon for . Added Landmarks and new events to the list of things that will be displayed landscape instead of portrait in the rollover.Version 1.11 update: Added all new Landmarks and Events to the list of landscape rollover images. Added icons for and costs. Updated the behavior of the icon buttons! Now when you click a button, it will insert markup representing the cost. When you post, the markup will be replaced with the image links. Makes writing a post much cleaner. Also, you can insert costs without clicking the button, just by typing the correct markup. All markup includes "$", even VP and Potion, just to keep from any potential conflicts with existing markup.Version 1.12 update: Added "Autolink" feature.Version 1.13 update: Fixed "Autolink" feature - works on all cards now, and doesn't break when used on pages with existing links.Version 1.14 update: Added new second edition cards and promo card. Made everything case insensitive so that you can link cards with the wrong capitalization.Version 1.15 update: Added Nocturne support for auto-link. Also updated the way auto-link gets the list of cards so that in the future, adding new cards won't require a new update to the extension. Fixed bugs with rollover images for cards such as Horn of Plenty, Salt the Earth, etc. Made it so that "Inherited" auto-links to "Inheritance" just for fun.Version 1.16 update: Fixed bug where rollovers were not working on regular linked (not auto-linked) cards.Version 1.17 update: Behind-the-scenes updates to work with Firefox approval.Version 1.18 update: Behind-the-scenes updates to work with Firefox approval.Version 1.19 update: Add local storage for the "Autolink cards" setting, so that it will default to what you last selected.Version 1.20 update: Fixed bug introduced in last version where new post features were missing.Version 1.21 update: Fixed bug introduced in 1.17 where Autolink broke the ability to view post voters.Version 1.22 update: Use case-sensitive matching for Autolink to reduce the number of false positives.Version 1.23 update: Fixed a bug introduced in a recent update where cardImage and kingdom tags were not working.Version 1.24 update: Fixed minor bug introduced in 1.23.Version 1.25 update: Added rollover link for certain "shortcut" card names.Version 1.26 update: Fixed bug where Boons wouldn't link if the full name was used.Version 1.27 update: Fixed bug with Ill-Gotten Gains, and added BoM.Version 1.28 update: Made autolink work with plurals.

Now I need some help from the wiki experts (Wero?). It looks like the actual card images are stored in various subfolders. Is there a way that I can actually know the URL of a given card, based just on the card name? Basically I want to add the same thing the wiki currently has; the image rollovers for card names. But I don't see how I can do that unless I can know the exact URL of an image.

The image is stored on the wiki as 'Card_Name.jpg', which the wiki is able to use to find the proper address for it. The images themselves are listed under more complicated addresses, so outside of the wiki, I'm not sure if this is possible.

Logged

Contrary to popular belief, I do not run the wiki all on my own. There are plenty of other people who are actively editing. Go bother them!

The image is stored on the wiki as 'Card_Name.jpg', which the wiki is able to use to find the proper address for it. The images themselves are listed under more complicated addresses, so outside of the wiki, I'm not sure if this is possible.

Yeah that's what I was worried about. I could technically copy and host all the images somewhere else; all in the same directory, but that's a lot of work.

The image is stored on the wiki as 'Card_Name.jpg', which the wiki is able to use to find the proper address for it. The images themselves are listed under more complicated addresses, so outside of the wiki, I'm not sure if this is possible.

Yeah that's what I was worried about. I could technically copy and host all the images somewhere else; all in the same directory, but that's a lot of work.

Is there a way to just link to the file page on the wiki? That's what the wiki itself does.

Logged

Contrary to popular belief, I do not run the wiki all on my own. There are plenty of other people who are actively editing. Go bother them!

The image is stored on the wiki as 'Card_Name.jpg', which the wiki is able to use to find the proper address for it. The images themselves are listed under more complicated addresses, so outside of the wiki, I'm not sure if this is possible.

Yeah that's what I was worried about. I could technically copy and host all the images somewhere else; all in the same directory, but that's a lot of work.

Is there a way to just link to the file page on the wiki? That's what the wiki itself does.

If you look at the markup for the rollover links; they actually link to the image itself; not the file page. Linking to the file page wouldn't show just the card image itself. Though I might be able to datamine the file page to find the actual image link.

Maybe you could script something to hit that URL for each card name and save the map of card names to URLs? Or the extension could make the request behind the scenes to get the URL whenever a user hovers. My gut reaction is that it'd be better to just generate the map of URLs needed.

This link alone is perfect! Thanks a bunch! Ok, new version has been uploaded, fully works now!

Sweet! I was worried you'd have to work around the fact that it's a redirect or something.

So was I! At first I thought that the request to that URL would return the proper URL, so I was doing an AJAX call to get the data from that URL, thinking that data would be the actual URL I needed. Finally I realized that even though it redirects to the other URL, the actual data returned when you request that first URL is still the image I was looking for, so I could just set the src of my image to that URL directly.

2. When you post a reply, the [card] markup will be automatically replaced with the [url ] markup, linking to the appropriate wiki page.

This could probably be done for everyone via the forum software - use the auto-filter. the opening tag you want turns into the url beginning; then there's the card name; then you auto-filter the closing tag into the file type and closing url tag.

2. When you post a reply, the [card] markup will be automatically replaced with the [url ] markup, linking to the appropriate wiki page.

This could probably be done for everyone via the forum software - use the auto-filter. the opening tag you want turns into the url beginning; then there's the card name; then you auto-filter the closing tag into the file type and closing url tag.

Oh I know. You can also customize the forum software pretty easily to add custom buttons like what #1 and #4 do. But probably only Theory can do those things; this was just a quick way I could help out.

Also, why no asterisked or be-plus-signed coin symbols? There's also no $0 symbol.

Looks like the Wiki is missing images for the new star costs (3*, 4*, 5*, 6*). I've added 0, 0*, 8*, 2+, 3+, and 4+. Version 1.3 should be available in a few minutes.

Still waiting on Schneau for those. Or anyone who cares to venture forth with PaintShop.

I could, but out of time now; will be gone for the next few days.

Quote

By the way, can you make the mouseover images smaller? They're rather bulky at the moment.

Done. Also fixed the image alignment so they're always immediately below the link. Future version may make it so that if the link is near the bottom of the current scroll position so there's not room, the image will appear above instead of below.

I have recently made the switch from Chrome to Firefox. Like holy cow, Firefox is just way faster now. So sadly, I cannot participate in this Chrome extension unless I switch between Chrome and Firefox.

I have recently made the switch from Chrome to Firefox. Like holy cow, Firefox is just way faster now. So sadly, I cannot participate in this Chrome extension unless I switch between Chrome and Firefox.

I hope to port the extension to Firefox soon if it's not hard to do. I started using Firefox for certain things, because Chrome seems to have been getting worse lately. But when I tried using Firefox for everything, I just found it to be not nearly as good in certain ways; possibly just because of what I'm used to. So I'm now running both at once; Chrome for most things and Firefox for a couple games I play.

I tried and failed at making a Firefox version. Is there anyone out there who has made Firefox add-ins that can help? From my various Google searches, it just seems to require a lot of extra setup compared to the Chrome extensions. I tried copying the basic folder structure that my searches said I need, but just couldn't get anything to work. It's just a .js file and a .css file, so it should be straightforward.

- Add new events and landmarks to list of things to display landscape in rollover images (I think I still also need to add Summon).- Add Debt icons of various denominations to the icon buttons.- Add a $14 coin icon.

Am I missing anything?

I also think I'd like to make it so that clicking the buttons for coin images doesn't insert the full URL right then, but instead if more like the "Card Link" button that puts in a placeholder. This will make writing posts cleaner/easier.

Of course I still don't have my computer, but hopefully within a week.

Does Schneau still post here? He apparently put up the Coin cost images. I can get better resolution Debt images once I scan in the physical cards, but if there aren't Debt images for each amount, I won't be able to create them.

Logged

Contrary to popular belief, I do not run the wiki all on my own. There are plenty of other people who are actively editing. Go bother them!

Would it be possible to get buttons for Event Links and Event Images? Since they're landscape instead of portrait.

If I saw this back when you posted it, I don't remember. Can you explain? I'm pretty sure that by the time you posted this, Events were already set to properly display in the correct ratio/size. Except for Summon.

SHortened Google links should be okay with the image url length, right?

That's a good idea.... but I'd rather see it use tags the way it does for things like [Card]. That way, you could also do things like type [$5] instead of hitting the button for it, which could be easier sometimes. Then when you go to post, it will automatically replace the tag with the correct link.

Of course, I could do both ideas at once; replace the tag with the shortened link. That way editing and replying to posts look nicer.

It works! Version 1.11 is done; should auto-updated within the next day. Aside from the rest of the Empires icons and cards; this improves the way that inserting costs and icons works. No more does it stick a big ugly URL in; instead it just inserts markup which is auto-replaced. This means you can also just type the markup. Coin costs are in the form [] with a $ and a number inside. Debt is the same except with <> instead of []. You can just click a button or just hover over it to see the proper markup.

That's fixed in 1.11; 1.10 isn't showing the image. It's because Salt the Earth is the first event to have more than 2 words in the name. Turns out that I was only replacing spaces with underscores for the first space... which as it turns out is fine as far as the wiki is concerned; it works fine with spaces or underscores in the card names. But it was breaking the landscape code; so I found and fixed it; so that now it properly uses underscores in the card name when posting. So because I posted those links with 1.11; they have underscores. But 1.10 is incorrectly expecting 1 underscore and 1 space..

Hmm. I got too meta for my own good. I googled "Jake Buck forum.dominionstrategy" yesterday and found nothing. He hasn't posted anything since 2012, so it's likely he either died or got lazy/busy, and thus it is more likely than not that if he was a forum member on here, he would have not logged in since 2012. Good luck with your e-mail, you stalker.

So I went to read the Secret History of Empires, but realized that it was problematic that it didn't have hover-links for the cards; considering that I don't know almost any of the card effects by name yet. So, I went about adding an "auto-link" feature, which would (optionally) add the hover-links to all card names used in a post, even if the person who posted it doesn't have the extension, or chose not to add the card link markup.

So I got basic functionality working fine; but cards that use the names of other cards turns out to be a bigger problem than I thought. I give the markup to City Quarter; it then becomes surprisingly hard to not mess it up as it tries to then give that same text the markup for City.

So, the solution is to take the easy way out, at least for now... cards that are a smaller part of other card names are simply excluded. City won't get the markup; City Quarter works fine. All the Villages work except Village, and sadly Villa. It doesn't affect very many Empires cards anyway; I think just Villa and Triumph. So enjoy reading the secret history with card links!

And in an effort to get this out before everyone has read the secret history anyway, only enabling the links works for now. Unchecking the box does nothing. Checking it again messes stuff up by adding in the links a second time. But refreshing the page always starts clean.

The extension is great! I wonder if you could have the thing check for spaces on the end, i.e " Villa " instead of "Villa". That would also fix the Count, Counting House problem, words like "Taxing", and words that might appear in images.

« Last Edit: June 15, 2016, 05:57:39 pm by ThetaSigma12 »

Logged

If you have a fan card you want to be created, just post about it here! I'd love to take a look at it.

The extension is great! I wonder if you could have the thing check for spaces on the end, i.e " Villa " instead of "Villa". That would also fix the Count, Counting House problem, words like "Taxing", and words that might appear in images.

Thanks!

I thought about that, but I was concerned about things like other tags, like bold fonts which are actually used in the secret histories. But I think I just need to up my regex game; I think word boundaries might actually handle non-letters correctly. I'll play with it some more; I got a couple other ideas for how to fix it for all card names.

I don't know if this works because of the JavaScript replace function, or if it is applicable here, but the replacement regex that the log prettifier uses captures all the card names by joining them with "|" (i.e. "Counting House|Count|Fishing Village|Village|Villa"). It sorts them by length so that the regex picks the longer words first and only falls to the shorter ones after. It uses this regex to replace the card names with themselves wrapped with the appropriate css to display them with their card color.

I don't know if this works because of the JavaScript replace function, or if it is applicable here, but the replacement regex that the log prettifier uses captures all the card names by joining them with "|" (i.e. "Counting House|Count|Fishing Village|Village|Villa"). It sorts them by length so that the regex picks the longer words first and only falls to the shorter ones after. It uses this regex to replace the card names with themselves wrapped with the appropriate css to display them with their card color.

Thanks! I'm doing a similar thing actually with sorting the cards by longest first; but I was looping through all cards and doing the replacements for each one. Joining them all in a regex like that sounds like a good idea. But.. where is the "replace" coming from in the call to str.replace()? It would be the card name basically, but how do you extract the card name from the regex match?

I don't know if this works because of the JavaScript replace function, or if it is applicable here, but the replacement regex that the log prettifier uses captures all the card names by joining them with "|" (i.e. "Counting House|Count|Fishing Village|Village|Villa"). It sorts them by length so that the regex picks the longer words first and only falls to the shorter ones after. It uses this regex to replace the card names with themselves wrapped with the appropriate css to display them with their card color.

Never mind that question, I got it with the str.replace that takes a regex and a function call. The function is passed in the word that matched, which in this case is the card name. Using that, I was able to do it perfectly in a few lines of code!

So right before I saw your post, I had just finished my other solution, which I spent the last couple of hours implementing... I had been looping through all text nodes on the page, and replacing them one at a time, as long as they weren't children of a link. It was super inefficient both in coding and runtime execution. Your suggestion is awesome; wish I'd thought of it before! I had thought of a giant regex that would incorporate all cards at once, but I didn't know how I could use that to replace each match with the right thing.

PPE: Awesome, glad it worked! I'll post my comments below in case it is helpful to anyone looking through here at a later time.

Well, the replace is a reference to the function below the colorCards function. The code I posted is hacked up a bit from code I have that I stole from the randomizer. It is part of a class, so I ripped out a few instances of "this."

I can't honestly say I understand it 100% since I stole it from the log prettifier, but here is my best attempt at an explaination: With JS, if you call String.replace( <regex>, <function> ), it takes the match from the regex and passes it to the function. and then replaces the match with the value the function returns. The 'g' in the regex makes it grab all the matches, so the regex itself prevents you from reparsing things that were already matched.

Fixed the Dave Goldthorpe / LibraryAdventurer issue by using \b word matches (their names were showing up as cards). I tried matching case-insensitive, but it was bad; way too many false positives. Version 1.13 is published. Thanks again Deadlock!

I posted a kingdom here, using the card image button to show images, and the images wouldn't show for any card that has a space in its name.EDIT: I found a workaround which may help you to find the bug: When I capitalized Hunting_Party, Horn_of_Plenty, and Hunting_Grounds, then the images showed correctly. (It took me two tries for Horn of plenty because I tried 'Horn_Of_Plenty' first.)

I posted a kingdom here, using the card image button to show images, and the images wouldn't show for any card that has a space in its name.EDIT: I found a workaround which may help you to find the bug: When I capitalized Hunting_Party, Horn_of_Plenty, and Hunting_Grounds, then the images showed correctly. (It took me two tries for Horn of plenty because I tried 'Horn_Of_Plenty' first.)

Also, how do you use the kingdom button in the fds plugin?

It's set up for capitalization to matter, though that's probably not ideal; because why should it? I think I can change that easily. Can't say why capitalization only mattered for multi-word cards; thought it would be the same for all.

For the Kingdom button, just list out all the cards with a comma (and a space after the comma) between each one. Like this (should stay as a list because the extension isn't installed where I'm posting from):

Oh man I was just thinking about that yesterday at work, planning on doing it when I got home. Then by the time I got home, I forgot. Should be done tonight. I'll also update it so that capitalization doesn't matter for the auto-linking.

Done! All 16 new cards have been added to auto-link. It will now auto-link cards that have incorrect casing, as well as allow you to use the link/image/kingdom tags on cards that have incorrect casing.

So will the new cards for the 2nd editions work already, or do you have to wait to be able to implement them?

I added them a few days ago in the 1.14 update.

As a general rule, whenever new cards are created, as soon as they are added to the Wiki, the [card ] and [cardImage ] and [kingdom ] tags will automatically work the same without me needing to update anything. But the "Autolink cards" feature requires me to update to add the new cards to the list of all cards.

So will the new cards for the 2nd editions work already, or do you have to wait to be able to implement them?

I added them a few days ago in the 1.14 update.

As a general rule, whenever new cards are created, as soon as they are added to the Wiki, the [card ] and [cardImage ] and [kingdom ] tags will automatically work the same without me needing to update anything. But the "Autolink cards" feature requires me to update to add the new cards to the list of all cards.

I kinda thought it would work that way, but I wasn't sure, and didn't want to look stupid by using a card that doesn't work, so I thought I might as well ask.

Logged

"I swear to drunk I'm not officer, God."Generation 33 The first time you see this, copy it, add 1 to the generation number, and add it to your signature. (On any forum) Social experiment.

I'll try to get around to adding Nocturne cards (and other card-shaped things) to the list for auto-linking sometime within the next week. I know at least for me, it's when there's new cards that it helps the most.

*Edit* I really should find a way to have the list pull dynamically from some web service or something; so that I don't need an update every time there's a new card.

Version 1.15 published! You can now read the Secret History of Nocturne, and use auto-link to actually see what card is being talked about! (For those of us who haven't memorized all the new cards yet).

I think I went back and forth on capitalization before. Or maybe it was just spacing. But so many people mis-capitalize multi-word cards, or just don't bother capitalizing it. Yeah it would be nice if things like "page" weren't affected in the wrong context.

For haven't, I just need to figure out why I made my current regex as complex as I did before messing with it to exclude that one.

*Edit* And of course if I exclude haven followed by a single quote, we'd lose things like "haven's effect". So I need to be more specific to "haven't".

After reading through some more various threads that weren't actually talking about Dominion cards, I think the solution is to consider capitalization for matching card names. Way too many uses of words like "fair" and "page" and "haven't" that shouldn't be matched. Probably better to err on the side of a Dominion card being not matched than a non-Dominion card being matched.

After reading through some more various threads that weren't actually talking about Dominion cards, I think the solution is to consider capitalization for matching card names. Way too many uses of words like "fair" and "page" and "haven't" that shouldn't be matched. Probably better to err on the side of a Dominion card being not matched than a non-Dominion card being matched.

Haven't we had enough of Dominion cards not being linked? Is this Fair to the card names we forget to capitalize? I say there's nothing nothing wrong with linking words to Dominion cards when they're not being used to name the cards. These Pages are on the Dominion forums, after all.

After reading through some more various threads that weren't actually talking about Dominion cards, I think the solution is to consider capitalization for matching card names. Way too many uses of words like "fair" and "page" and "haven't" that shouldn't be matched. Probably better to err on the side of a Dominion card being not matched than a non-Dominion card being matched.

Haven't we had enough of Dominion cards not being linked? Is this Fair to the card names we forget to capitalize? I say there's nothing nothing wrong with linking words to Dominion cards when they're not being used to name the cards. These Pages are on the Dominion forums, after all.

After reading through some more various threads that weren't actually talking about Dominion cards, I think the solution is to consider capitalization for matching card names. Way too many uses of words like "fair" and "page" and "haven't" that shouldn't be matched. Probably better to err on the side of a Dominion card being not matched than a non-Dominion card being matched.

Haven't we had enough of Dominion cards not being linked? Is this Fair to the card names we forget to capitalize? I say there's nothing nothing wrong with linking words to Dominion cards when they're not being used to name the cards. These Pages are on the Dominion forums, after all.

You mean the Dominion Forums.

we Forget to Capitalize?It might wear a bit thin if Minion gets picked out every time we mintion Domineon.

Logged

infangthief is in the lower 50% of commonly used words in the Collins dictionary

Aside from the Kingdom thing, which I'm still looking for answers on how to do it, I want to add some stuff to autolink that doesn't work due to people using abbreviations or shortcuts. Similar to how I have "Inherited" autolink to "Inheritance".

For all Boons, I plan to make them work even if "The" is missing. So "Wind's Gift" will autolink.

JoaT, CotR, IGG are the other common ones I can think of. Of course a lot of cards are commonly abbreviated, but I don't want to try and go overboard here. Just ones that are written in short form more often than they're written out fully.

What other cards am I missing? I could do common mistakes too, like "Farmer's Market".

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Giftthe Mountain's GiftMountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."

The issue with the double-The is indeed a bug; I should have that fixed hopefully later today. Thanks for finding it!

But I have no idea why the other ones aren't working for you. Do me a favor and go to http://pittersplace.com/dominion/cardlist.txt (that's the page that lists everything it tries to autolink). If you scroll to the very bottom, do you see "Mountain's Gift" (with no "the"), etc?

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Giftthe Mountain's GiftMountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."

The issue with the double-The is indeed a bug; I should have that fixed hopefully later today. Thanks for finding it!

But I have no idea why the other ones aren't working for you. Do me a favor and go to http://pittersplace.com/dominion/cardlist.txt (that's the page that lists everything it tries to autolink). If you scroll to the very bottom, do you see "Mountain's Gift" (with no "the"), etc?

I see them, but there seems to be an unindented block before it. Maybe that's causing the problem? I updated to 1.26 and the double-the issue seems to be fixed but I don't see the other autolinks.

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Giftthe Mountain's GiftMountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."

The issue with the double-The is indeed a bug; I should have that fixed hopefully later today. Thanks for finding it!

But I have no idea why the other ones aren't working for you. Do me a favor and go to http://pittersplace.com/dominion/cardlist.txt (that's the page that lists everything it tries to autolink). If you scroll to the very bottom, do you see "Mountain's Gift" (with no "the"), etc?

I see them, but there seems to be an unindented block before it. Maybe that's causing the problem? I updated to 1.26 and the double-the issue seems to be fixed but I don't see the other autolinks.

I see that... it shouldn't be causing any issues, but I updated the list to fix it anyway.

I wonder if this is a localization thing... what country are you in; is your browser set to show things in a language other than English? Could also possibly be a line-ending encoding thing; are you on Linux or Mac by any chance?

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Giftthe Mountain's GiftMountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."

The issue with the double-The is indeed a bug; I should have that fixed hopefully later today. Thanks for finding it!

But I have no idea why the other ones aren't working for you. Do me a favor and go to http://pittersplace.com/dominion/cardlist.txt (that's the page that lists everything it tries to autolink). If you scroll to the very bottom, do you see "Mountain's Gift" (with no "the"), etc?

I see them, but there seems to be an unindented block before it. Maybe that's causing the problem? I updated to 1.26 and the double-the issue seems to be fixed but I don't see the other autolinks.

I see that... it shouldn't be causing any issues, but I updated the list to fix it anyway.

I wonder if this is a localization thing... what country are you in; is your browser set to show things in a language other than English? Could also possibly be a line-ending encoding thing; are you on Linux or Mac by any chance?

Everything autolinks except the boons (possibly only the boons where the "The" is dropped)

The Mountain's Giftthe Mountain's GiftMountain's Gift

Only the first one autolinks...and it apparently tries to autolink to a page called "The The Mountain's Gift."

The issue with the double-The is indeed a bug; I should have that fixed hopefully later today. Thanks for finding it!

But I have no idea why the other ones aren't working for you. Do me a favor and go to http://pittersplace.com/dominion/cardlist.txt (that's the page that lists everything it tries to autolink). If you scroll to the very bottom, do you see "Mountain's Gift" (with no "the"), etc?

I see them, but there seems to be an unindented block before it. Maybe that's causing the problem? I updated to 1.26 and the double-the issue seems to be fixed but I don't see the other autolinks.

I see that... it shouldn't be causing any issues, but I updated the list to fix it anyway.

I wonder if this is a localization thing... what country are you in; is your browser set to show things in a language other than English? Could also possibly be a line-ending encoding thing; are you on Linux or Mac by any chance?

English, Windows 10 and a chromebook. Doesn't work on either.

Can you open the console (hitting F12) and see if there are any errors shown? To make sure this page has stuff to check:

There was a time that both of those would have worked; but plural was changed a long time ago, and capitalization was changed recently. Both because there were far too many false positives. People didn't like "haven't" auto linking, for example.

Fixed the Dave Goldthorpe / LibraryAdventurer issue by using \b word matches (their names were showing up as cards). I tried matching case-insensitive, but it was bad; way too many false positives. Version 1.13 is published. Thanks again Deadlock!

It might be possible to allow plurals to work without the Goldthorpe problem; if I just look for "s" specifically.

It might be possible to allow plurals to work without the Goldthorpe problem; if I just look for "s" specifically.

What's a Goldthorpe problem? Did you mean Scunthorpe problem? ('Cuz there's an easy way to remember how to spell that.)

The Goldthorpe problem was that the first half of that guy's name was getting autolinked to Gold, and it was annoying. I don't remember who he was; but people were posting about him back then.

Oh, wow. I was going to guess that was a made-up name referencing the Scunthorpe Problem in a Dominion-specific context, but there's actually a playtester for Nocturne (mentioned in the secret history but not the credits) named David Goldthorpe. That's a little bit hilarious.

I know, I know... and it wasn't a problem for your username. The problem was for other common words and names. False positives make the forum harder to read. Actually, I can't remember how it worked back when your username did auto-link... was not possible to click on your name to get to your user profile? That seems like an issue in general.

I mean, a possibly good solution would be to treat a capital letter as the start of a new word; so "LibraryAdventurer" would act like 2 separate autolinked words, but "Libraryadventurer" wouldn't. But that's a lot of work for basically just this one specific use case.

I wonder if the stuff I have to make it not break when card names are used inside links makes card names not work when they just happen to be between brackets... So like if I wanted to say that Duchy < Province, but Colony > Province...

*Edit* Apparently it still works, though I don't know why, lol.

*Edit2* Ah, the < and > are html encoded to show up properly; of course.

I know, I know... and it wasn't a problem for your username. The problem was for other common words and names. False positives make the forum harder to read. Actually, I can't remember how it worked back when your username did auto-link... was not possible to click on your name to get to your user profile? That seems like an issue in general.

I mean, a possibly good solution would be to treat a capital letter as the start of a new word; so "LibraryAdventurer" would act like 2 separate autolinked words, but "Libraryadventurer" wouldn't. But that's a lot of work for basically just this one specific use case.

I'd only expect that kind of treatment if I donated to the cause, but I think I'd rather spend my money on ShIt. (which I hope you don't take the wrong way...)