$wgDBtransactions gets set to true if using InnoDB tables. Is there
an advantage to using InnoDB tables?
The disadvantage is that with MySQL there is a file, ibdata1, that
seems to grow endlessly if InnoDB tables are used. See
http://bugs.mysql.com/bug.php?id=1341
We're wondering if we should just convert everything to MyISAM. Any
thoughts?
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I've created some custom namespaced on one of my wikis, Botwiki
(previously known as pywikipedia).
I've put these lines in my LocalSettings.php file:
- ---
#Custom namespaces
$wgExtraNamespaces =
array(100 => "Manual",
101 => "Manual talk",
102 => "Python",
103 => "Python talk",
104 => "Php",
105 => "Php talk",
106 => "Perl",
107 => "Perl talk",
108 => "AWB",
109 => "AWB talk",
110 => "IRC",
111 => "IRC talk",
112 => "Other",
113 => "Other talk"
);
$wgContentNamespaces[] = 100;
$wgContentNamespaces[] = 102;
$wgContentNamespaces[] = 104;
$wgContentNamespaces[] = 106;
$wgContentNamespaces[] = 108;
$wgContentNamespaces[] = 110;
$wgContentNamespaces[] = 112;
- ---
However, I have a big problem: when I go to a page in one of these new
namespaces (not the discussion, the main ones), for example
http://botwiki.sno.cc/wiki/Perl:Copyright_Violation_Bot , I found the
red link to the discussion page. It's right, as there is no discussion
page for that article. But if you click on it, it brings you to
http://botwiki.sno.cc/w/index.php?title=Perl_talk:Copyright_Violation_Bot&a…
correct, of course. But have a look of the article and discussion tabs:
they are both red! The first, "article", leads to
http://botwiki.sno.cc/w/index.php?title=Perl_talk:Copyright_Violation_Bot&a…
when it should lead to
http://botwiki.sno.cc/wiki/Perl:Copyright_Violation_Bot and the second,
"discussion", leads to
http://botwiki.sno.cc/w/index.php?title=Talk:Perl_talk:Copyright_Violation_…
, when it should lead to
http://botwiki.sno.cc/w/index.php?title=Perl_talk:Copyright_Violation_Bot&a…
.
It's the first time I deal with custom namespaces :-( but I have some
ideas of what it can be. Can the problem be with the
$wgContentNamespaces settings? So it detects everything as ns0? (don't
think so).
Or can it be the fact that I haven't used an underscore in the
$wgExtraNamespaces definition?
Snowolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGWhk7sdafW5NQMtERAuX+AKDQ7QLNjXv9cu+ZbSLXidMzgi/vNgCaA7VT
+VTgR3iI/BI7FVDqcyRZVJ0=
=a4yP
-----END PGP SIGNATURE-----
Hi,
I have been trying to create a maintainable way of grouping pages
together and allowing readers to page through them in sequence. Most
samples I've seen use templates that require you to supply the
'previous' and 'next' page. This however results in three page edits
to insert a new page between two existing pages and does not guarantee
that your prev-sequence is identical to the next-sequence...
Being a programmer, that is way too much duplicate and error-prone
work for me ;-) There must be a better way to do this and I was hoping
to solve it with a plain MW installation (with ParserFunctions and
DynamicPageList at the moment).
Given an 'index' page that holds a list of all page titles in the
preferred order, isn't it possible to create a template that selects
the correct previous and next page title given the current page title?
I get stuck in getting the correct lines from the index page. DPL can
select based on section name (= page title), but then the contents of
that index section must be the prev/next links themselves:
=First Page=
Prev [[Second Page|Next]]
=Second Page=
[[First Page|Prev]] [[Third Page|Next]]
=Third Page=
.. etc.
This works, except that it is still a lot of duplication of page names
(but the edits are contained in a single page, big plus).
I hoped to simplify the index page by creating a template that writes
the section header and prev/next links, but then DPL no longer
recognizes the sections :-( Apparently DPL 'sees' the page text before
the templates are called ({{Page|Prev page|Page title|Next page}}:
{{Page||First Page|Second Page}}
{{Page|First Page|Second Page|Third Page}}
{{Page|Second Page|Third Page|Fourth Page}}
Basically my questions are:
1. Am I completely off track here?
2. Can DPL be coerced to evaluate templates before looking at the page
3. Can DPL (or another extension) select the text from a section
before/after a matched section?
4. Is it possible to determine the section sequence number given the
section name (so 'Second Page' results in 2, allowing me to use DPL to
retrieve the name of section 2 -/- 1 and 2 + 1 to create the prev/next
links?
Apologies for the long post, hopefully someone can point me to some
good resources (I've been to Meta, Wikibooks, Medawiki.org but could
very well have overlooked something there as the amount of info is a
bit overwhelming and it is difficult to judge how up to date it is).
--
Regards,
Jean-Marc
Hi all, hi Bernard... probably, my response is a bit late, but I spent
time reading (hopefully!) carefully all the answers...
Thus, my 0,02$:
I think that probably the correct question is: "Please convince me to
make my business model" :-)
I agree with others that probably, the SaaS business models require
closed source. Thus, probably, no choice...
IMHO the open source software implies a different business model,
something similar to "partnership".
Good luck, honestly,
Giuseppe Briotti.
--
Giuseppe Briotti
g.briotti(a)gmail.com
"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
nasceris, possis nihil urbe Roma
visere maius."
(Orazio)
MediaWiki version: 1.10.1
PHP version: 5.2.9
MySQL version: 5.0.89
URL: http://www.futurenovo.com
A recent failed upgrade of cpanel broke my installation, requiring a
reinstall of perl and mysql. Following this, images no longer displayed on
my wiki pages - they just show as the namespace and filename, i.e.,
Image:Filename.jpg inline with the text. No error is reported related to the
image. Drilling down to the actual image location will display the image in
the browser window.
Since this happened and I couldn't fix it, I migrated the installation to a
new server (more memory, fresh install) expecting the issue to be resolved
but it hasn't. I use GD and have tried the following:
1. Installed ImageMagic and made appropriate changes to LocalSettings.php -
no change, reverted to GD settings.
2. Tweaked PHP
3. ran /scripts/rebuildImages.php - no errors, but 0 of 66 images changed.
Likewise oldimages
4. ran the following on the image table:
ALTER TABLE image ADD COLUMN img_name2 varchar(255);
UPDATE image SET img_name2=img_name;
UPDATE image SET img_name=img_name2;
ALTER TABLE image DROP COLUMN img_name2;
5. uploaded a new image and attempted to include in a page without success
I understand the MW version is old, but I have a lot of custom extensions,
etc that I don't want to have to rewrite so I don't want to upgrade. And I
seriously doubt it would change the image issue. (I haven't made any mods to
the MW install itself.) Note: Some of my extensions on some pages (not Home)
need to be adjusted since the migration, but the image problem is identical
to what was happening on the old server. Ideas anyone?
Hi
my name is Sanyam, I am final year Student of Computer Science
department , IIT Bombay, india. I am interested in applying for
google summer of code 2010. I saw the idea page (
http://www.mediawiki.org/wiki/Summer_of_Code_2010), and I contacted
few mentors listed their.
I am writing this e-mail to introduce myself on the mailing list.
I have skills in Java ,C, C++ and I have experience with PHP, Mysql,
Javascript. I believe that my skills suits the project requirement. I
would like to get involved with the project soon for better
understanding of the project so that a good proposal at google site
can be made.
Kindly consider this mail as an sincere interest to work with
mediaWiki in gsoc 2010.
Thanks
--
Sanyam Goyal
Btech4,Senior UnderGraduate
IIT Bombay
Hi all,
Thanks for the help. I got it sorted:
My predecessor had listed the server address in the Apache virtual host
configuration as the system's name, not the IP address. As such, it was
never going to resolve until the DNS entry got update.
Thanks again, and have a good weekend!
-m
On Fri, Feb 26, 2010 at 9:22 AM, Gabriel Filion <
gabriel.filion(a)revolutionlinux.com> wrote:
> On 02/25/2010 05:58 PM, Mic Mobile wrote:
> > Hi folks,
> > I saw this listed as the support list off of the MediaWiki installation
> > page, so apologies if this isn't the appropriate venue for the query.
> >
> > I've got to migrate our MediaWiki server to a new IP address. I inherited
> > this server, so I'm not as familiar with its configuration as I should
> > be. The server is an 8.04 Ubuntu installation that works well. Database
> and
> > everything else are running locally on the server. I added the IP address
> to
> > the machine and confirmed that it was live on both the old IP and the new
> > IP. MediaWiki is still running fine when accessed by the old IP, but when
> I
> > try to access by http://NEW IP/wiki, I get a page not found.
> >
> > So, I tried ditching the old IP, just using the new IP. I had the same
> > problem, even with a restart.
> >
>
> Make sure that the Apache (supposing it is your web server)
> configuration is set to the right address. VirtualHost sections are
> often linked with a particular IP.
>
> > Is there a MediaWiki configuration file I'm missing somewhere that has
> the
> > host IP address in there somewhere?
> >
> The only configuration file you should have to deal with is
> LocalConfig.php . Verify the $wgServer variable. If you access the
> server via IP (as opposed to by domain name), this variable will have to
> be changed.
>
> My guess is your problem is probably on the level of the Apache
> configuration.
>
> Good luck!
>
> --
> Gabriel Filion
>
> From: David Gerard <dgerard(a)gmail.com>
>
> On 26 February 2010 09:49, Massimo Canonico <mex(a)di.unipmn.it> wrote:
>
>> is there any way to got this effect in the table:
>> http://rhftech.com/images/excel_split_header.png
>> ?
>> I'm looking at cell A1.
>
> Not really - MediaWiki table syntax is just a shorthand for actual
> HTML tables, and there isn't a way to do diagonally-split cells in
> HTML table syntax.
Well, you *could* put an image in that cell. You could even
automagically generate that image on-the-fly from text.
But I suspect you don't want to go to that much trouble.
----------------
If you don't have confidence in the diagnosis, you won't have
confidence in the prescription. -- Stephen R. Covey
:::: Jan Steinman, EcoReality Co-op ::::
Hi folks,
I saw this listed as the support list off of the MediaWiki installation
page, so apologies if this isn't the appropriate venue for the query.
I've got to migrate our MediaWiki server to a new IP address. I inherited
this server, so I'm not as familiar with its configuration as I should
be. The server is an 8.04 Ubuntu installation that works well. Database and
everything else are running locally on the server. I added the IP address to
the machine and confirmed that it was live on both the old IP and the new
IP. MediaWiki is still running fine when accessed by the old IP, but when I
try to access by http://NEW IP/wiki, I get a page not found.
So, I tried ditching the old IP, just using the new IP. I had the same
problem, even with a restart.
Is there a MediaWiki configuration file I'm missing somewhere that has the
host IP address in there somewhere?
Thanks,
-m