From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- includes/AjaxFunctions.php | 101 --------------------------------------------- 1 file changed, 101 deletions(-) delete mode 100644 includes/AjaxFunctions.php (limited to 'includes/AjaxFunctions.php') diff --git a/includes/AjaxFunctions.php b/includes/AjaxFunctions.php deleted file mode 100644 index 8e5de31b..00000000 --- a/includes/AjaxFunctions.php +++ /dev/null @@ -1,101 +0,0 @@ -> 6 ) + 192 ) . chr( ( $num&63 ) + 128 ); - } - - if ( $num < 65536 ) { - return chr( ( $num >> 12 ) + 224 ) . chr( ( ( $num >> 6 )&63 ) + 128 ) . chr( ( $num&63 ) + 128 ); - } - - if ( $num < 2097152 ) { - return chr( ( $num >> 18 ) + 240 ) . chr( ( ( $num >> 12 )&63 ) + 128 ) . chr( ( ( $num >> 6 )&63 ) + 128 ) . chr( ( $num&63 ) + 128 ); - } - - return ''; -} - -/** - * Called in some places (currently just extensions) - * to get the URL for a given file. - */ -function wfAjaxGetFileUrl( $file ) { - $file = wfFindFile( $file ); - - if ( !$file || !$file->exists() ) { - return null; - } - - $url = $file->getUrl(); - - return $url; -} -- cgit v1.2.3-54-g00ecf