Does anyone know of a technique or extension that would allow me to customize the Sidebar? Following the example shown on Manual:Interface/Sidebar does not return the results shown.
The manual page further states:
" The link target can be the name of an interface message (page in the MediaWiki namespace) or wiki page, or an external link. In either case, the link can be internal, interwiki, or external. In some cases (such as links with the "&" character), an interface message is necessary. The link target cannot be made dependent on the interface language set in the preferences."
After trying every permutation of link and link text the Sidebar does not perform as stated. What am I missing here?
Further down the page examples using Javascript and PHP. Are these my only recourse?
Thanks, John
On Tue, Apr 5, 2011 at 12:19 AM, John Durant johndur@comcast.net wrote:
Does anyone know of a technique or extension that would allow me to customize the Sidebar? Following the example shown on Manual:Interface/Sidebar does not return the results shown.
The manual page further states:
" The link target can be the name of an interface message (page in the MediaWiki namespace) or wiki page, or an external link. In either case, the link can be internal, interwiki, or external. In some cases (such as links with the "&" character), an interface message is necessary. The link target cannot be made dependent on the interface language set in the preferences."
After trying every permutation of link and link text the Sidebar does not perform as stated. What am I missing here?
Further down the page examples using Javascript and PHP. Are these my only recourse?
Thanks, John
An example might be helpful, http://wiki.sugarlabs.org/index.php?title=MediaWiki:Sidebar&action=edit
The centered language links are accomplished by this MediaWiki:Common.css:
#p-Google_translations.portlet li, #p-Google_translations.portal li {
text-align: center; } #panel div#p-Google_translations div.body, #mw-panel div#p-Google_translations div.body { margin-left: 0px; }
--Fred
On Tue, Apr 5, 2011 at 1:13 AM, Frederick Grose fgrose@gmail.com wrote:
On Tue, Apr 5, 2011 at 12:19 AM, John Durant johndur@comcast.net wrote:
Does anyone know of a technique or extension that would allow me to customize the Sidebar? Following the example shown on Manual:Interface/Sidebar does not return the results shown.
The manual page further states:
" The link target can be the name of an interface message (page in the MediaWiki namespace) or wiki page, or an external link. In either case, the link can be internal, interwiki, or external. In some cases (such as links with the "&" character), an interface message is necessary. The link target cannot be made dependent on the interface language set in the preferences."
After trying every permutation of link and link text the Sidebar does not perform as stated. What am I missing here?
Further down the page examples using Javascript and PHP. Are these my only recourse?
Thanks, John
An example might be helpful, http://wiki.sugarlabs.org/index.php?title=MediaWiki:Sidebar&action=edit
The centered language links are accomplished by this MediaWiki:Common.css:
#p-Google_translations.portlet li, #p-Google_translations.portal li {
text-align: center; } #panel div#p-Google_translations div.body, #mw-panel div#p-Google_translations div.body { margin-left: 0px; }
--Fred
Forwarded conversation Subject: [Mediawiki-l] Sidebar Customization ------------------------ ---------- From: *John Durant* johndur@comcast.net Date: Tue, Apr 5, 2011 at 6:11 PM To: Frederick Grose fgrose@gmail.com
Thanks for pointing me to your site Fred. This looks very much like what I am trying to do. Other than the code in Mediawiki:Common.js, is there anything else I would need for a working prototype on my site?
Regards,
John
---------- From: *Frederick Grose* fgrose@gmail.com Date: Tue, Apr 5, 2011 at 7:59 PM To: John Durant johndur@comcast.net
You can check the Special:Version page of a MediaWiki site, http://wiki.sugarlabs.org/go/Special:Version to see what software is running.
In our case, we are just using the Vector skin with UsabilityInitiative extension in MediaWiki 1.16.0
The MediaWiki:Sidebar content, http://wiki.sugarlabs.org/go/MediaWiki:Sidebar and MediaWiki:Common.css (the sections I extracted below), http://wiki.sugarlabs.org/go/MediaWiki:Common.css and the Google Translate and other external or internal links are the only customizations to our sidebar.
Best wishes, --Fred ---------- From: *John Durant* johndur@comcast.net Date: Tue, Apr 5, 2011 at 11:00 PM To: Frederick Grose fgrose@gmail.com
As suggested, went through the various components. It appears to be working, more tests in the morning.
Will keep you posted.
Thanks,
---------- From: *John Durant* johndur@comcast.net Date: Wed, Apr 6, 2011 at 8:55 PM To: Frederick Grose fgrose@gmail.com
Compared Special:Version pages, removed other extensions that could possibly conflict, verified Vector, checked Mediawiki:Sidebar and still no collapsing. Looking at the code with Firebug, the functions all load and run. Any ideas?
Thanks,
---------- From: *Frederick Grose* fgrose@gmail.com Date: Wed, Apr 6, 2011 at 9:21 PM To: John Durant johndur@comcast.net
Oh sorry, I forgot about the collapsing feature.
You may need also some MediaWiki:Common.js, http://wiki.sugarlabs.org/go/MediaWiki:Common.js or, its good to take from the source, http://www.mediawiki.org/wiki/MediaWiki:Common.js
But I'm not certain at the moment.
I would feel better if this discussion were on-list, so others could contribute and benefit.
Any objections to forward all back to the original thread?
--Fred
---------- From: *John Durant* johndur@comcast.net Date: Thu, Apr 7, 2011 at 8:23 AM To: Frederick Grose fgrose@gmail.com
No, please do.
How do you make those menu's in the sidebar collapsable? Looks very neat.
At 01:56 AM 4/8/2011, you wrote:
On Tue, Apr 5, 2011 at 1:13 AM, Frederick Grose fgrose@gmail.com wrote:
On Tue, Apr 5, 2011 at 12:19 AM, John Durant johndur@comcast.net wrote:
Does anyone know of a technique or extension that would allow me to customize the Sidebar? Following the example shown on Manual:Interface/Sidebar does not return the results shown.
The manual page further states:
" The link target can be the name of an interface message (page in the MediaWiki namespace) or wiki page, or an external link. In
either case, the
link can be internal, interwiki, or external. In some cases (such as links with the "&" character), an interface message is necessary. The
link target
cannot be made dependent on the interface language set in the
preferences."
After trying every permutation of link and link text the Sidebar does not perform as stated. What am I missing here?
Further down the page examples using Javascript and PHP. Are these my only recourse?
Thanks, John
An example might be helpful, http://wiki.sugarlabs.org/index.php?title=MediaWiki:Sidebar&action=edit
The centered language links are accomplished by this MediaWiki:Common.css:
#p-Google_translations.portlet li, #p-Google_translations.portal li {
text-align: center; } #panel div#p-Google_translations div.body, #mw-panel div#p-Google_translations div.body { margin-left: 0px; }
--FredForwarded conversation Subject: [Mediawiki-l] Sidebar Customization
From: *John Durant* johndur@comcast.net Date: Tue, Apr 5, 2011 at 6:11 PM To: Frederick Grose fgrose@gmail.com
Thanks for pointing me to your site Fred. This looks very much like what I am trying to do. Other than the code in Mediawiki:Common.js, is there anything else I would need for a working prototype on my site?
Regards,
John
From: *Frederick Grose* fgrose@gmail.com Date: Tue, Apr 5, 2011 at 7:59 PM To: John Durant johndur@comcast.net
You can check the Special:Version page of a MediaWiki site, http://wiki.sugarlabs.org/go/Special:Version to see what software is running.
In our case, we are just using the Vector skin with UsabilityInitiative extension in MediaWiki 1.16.0
The MediaWiki:Sidebar content, http://wiki.sugarlabs.org/go/MediaWiki:Sidebar and MediaWiki:Common.css (the sections I extracted below), http://wiki.sugarlabs.org/go/MediaWiki:Common.css and the Google Translate and other external or internal links are the only customizations to our sidebar.
Best wishes, --Fred
From: *John Durant* johndur@comcast.net Date: Tue, Apr 5, 2011 at 11:00 PM To: Frederick Grose fgrose@gmail.com
As suggested, went through the various components. It appears to be working, more tests in the morning.
Will keep you posted.
Thanks,
From: *John Durant* johndur@comcast.net Date: Wed, Apr 6, 2011 at 8:55 PM To: Frederick Grose fgrose@gmail.com
Compared Special:Version pages, removed other extensions that could possibly conflict, verified Vector, checked Mediawiki:Sidebar and still no collapsing. Looking at the code with Firebug, the functions all load and run. Any ideas?
Thanks,
From: *Frederick Grose* fgrose@gmail.com Date: Wed, Apr 6, 2011 at 9:21 PM To: John Durant johndur@comcast.net
Oh sorry, I forgot about the collapsing feature.
You may need also some MediaWiki:Common.js, http://wiki.sugarlabs.org/go/MediaWiki:Common.js or, its good to take from the source, http://www.mediawiki.org/wiki/MediaWiki:Common.js
But I'm not certain at the moment.
I would feel better if this discussion were on-list, so others could contribute and benefit.
Any objections to forward all back to the original thread?
--Fred
From: *John Durant* johndur@comcast.net Date: Thu, Apr 7, 2011 at 8:23 AM To: Frederick Grose fgrose@gmail.com
No, please do. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_ _ (o) (o) oOOO----(_)----OOOo--- Henny (Lee Hae Kang) ----------------------------- http://www.henny-savenije.pe.kr Portal to all my sites http://www.hendrick-hamel.henny-savenije.pe.kr (in English) Feel free to discover Korea with Hendrick Hamel (1653-1666) http://www.hendrick-hamel.henny-savenije.pe.kr/indexk2.htm In Korean http://www.hendrick-hamel.henny-savenije.pe.kr/Dutch In Dutch http://www.vos.henny-savenije.pe.kr Frits Vos Article about Witsen and Eibokken and his first Korean-Dutch dictionary http://www.cartography.henny-savenije.pe.kr (in English) Korea through Western Cartographic eyes http://www.hwasong.henny-savenije.pe.kr Hwasong the fortress in Suwon http://www.oldKorea.henny-savenije.pe.kr Old Korea in pictures http://www.british.henny-savenije.pe.kr A British encounter in Pusan (1797) http://www.genealogy.henny-savenije.pe.kr/ Genealogy http://www.henny-savenije.pe.kr/phorum Bulletin board for Korean studies
Hi Fred,
One more (I hope) question regarding your collapasable sidebar. Should this list be a table with a particular classs?
Thanks,
John ----- Original Message ----- From: "Frederick Grose" fgrose@gmail.com To: mediawiki-l@lists.wikimedia.org Sent: Thursday, April 7, 2011 9:56:38 AM Subject: Re: [Mediawiki-l] Sidebar Customization
On Tue, Apr 5, 2011 at 1:13 AM, Frederick Grose fgrose@gmail.com wrote:
On Tue, Apr 5, 2011 at 12:19 AM, John Durant johndur@comcast.net wrote:
Does anyone know of a technique or extension that would allow me to customize the Sidebar? Following the example shown on Manual:Interface/Sidebar does not return the results shown.
The manual page further states:
" The link target can be the name of an interface message (page in the MediaWiki namespace) or wiki page, or an external link. In either case, the link can be internal, interwiki, or external. In some cases (such as links with the "&" character), an interface message is necessary. The link target cannot be made dependent on the interface language set in the preferences."
After trying every permutation of link and link text the Sidebar does not perform as stated. What am I missing here?
Further down the page examples using Javascript and PHP. Are these my only recourse?
Thanks, John
An example might be helpful, http://wiki.sugarlabs.org/index.php?title=MediaWiki:Sidebar&action=edit
The centered language links are accomplished by this MediaWiki:Common.css:
#p-Google_translations.portlet li, #p-Google_translations.portal li {
text-align: center; } #panel div#p-Google_translations div.body, #mw-panel div#p-Google_translations div.body { margin-left: 0px; }
--Fred
Forwarded conversation Subject: [Mediawiki-l] Sidebar Customization ------------------------ ---------- From: *John Durant* johndur@comcast.net Date: Tue, Apr 5, 2011 at 6:11 PM To: Frederick Grose fgrose@gmail.com
Thanks for pointing me to your site Fred. This looks very much like what I am trying to do. Other than the code in Mediawiki:Common.js, is there anything else I would need for a working prototype on my site?
Regards,
John
---------- From: *Frederick Grose* fgrose@gmail.com Date: Tue, Apr 5, 2011 at 7:59 PM To: John Durant johndur@comcast.net
You can check the Special:Version page of a MediaWiki site, http://wiki.sugarlabs.org/go/Special:Version to see what software is running.
In our case, we are just using the Vector skin with UsabilityInitiative extension in MediaWiki 1.16.0
The MediaWiki:Sidebar content, http://wiki.sugarlabs.org/go/MediaWiki:Sidebar and MediaWiki:Common.css (the sections I extracted below), http://wiki.sugarlabs.org/go/MediaWiki:Common.css and the Google Translate and other external or internal links are the only customizations to our sidebar.
Best wishes, --Fred ---------- From: *John Durant* johndur@comcast.net Date: Tue, Apr 5, 2011 at 11:00 PM To: Frederick Grose fgrose@gmail.com
As suggested, went through the various components. It appears to be working, more tests in the morning.
Will keep you posted.
Thanks,
---------- From: *John Durant* johndur@comcast.net Date: Wed, Apr 6, 2011 at 8:55 PM To: Frederick Grose fgrose@gmail.com
Compared Special:Version pages, removed other extensions that could possibly conflict, verified Vector, checked Mediawiki:Sidebar and still no collapsing. Looking at the code with Firebug, the functions all load and run. Any ideas?
Thanks,
---------- From: *Frederick Grose* fgrose@gmail.com Date: Wed, Apr 6, 2011 at 9:21 PM To: John Durant johndur@comcast.net
Oh sorry, I forgot about the collapsing feature.
You may need also some MediaWiki:Common.js, http://wiki.sugarlabs.org/go/MediaWiki:Common.js or, its good to take from the source, http://www.mediawiki.org/wiki/MediaWiki:Common.js
But I'm not certain at the moment.
I would feel better if this discussion were on-list, so others could contribute and benefit.
Any objections to forward all back to the original thread?
--Fred
---------- From: *John Durant* johndur@comcast.net Date: Thu, Apr 7, 2011 at 8:23 AM To: Frederick Grose fgrose@gmail.com
No, please do. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org