https://bugzilla.wikimedia.org/show_bug.cgi?id=20594
--- Comment #2 from Platonides <[email protected]> 2009-09-13 22:23:11 UTC --- Created an attachment (id=6549) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6549) Remove {dbname} placeholder You can remove it by disabling MWSuggest ($wgEnableMWSuggest = false on LocalSettings.php) or, since MWSuggest doesn't really need it, in Skin.php change the line $vars['wgDBname'] = $wgDBname; to anything else, like $vars['wgDBname'] = "I won't tell you"; wgDBname javascript variable is used to replace {dbname} in the suggest template with the database name. However, default $wgMWSuggestTemplate doesn't use such placeholder, the search url shouldn't need it (a script relying on it would be insecure), and even if needed, $wgMWSuggestTemplate could include {$wgDBname} in the definition. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
