On Oct 27, 10:25 am, Johannes Beigel <[email protected]>
wrote:
> What do the URLs of your wiki look like? If they don't look like
>
> http[s]://hostname/wiki/Article_name
>
> for "pretty URLs" and
>
> http[s]://hostname/w/index.php?title=Article_name
>
> for "long URLs", the JS code which produces these popups probably
> won't work out of the box. We're using an older version of the
> standard "Navigation popups" gadget:
>
> http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups
>
> If your URLs look different, you can patch the JS code yourself: You
> have to adjust the hardcoded string 'wiki' in the getArticlePath()
> function in js/Gadget-popups.js, line 6022.
>
Thank you Johannes, but I couldn't get it work.
My URL is like http://hostname/w/index.php?title=Article_name.
According to the link you provided:
http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups
I downloaded the JavaScript source, created a page called
MediaWiki:Gadget-popups.js, copy/paste the big JavaScript source to
the page, and clicked "Save page".
I created another page called MediaWiki:Monobook.js, copy/paste
"{{subst:navpop}}" (no quotes) to it, and clicked "Save page".
I cleaned cookies, and pressed F5.
Unfortunately, it doesn't work at all for me.
Anything wrong I did?
BTW, from the instruction in the link you provided, it doesn't say how
to install the big JavaScript source. Instead, it just says the
"Installation" of "{{subst:navpop}}" to a user's "monobook.js page".
Thanks again,
Ross
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---