ACHTUNG: Diese Mailbox wird nicht persönlich gelesen und dient nur zur elektronischen automatischen Weiterverarbeitung. Sie werden auf diese E-Mail KEINE Antwort von uns erhalten.
Bitte antworten Sie NICHT auf diese E-Mailadresse. Unser Service-Team steht Ihnen über support(a)iserve4u.ch gerne zur Verfügung.
Ihr iserve4u-Team
I LOVE this group!!!!
:)
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Charlotte Webb
Sent: Monday, February 09, 2009 8:21 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Pre-like tag, with wrapping?
On Mon, Feb 9, 2009 at 3:13 AM, K. Peachey <p858snake(a)yahoo.com.au> wrote:
> Use a div box or table and style it accordingly:
> eg: <div style="width:99.5%; margin:0 auto; background-color:#EE17C3;
> border:1px dashed #0000FF">BOX Contents</div>
On Mon, Feb 9, 2009 at 4:41 AM, Katharina Wolkwitz <wolkwitz(a)fh-swf.de>
wrote:
> You could try the <tt> </tt>-Tag...
No no no, just use:
<pre style="white-space:normal;">
BOX Contents
</pre>
This is the opposite of "white-space:nowrap;". The <pre> tag is unique
in having this attribute by default.
-C.W.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi Everyone. I'm new to mediawiki, and I'm not the site administrator,
so I'm still feeling around for what I can do.
Today, I learned how to modify MediaWiki:Sidebar, MediaWiki:Common.css
and MediaWiki:Common.js.
What I can't figure out how to do, after reading tons of
documentation...
1. Utilize my javascript within my document. My <script> tag shows up
as text in the body of the document, instead of executing the script.
2. Modify the top of the page to add additional common navigation,
the way that I did with the Sidebar.
Maybe I just don't know what to search for, or what part of the
documentation to look at. Can someone point me in the right direction?
Thanks!
--
Chris Africa
Web Project Manager
Department of Mechanical Engineering
University of Michigan
734-764-8482
Fridays: 734-730-6221
AIM/iChat/Skype ID: baiewola
Hello,
I recently upgraded to 1.14.0rc1. But now, every non-existing page (link
is red) is not run through the PHP-interpreter, instead my browser
offers me the "file download"
The content of such a "downloaded" file (index.php) looks like:
~~~~~~~~~~~~~~~~~~~~
[Process]
Type=Edit text
Engine=MediaWiki
Script=http://www.mydomain.example/wiki/index.php
Server=http://www.mydomain.example
Path=/wiki
Special namespace=Spezial
[File]
Extension=wiki
URL=http://www.www.mydomain.example/wiki/index.php?title=Benutzer:prename.name&action=edit&internaledit=true
~~~~~~~~~~~~~~~~~~~~~
TIA for any hint,
Peter
Good morning everyone,
Sometimes I like to use <pre> to give a certain piece of text that extra
oomph, to emphasize it's a bit different from the other text.
As you know, <pre> is meant to add text without wrapping it, but that's
a problem right now.
Is there a tag that looks like <pre>'s formatting and actually wraps the
lines?
I'm sure it must exist, but I have no clue what this type of object
would be called...
Greetings,
Jelle De Loecker
Hello all,
I have a user on my website who's user page and talk page, through a
complicated set of circumstances, have become impossible to access through a
sort of infinite loop of redirects. Anyway, I believe the easiest way to fix
it would be to MANUALLY delete these pages from the database. How can I do
this? What table(s) need to be edited? I have a backup to test stuff on.
Thanks
Hello,
I need some help by my extensions. I don't know why I get this output on the
page: 1 2 0 (http://wiki.keb-vogelsberg.de/index.php?title=Hauptseite) by
the input <toolserver_poll id=2></toolserver_poll>
Zu Deutsch:
Hallo,
Ich brauche Hilfe bei meiner Mediawiki-Erweiterung. Ich kann mir nicht
erklären, warum ich dieses Ergebnis auf der Seite erhalte: 1 2 0
(http://wiki.keb-vogelsberg.de/index.php?title=Hauptseite)
Code of the Extensions:
<?php
/**
* Toolserver Poll - Include the
Toolserver-Poll-Skript(http://toolserver.org/~jan/poll/index.php)
*
* To activate this extension, add the following into your LocalSettings.php
file:
* require_once("$IP/extensions/Toolserver_Poll/toolserver_poll.php");
*
* @ingroup Extensions
* @author Jan Luca <jan(a)toolserver.org>
* @version 1.0 Alpha
* @link http://www.mediawiki.org/wiki/Extension:MyExtension Documentation
* @license http://creativecommons.org/licenses/by-sa/3.0/ Attribution-Share
Alike 3.0 Unported or later
*/
/**
* Protect against register_globals vulnerabilities.
* This line must be present before any global variable is referenced.
*/
if( !defined( 'MEDIAWIKI' ) ) {
echo( "This is an extension to the MediaWiki package and cannot be run
standalone.\n" );
die( -1 );
}
// Extension credits that will show up on Special:Version
$wgExtensionCredits['parserhook'][] = array(
'name' => 'Toolserver Poll',
'version' => '1.0 Alpha',
'author' => 'Jan Luca',
'url' =>
'http://www.mediawiki.org/wiki/Extension:Toolserver_poll',
'descriptionmsg'=> 'descript_msg'
);
//Avoid unstubbing $wgParser on setHook() too early on modern (1.12+) MW
versions, as per r35980
if ( defined( 'MW_SUPPORTS_PARSERFIRSTCALLINIT' ) ) {
$wgHooks['ParserFirstCallInit'][] = 'eftoolserver_pollSetup';
} else { // Otherwise do things the old fashioned way
$wgExtensionFunctions[] = 'eftoolserver_pollSetup';
}
$wgExtensionMessagesFiles['toolserver_poll'] = dirname( __FILE__ ) .
'/toolserver_poll.i18n.php';
function eftoolserver_pollSetup() {
global $wgParser;
$wgParser->setHook( 'toolserver_poll', 'eftoolserver_pollRender' );
return true;
}
function get_request($server,$page,$ignore_redir=false,$it=0) {
global $count;
$count++;
//$cookies=cookiestring($server);
$fp = fsockopen ($server, 80, $errno, $errstr, 10);
if (!$fp) {
if($it < 4) {
get_request($server,$page,$ignore_redir,$it+1); } else { echo
"get_request($server,$page) fehlgeschlagen: $errstr!<br />\n"; }
} else {
fputs ($fp,"GET $page HTTP/1.1
Host: $server
Cookie: $cookies
User-Agent: ".USERAGENT."
\r\n\r\n");
while (!feof($fp)) {
$buf.= fgets($fp,128);
}
fclose($fp);
$buf2=getheaders($buf);
preg_match('@Location: http://(.*)/(.*)\r\n@iU',$buf2,$hit);
if($hit[1]!="" && (!$ignore_redir)) {
$buf=get_request($hit[1],"/".$hit[2]);
}
//update_cookies(getheaders($buf),$server);
flush();
return $buf;
}
}
function getheaders($buf) {
preg_match ("/^(.*)\r\n\r\n/is",$buf,$hit);
return $hit[1];
}
function removeheaders($buf) {
preg_match ("/\r\n\r\n(.*)$/is",$buf,$hit);
return $hit[1];
}
function eftoolserver_pollRender( $input, $args, $parser ) {
foreach( $args as $name => $value )
$id = htmlspecialchars( $value );
$get_server =
removeheaders(get_request('toolserver.org','/~jan/poll/dev/main.php?page=wik
i_output&id='.$id.''));
if(isset($get_server)) {
return $get_server;
}
else {
return "nicht funktioniert";
}
}
Code von main.php:
$page = $_GET['page'];
...
if($page == "wiki_output") {
$wiki_id = $_GET['id'];
echo $wiki_id;
}
MfG
Jan Luca