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

            Bug ID: 69575
           Summary: Provide all URL/path in
                    meta=siteinfo&siprop=interwikimap
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

For now, the module <code>meta=siteinfo&siprop=interwikimap</code> give this :

<iw prefix="XX" local="" language="YYYY" url="https://XX.wikipedia.org/wiki/$1";
protorel="" />

Could it be possible to give the other paths (available for example in
Special:Version) ?

1.) Complete URLs :
* indexurl="https://XX.wikipedia.org/w/index.php";
* apiurl="https://XX.wikipedia.org/w/api.php";
* loadurl="//bits.wikimedia.org/XX.wikipedia.org/load.php"

2.) Or like <code>meta=wikibase</code> does :
* base="//XX.wikipedia.org" 
* scriptpath="/w" 
* articlepath="/wiki/$1"
+
* loadurl="//bits.wikimedia.org/XX.wikipedia.org/load.php"

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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