https://bugzilla.wikimedia.org/show_bug.cgi?id=53091

       Web browser: ---
            Bug ID: 53091
           Summary: @link plugin for wm-bot to be able to create wikilinks
           Product: Tools
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: WM-Bot
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to