https://bugzilla.wikimedia.org/show_bug.cgi?id=19593
--- Comment #7 from [email protected] 2009-07-12 19:15:03 UTC --- See also bug 9675. OK, using >$ echo 'var_dump(get_defined_vars());'|php maintenance/eval.php|grep -B 1 >localhost I have now perfected the >if($wgServerName=='localhost'){$wgServer=$wgInternalServer=$wgProto.'://'.($wgServerName=$site[1]);}#for > maintenance scripts I use in http://www.mediawiki.org/wiki/Manual:Wiki_family#Ultimate_minimalist_solution I bet there is no general solution for a maintenance script to determine the sitename. -- 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
