Re: [MediaWiki-l] Template Question

2015-03-02 Thread Daniel Friesen
Use |2= directly in your template.

~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]

On 2015-03-02 2:09 PM, Rowe, Dolores A wrote:
> Dear Teammates,
>
> I have a template which uses parameters, for example {{{2}}} for it's second 
> argument,
> which is a url.  Some url's are similar to this with a query string:   
> http://myserver.com/index.aspx?com=85&id=20.
>
> I figured out that "=" was messing up the template code, so I substituted 
> it's hex equivalent "%3D" for both
> of the equal signs.  Some target servers can parse this, and some can not, 
> thus creating a problem for the users.
>
> Is there any other way to handle this in the template, so that I would not 
> have to substitute "%3D" in the url for the "=" sign ?
>
> Thank you,
> Lori
>
> ___
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Template Question

2015-03-02 Thread svetlana
> I figured out that "=" was messing up the template code, so I substituted 
> it's hex equivalent "%3D" for both
> of the equal signs.  Some target servers can parse this, and some can not, 
> thus creating a problem for the users.

To my knowledge this interpretation is incorrect: it is the task of the web 
browser to convert %3D back to appropriate symbols, and a correct URL would 
reach the server either way. May I ask you for an example?

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Template Question

2015-03-02 Thread Rowe, Dolores A
Dear Teammates,

I have a template which uses parameters, for example {{{2}}} for it's second 
argument,
which is a url.  Some url's are similar to this with a query string:   
http://myserver.com/index.aspx?com=85&id=20.

I figured out that "=" was messing up the template code, so I substituted it's 
hex equivalent "%3D" for both
of the equal signs.  Some target servers can parse this, and some can not, thus 
creating a problem for the users.

Is there any other way to handle this in the template, so that I would not have 
to substitute "%3D" in the url for the "=" sign ?

Thank you,
Lori

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] New extension: Semantic Meta Tags

2015-03-02 Thread Daniel Friesen
I'd like to make 2 notes.

It looks like the property -> meta tag mapping is done in LocalSettings.
Can you guarantee this will stay that way? There are a number of XSS
vectors that would be introduced if it becomes possible to define a
property -> meta mappings handled by OutputPage::addMeta on-wiki.

The hardcoding of og: looks terrible. property="" is not an OpenGraph
thing, it's an RDFa attribute. There are plenty of things besides just
og: that use property.

~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/]

On 2015-03-02 10:48 AM, Jeroen De Dauw wrote:
> Hey all,
>
> I'm happy to announce the immediate availability of the new Semantic Meta
> Tags extension.
>
> It is a Semantic Mediawiki extension for adding meta tags to a page with
> content generated from semantic annotations.
>
> This extension enables to automatically extend the HTML  tags of a
> page with content generated from selected properties with:
>
> * Standard tags (e.g. meta name="keywords") as well as
> * Summary card and Open Graph protocol tags (e.g. meta property="og:title"
> or "twitter:description")
>
> You can find installation and usage instructions for the extension at
> https://github.com/SemanticMediaWiki/SemanticMetaTags#semantic-meta-tags
>
> This extension has been created by James Hong Kong, with some minor
> contributions by Karsten Hoffmeyer, Jamie Thingelstad and myself.
>
> Cheers
>
> --
> Jeroen De Dauw - http://www.bn2vs.com
> Software craftsmanship advocate
> Evil software architect at Wikimedia Germany
> ~=[,,_,,]:3
> ___
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Lua help

2015-03-02 Thread Brenton Horne

Hi,

I have noticed that when I ask Lua templating-related questions here I 
get little, if any replies so I was wondering if someone knows somewhere 
I can ask these questions and get fast (within a day) and helpful answers.


Thanks for your time,
Brenton

___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] New extension: Semantic Meta Tags

2015-03-02 Thread Jeroen De Dauw
Hey all,

I'm happy to announce the immediate availability of the new Semantic Meta
Tags extension.

It is a Semantic Mediawiki extension for adding meta tags to a page with
content generated from semantic annotations.

This extension enables to automatically extend the HTML  tags of a
page with content generated from selected properties with:

* Standard tags (e.g. meta name="keywords") as well as
* Summary card and Open Graph protocol tags (e.g. meta property="og:title"
or "twitter:description")

You can find installation and usage instructions for the extension at
https://github.com/SemanticMediaWiki/SemanticMetaTags#semantic-meta-tags

This extension has been created by James Hong Kong, with some minor
contributions by Karsten Hoffmeyer, Jamie Thingelstad and myself.

Cheers

--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
Evil software architect at Wikimedia Germany
~=[,,_,,]:3
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l