-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to write to Scribunto Module namespace #28
Comments
Hi @l1ghtsword, iirc MediaWiki (by default) prevents you from saving syntactically incorrect Lua. Instead of using the string print("Hello World!") |
@fastily Okay, more background. It just so happens one of those names happens to contain a letter, However, when i attempt to do this via Jwiki, it seems to parse as Malformed number anyway.
|
I can't reproduce this error What happens when you add System.out.println(table); after Also, could you please share the version of (visit Special:Version) of Lua and MediaWiki are you using and/or any other relevant pieces of code? |
Okay i spent a bit more time on this (thank you for confirming on your end btw) Long story short, i found all the pieces i was missing and have ruled out Jwiki as the issue entirely. Thanks a bunch, appreciate the quick responses. |
Hello,
I am working on a automated task handler to do various update and maintenance routines and ran into a bit of an issue with Jwiki only when attempting to write to Module:<pagename>...
I'm honestly stumped as to what is causing the issue, i confirmed bot permissions are set and added ".withDebug(true)" to the builder to the Wiki object.
I can see it is loading the namespace as:
When it attempts to create a page or edit an existing page (overwrite) with the String "testpage" it gives:
I worked out that " \u0027 " is " ' " and " \u003d " is " = " but i'm not sure why these are being prepended to the wiki text when editing... Is it possible to prevent that from happening when trying to write to id 828?
The text was updated successfully, but these errors were encountered: