Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

How to repeat the useskin=skin on the URL line in links

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


mediawiki at thegadgetdoctor

May 20, 2008, 1:12 PM

Post #1 of 3 (123 views)
Permalink
How to repeat the useskin=skin on the URL line in links

If I call a page from my wiki using something other than the default skin,
by putting ?useskin=chick for example after the URL for the page, is there
some way to make links that users click on, in that page, also use the
"chick" skin?
I'd very much like to find an easy not to hacky way to decide which skin is
used so I can repurpose some of my content within other sites and not have
it all fall apart as soon as someone clicks on something and gets put back
to the main site skin.

Help appreciated,

Gadgetdoctor
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

May 20, 2008, 3:10 PM

Post #2 of 3 (112 views)
Permalink
Re: How to repeat the useskin=skin on the URL line in links [In reply to]

The Gadget Doctor wrote:
> If I call a page from my wiki using something other than the default skin,
> by putting ?useskin=chick for example after the URL for the page, is there
> some way to make links that users click on, in that page, also use the
> "chick" skin?
> I'd very much like to find an easy not to hacky way to decide which skin is
> used so I can repurpose some of my content within other sites and not have
> it all fall apart as soon as someone clicks on something and gets put back
> to the main site skin.
>
> Help appreciated,
>
> Gadgetdoctor

What happens if you set a cookie named useskin with value chick?


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


mediawiki at thegadgetdoctor

May 20, 2008, 5:17 PM

Post #3 of 3 (112 views)
Permalink
Re: How to repeat the useskin=skin on the URL line in links [In reply to]

I'm not sure how I'd go about setting a cookie from within Mediawiki and how
or when it would get read back to change the links on the page.
I probably could (at the very limits of my knowledge and skill) write some
jscript to run through the page and add ?useskin=chick to the end of all
links, but, like I said, I'm trying to avoid something as "hacky" as that.

GadgetDoctor

On Tue, May 20, 2008 at 6:10 PM, Platonides <Platonides[at]gmail.com> wrote:
>
>
> What happens if you set a cookie named useskin with value chick?
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.