@@ -106,7 +106,7 @@ function cmd_verify(lang, msg, args, line, wiki, old_username = '') {
var comment = [];
var url = '';
if ( wiki.isGamepedia() ) {
- url = 'https://help.gamepedia.com/Special:GlobalBlockList/' + encodeURIComponent( username ) + '?uselang=qqx&cache=' + Date.now();
+ url = 'https://wikisandbox.gamepedia.com/Special:GlobalBlockList/' + encodeURIComponent( username ) + '?uselang=qqx&cache=' + Date.now();
}
else if ( wiki.isFandom() ) {
url = 'https://community.fandom.com/Special:Contributions/' + encodeURIComponent( username ) + '?limit=1&cache=' + Date.now();
@@ -43,7 +43,7 @@ const files = new Map(fs.readdirSync( './dashboard/src' ).map( file => {
process.env.READONLY = 'true';
const server = http.createServer((req, res) => {
- if ( req.method === 'POST' && req.url.startsWith( '/guild/' ) ) {
+ if ( req.method === 'POST' && req.url.startsWith( '/guild/' ) && !process.env.READONLY ) {
let args = req.url.split('/');
let state = req.headers.cookie?.split('; ')?.filter( cookie => {
return cookie.split('=')[0] === 'wikibot';
@@ -25,7 +25,7 @@
"defaultPermissions": 939912256,
"defaultSettings": {
"lang": "en",
- "wiki": "https://community.fandom.com/"
+ "wiki": "https://en.wikipedia.org/w/"
},
"timeoptions": {
"year": "numeric",