Hi,
I want to allow users to filter searches of a Mediawiki's content so
that search results that match user-selected categories *and* the
search term would be returned.
For example, along with the standard search box (text field for search
term) a user could be presented with a treed list of all categories
with check boxes by them. Only when a category's check box is checked
by the user for a given "advanced/category-filtered" search would
content in that category be searched. User could select ***as many or
few categories*** as he likes and the search tool would search only
within those categories.
Has anyone seen anything like this implemented for Mediawiki? Or for any
other content management system?
Thanks,
Roger
--
Roger Chrisman (650) 387-4732 Palo Alto
Hi
I heard about this extension here http://meta.wikimedia.org/wiki/WikiGTD
It sounds great, but i don't find any sourcecode or a working demo...
Anyone got a link ?
thanks
.rob
I want to know how do i get some preloaded content on all pages falling in
a customized namespace?. The text for this content will be obtained from the
database dynamically once the user clicks on the link for that page.
Thanks
Amruta
On a local mediawiki installation I extended the SkinTemplateContentActions
to add a new Tab to the menu that adds/removes pages from a
watchlist-esque table.
Unfortunately, the list of content actions seems to get cached on the
page, requiring an action=purge to correctly toggle the contents of
the tabs.
I can get around this by calling $this->mTitle->invalidateCache() but I
can't see what it is that makes watch/unwatch (or protect/unprotect)
not hit the same problem, so I'm not sure whether that's really the
right way to do this.
Any pointers would be appreciated.
Thanks,
Tony
Hi there,
my webspace will getting low in near future and so i have to move my
wiki to another one. The files are not the problem, but the database is
with 160 MB "huge" (about 1900 articles) (yeah, i know, the real
wikipedia has a bit more ;)). Because, there was a few database changes
in the mediawiki (and i start with the 1.3.x Version) just a simple
question: What tables i dont have to move? This is my database for now:
archive 7,5 KB
blobs 1,0 KB
brokenlinks 66,0 KB
categorylinks 522,8 KB
cur 6,5 MB
hitcounter 0 Bytes
image 391,6 KB
imagelinks 249,5 KB
interwiki 21,9 KB
ipblocks 4,1 KB
links 875,3 KB
linkscc 403,9 KB
logging 438,3 KB
math 1,0 KB
objectcache 5,4 MB
oldimage 15,6 KB
page 839,4 KB
pagelinks 2,5 MB
querycache 1,0 KB
recentchanges 634,8 KB
revision 4,4 MB
searchindex 18,4 MB
site_stats 2,0 KB
text 118,8 MB
trackbacks 1,0 KB
transcache 1,0 KB
user 386,1 KB
user_groups 3,2 KB
user_newtalk 1,0 KB
user_rights 8,8 KB
validate 1,0 KB
watchlist 168,3 KB
Whats with objectcache and cur? Can i just create the table without any
content? Can i rebuild the searchindex on the new server, so that i dont
have to move this through my little 128 Kbit upstream Line?
Do i have to regard other thing for the move?
Some technical informations, if needed:
My old webspace is just webspace. No console login.
My new Server is a Linux vServer, with root access.
Thanks for help!
Stefan aka Campino
--
http://www.daocpedia.de/
I want to create page and talk page for references that get added to any
article. I have done the code where you can add a new reference and save it in
the database. I have also created a separate reference and reference talk
namespace.
At the end of the article i am showing a list of references, now i want this
to actually be the link to the reference page. Once the user clicks on the
link it hsould take him to that reference page and show a standard box which
shows the reference information. Also how to add a page in the namespace. Does
doing Reference:pagename add the page to that namespace?
Thanks,
Amruta
Hi,
i found a wiki site where the text area is half
transparent. See at
http://www.ping.com.au/wiki/Main_Page
How can i do that?
Is that in skins/monobook/main.css?
I searched there for tranparency but i didn't find
anything.
Armin
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Blahtex 0.4.1 has been released; now it can get PNGs lining up
vertically with the surrounding text (a la PlanetMath, but with a
different strategy). No new bug fixes though.
Source, demo, manual, etc available at http://www.blahtex.org/.
Jitse's test wiki (http://wiki.blahtex.org/) doesn't include the
vertical alignment functionality for the moment.
David Harvey
I am trying to create wiki pages via program. I have been partially
successful, but I cannot seem to get passed problems of accented characters
not appearing correctly. Below I have a self-contained example. It creates
a page called "Page Test 1" fine, except that the page text, instead of
reading as "Fédération" (with two "e"s with accents), I get complete junk
for that part. In Internet Explorer it shows as a chinese character (!), and
in Firefox I get two nasty blobs with question marks in.
What can I do to ensure the code-page translation stuff works correctly?
There are a whole bunch of stuff for dealing with funny chars, but which to
use, or how should I be pre-processing 'user' input?
Thanks!
Hugh Prior
<?
require_once("../includes/Article.php");
require_once("../includes/Title.php");
require_once("../includes/EditPage.php");
require_once("../includes/GlobalFunctions.php");
/**
* Test page creation
*/
function pageCreate() {
global $wgLoadBalancer;
global $wgUser;
// Create the page text
$pageText = "Fédération";
$wikiPageName = "Page Test 1";
// Code adapted from "maintenance/InitialiseMessages.inc"
$dbw =& wfGetDB( DB_MASTER );
$title = new Title();
$title = $title->newFromText($wikiPageName);
$article = new Article( $title );
$newid = $article->insertOn( $dbw, 'sysop' );
$revision = new Revision( array(
'page' => $newid,
'text' => $pageText,
'user' => 0,
'user_text' => "My user text",
'comment' => '',
) );
$revid = $revision->insertOn( $dbw );
$article->updateRevisionOn( $dbw, $revision );
$dbw->commit();
}
// Call the page creation
pageCreate();
?>
Hello all,
I am currently using MediaWiki 1.5.4 and using Mozilla 1.5.1 as main
browser.
Aspell 0.6 is also installed as well as dictionary package.
All the spelling check configuration seems to be working (
http://mcintosh.cjb.net/wiki/index.php/MediaWiki_SpellCheck_Setup) except
when I try to check the spelling, it gives me the following error.
"There was a problem calling the spell checksourceObj has no properties.
Type Error: sourceObj has no properties."
The error is coming from javascript part, callSpellChecker() function, but
can't figure out how to approach this error.
It seems like when the user input something in the textbox, it is not
creating the contents as object.
But once again, I have no idea how to fix this.
Does anyone has an idea for this?
Thank you for your time and concern.
Regards,
Young
--
Young J. Kim
goguryo2000(a)gmail.com