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

       Web browser: ---
             Bug #: 42533
           Summary: Creating parser functions to query the API local and
                    interwiki
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


At the moment it is not possible to create easily migratable parser functions,
they all need a copy and paste, and an amendment for the local server.  It
would be great if there was able to be added to the magic words and parser
functions that can used and applied to the api.  For example

* {{localurl:page name|query_string}}  -> {{localurl:MediaWiki|printable=yes}}
→ /w/index.php?title=MediaWiki&printable=yes

Here I am thinking {{localapi}} ->  /w/api.php?...


* {{fullurl:interwiki:remote page name|query_string}}
Here I am thinking {{fullapi:+++}} so we can more easily build lists of xwiki
api calls.

My reason is that sometimes there are queries that I want to share to others,
and and having it being local to the server running it without changing
components would be useful.  Plus to build a page to run a query on a series of
wikis (eg. show me the count of admins and bureaucrats) and building those with
shortcuts and without parser functionality is a nightmare.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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