i created an extension as instructed in http://meta.wikimedia.org/wiki/Extending_wiki_markup
i use it basically as:
<my_tag>
<another_tag>...</another_tag>
</my_tag>
the $input parameter to my function contains '<another tag>...</another tag>', which i want to process:
$localParser = new Parser();
$output = $localParser->parse($input, $parser->mTitle, $parser->mOptions, false);
but $output->getText() returns <another_tag>foo</another_tag>
how should i properly parse the text?
thanks,
ittay
--
===================================
Ittay Dror,
Chief architect,
R&D, Qlusters Inc.
ittayd(a)qlusters.com
+972-3-6081994 Fax: +972-3-6081841
www.openqrm.org - Data Center Provisioning
On 12/28/06, Anthony <wikilegal(a)inbox.org> wrote:
>
> On 12/28/06, Gregory Maxwell <gmaxwell(a)gmail.com> wrote:
> > On 12/28/06, Anthony <wikilegal(a)inbox.org> wrote:
> > > (Yes, that was sarcasm. A distributed Wikipedia could be done, and it
> > > could be done for less than 1.5 million. That's my belief and I'm
> > > sticking with it. Just because something hasn't been done before
> > > doesn't make it impossible.)
> >
> > Then don't let those who say it can't be done stop you from doing it.
>
> As I've said, it *will* happen. The forks *will* come, and one of
> them *will* pick up on the idea. Why don't *I* do it now, today?
> Well, I don't have anywhere *near* 1.5 million, for starters. I also
> don't have those all important wikipedia domain names.
>
> > Show us the code.
> >
> If you're really interested in seeing this achieved, contact me off
> list. This list isn't really the place to discuss the details,
> especially as the management of the foundation isn't interested.
>
> > (although when you have solved the underlying issues, there are folks
> > at major database companies who will likely want to pay you lots to
> > apply your solutions to their database products... and you'll lose
> > interest in this wiki stuff. :) )
>
> I doubt it.
>
Anthony,
Do you have an architectural design concept specification for this
distributed wiki, including dataflow paths and consistency model?
What is your background in distributed computing programming and
architecture, and database architecture issues?
Thanks.
--
-george william herbert
george.herbert(a)gmail.com
Hi,
Is there a way to get a list of all pages in a category so it is computer readable?
Thanks,
Ittay
--
===================================
Ittay Dror,
Chief architect,
R&D, Qlusters Inc.
ittayd(a)qlusters.com
+972-3-6081994 Fax: +972-3-6081841
www.openqrm.org - Data Center Provisioning
I have many category pages that only have subcategories but no articles, cos
my wiki works mostly by categories, so I'd like to hide that message
"Articles in category "..."
There are 0 articles in this category."
How can I do that?
thanks
_________________________________________________________________
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig
im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/
Jetzt gratis downloaden!
Custom per user navigation portlet
----------------------------------------------
Anyone done this?
Any ideas how to simply do it?
_Purpose
To allow users to bookmark site pages they often visit. So they can
create quick and deep navigation for their specific topic of interest
within a wide but deep focus wiki such as Wikiversity.org.
_Description
* Custom nav to appear in left sidebar below the Search box
but above the Toolbox.
* Customized per logged-in user, such as how only user
Foo can edit User:Foo/monobook.css, maybe at User:Foo/nav.
* Parsed like a normal wiki page instead of like MediaWiki:Sidebar
because normal users don't want to learn non-standard markup.
* Other users could use Foo's custom nav portlet by
transcluding it into their own User:Name/nav by typing there
{{User:Foo/nav}}.
* Interest groups could collaboratively create and maintain group
specific custom nav portlets, eg
Template:nav_English_as_a_second_language, to transclude into
their interest group pages and or individual User:Name/nav
with {{nav_English_as_a_second_language}}.
_Current alternatives
Currently in standard MediaWiki a user Foo can put "bookmarks" in
1. browser bookmarks
2. Links in User:Foo page or subpages thereof
3. Links in page Whatever for benefit of everyone
4. Category:Whatever page by labeling the page [[Category:Whatever]]
5. Links in Template:Whatever
However, standard browser bookmarks are too messy as we all know and 2,
3, 4 and 5 are not as convenient to click as left sidebar would be.
Deep wide wiki's such as Wikiversity.org and other deep wide Open
Educational Resources wiki's are a nuisance to navigate.
A *custom per user navigation portlet* could be an enormous practical
benefit to wiki's that have not just wide but also *deep* topics, such
as Wikiversity. Wikipedia only goes wide, not deep, and is manageable
because each encyclopedia page has a unique, language defined, term or
phrase that defines it as encyclopedic -- going deeper is not an
encyclopedia's mission but is the mission of many other wikis.
Has anyone tried this?
Ideas how to simply write it in PHP as a MediaWiki extension?
Thanks!
Happy New Year!
--
Roger Chrisman :-) http://Wikigogy.org - free resources
for teachers of English as a second or foreign language
I'm trying to pass a pipe as a value to an argument of a parser function. if i pass |, it is returned as is. also, i want the pipe to be handled normally (meaning as a wiki special char) when returned from the parser function.
Specifically, I have a foreach parser function to generate table lines, each line with several cells. so i want the function to return something like 'a || b'. i'm trying to use a generic foreach function, so the '||' is part of the argument.
Thanks,
Ittay
--
===================================
Ittay Dror,
Chief architect,
R&D, Qlusters Inc.
ittayd(a)qlusters.com
+972-3-6081994 Fax: +972-3-6081841
www.openqrm.org - Data Center Provisioning
> From: "Rob Church" <robchur(a)gmail.com>
> Date: January 1, 2007 4:59:22 AM EST
> To: "MediaWiki announcements and site admin list" <mediawiki-
> l(a)wikimedia.org>
> Subject: Re: [Mediawiki-l] Template to list 10 most recent created
> pages
> Reply-To: MediaWiki announcements and site admin list <mediawiki-
> l(a)Wikimedia.org>
>
> On 01/01/07, Chris Smeder <smeder.c(a)gmail.com> wrote:
>> I have searched google and mediawiki and had no success in finding
>> information on creating a template that would list the 10 most recent
>> created pages. Any one know of a tutorial or info on how to do this?
>
> Install the NewestPages extension
> (http://www.mediawiki.org/wiki/Extension:NewestPages) and then create
> a template that contains {{Special:Newestpages/-/10}}.
>
> Rob Church
The extension works well enough for me, but I just have a minor quip:
addHTML() seems to be ignoring any newlines I put in. Is there a way
to get around this? I also can't figure out how to remove the
"<p><br /></p>" on either side of the listing when it's included
within a page. Is there a way to get around either of these things?
Thanks.
Hi,
I want to write a bugzilla integration. My initial thought is a template, say Bug, that populates a page with the bug detals. So {{Bug|1000}} will return a table with the bug summary, priority etc.
First thing is contacting bugzilla and getting the data: http://.../show_bug.cgi?id=1000&ctype=xml.
After that, parsing the xml to extract data
Since I'm very new to PHP and mediawiki, I don't know where to start. I'd be glad to get a reference to projects that do similar things.
Thanks,
Ittay
--
===================================
Ittay Dror,
Chief architect,
R&D, Qlusters Inc.
ittayd(a)qlusters.com
+972-3-6081994 Fax: +972-3-6081841
www.openqrm.org - Data Center Provisioning
At least, being from Germany, it's time for me to say
HAPPY NEW YEAR GUYS and GALS!
Have a good one, keep up the great work and don't forget to smile every
now and then,
Florian :-)