Oops, I hit reply mindlessly without checking that it was to the list!
Anyway, for the record, here's his response and my answer.
On 8/28/05, Douglas Valkenaar <douglas.valkenaar(a)gmail.com> wrote:
> Well, thanks for your response but you've lost me on both counts:
>
> 1) How do I set a variable to two directories (what's the serparator)?
Read up on cookies. <http://www.google.com/search?q=HTTP+cookies>
would be a good place to start.
The short answer: You inheirently can't. And I'm not refering to
physical directories, I'm refering to URI paths. (Set to the parent
dir, if possible.)
> 2) Not sure about "PHP sessioning?" I've set the session name
> variable - is that enough? Shall I do some reading on this? And if
> that's the case, where?
<http://www.php.net/session>
--
Jamie
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now has 2GB.
The software was easy to install but there seems to be a significant
learning curve setting it up. I just wanted to do a "local news wiki"
for our small town. Was hoping I could clone the WikiNews style but it
looks like there are a bunch of templates, etc. to copy. Is there easy
way to copy this layout?
I documented the steps to add AdSense to MediaWiki 1.4, as I suspect others
will also find this useful. If you're not familiar with it, AdSense pays
you ~70% of the click-though revenues Google receives by placing ads on your
page.
http://www.dankohn.com/archives/000338.html
You can see the results
at http://www.pwsnotes.org
- dan
--
Dan Kohn <mailto:dan@dankohn.com>
<http://www.dankohn.com/> <tel:+1-650-327-2600>
Hi all!
I have MW 1.4.7 installed. It runs with the German language interface.
Here, all menues and links (eg. "navigation", "suche" (=search),
"werkzeuge" (=tools) are displayed with a small letter.
In the language-file, all translastions are correctly translated with a
capital letter.
In the German WP, everything looks fine.
What can I do?
Thanks!
I decided to go with the '"short" URL option using redirection in my
Apache server. Following the FAQ instructions I added the appropriate
lines to httpd.conf:
AcceptPathInfo On
Alias /wiki "/var/www/html/pubwiki/index.php"
Alias /index.php "/var/www/html/pubwiki/index.php"
I modified my LocalSettings.php to refer to my "alias" as the
ArticlePath, and I modified the script paths:
# The *real* directory
$wgScriptPath = "/pubwiki";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";
# The *pseudo* path seen in the URL
$wgArticlePath = "/wiki/$1";
While the URL seems to work and my pages load properly (after clearing
the cache), when someone logs in they cannot access their
"preferences" page. It continues to see them as "not logged in". In
fact, the upper right corner of the page reports them as anonymous (ip
address, "please log in", etc.) even though they can click on 'edit'
and it records their ID.
What am I missing in all this? Why isn't this working?
Hi all,
I've been given the task to modify an install of mediawiki so that it
has an article summary field (cur_brief) in addition to its cur_id and
cur_text fields. cur_brief is a tinyblob which also needs to be made
fulltext searchable. The cur table has been modified to include this
new field, but I've been having some trouble with getting the
searchindex table to include it as well for wiki searches.
What I've tried:
- Manually adding si_brief to the searchindex table and modifying the
scripts in the maintenance directory to include references to si_brief
wherever there are mentions of si_text
- Modifying the SearchMySQL4 (and related files) to include a search
for the brief field.
When I manually add data into the si_brief field, the search works
quite happily. But, I think my changes may have inadvertently caused
the wiki to stop updating the searchindex table.
Someone mentioned to me that it is possible that MySQL may maintain
the tables with the replicated data by itself but I was unable to
determine if this was the case. I've looked at the MySQL docs for the
MyISAM and InnoDB types to see if it would help, but I'm still not
sure of what I'm looking for.
If someone could point me in the right direction to add another
fulltext field to the search, that'd be great.
Thanks,
shay
Teammates,
When trying to configure MediaWiki after installation, I get the
following
error:
Warning: dl() [function.dl]: Not supported in multithreaded Web servers
- use extension=mysql.so in your php.ini in
G:\wwwroot\wiki\install-utils.inc on line 17
Could not load MySQL driver! Please compile php --with-mysql or install
the mysql.so module.
I have a win2k sp4 server, running IIS v5.0 and Sun ONE Web Server v6.0
(but I was using IIS for the wiki), and
I am entirely unsure what to do. I do not have a file titled "mysql.so"
in my MySQL folder.
Lori
Lori (Dolores) Rowe
Web Administrator
Software Engineering Tools and Environments
Boeing
(314)882-8784
Is there a way to add an inline comment to wiki code?
I'm hoping to do something like this:
* Add item here <!--- Do not delete this line! --->
...but of course, the method shown doesn't work.
Is there a URL that documents how to do this?
I just installed mediawiki 1.4.8 and after going through the config I
end up seeing a blank page for index.php and the following error in my log:
PHP Fatal error: Call to a member function tableName() on a non-object
in /var/www/html/wiki/includes/ObjectCache.php on line 409, referer:
http://www.*************.net/wiki/config/index.php
I tried going through the install with mmcache enabled and disabled and
I get the same error either way and haven't had any luck looking for the
problem so far.
Any help is much appreciated, Thank you.
Eric Dalquist
Here is the info from my config page:
MediaWiki 1.4.8 installation
Please include all of the lines below when reporting installation problems.
Checking environment...
* PHP 5.0.4: ok
* PHP server API is apache2handler; ok, using pretty URLs
(index.php/Page_Title)
* Have XML / Latin1-UTF-8 conversion support.
* PHP's memory_limit is 8M. If this is too low, installation may
fail! Attempting to raise limit to 20M... ok.
* Have zlib support; enabling output compression.
* Turck MMCache installed
* Found ImageMagick: /usr/bin/convert; image thumbnailing will be
enabled if you enable uploads.
* Installation directory: /var/www/html/wiki
* Script URI path: /wiki
* MySQL error 1045: Access denied for user 'root'@'localhost' (using
password: NO)
* Trying regular user... ok.
* Connected to database... 4.1.12; enabling MySQL 4 enhancements
* Database mediawiki exists
* Creating tables... done.
* Initializing data...
* Created sysop account edalquist.
*
Initialising "MediaWiki" namespace...
Clearing message cache...Done.
Creating LocalSettings.php...
Success! Move the config/LocalSettings.php file into the parent
directory, then follow this link to your wiki.