Comments (2)
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.
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)
- Please consider publishing to the OpenVSX marketplace HOT 1
- There are always extra `"` in the preview HOT 3
- Error when pushing changes HOT 2
- can't pull page HOT 2
- Editing Scribunto module - Cannot read properties of undefined (reading 'join');
- Update the extensions to Web extensions
- Wikimedia Two-factor_authentication HOT 2
- Web Extension Error: `TypeError: Failed to fetch`
- Add basic authentication to settings. HOT 3
- Bracket highlighting not working in v3.7.0 HOT 11
- Credential requirement HOT 1
- Commands resolving to Not Found HOT 5
- Citation Snippets for free! HOT 1
- Treat `|}` as table closure only at start of line HOT 5
- Error on launching preview HOT 7
- Braces highlight mismatch HOT 2
- Highlight error caused by `{{` in the HTML tag HOT 1
- Bug: preview doesn't work HOT 7
- Better edit summaries? HOT 3
- Extension committing edits while logged out HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wikitext-vscode-extension.