Last modified: 2013-08-21 08:59:52 UTC
wm-bot could use a @link command to be able to create wikilinks to pages... It should be able to recognize interwiki prefixes. It should probably use enwp as a default wiki if not prefix is specified, with a @configure option to set a default wiki. For examples: @link [[User:Petrb]] Should create - https://en.wikipedia.org/wiki/User:Petrb @configure default_link_wiki=meta_wikipedia @link [[User:Petrb]] Should create - https://meta.wikimedia.org/wiki/User:Petrb One last possible feature, because I know it is popular on some other bots is: @link {{Example}} Should create - https://en.wikipedia.org/wiki/Template:Example @link {{User:Example}} Should be an exception if namespace is specified and create - https://en.wikipedia.org/wiki/User:Example Again, @configure default_link_wiki being set would determine which wiki...
How do I resolve the wiki prefix?
(In reply to comment #1) > How do I resolve the wiki prefix? https://github.com/Technical-13/helpmebot/blob/master/Helpmebot/Commands/Link.cs uses it's own internal interwiki table https://helpmebot.org.uk/wiki/Special:Interwiki