To mediawiki.org administrators:
Do you there is a problem in creating the documentation about
auxiliary programs like Word2MediaWikiPlus[1] and AddPageService[2] in
the Extension namespace?
It seems that in Meta this was already common usage.
They are not really hooks or parser functions, but they extend and
complement MediaWiki's features.
What do you think of creating type=tool in Template:Extension?
Regards.
[1] http://www.mediawiki.org/wiki/Extension:Word2MediaWikiPlus
[2] http://www.mediawiki.org/wiki/Extension:AddPageService
After posting this at mediawiki.org and mwusers.com and receiving no replies
at all I will try here.
I am building a large Mediwiki site which will consist of about 40k pages,
all related through location.
The pages are structured/related and I have the source for the wiki
'skeleton' or schema and can massage it in Access/Excel/MySQL into any
required format for an import into Mediawiki.
For example:
Florida
+Miami
++South Beach
+++Restaurants
++++MyRestaurant
+++Bars
++++MyBar
+++Shopping
++++MyShop
++North Miami
+Fort Lauderdale
+Palm Beach
Georgia
+Atlanta
I think you get the idea!
What I am looking for is to import all of this into MW with some default
text which is identical for each wiki.
Is there a published format for this type of import?
Looking at the changes that exist in the database when I create a page
within Mediawiki itself there appear to be changes to multiple tables; page,
text, revision etc.
If someone can point me in the right direction I will publish to results of
the final solution as I feel there are a number of people looking for fast
wiki creation.
Thanks in advance for ANY input,
Paul
Hello.
I'm using PageSecurity on Mediawiki 1.9.1 with postgresql... and
works.... (to me :-) )
But, in my security scheme, I need public pages (readble for anonymous
user) and private pages (readable and writable for some groups). This
works OK with articles but I need control some special pages in the same
way. For example, Listuser... I don't want that an anonumous user can
see the user list... (or specialpages)...but I want that some groups
(or logged users) can use this pages....
How can be done this things?
I'm learning about hooks, and extensions, but.... the hook apropiated
for that (until I can see... ) can restrict the list of Special Pages
or Query pages.... but if someone knows the url can execute them...
I suppose that can limit the link generation, but someone can invoque
the page with the URL....Obviously, I'm not an expert in PHP but... I'm
trying to learn :-)
Someone has any development over this things? I'm undertstandig the
mechanism... or I'm loose in a sea of php files... I dont know? someone
can guide me?
Thanks.
Fernando Carpani
PS: Yes, I know.... I need to learn english... sorry :-)
I'm trying to figure out the easiest way to move from 1.9 to 1.9.2. If I'm
understanding the two patches, there are no schema changes, so I don't want
to do the full upgrade in Manual:Upgrading to 1.9, but I haven't been able
to get the patch utility to work. I ran 1.9.1 patch first, but it just
errors out.
Is there a Patch 101 guide out there for the Wiki patches? Or is there an
easy way to upgrade 1.9 to 1.9.2 without going through the full update you
would normally run to go from a pre 1.9 version?
I will be out of the office starting 02/16/2007 and will not return until
02/19/2007.
I will respond to your message when I return.
*******************************************************************************
This communication may contain privileged and/or confidential information. It
is intended solely for the use of the addressee. If you are not the intended
recipient, you are strictly prohibited from disclosing, copying, distributing
or using any of this information. If you received this communication in error,
please contact the sender immediately and destroy the material in its entirety,
whether electronic or hard copy. This communication may contain nonpublic personal
information about consumers subject to the restrictions of the
Gramm-Leach-Bliley Act. You may not directly or indirectly reuse or redisclose
such information for any purpose other than to provide the services for which
you are receiving the information.
127 Public Square, Cleveland, OH 44114
*******************************************************************************
If you prefer not to receive future e-mail offers for products or services from
Key send an e-mail to DNERequests(a)key.com with 'No Promotional E-mails' in the
SUBJECT line.
In these lines:
$testen = new Maak ();
$testen ->Maak();
Did you mean something like this?:
$catlinks = array( 'test', 'data' );
$testen = new Maak ($catlinks);
-- Jim
On 2/16/07, Nanda <njansen(a)natuurlijk.nl> wrote:
>
> I use the information of the Categories in my template with:
>
>
> $this->data['catlinks']
>
> Now I want to bring this to an extension. I wrote a class:
>
> class Maak {
>
> var $catlinks;
>
> function Maak($catlinks) {
> $this->data['catlinks'] = $catlinks;
>
> }
> }
>
> $testen = new Maak ();
> $testen ->Maak();
>
> echo "<pre>";
> var_dump($testen);
> echo "</pre>";
>
>
> The output i get is:
>
> object(Maak)#184 (2) {
> ["catlinks"]=>
> NULL
> ["data"]=>
> array(1) {
> ["catlinks"]=>
> NULL
> }
> }
>
> The object seems to be empty.
>
> Any idea how i can get these data?
>
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
I use the information of the Categories in my template with:
$this->data['catlinks']
Now I want to bring this to an extension. I wrote a class:
class Maak {
var $catlinks;
function Maak($catlinks) {
$this->data['catlinks'] = $catlinks;
}
}
$testen = new Maak ();
$testen ->Maak();
echo "<pre>";
var_dump($testen);
echo "</pre>";
The output i get is:
object(Maak)#184 (2) {
["catlinks"]=>
NULL
["data"]=>
array(1) {
["catlinks"]=>
NULL
}
}
The object seems to be empty.
Any idea how i can get these data?
On Thu, 15 Feb 2007 13:05:52 -0700 Platonides
<Platonides(a)gmail.com> wrote:
>SpecialUpload.php "cleans" the image names. You can remove the
>cleaning of /. However, you will need to tweak it later on the
real
>name (your FS won't like files with a / on its name).
>
>It will probably easier when image names and archive names get
>splitted, and renames allowed. Not to happen early, though.
IIUC, the problem is that for images the filename and the page name
are the same. When at some point this is changed in the code,
there will be no need to clean image page names to not contain a /.
In that case, I have two options in the meantime, as I see it.
1) I can tweak the name by replacing / with something else. So
Image:foo/bar.jpg will be stored as Image:foo+bar.jpg. (Of course
I would need to choose a replacement character that the filesystem
will like, but which won't conflict with other legal page names.)
In that case, I would presumably have to change other parts of the
code so that when a user request Image:foo/bar.jpg mediawiki can
find the file.
2) I can make simply request that users use Image:foo+bar.jpg
instead of subpages, and lose the subpage functionality.
If I planned to translate all the relevant images to subpages some
time in the future, when the code supports it, do you think one of
these two options would be a better one in the meantime?
--
Daniel M. Israel
dmi1(a)cornell.edu