Greetings!
I am wanting to be able to display a font family in my wiki, that is not common.
On my website, in the main cascading style sheet (.css) I use the following: @font-face { font-family: 'SteelWolf'; src: local('SteelWolf-Medium'), url('../fonts/SteelWolf-Medium.woff') format('woff'), url('../fonts/SteelWolf-Medium.ttf') format('truetype'); }
Along with span.sw { font-family: SteelWolf; }
This allows the viewer to automatically install the font and be able to view it on the page.
I want to do the same thing in the wiki. I am unsure which style sheet into which to insert this code. I thought common.css, but was unable to find it.
If someone can help, I would appreciate it.
-Bri
There's some tricks to getting this to work on the greatest number of browsers possible. I would suggest taking a look at:
http://www.fontsquirrel.com/fontface/generator
- Trevor
On Sun, May 8, 2011 at 9:08 PM, Brian Bell dev@rlyehable.org wrote:
Greetings!
I am wanting to be able to display a font family in my wiki, that is not common.
On my website, in the main cascading style sheet (.css) I use the following: @font-face { font-family: 'SteelWolf'; src: local('SteelWolf-Medium'), url('../fonts/SteelWolf-Medium.woff') format('woff'), url('../fonts/SteelWolf-Medium.ttf') format('truetype'); }
Along with span.sw { font-family: SteelWolf; }
This allows the viewer to automatically install the font and be able to view it on the page.
I want to do the same thing in the wiki. I am unsure which style sheet into which to insert this code. I thought common.css, but was unable to find it.
If someone can help, I would appreciate it.
-Bri
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Brian Bell wrote:
Greetings!
I am wanting to be able to display a font family in my wiki, that is not common.
On my website, in the main cascading style sheet (.css) I use the following: @font-face { font-family: 'SteelWolf'; src: local('SteelWolf-Medium'), url('../fonts/SteelWolf-Medium.woff') format('woff'), url('../fonts/SteelWolf-Medium.ttf') format('truetype'); }
Along with span.sw { font-family: SteelWolf; }
This allows the viewer to automatically install the font and be able to view it on the page.
I want to do the same thing in the wiki. I am unsure which style sheet into which to insert this code. I thought common.css, but was unable to find it.
If someone can help, I would appreciate it.
-Bri
It is the page MediaWiki:Common.css *inside the wiki*. Note you don't want relative urls, make them at least relative to the domain root (ie. /mystuff/fonts/SteelWolf-Medium.woff) if you are using of plan to use pretty urls.
I installed the FCKeditor but after the upgrade to 1.16.5 it's not working anymore
When trying to edit I get the following message (after enabling $wgShowExceptionDetails = true;)
Detected bug in an extension! Hook FCKeditor_MediaWiki::onCustomEditor failed to return a value; should return true to continue hook processing or false to abort.
Backtrace:
#0 /storage/vhosts/genealogy.henny-savenije.pe.kr/httpdocs/mediawiki/includes/Wiki.php(545): wfRunHooks('CustomEditor', Array) #1 /storage/vhosts/genealogy.henny-savenije.pe.kr/httpdocs/mediawiki/includes/Wiki.php(70): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest)) #2 /storage/vhosts/genealogy.henny-savenije.pe.kr/httpdocs/mediawiki/index.php(117): MediaWiki->performRequestForTitle(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest)) #3 {main}
Anybody ideas?
_ _ (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
mediawiki-l@lists.wikimedia.org