Jump to content

Manual talk:$wgDBname

Add topic
From mediawiki.org
Latest comment: 6 years ago by Ciencia Al Poder in topic Translation: all.dblist is a broken link

wgDBname in JavaScript?

[edit]

Why is this variable saved in a javascript variable? — Preceding unsigned comment added by YOUR1 (talk • contribs)

Some scripts use it to identify the wiki on a wiki farm, which is usually more "id-friendly" than a complete domain name, subdomain, etc. --Ciencia Al Poder (talk) 10:59, 18 February 2016 (UTC)Reply
Wow, there are much saver ways to do something like that. Using the 'real' database name shouldn't be visible to the public tbh. --YOUR1 (talk) 12:26, 18 February 2016 (UTC)Reply
Displaying the database name has no security nor privacy implications IMHO --Ciencia Al Poder (talk) 21:09, 18 February 2016 (UTC)Reply
[edit]

Under "See also" section, all.dblist should list all database used in Wikimedia servers, however, when I click it, it shows  all.dblist Invalid filename given.

  1. How do you resolve the issue?
  2. Or reading the previous discussion, do we need to present this item? --Omotecho (talk) 08:18, 8 March 2018 (UTC)Reply
Thanks for the report. I've fixed the link --Ciencia Al Poder (talk) 10:12, 8 March 2018 (UTC)Reply