Moderator: Unholy
qwaletee wrote:I didn't really want to encourage anyone to make, say, a Google+ page as the update discussion link for a Wiki page.
qwaletee wrote:However, I think as kent implemented it, the usage is fairly awkward, so I went ahead and rewrote it with a bunch of options. It will still support EXACTLY THE SAME SYNTAX as Kent provided, with some mild formatting changes to the result, but also supports a lot more.
qwaletee wrote:1) As originally implemented, you either link to the default Wiki updates forum main page, or specify a forum name. But if you specify the name, it doesn't really link anywhere. I set it up so it will now search the Wiki Update forum for a topic with the specified name
qwaletee wrote:2) As originally implemented, you had to know the template's internal syntax of "forum=text" to invoke the alternate topic name I mentioned in the previous point. I simplified it so that you can give the text as a nameless parameter. {{ForumLink | Any text to search topic name}}
qwaletee wrote:3) Instead of specifying the text of the topic name, you can specify a topic ID {{ForumLink | 89344}} would link to the topic we are in now...
qwaletee wrote:4) ...but using generic text for the link. Instead, you can specify both text and ID: {{ForumLink | New WME chat Wiki page | 89344}} - this will link here using the specified text. Note that 89344 can be easily found in the URL while you are reading the topic (after the &t= in the address bar).
qwaletee wrote:5) Some pages may need to link to a different forum. For example, the state pages pages might link to the state forums instead of the Wiki updates forum. The syntax here is a little more convoluted -- just add forumid=nnn, where nnn matches the forum ID, which can be found in URLs for any page in that forum (after &f= in the address bar). For example, the NJ forumid=249, so {{ForumLink|forumid=249}} (default link text) or {{ForumLink|Go to New Jersey's forum, guys!|forumid=249}} (specified link text) will work
qwaletee wrote:6) The above won't work for the country forums, because the URL changes for each country. An additional parameter is available to support the other countries: |lang=aa - for example {{ForumLink | Can you read Hebrew? | 23238 | forumid=59}}
qwaletee wrote:FYI, I kept Kent's original parameter of "|forum=any-url-you-want" out of deference to him and so as not to break any pages he was working on. But honestly, it is confusing, as it goes to any page, not just a forum, and you have to use the whole URL. If he's OK with it, I'd like to drop it and use a different name. Since you don't have to use forum= (because I support nameless parameters), please don't specify forum= if you can possibly avoid it. It will make it easier to rip out later.
qwaletee wrote:I have already expressed a concern that the community is getting fractured by growing use of external tools. I believe we should be trying to limit that.
qwaletee in a separate thread wrote:I would have to see what would be needed to support an "internal discovery." I suppose you mean parsing the parameter to see if it contains what looks like a URL to the forums? With Lua, that's easy, but i don't know if we have it implemented. With RegExpParser function, not that much more difficult, though the #if nesting is already getting a little out of hand.
Also, what can we do to better integrate the two to begin with, so editors don't have to jump back and forth and copy URLs?
qwaletee wrote:The fracturing concern is not specific to [[Template:ForumLink]], but given my concern, I didn't really want to encourage anyone to make, say, a Google+ page as the update discussion link for a Wiki page.
Return to Wiki Updates and Discussion
Users browsing this forum: No registered users