Giter VIP home page Giter VIP logo

Comments (2)

zsotroav avatar zsotroav commented on June 18, 2024 1

Bump.

Using the gadget is almost pointless if you edit multiple wikis since a reconfig is needed. Potential easy fix would be expanding the <%-- [PAGE_INFO] segment to have info about which wiki the page is pulled from and then push back to that. No need to change the main config or it's layout, instead that would operate as a "default wiki" that is used when details in page info is not supplied or if pulling from within VSC.

Example:

<%-- [PAGE_INFO]
    comment = #Please do not remove this struct. It's record contains some important information of edit. This struct will be removed automatically after you push edits.#
    pageTitle = #User:Zsotroav#
    pageID = #34935#
    revisionID = #190976#
    contentModel = #wikitext#
    contentFormat = #text/x-wiki#
    wiki = #zsotroav.fandom.com#
    apiPath = #/api.php#
    articlePath = #/wiki/#
[END_PAGE_INFO] --%>

from wikitext-vscode-extension.

zsotroav avatar zsotroav commented on June 18, 2024

Furthermore, I'd recommend changing the label to bug instead of enhancment, since the plugin currently pushed back to the wrong wiki if the page was pulled through a link/the gadget.

from wikitext-vscode-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.