Roan Kattouw <roan.kattouw <at> gmail.com> writes:
What matters is the name of the class. Somewhere, you'll have something like:
class Blahblah extends SpecialPage {
The "Blahblah" part is what you should fill out for the second 'BikolLiterature' (where I used 'SpecialBikolLiterature').
Roan Kattouw (Catrope)
I'm accessing now the server 'ccs.adnu.edu.ph' to fix some bugs.. I tried what Platonides suggested. It didn't work out. :( The code below is what I tried:
--------------------------------------------------------------------- /** URL of the server. It will be automatically built including https mode */ $wgServer = '';
if( isset( $_SERVER['SERVER_NAME'] ) ) { $wgServerName = $_SERVER['SERVER_NAME']; } elseif( isset( $_SERVER['HOSTNAME'] ) ) { $wgServerName = $_SERVER['HOSTNAME']; } elseif( isset( $_SERVER['HTTP_HOST'] ) ) { $wgServerName = $_SERVER['HTTP_HOST']; } elseif( isset( $_SERVER['SERVER_ADDR'] ) ) { $wgServerName = $_SERVER['SERVER_ADDR']; } else { $wgServerName = 'localhost'; }
# check if server use https: $wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http';
$wgServer = $wgProto.'://' . $wgServerName; # If the port is a non-standard one, add it to the URL if( isset( $_SERVER['SERVER_PORT'] ) && !strpos( $wgServerName, ':' ) && ( ( $wgProto == 'http' && $_SERVER['SERVER_PORT'] != 80 ) || ( $wgProto == 'https' && $_SERVER['SERVER_PORT'] != 443 ) ) ) {
$wgServer .= ":" . $_SERVER['SERVER_PORT']; --------------------------------------------------------------------- Is it right? Am i missing something?
Thanks.