First of all....Helloo....I'm new here...Thx
OK...well, i need some suggestion from all of you... i have a plan that i'll use mediawiki as background content of my site (educational & non-profit). but i'm bit confused doing that. my filled by many feature, such as news, review, etc. and the main purpose is educational through encyclopedia( first reason i use mediawiki). and this site is open contribution (second reason). But when i want grab the content (printable version), i don't know what i have to do. if i use fopen, many character will shown strangely, and the path still in mediawiki directory....
so, pls help me.....
-- Rock for Freedom
Printable version? index.php?title=foo&print=1
Rob Church
On 08/12/05, Rockefellaz Fellow rockefellaz@gmail.com wrote:
First of all....Helloo....I'm new here...Thx
OK...well, i need some suggestion from all of you... i have a plan that i'll use mediawiki as background content of my site (educational & non-profit). but i'm bit confused doing that. my filled by many feature, such as news, review, etc. and the main purpose is educational through encyclopedia( first reason i use mediawiki). and this site is open contribution (second reason). But when i want grab the content (printable version), i don't know what i have to do. if i use fopen, many character will shown strangely, and the path still in mediawiki directory....
so, pls help me.....
-- Rock for Freedom _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 08/12/05, Rockefellaz Fellow rockefellaz@gmail.com wrote:
if i use fopen, many character will shown strangely, and the path still in mediawiki directory....
On what are you using fopen? MediaWiki content is stored in a database, not a filesystem, so if you want to access the data you'll need to either access the database directly (and hack a way of calling the "parser") or make a HTTP request inside your program (using libwww or something, I guess) to a pre-rendered version.
The best form for this is not the printable version but the completely skinless version, available using "action=render"; e.g. http://en.wikipedia.org/w/index.php?title=User:IMSoP&action=render [The only disadvantage seems to be that it renders internal links as full, rather than relative, URLs, which maybe isn't what you want; maybe a hacked LocalSettings.php could give them a fake prefix?]
-- Rowan Collins BSc [IMSoP]
Hi,
I've been trying to activate the search input box for my Mediawiki, with no success. I've been looking at everything I could find about it in the documentation, and did what is said...
Versions: * MediaWiki: 1.5.2 * PHP: 4.3.11 (apache) * MySQL: 4.0.25-standard
Any idea ?
Thanks in advance.
--Raphael HUCK
Raphael HUCK wrote:
I've been trying to activate the search input box for my Mediawiki, with no success. I've been looking at everything I could find about it in the documentation, and did what is said...
Which search input box, and how's it disabled?
-- brion vibber (brion @ pobox.com)
I mean the search box to search on the wiki, the one usually under the navigation menu (full text search) : <div id="p-search" class="portlet">
By disabled I mean it doesn't show on the main page (the p-search div is not is the source).
My $wgDisableTextSearch = false. $wgDisableInternalSearch = false also.
Thanks,
--Raphael HUCK
Raphael HUCK wrote:
I've been trying to activate the search input box for my Mediawiki, with no success. I've been looking at everything I could find about it in the documentation, and did what is said...
Which search input box, and how's it disabled?
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Raphael HUCK wrote:
I mean the search box to search on the wiki, the one usually under the navigation menu (full text search) :
<div id="p-search" class="portlet">
By disabled I mean it doesn't show on the main page (the p-search div is not is the source).
There's no setting which would cause that to disappear, afaik.
Have you customized your MonoBook.php? Compare it to the original, and restore the missing sections.
-- brion vibber (brion @ pobox.com)
My MonoBook.php is the original one. It contains:
<div id="p-search" class="portlet"> <h5><label for="searchInput"><?php $this->msg('search') ?></label></h5> <div class="pBody"> <form name="searchform" action="<?php $this->text('searchaction') ?>" id="searchform"> <input id="searchInput" name="search" type="text" <?php if($this->haveMsg('accesskey-search')) { ?>accesskey="<?php $this->msg('accesskey-search') ?>"<?php } if( isset( $this->data['search'] ) ) { ?> value="<?php $this->text('search') ?>"<?php } ?> /> <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('go') ?>" /> <input type='submit' name="fulltext" class="searchButton" value="<?php $this->msg('search') ?>" /> </form> </div>
--Raphael HUCK
Raphael HUCK wrote:
I mean the search box to search on the wiki, the one usually under the navigation menu (full text search) :
<div id="p-search" class="portlet">
By disabled I mean it doesn't show on the main page (the p-search div is not is the source).
There's no setting which would cause that to disappear, afaik.
Have you customized your MonoBook.php? Compare it to the original, and restore the missing sections.
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I have found the problem: it seems to be a bug in MonoBook.php.
<?php } ?> was put after the </div> closing <div id="p-search" class="portlet">,
it should have been put at the end of the </div> closing <div id="p-lang" class="portlet"> instead.
Thanks,
--Raphael HUCK
My MonoBook.php is the original one. It contains:
<div id="p-search" class="portlet"> <h5><label for="searchInput"><?php $this->msg('search')
?></label></h5> <div class="pBody"> <form name="searchform" action="<?php $this->text('searchaction') ?>" id="searchform"> <input id="searchInput" name="search" type="text" <?php if($this->haveMsg('accesskey-search')) { ?>accesskey="<?php $this->msg('accesskey-search') ?>"<?php } if( isset( $this->data['search'] ) ) { ?> value="<?php $this->text('search') ?>"<?php } ?> /> <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('go') ?>" /> <input type='submit' name="fulltext" class="searchButton" value="<?php $this->msg('search') ?>" /> </form> </div>
--Raphael HUCK
Raphael HUCK wrote:
I mean the search box to search on the wiki, the one usually under the navigation menu (full text search) :
<div id="p-search" class="portlet">
By disabled I mean it doesn't show on the main page (the p-search div is not is the source).
There's no setting which would cause that to disappear, afaik.
Have you customized your MonoBook.php? Compare it to the original, and restore the missing sections.
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
http://bugzilla.wikimedia.org, then please.
Rob Church
On 08/12/05, Raphael HUCK raphaelh@nist.gov wrote:
I have found the problem: it seems to be a bug in MonoBook.php.
<?php } ?> was put after the </div> closing <div id="p-search"
class="portlet">,
it should have been put at the end of the </div> closing <div id="p-lang" class="portlet"> instead.
Thanks,
--Raphael HUCK
My MonoBook.php is the original one. It contains:
<div id="p-search" class="portlet"> <h5><label for="searchInput"><?php $this->msg('search')
?></label></h5> <div class="pBody"> <form name="searchform" action="<?php $this->text('searchaction') ?>" id="searchform"> <input id="searchInput" name="search" type="text" <?php if($this->haveMsg('accesskey-search')) { ?>accesskey="<?php $this->msg('accesskey-search') ?>"<?php } if( isset( $this->data['search'] ) ) { ?> value="<?php $this->text('search') ?>"<?php } ?> /> <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('go') ?>" /> <input type='submit' name="fulltext" class="searchButton" value="<?php $this->msg('search') ?>" /> </form> </div>
--Raphael HUCK
Raphael HUCK wrote:
I mean the search box to search on the wiki, the one usually under the navigation menu (full text search) :
<div id="p-search" class="portlet">
By disabled I mean it doesn't show on the main page (the p-search div is not is the source).
There's no setting which would cause that to disappear, afaik.
Have you customized your MonoBook.php? Compare it to the original, and restore the missing sections.
-- brion vibber (brion @ pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org