Hello, I have a question. What's different between the NOWIKI and nowiki tags? Thanks for answer.
On 12/24/07, 65s.mg@atlas.cz 65s.mg@atlas.cz wrote:
Hello, I have a question. What's different between the NOWIKI and nowiki tags? Thanks for answer.
Magic words such as "nowiki" are case-insensitive. (Possibly there are some magic words that are case-sensitive, but I can't think of any immediately.)
On 12/24/07, Simetrical Simetrical+wikilist@gmail.com wrote:
Magic words such as "nowiki" are case-insensitive. (Possibly there are some magic words that are case-sensitive, but I can't think of any immediately.)
Most likely that would include all "magic words" which when used resemble html tags, being formatted <like> </this> (Obviously there would be others too, "#ReDiReCt" comes to mind).
—C.W.
On 12/25/07, Charlotte Webb charlottethewebb@gmail.com wrote:
On 12/24/07, Simetrical Simetrical+wikilist@gmail.com wrote:
Magic words such as "nowiki" are case-insensitive. (Possibly there are some magic words that are case-sensitive, but I can't think of any immediately.)
Most likely that would include all "magic words" which when used resemble html tags, being formatted <like> </this> (Obviously there would be others too, "#ReDiReCt" comes to mind).
Those are case-*in*sensitive, as I said.
I had sent a few days ago a questions regading a programing issue I have writing a TAG extension, but so far no one on the list was able to help. I am just wondering if this is the proper list to ask about such technichal questions, and if not is there a list that is dedicated for such questions. I appreciate any help in directing me to were one can obtain such help.
My question is repeated below:
------------------------------------
I am running mediawiki on MySQL on a Windows server. I am writing a TAG extension which needs to pull data from a MS SQL data source. In the extension's PHP code, I have the line:
$sqlconnect=odbc_connect($dsn,$username,$password);
When running this PHP code outside of the Wiki (e.g., in the DOS prompt by typing PHP code.php), the connection works and I actually pull out data from the database. But inside the extension code, $sqlconnect ends up being null. Is there a setting that I am missing that allows me to connect to an external database? Is one not allowed to connect to a database in a TAG extension code? (I am new to extensions).
I also tried pulling the same data via web services. I tried the line:
$client = new SoapClient("http://www.mydomain.com/MyService.asmx?wsdl https://portal.gorgiaspress.com/exchweb/bin/redir.asp?URL=http://www.mydomain.com/MyService.asmx?wsdl <http://www.mydomain.com/MyServiceFulfillment.asmx?wsdl https://portal.gorgiaspress.com/exchweb/bin/redir.asp?URL=http://www.mydomain.com/MyServiceFulfillment.asmx?wsdl > ");
Again, I successfully was able to pull data out of the web services when I ran the code outside of the wiki at the DOS prompt. But once in the Wiki extension code, my Wiki pages go blank!
Again, is there a setting that I am missing that will allow me to connect to databases and web services in TAG extensions?
Thanks
George A. Kiraz
George A. Kiraz
------------------------------------------------- George A. Kiraz, M.St. (Oxon), M.Phil., Ph.D. (Cantab) Gorgias Press 180 Centennial Ave., Suite A Piscataway, NJ 08854 USA Tel. (732) 885-8900 Fax (732) 885-8908
________________________________
From: wikitech-l-bounces@lists.wikimedia.org on behalf of Charlotte Webb Sent: Tue 12/25/2007 5:06 PM To: Wikimedia developers Subject: Re: [Wikitech-l] NOWIKI & nowiki
On 12/24/07, Simetrical Simetrical+wikilist@gmail.com wrote:
Magic words such as "nowiki" are case-insensitive. (Possibly there are some magic words that are case-sensitive, but I can't think of any immediately.)
Most likely that would include all "magic words" which when used resemble html tags, being formatted <like> </this> (Obviously there would be others too, "#ReDiReCt" comes to mind).
-C.W.
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Since you asked: this is the development list. The support list is mediawiki-l.
Most likely a PHP error (memory_limit issues are the most common). See: http://www.mediawiki.org/wiki/Manual:Errors_and_Symptoms#You_see_a_Blank_Pag e
In addition to the other mailing list Simetrical sent out, you can always stop by #mediawiki IRC channel on freenode.
-Tim Laqua
-----Original Message----- From: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l- bounces@lists.wikimedia.org] On Behalf Of George Kiraz Sent: Tuesday, December 25, 2007 7:27 PM To: Wikimedia developers Subject: [Wikitech-l] PHP issues within MeiaWiki Questions
I had sent a few days ago a questions regading a programing issue I have writing a TAG extension, but so far no one on the list was able to help. I am just wondering if this is the proper list to ask about such technichal questions, and if not is there a list that is dedicated for such questions. I appreciate any help in directing me to were one can obtain such help.
My question is repeated below:
I am running mediawiki on MySQL on a Windows server. I am writing a TAG extension which needs to pull data from a MS SQL data source. In the extension's PHP code, I have the line:
$sqlconnect=odbc_connect($dsn,$username,$password);
When running this PHP code outside of the Wiki (e.g., in the DOS prompt by typing PHP code.php), the connection works and I actually pull out data from the database. But inside the extension code, $sqlconnect ends up being null. Is there a setting that I am missing that allows me to connect to an external database? Is one not allowed to connect to a database in a TAG extension code? (I am new to extensions).
I also tried pulling the same data via web services. I tried the line:
$client = new SoapClient("http://www.mydomain.com/MyService.asmx?wsdl https://portal.gorgiaspress.com/exchweb/bin/redir.asp?URL=http://www.m ydomain.com/MyService.asmx?wsdl <http://www.mydomain.com/MyServiceFulfillment.asmx?wsdl https://portal.gorgiaspress.com/exchweb/bin/redir.asp?URL=http://www.m ydomain.com/MyServiceFulfillment.asmx?wsdl > ");
Again, I successfully was able to pull data out of the web services when I ran the code outside of the wiki at the DOS prompt. But once in the Wiki extension code, my Wiki pages go blank!
Again, is there a setting that I am missing that will allow me to connect to databases and web services in TAG extensions?
Thanks
George A. Kiraz
George A. Kiraz
George A. Kiraz, M.St. (Oxon), M.Phil., Ph.D. (Cantab) Gorgias Press 180 Centennial Ave., Suite A Piscataway, NJ 08854 USA Tel. (732) 885- 8900 Fax (732) 885-8908
From: wikitech-l-bounces@lists.wikimedia.org on behalf of Charlotte Webb Sent: Tue 12/25/2007 5:06 PM To: Wikimedia developers Subject: Re: [Wikitech-l] NOWIKI & nowiki
On 12/24/07, Simetrical Simetrical+wikilist@gmail.com wrote:
Magic words such as "nowiki" are case-insensitive. (Possibly there are some magic words that are case-sensitive, but I can't think of
any
immediately.)
Most likely that would include all "magic words" which when used resemble html tags, being formatted <like> </this> (Obviously there would be others too, "#ReDiReCt" comes to mind).
-C.W.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
"Tim Laqua" wrote:
In addition to the other mailing list Simetrical sent out, you can always stop by #mediawiki IRC channel on freenode.
See http://www.mediawiki.org/wiki/Mailing_lists for full details about the various mailing lists relating to the MediaWiki software.
See http://www.mediawiki.org/wiki/MediaWiki_on_IRC for details about the #mediawiki IRC channel.
- Mark Clements (HappyDog)
Simetrical wrote:
On 12/24/07, 65s.mg@atlas.cz 65s.mg@atlas.cz wrote:
Hello, I have a question. What's different between the NOWIKI and nowiki tags? Thanks for answer.
Magic words such as "nowiki" are case-insensitive. (Possibly there are some magic words that are case-sensitive, but I can't think of any immediately.)
"nowiki" is not a magic word. It is hard-coded. Magic words are optionally case sensitive, have synonym lists, and are internationalisable.
-- Tim Starling
wikitech-l@lists.wikimedia.org