At the bottom of the standard monobook skin it has a "footer" that says " This
page was last modified..." etc.. How do I change what appears in that area?
Also, I if I make a change to the footer there, will it change for the other
skins as well?
Thanks!
I would greatly appreciate it if someone could hit me with an
appropriately-sized cluebat when it comes to upgrading mediawiki. I've
reduced this to as simple of a case I can think of, and am running into
the same problem.
Here's what I do:
- Install mediawiki 1.4.5 and get it up and running. I installed it
in /var/www/html/mediawiki/.
- Make a page edit so I can verify that the upgrade worked.
Now, attempt the upgrade:
- Download and extract the 1.4.6 mediawiki tarball into a temporary
location, say ~/tmp.
- Backup my current mediawiki install:
cp -a /var/www/html/mediawiki /var/www/html/mediawiki.backup
- Move my LocalSettings.php file out of the way:
mv /var/www/html/mediawiki/LocalSettings.php /var/www/html/
- Copy the 1.4.6 files over the old ones:
cp -r ~/tmp/mediawiki-1.4.6/* /var/www/html/mediawiki/
- Make the config directory writeable for the web installer:
chmod 777 /var/www/html/mediawiki/config/
- Go to the wiki address and run the web-based installer again,
answering the exact same questions as I did before, with the exception
of the MySQL root password (which I left blank because this is an
upgrade).
When I confirm this install, I get the following output:
Checking environment...
* PHP 4.3.9: 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 not installed, can't use object caching functions
* Found GD graphics library built-in, image thumbnailing will be
enabled if you enable uploads.
* Installation directory: /var/www/html/mediawiki
* Script URI path: /mediawiki
* MySQL error 1045: Access denied for user
'root'@'localhost' (using password: NO)
* Trying regular user... ok.
* Connected to database... 4.1.10a; enabling MySQL 4 enhancements
* Database mediawiki exists
* There are already MediaWiki tables in this database. Checking if
updates are needed...
...linkscc table already exists.
...hitcounter table already exists.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...logging table already exists.
...user_rights table already exists.
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...have rc_type field in recentchanges table.
...have rc_ip field in recentchanges table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...have user_real_name field in user table.
...have user_token field in user table.
...have ur_user field in user_rights table.
...have log_params field in logging table.
...have ss_total_pages field in site_stats table.
...already have interwiki table
...indexes seem up to 20031107 standards
...linkscc is up to date, or does not exist. Good.
Converting links table to ID-ID...
Schema already converted
...image primary key already set.
Logging table has correct title encoding.
Creating covering cur_id index on cur... Query "ALTER TABLE cur ADD KEY `id_title_ns_red` (`cur_id`,`cur_title`,`cur_namespace`,`cur_is_redirect`)" failed with error code "Access denied for user 'mediawiki'@'localhost' to database 'mediawiki'".
I have verified that I can connect to this database using the same MySQL
username and password that I entered into the web installer form.
Here is the output from "describe cur" (I hope the ASCII table display
method that MySQL uses is readable in this e-mail):
+-------------------+---------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra
|
+-------------------+---------------------+------+-----+---------+----------------+
| cur_id | int(8) unsigned | | PRI | NULL |
auto_increment |
| cur_namespace | tinyint(2) unsigned | | MUL | 0 |
|
| cur_title | varchar(255) | | MUL | |
|
| cur_text | mediumtext | | | |
|
| cur_comment | tinyblob | | | |
|
| cur_user | int(5) unsigned | | MUL | 0 |
|
| cur_user_text | varchar(255) | | MUL | |
|
| cur_timestamp | varchar(14) | | MUL | |
|
| cur_restrictions | tinyblob | | | |
|
| cur_counter | bigint(20) unsigned | | | 0 |
|
| cur_is_redirect | tinyint(1) unsigned | | | 0 |
|
| cur_minor_edit | tinyint(1) unsigned | | | 0 |
|
| cur_is_new | tinyint(1) unsigned | | | 0 |
|
| cur_random | double unsigned | | MUL | 0 |
|
| cur_touched | varchar(14) | | | |
|
| inverse_timestamp | varchar(14) | | | |
|
+-------------------+---------------------+------+-----+---------+----------------+
What is it I am doing wrong?
Thank you for your time,
Scott
--
Scott Garman
sgarman at iname dot com
I realize it's been a while, but I thought I would share our result. We
wrote an extension - titled "nocache" that simply included the code from
meta at (http://meta.wikimedia.org/wiki/MediaWiki_extensions_FAQ). This
gives us a tag that we can put on any page and seems 99% of the time to
defeat the browser cache.
Seems to be working for us at least. Your mileage may vary :)
Jeff
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Rowan Collins
Sent: Tuesday, June 14, 2005 3:35 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Variables in Wikitext & Browser Caching
On 14/06/05, Rick DeNatale <rick.denatale(a)gmail.com> wrote:
> Something doesn't compute here Rowan.
> {{MPHist/{{CURRENTMONTHNAME}}{{CURRENTDAY}}}}
> which selects the proper subpage for the date.
> And this seems to work.
Hmm; my memory was that that explicitly *didn't* work without manual
intervention (i.e. trivial/null edits or cache purges), but maybe someone
came up with a solution already?
Wikipedia's Talk:Main_Page still has the prominent message "Main Page out of
date? Purge the cache
(http://en.wikipedia.org/w/wiki.phtml?title=Main_Page&action=purge)..."
--
Rowan Collins BSc
[IMSoP]
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Hi All,
Quick question on pagetitle. I want to change the title in the titlebar of
all my pages. A quick search yielded Mediawiki:Pagetitle. I changed this
value and it had no affect on my site. For example, I changed it from "$1 -
{{SITENAME}}" to "{{SITENAME}} - blah blah - $1". I tried it in production
and dev environments. None of the systems have any caching enabled. I am
running MW 1.4.1 & PHP 5. Other messages override just fine.
Any ideas? Hacking the code is an option, but I prefer to use the settings
in the DB when I get the chance.
Thanks,
Jeff
I've just installed 1.4.6 after downloading it from sourceforge.
When I update the a page, I get this error
A database query syntax error has occurred. This may indicate a bug
in the software. The last attempted database query was:
(SQL query hidden)
from within function "LinkCache::preFill". MySQL returned error "1064:
You have an error in your SQL syntax near 'FOR UPDATE' at line 3
(mysql.webxess.net)".
Despite this, the page still updates correctly. Same happens with page creation.
Graham
Hi,
I am testing the beta version of the 1.5 wiki in a very limited
testing environment.
Since disk space (and CPU and memory, and anything else) is at a
premium in that environment, is there any easy way to remove all
previous versions of all pages all at once?
The pre 1.5 scripts won't work because of the schema redesign and I am
not comfortable enough with either PHP or the schema to use the
changes described in
http://meta.wikimedia.org/wiki/Proposed_Database_Schema_Changes/October_2004
to change those scripts.
----
Met vriendelijke groeten / With kind regards
Hans Voss
---------------------------------------
skype: hans.voss
I checked the requirements again at
http://meta.wikimedia.org/wiki/MySQL_config
and it says
"MySQL 4.0.x is not currently required"
So, I presume this is a bug that I am experiencing, or the
documentation is incorrect.
On 7/12/05, Zain Memon <zain(a)voltage.com> wrote:
> Here's a piece of useless advice then: switch hosting companies ;)
>
> Sorry, not sure where to go from here. You might want to consider
> finding the LinkCache function and manually commenting out the erroring
> query. Hopefully someone else on the list can be more help.
>
> > -----Original Message-----
> > From: Graham Chiu [mailto:compkarori@gmail.com]
> > Sent: Monday, July 11, 2005 1:53 PM
> > To: Zain Memon
> > Subject: Re: [Mediawiki-l] sql error
> >
> > Correction, it now says
> >
> > A database query syntax error has occurred. This may indicate a bug
> > in the software. The last attempted database query was:
> >
> > (SQL query hidden)
> >
> > from within function "LinkCache::preFill". MySQL returned error "1064:
> > You have an error in your SQL syntax near 'FOR UPDATE' at line 3
> > (mysql.webxess.net)".
> >
> > So, something incompatible in the LinkCache function. But the actual
> > query is not displayed.
> >
> > On 7/12/05, Graham Chiu <compkarori(a)gmail.com> wrote:
> > > Tried that, and it makes no difference. The sql query is still
> hidden.
> > >
> > > On 7/12/05, Zain Memon <zain(a)voltage.com> wrote:
> > > > Oh, sorry, I misunderstood the function of $wgShowSQLErrors. If
> you
> > set
> > > > it to true, it'll show the actual query instead of saying "SQL
> Query
> > > > Hidden".
> > > >
> > > > Try setting it to true and post the query here.
> > > >
> > > > > -----Original Message-----
> > > > > From: Graham Chiu [mailto:compkarori@gmail.com]
> > > > > Sent: Monday, July 11, 2005 1:40 PM
> > > > > To: Zain Memon
> > > > > Subject: Re: [Mediawiki-l] sql error
> > > > >
> > > > > Unfortunately that does not help :(
> > > > >
> > > > > See http://compkarori.com/rebolwiki/index.php/Main_Page
> > > > >
> > > > > On 7/12/05, Zain Memon <zain(a)voltage.com> wrote:
> > > > > > From what I understand, your wiki works fine, except it throws
> > that
> > > > > > error. If this is the case, then you can turn off the errors
> by
> > > > setting
> > > > > > $wgShowSQLErrors=false; in LocalSettings.php. The error won't
> be
> > > > shown
> > > > > > any more (though it will still happen).
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: mediawiki-l-bounces(a)Wikimedia.org
> > > > > > [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Graham
> > Chiu
> > > > > > Sent: Monday, July 11, 2005 1:08 PM
> > > > > > To: MediaWiki announcements and site admin list
> > > > > > Subject: Re: [Mediawiki-l] sql error
> > > > > >
> > > > > > Can anyone help here?
> > > > > >
> > > > > > I talked to the company hosting my site, and they said that
> they
> > do
> > > > > > not know if, or when, they will be upgrading their mysql
> version.
> > > > > >
> > > > > > Graham
> > > > > >
> > > > > > On 7/9/05, Graham Chiu <compkarori(a)gmail.com> wrote:
> > > > > > > Is there some change I can make to the mysql statement so
> that
> > it
> > > > > > > becomes compatible with this ealier version of mysql?
> > > > > > >
> > > > > > _______________________________________________
> > > > > > MediaWiki-l mailing list
> > > > > > MediaWiki-l(a)Wikimedia.org
> > > > > > http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> > > > > >
> > > >
> > >
>
Hey,
I created a wiki for my co workers, but have noticed after a little
testing that all the user hames are capitalized, even though I entered
them as all lower case. Is there a setting I can toggle to make MW
remember user names exactly as they were entered??
Thanking you,
john hagen ~ john.hagen(a)boeing.com
==================================
All:
I recently upgraded Mediawiki from 1.4.x to 1.5 beta release 3. The upgrade
went fine and all functionality as mentioned. However, I notice that www sub
domain is not being referenced. All the pages are referenced as
http://foo.com instead of http://www.foo.com. I am sort of lost here and any
suggestions will be of help
Thanks
sarath