Dear All,
I am a user of mediawiki, having my personal content management site running on Mediawiki since last two and half years.
I have several extensions installed (typically 30+) that I am finding difficult to keep track of their updated versions, dependencies and so on.
Since I am familiar with Rubygems concept, I am curious if we can have similar mechanism for Mediawiki and if possible for PHP in general.
This would definitely help everyone.
Despite I am not familiar with PHP, I would like to make myself available for any other kind of contributions.
Thanks.
With regards,
Harshal
After some finagling with my host, I finally figured out how to run the
maintenance/update.php script from the command line using PHP5 as CGI.
It seems to run smoothly, but then when I look at the Special:Version
page (even after clearing my cache), it still says I'm running PHP
1.10.1. What's going on here? Did the update not take, or do I need to
manually edit something somewhere?
Also, after an update, what are other good maintenance scripts to run,
or folders that should be deleted? I keep hearing different things from
non-Wikimedia sources, so I thought I'd ask here.
-Azurite
Hi folks, I am studying-up on how to implement edit and view permissions for individual namespaces and the following link is the only method I have found so far:
[Mediawiki-l] Permissions of groups on namespaces:
http://lists.wikimedia.org/mailman/htdig/mediawiki-l/2006-May/012359.html
My Questions is:
Is this the most up-to-date method recommended by this forum?
If so, any additional advice?
If not, what then?
Thanks all....
- Rich (revansx)
____________________________________________________________________________________
Tonight's top picks. What will you watch tonight? Preview the hottest shows on Yahoo! TV.
http://tv.yahoo.com/
I'm trying to use phpshell to run maintenance scripts as I'm on a shared
host with no shell access. I can execute most usual commands (ls, cd, cp, mv
and even php -h) but if I try to run any of the scripts I get the following:
$ php -f cleanupTitles.php
This script must be run from the command line
I've tried looking in the php and even commenting out the test for the
command line but to no avail.
Am I missing something obvious?
Any help appreciated!
Brian London
(Hope this doesn't post twice I sent it to the bounce address the first
time.)
Hi again,
I'm using mediawiki 1.9.2 and I am writing an extension. This extension
is supposed to take a list from several wiki pages and put information
from the list into an infobox on a calling page. I tried looking at the
all pages special page, but I was rather intimidated by the way it was
requesting the list of pages. I tried looking at the list of Hooks on
the mediawiki site. It is entirely possible that I am just dense, but I
don't seem to be able to find a way to get an array of titles to
process.
I feel like there should be an easy function getAllTitlesInNamespace().
But I haven't found it. Does anyone have a suggestion for getting all
the page titles in the Main namespace?
Thanks very much!
Courtney Christensen
> Earlier: "... I have been working on
> Ubuntu Server LAMP with Postfix to
> try to get this working (but not
> successful yet) ... I do plan to
> document whichever of these I
> manage to get working first ..."
Peter Blaise responds:
Thanks! I presume most people have automatic success with most parts of
their MediaWiki installation, so documenting all the details isn't a
high priority. It's only when something doesn't work that we might
write down the right and wrong steps as we try to get it working. And
then maybe share them.
As I mentioned, I think there are probably 4 types of SMTP, and each
requires different setup:
- private: SMTP server directly accessed in the same computer as the
MediaWiki installation
- local: SMTP accessed via networking Intranet on another computer
in-house
- remote: SMTP via ISP or web host remote access
- public: SMTP via external such as GMail et cetera over the Internet
Your setup looks like it will be in the first category above - you'll
have private internal access to the SMTP server inside the same computer
as your MediaWiki installation. I might explore that as it would give
me ultimate control over SMTP without turning over control of any wiki
features to someone else.
I look forward to your link to your working SMTP configuration
documentation. Thanks again!
Does anybody have a working SMTP setup that they could share the details
of, so those of us with SMTP failure might learn from it? Thank you!
- Peter Blaise
I'm happy to announce that as part of an ongoing partnership between
the Wikimedia Foundation and PediaPress.com, PediaPress has agreed to
release as open source a MediaWiki parser library written in Python:
http://code.pediapress.com/wiki/wiki
The library is released under a BSD license. It supports rendering
mathematics and timelines, provided the correct dependencies are
installed. It could be used for purposes such as offline readers or
desktop applications.
Please contact the developers at mwlib <at> googlegroups.com if you have
technical questions about the library.
-- brion vibber (brion @ wikimedia.org)
Hi,
the following problem: htmlcode is ignored
$body.=wfElement('label',array(),wfMsg('naw-page-1-label-1'));
Output:
Gib hier Bitte einen <strong>aussagekräftigen</strong>
a.s.o.
regards
mic
Hi fellow MediaWiki admins,
(Ooops, sorry for the duplicate post to wikitech-l - I've not written in
a while and my email "To..." field auto filled in the wrong address - my
bad!),
I'm having difficulty setting up SMTP email notification under
MediaWiki. Does anyone have any leads or links to a checklist, a
sequence of criteria for successful MediaWiki SMTP email setup? If I
could see a successful MediaWiki SMTP setup, then I could emulate it and
troubleshoot my non-successful setups. Even a successful example using
Google GMail SMTP, or other external freebie, would at least allow me to
confirm if I've got the underpinnings in order.
When I click on a user name from "Special:Listusers", and then
click on "E-mail this user", then "Special:Emailuser/(username)"
returns: "No send address. You must be logged in and have a valid
e-mail address in your preferences to send e-mail to other users." ...
but I am logged in, and both the username and my current log-in have
legitimate, working email addresses entered into and saved in each of
their preferences (unverified, of course)!
I click on "My preferences" ("Special:Preferences") then select
"Confirm your e-mail address" ("Special:Confirmemail"), and it then
displays: "A confirmation code has already been e-mailed to you; if you
recently created your account, you may wish to wait a few minutes for it
to arrive before trying to request a new code." ... but of course none
has ever been sent. Then I click on "Mail a confirmation code", and it
returns a blank screen, and no email ever arrives.
--
My background searches:
- I've had no luck finding how to turn on PHP error logging
(where I presume the email is handled) and then reading error logs (if
any?) so I can see where it's stuck - does anyone have a link to samples
of PHP error logging? This may not relate to email.
- I had no luck searching Google or MediaWiki for "gmail smtp in
php" or equivalent, plus or minus any of these and related words, so I'm
hoping someone here will have a successful sample to share.
I appreciate there are at least 4 types of SMTP, and each
requires different setup:
- private: SMTP server in the same computer as the MediaWiki
installation, directly accessed
- local: SMTP accessed via Intranet on another, in-house
computer
- remote: SMTP via ISP or web host - remote access
- public: SMTP via external, such as GMail, et cetera, over the
Internet
Have I got those alternatives right? Anyway, even successfully
testing with a public SMTP server would help! I can then search through
my local settings to make changes, or try to install a private SMTP
server if I find no satisfactory alternative. I'd just like to see it
work at all, ever, any way, at least once!
Would anyone who's had success with MediaWiki SMTP in any form
please cut and paste their successful settings into examples at
http://www.mediawiki.org/ in a sample SMTP page - and include a link to
it in a response here?
--
Here are some sample "LocalSettings.php" elements that may
relate, I've played with these using a variety of settings to no avail:
$wgEnableEmail = true;
$wgEnableUserEmail = true;
$wgGroupPermissions['autoconfirmed']['autoconfirmed'] = true;
$wgGroupPermissions['emailconfirmed']['emailconfirmed'] = true;
$wgSMTP = array(
'host' => "smtp.gmail.com", or "mail.google.com", or ...
'IDHost' => "google.com", or "mail.google.com", or "gmail.com, or
commented out ...
'port' => 25, or 465, or commented out ...
'auth' => true, or false, or commented out ...
'username' => "myaccont(a)gmail.com",
'password' => "********"
);
--
"Special:Version" returns the following, for your information:
Version
- MediaWiki: 1.10.0
- PHP: 5.2.2 (apache2handler)
- MySQL: 5.0.41-community-nt
Extensions
- Special pages
- LastUserLogin (version 1.0.6)
Parser hooks
- DynamicPageList2 (version 1.2.1)
- Subpage List 2
Extension functions
- wfLastUserLogin, wfUpdateUserTouched, wfDynamicPageList3,
wfDynamicPageList2 and efSubpageList
Parser extension tags
- <dpl>, <section>, <subpages> and <pre>
Parser function hooks
- dpl, int, ns, urlencode, lcfirst, ucfirst, lc, uc, localurl,
localurle, fullurl, fullurle, formatnum, grammar, plural, numberofpages,
numberofusers, numberofarticles, numberoffiles, numberofadmins,
numberofedits, language, padleft, padright, anchorencode, special and
defaultsort
Hooks
- LanguageGetMagic wfDynamicPageList3_Magic
- LoadAllMessages wfDynamicPageListSPloadMessages
--
... I see on other wikis:
Hooks
- PrefsEmailAudit logPrefsEmail (from SpecialPreferences.php, not
documented)
- UserCanSendEmail wfUserCanSendEmailExt
... but I can't find a reference to see if they matter to my
situation or how to engage them anyway!
--
Thanks in advance for sharing your successful MediaWiki SMTP setups,
- Peter Blaise