Hi,
I need an extension that works like the <unique number> parameter in the {{info }} tag. But, I need to be able to create links (w/a template) that I can place anywhere. Basically, given a desired page name, the extension will check the DB to see if a page by that name already exists, and if so, append a unique number to that page name. Then, that new page name is used to create a link to the new page that can later be clicked on to create/edit the new page.
I would appreciate any suggestions on extensions or even pointers on what functions to use in a custom extension.
Thanks,
Al
Hi,
I installed UploadWizard a while ago on this wiki :
http://www.wiki-protestants.org
It had been working very well last time I tried a few month ago. But today
someone's notice an error. (I test updates with normal updater ... my
mistake)
Normal upload works well, but with the uploadwizard I get this error :
"Erreur inconnue : « writeapidenied »".
I haven't change any settings for a while and had a few updates 1.20,
1.20.1 and 1.20.2 since last test.
I tried to add a few parameters from the extension page, but nothing worked.
My configuration file looks like that :
require_once( "$IP/extensions/UploadWizard/UploadWizard.php" );
$wgUploadWizardConfig = array(
'debug' => false,
'altUploadForm' => 'Special:Upload',
'skipTutorial' => true, // Set skipTutorial to true to always skip
tutorial step
);
$wgExtensionFunctions[] = function() {
$GLOBALS['wgUploadNavigationUrl'] = SpecialPage::getTitleFor(
'UploadWizard' )->getLocalURL();
return true;
};
Do you have any advice ?
I haven't found anything in configurations from
CommonSettings.php<https://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php>and
InitialiseSettings.php<https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php>from
wikimediafoundation ruban.
Sincerly,
--
Jean-Baptiste Holcroft
Hi,
I have the following configurations in our wiki's Localsettings.php file
require_once( "$IP/includes/DefaultSettings.php" );
$wgSitename = "TestWiki";
$wgScriptPath = "/wiki";
$wgScriptExtension = ".php";
$wgEnableEmail = true;
$wgEnableUserEmail = true;
$wgEmergencyContact = 'toaddress(a)example.com';
$wgPasswordSender = 'fromaddress(a)example.com';
$wgPasswordSenderName = 'Wiki Admin';
$wgNoReplyAddress = 'no-reply(a)example.com';
But it's not honoring $wgPasswordSender, $wgPasswordSenderName &
$wgPasswordSenderName variables alone and using the default values in
includes/DefaultSettings.php as mentioned below.
$serverName = substr( $wgServer, strrpos( $wgServer, '/' ) + 1 );
$wgEmergencyContact = 'wikiadmin@' . $serverName;
$wgPasswordSender = 'apache@' . $serverName;
$wgPasswordSenderName = 'MediaWiki Mail';
$wgNoReplyAddress = 'reply(a)not.possible';
Message from maillog says that it doesn't accepting the from address that's
been configured in Localsettings.php because of which our SMTP server is
blocking the mails.
Jan 2 21:29:19 wikimaster sendmail[24770]: r035TIhc024770:
from=<apache(a)localhost.localdomain>, size=1093, class=0, nrcpts=1, msgid=<
wikidb.50e5172e786627.88495606(a)10.20.30.40>, proto=ESMTP, daemon=MTA,
relay=c1master [127.0.0.1]
Our SMTP server accepts mails only if it comes from a valid "From" email ID
& because of this email is not getting delivered.
Thanks,
Prakash
Hi,
I am trying to get TeX working in MediaWiki 1.18.2. I have successfully
installed TeXLive on my Fedora server. And have texvc compiled and working.
And have made the following additions to LocalSettings.php :-
$wgUseTex = true;
$wgTexvc = "/usr/bin/texvc";
$wgUploadPath = "$wgScriptPath/images";
$wgUploadDirectory = "$IP/images";
$wgMathPath = "$wgUploadPath/math";
$wgTmpPath = "$wgUploadPath/tmp";
$wgMathDirectory = "$wgUploadDirectory/math";
$wgTmpDirectory = "$wgUploadDirectory/tmp";
$wgUploadBaseUrl = false;
And run :-
php maintenance*/*update.php
But am getting the following error message :-
*Failed to parse (PNG conversion failed; check for correct installation
of latex and dvipng (or dvips + gs + convert)): a=b+c-d*
I had it working on my previous version of MediaWiki using LaTeX and
MediaWIki 1.11.0.
Hope you can help and its something obvious.
Many thanks in advance,
Aaron
I just tried TeXLive on latest Fedora with the latest Git repository of the
math extension, latest Wikimedia 1.20.2. And it is failing with the same
error as I was getting with the old one on Fedora 14 and Wikimedia 1.18.2
Failed to parse (PNG conversion failed; check for correct
instillation of latex and dvipng (or dvips + gs + convert)): a=b+c
I have convert, gs, dvips, and dvipng all installed and working on the
command line.
I am wondering if I am doing something rather basic wrong or whether the
maths extension is just broken ?
Any help welcome,
Aaron
On Mon, Dec 24, 2012 at 5:00 AM, <mediawiki-l-request(a)lists.wikimedia.org>wrote:
> On Sun, Dec 23, 2012 at 11:19 PM, Benny Lichtner <bennlich(a)gmail.com>
> wrote:
> > Sticking a category link in a wiki page automatically adds that wiki page
> > to the corresponding category page. For example, inserting
> > [[Category:Puppies]] adds the page to the Puppies category.
> >
> > Is it possible to achieve the same result with something like
> > [[Category:{{#puppiesfunc}}]], where {{#puppiesfunc}} is replaced by
> > "Puppies"? I guess I'm wondering how the automatic population of category
> > pages works under the hood.
>
> Can you state the actual problem you're trying to solve instead of the
> way you want to solve it?
>
> Good idea.
> Anyway, maybe you're looking for addTrackingCategory()
>
> https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=include…
>
I'm creating pages that represent stores, and the format of every store
page is identical, so each store page transcludes the same store template
(which is used approximately like this: {{ store_template | storeID }}).
But stores belong to different categories depending on the kinds of goods
they sell. I have a parser function that, given the storeID, can fetch the
right good type from a database, so I want to use that function in the
store_template to categorize every store page dynamically.
Meet the Echo development team on Jan 8 and learn about the upcoming
notifications framework for Wikipedia & MediaWiki. More details at
https://www.mediawiki.org/wiki/Echo_(Notifications)
-------- Original Message --------
Subject: [Engineering] Echo IRC office hours for developers
Date: Wed, 02 Jan 2013 12:14:15 -0800
From: Ryan Kaldari <rkaldari(a)wikimedia.org>
To: engineering(a)wikimedia.org <engineering(a)lists.wikimedia.org>,
Wikimedia developers <wikitech-l(a)lists.wikimedia.org>, WMF Editor
Engagement Team <ee(a)lists.wikimedia.org>
The Editor Engagement team will be holding a special Echo IRC office
hours specifically for developers next Tuesday. We would like to let the
other developers know what we're up to and allow them to ask any
questions they may have about the Echo Notifications system. Since Echo
is designed to be utilized by other extensions, we also hope to provide
some guidance on how to accomplish this. Hope to see you there!
The meeting will be in #wikimedia-tech on Tuesday, January 8th at 11am
PST (19:00 UTC).
Ryan Kaldari
_______________________________________________
Engineering mailing list
Engineering(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/engineering