[Mediawiki-l] Infobox in the sidebar

2012-02-27 Thread nakohdo
I want to provide my users with some permanent information using kind of an infobox either in the sidebar or in the footer. However, the sidebar seems to render only links. The same goes for the footer AFAIU http://www.mediawiki.org/wiki/Manual:Footer Any ideas or pointers how to achieve this

Re: [Mediawiki-l] howto include different page.css into one MediaWiki:CentralCSS.css page for organizing css cascade sheets?

2012-02-27 Thread nakohdo
See http://meta.wikimedia.org/wiki/Help:Embed_page for instructions on how to transclude pages. hth Frank -- View this message in context:

Re: [Mediawiki-l] Adjust article content without modifying page_touched

2011-10-21 Thread nakohdo
You should give the DPL extension a try for creating such reports or even add your template automatically to such pages: http://www.mediawiki.org/wiki/Extension:DynamicPageList_%28third-party%29 http://semeb.com/dpldemo/index.php?title=DPL:Manual

Re: [Mediawiki-l] DPL help needed

2011-09-22 Thread nakohdo
Have you tried using the parser function syntax instead of tags? Usually it's more powerful. http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_General_Usage_and_Invocation_Syntax hth Frank -- View this message in context: http://old.nabble.com/DPL-help-needed-tp32502876p32503807.html

[Mediawiki-l] JavaScript within templates?

2011-09-22 Thread nakohdo
Besides using a template for adding a category to a page I would like to add the very same category name as a class to the page's body tag like so: $('body').addClass('myCategory') This would enable category based styling using CSS as suggested at

Re: [Mediawiki-l] Newbie Question

2011-09-09 Thread nakohdo
Still on the same debian system. i created a new database for the new mediawiki...I want to import/restore the database from the old version to the new one.I exported the database from the old ver. using phpmyadmin, no issue there. When I tried to import it to the new ver. database it

Re: [Mediawiki-l] MediaWiki and Office Docs

2011-08-30 Thread nakohdo
McHale, Nina wrote: We also added the Office mime file information to mime.info and mime.types. Adding docx as application/zip file type (http://www.mediawiki.org/wiki/Manual:Mime_type_detection ) and turning off MIME type verification

Re: [Mediawiki-l] exclude template from category list

2011-07-19 Thread nakohdo
Platonides wrote: You could do the category inclusion inside includeonly only if the namespace ({{NAMESPACE}}) is not template (use parserfunctions). Thanks for the pointer, will look into this. -- View this message in context:

[Mediawiki-l] Vector skin: AJAX search behavior

2011-07-14 Thread nakohdo
The behavior of the Vector skin search box on my MediaWiki 16.5 installation differs from the one on mediawiki.org (see screenshot): 1) The full text search option is only shown after selecting one of the search suggestions. 2) I don't get the nice bold letters at the beginning of the search

Re: [Mediawiki-l] exclude template from category list

2011-07-08 Thread nakohdo
Scheid, Bernhard wrote: An includeonly[[Category:Make my day]]/includeonly in your template is not working for you? Actually not, because I use nested templates. Actually I would need something like $wgNamespacesToBeCategorized (does not exist) in LocalSettings.php or something

Re: [Mediawiki-l] Print only part of a Page

2011-06-21 Thread nakohdo
Hi Marcel, van Vliet, M.W. wrote: How can I specify parts of a page to be printed? Ideally I would use noprint /noprint tags or something likewise to sepcify parts I don't want printed. Is there a way to accomplish this within Wiki? You could add print specific CSS to your content, e.g.

Re: [Mediawiki-l] automatic template inclusion in new pages?

2011-06-17 Thread nakohdo
Matthew Betts-4 wrote: Is there a way to ensure that a template is included in all pages of a particular namespace? I'd like to use our mediawiki to allow people to annotate some things in a biology project, and the wiki URLs will be generated automatically by an external program. Hi

Re: [Mediawiki-l] Sidebar Customization

2011-04-08 Thread nakohdo
Henny Savenije wrote: How do you make those menu's in the sidebar collapsable? Looks very neat. Also have a look at http://www.mediawiki.org/wiki/JQuery and http://www.mediawiki.org/wiki/Category:Snippets_with_JavaScript -- View this message in context:

Re: [Mediawiki-l] no double click edit

2011-04-08 Thread nakohdo
Scheid, Bernhard wrote: Since updating from 1.15 to 1.16 I can no longer edit a page by double click, even if I enable that option in my preferences. A bug? A known problem? Any work around? Does work here with 1.16.2 without problems. Perhaps some other extension gets in the way? Frank

Re: [Mediawiki-l] Uploading office docs

2011-03-11 Thread nakohdo
Sullivan, James (NIH/CIT) [C] wrote: This is a known problem but I'm not sure where Mediawiki.org is on fixing it or whether they are attempting to fix it, though I have heard rumors of a fix in 1.17. The problem stems from Microsoft (surprise!) having changed its format for Office 7

Re: [Mediawiki-l] Changing the Edit Page disclaimer...

2011-02-23 Thread nakohdo
Matt McGhie wrote: Where/how do I do this? yourwiki\MediaWiki:Copyrightwarning2 -- View this message in context: http://old.nabble.com/Changing-the-Edit-Page-disclaimer...-tp30996635p30996996.html Sent from the WikiMedia General mailing list archive at Nabble.com.

Re: [Mediawiki-l] DPL: Restrict output when using inlcude for sections

2011-02-16 Thread nakohdo
I filed an issue at http://semeb.com/dpldemo/index.php?title=Include_section_always_shows_all_articles_in_category -- View this message in context: http://old.nabble.com/DPL%3A-Restrict-output-when-using-%22include%22-for-sections-tp30921528p30936644.html Sent from the WikiMedia General mailing

[Mediawiki-l] DPL: Restrict output when using inlcude for sections

2011-02-14 Thread nakohdo
Hello, I want to create an overview page for a topic by pulling all relevant content form the minutes of meetings with DPL, using http://semeb.com/dpldemo/index.php?title=Includepage#include_chapters include include chapters : dpl category = meeting include= #topic /dpl That does the

Re: [Mediawiki-l] DPL: Restrict output when using inlcude for sections

2011-02-14 Thread nakohdo
Daniel Bishop-2 wrote: You could try Includematch http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Criteria_for_page_selection#includematch Thanks for the hint. I have actually tried something like this: dpl category = meeting include = #topic

Re: [Mediawiki-l] DPL: Restrict output when using inlcude for sections

2011-02-14 Thread nakohdo
nakohdo wrote: Thanks for the hint. I have actually tried something like this: dpl category = meeting include = #topic includematch = /topic/ /dpl But this turns out to be too restrictive as it only includes sections where topic is part of the section itself

Re: [Mediawiki-l] DPL: Restrict output when using inlcude for sections

2011-02-14 Thread nakohdo
I found a workaround by using some JavaScript. 1) First I enclose the the whole list for easier targeting with a div element with an id: div id=dpl-list dpl category = meeting include = #topic /dpl /div 2) Then I hide all list items by default and only show those which have an

Re: [Mediawiki-l] editing the edition buttons

2011-02-08 Thread nakohdo
Platonides wrote: I'd like to modify the edition buttons (the buttons you have above the edition frame when you modify a page), I'm trying to find where the javascript for the buttons comes from. includes/EditPage.php function getEditToolbar() Is there an upgrade save way to

Re: [Mediawiki-l] editing the edition buttons

2011-02-08 Thread nakohdo
Platonides wrote: Is there an upgrade-safe way to override this function? EditPageBeforeEditToolbar hook (I find easier to modify it at $toolarray, though). Thanks! The hook looks indeed a bit too much for such a small modification. -- View this message in context:

Re: [Mediawiki-l] External Link Opening in New Tab or Window

2011-02-07 Thread nakohdo
The proposed jQuery solution does work on my wiki. Do you have JavaScript enabled in your browser? -- View this message in context: http://old.nabble.com/%22Category%3A-Noindexed-pages%22-puzzle-tp30698862p30863268.html Sent from the WikiMedia General mailing list archive at Nabble.com.

Re: [Mediawiki-l] Tab / New Window for External Links on Mediawiki namespace pages

2011-02-07 Thread nakohdo
trueskew wrote: I've tried using several Common.js solutions for having specific external links and sidebar external links open in a new tab, including these: http://www.mediawiki.org/wiki/JQuery_snippets#External_links_in_Sidebar_in_n ew_window However, none of the solutions above

Re: [Mediawiki-l] External Link Opening in New Tab or Window

2011-01-28 Thread nakohdo
Charlie Markwick wrote: I've added this to MediaWiki:Common.js but it changes nothing. I have tried clearing the cache and also accessing the URL using another browser that hasn't accessed the wiki before. No difference. Do you use the latest version of MediaWiki (at least 1.16)? We

Re: [Mediawiki-l] Re moving a custom namespace?

2011-01-26 Thread nakohdo
Daniel Barrett-3 wrote: What is the safest way to remove a custom namespace after all its articles have been deleted? If we just remove it from $wgExtraNamespaces, there will still be database entries (e.g., in the archive table) that reference the old namespace number, and I don't know if

Re: [Mediawiki-l] Custom namespaces and discussion pages

2011-01-24 Thread nakohdo
Snowolf-2 wrote: It seems that a simple _ fix everything. I'll write on the appropriate www.mediawiki.org page ASAP. I stumbled across the same problem and the solution is indeed a simple underscore: Don't write anything like: $wgExtraNamespaces[NS_FOO_TALK] = Foo talk; # no underscore

Re: [Mediawiki-l] Hiding subst: syntax inside a template possible?

2011-01-21 Thread nakohdo
Add the following JavaScript to your wiki's MediaWiki:Common.js (or another JS file): if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { imageFile: http://upload.wikimedia.org/wikipedia/commons/3/35/Button_substitute.png;, speedTip: Substitution,

Re: [Mediawiki-l] Hiding subst: syntax inside a template possible?

2011-01-20 Thread nakohdo
Platonides wrote: nakohdo: You cannot make some templates subst by not using subst. Thanks for clarification. Yes, a thought reading parser is still on my wishlist ;-) A follow-up question, though: Technically speaking subst: is a parser function, isn't it? Could I a least create an alias

Re: [Mediawiki-l] Hiding subst: syntax inside a template possible?

2011-01-20 Thread nakohdo
Tech Geek wrote: That's great as I exactly want this same behaviour. Can you tell us what modifications are to be made? Let's say I have templates named Stardard and EvalForm and I want that any time a user selects these templates from the FCK Editor the keyboard subst is automatically

Re: [Mediawiki-l] Hiding subst: syntax inside a template possible?

2011-01-20 Thread nakohdo
nakohdo wrote: Have a look at: http://www.mediawiki.org/wiki/Manual:Custom_edit_buttons http://en.wikisource.org/wiki/Wikisource:Tools_and_scripts/More_editing_buttons You'll find actual buttons at http://commons.wikimedia.org/wiki/Mediawiki_edit_toolbar -- View this message in context

Re: [Mediawiki-l] External Link Opening in New Tab or Window

2011-01-20 Thread nakohdo
Charlie Markwick wrote: I have added:- $wgExternalLinkTarget = '_blank'; And external links now open in a new tab as I wanted. Except for external link I have added in the navigation and toolbox sections. Can I correct this? Charlie Please start a new threat for any new

Re: [Mediawiki-l] External Link Opening in New Tab or Window

2011-01-20 Thread nakohdo
Charlie Markwick wrote: I have added:- $wgExternalLinkTarget = '_blank'; And external links now open in a new tab as I wanted. Except for external link I have added in the navigation and toolbox sections. Can I correct this? Charlie Please start a new threat for any new

[Mediawiki-l] Hiding subst: syntax inside a template possible?

2011-01-19 Thread nakohdo
Hello I don't want my users to learn the substitution syntax (http://www.mediawiki.org/wiki/Manual:Substitution ) so I want to hide it inside a template, e.g. Template:now includeonly{{safesubst:LOCALTIME}}/includeonly But that doesn't work as wanted and come to think of it might not be

Re: [Mediawiki-l] Creating Alias name for a page -- Is there a better way?

2011-01-10 Thread nakohdo
Tech Geek wrote: Is there a way we to create an alias title (Tiger) for the page with title IPZY-112? Yes, see http://en.wikipedia.org/wiki/Help:Redirect hth Frank -- View this message in context:

Re: [Mediawiki-l] Re ad 1200 Pages into wiki

2011-01-04 Thread nakohdo
Another option for such structured texts might be http://semantic-mediawiki.org hth Frank -- View this message in context: http://old.nabble.com/Read-1200-Pages-into-wiki-tp30547532p30584916.html Sent from the WikiMedia General mailing list archive at Nabble.com.

Re: [Mediawiki-l] Re ad 1200 Pages into wiki

2010-12-29 Thread nakohdo
uv22e Alcott wrote: I have a word file (1200 pages) (written within the last 10 years). It is written in cinstant format (Like a lexicon) and i would like to import it into a mediawiki installation. How can I do that? OpenOffice can open Word files and lets you export text as MediaWiki

Re: [Mediawiki-l] Re ad 1200 Pages into wiki

2010-12-29 Thread nakohdo
AFAIK most import scripts map one file to one wiki page. But you could use MediaWiki's XML import/export format for multipage imports from one file (http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps). Converting your Word content to XML might be a bit tougher but should be manageable.

Re: [Mediawiki-l] How to widen the search suggestions box?

2010-12-10 Thread nakohdo
Try changing the width with CSS in MediaWiki:Vector.css, the default is 9em, on Wikipedia it's 14em. #simpleSearch input#searchInput { width: 14em; } hth Frank PS The use of Firebug for such kind of modifications is highly recommended. -- View this message in context:

Re: [Mediawiki-l] two discrete wikis can use the same database?

2010-11-12 Thread nakohdo
Anastasia Dimou wrote: I am not sure if GUI changes are sufficient in my occasion, but I do understand that it is the optimal solution. That will depend on what you mean with a simpler copy of the existing wiki (see your original post). If it means certain areas of the wiki then you

Re: [Mediawiki-l] Spammers got me

2010-09-15 Thread nakohdo
Hi Steve, see http://www.mediawiki.org/wiki/Manual:Combating_vandalism and http://www.mediawiki.org/wiki/Manual:Combating_spam You should be able to revert any edits by IP address. hth Frank -- View this message in context: http://old.nabble.com/Spammers-got-me-tp29718186p29718554.html Sent

Re: [Mediawiki-l] Fresh Install Issues

2010-09-10 Thread nakohdo
Henning Haida wrote: My Browser obviously cannot read your CSS files. I only see strange symbols when I view the CSS. It might be a character encoding issue. How did you install? Did you transfer files by FTP? My browser does find the CSS files (so probably no path problem), but

Re: [Mediawiki-l] Email notification setup?

2010-07-22 Thread nakohdo
And here http://meta.wikimedia.org/wiki/Help:Watching_pages#E-mail_notification -- View this message in context: http://old.nabble.com/Email-notification-setup--tp29235245p29235400.html Sent from the WikiMedia General mailing list archive at Nabble.com.

Re: [Mediawiki-l] Creating a cascade of pages simultaneously

2010-07-22 Thread nakohdo
Gabriel Filion-3 wrote: Is there any way to create all the pages in a single creation, maybe by using a page substitution or something like that? Daniel Barret describes a method in his MediaWiki book (page 133 f.) for automatically creating a set of subpages by using templates. See

Re: [Mediawiki-l] short headers in TOC

2010-07-21 Thread nakohdo
Frederick Grose wrote: Is there a CSS or JS method we could employ for those without access to the Skins folder? You could try something like this in CSS: #toc li { max-width: 20em; white-space: nowrap; overflow: hidden; } hth Frank -- View this message in context:

[Mediawiki-l] Wildcard search as default search behavior

2010-06-30 Thread nakohdo
Hi, is it possible to set the default search behavior to using wildcards? That is, entering the search term token would actually search for token* and therefor also find tokenization. IMO not so tech savvy users might suspect this to be the default behavior. Frank -- View this message in

[Mediawiki-l] Creating #REDIRECT in a template

2010-06-25 Thread nakohdo
Hi, I am trying to create a template which redirects a page with the initials of a user as its title to the corresponding user page like so: Page [[FR]] contains the template {{Initials of|Frank}}. The template should look like this, but this doesn't work because of the pound sign. #REDIRECT

Re: [Mediawiki-l] External editing broken in MW 1.15.4 ?

2010-06-03 Thread nakohdo
I found the following patch for another Perl library: http://us.generation-nt.com/answer/bug-578691-libmediawiki-perl-security-update-mediawiki-will-break-login-api-help-197670251.html I suppose one could just copy the relevant login code to ee.pl. There's also a whole bunch of MediaWiki

[Mediawiki-l] DPL: Arbitrary adding of empty paragraph

2010-05-14 Thread nakohdo
Hello, I noticed a very strange behavior of DPL (1.8.9) on one of my wikis. The following tag version always produces an extra empty paragraph between the heading and the list, whereas the parser function does work alright, even with all those whitespace added to it. On my test installation

[Mediawiki-l] Image links don't work on subpages

2010-05-10 Thread nakohdo
When I insert an image link on a subpage like [[Image:My picture.png]] the image won't show but only a link to the image page. I'm surely only missing an important settings but which one? tia Frank -- View this message in context:

Re: [Mediawiki-l] Re adable Recent Changes

2010-05-10 Thread nakohdo
Hi Adam, Adam Meyer wrote: I wanted to make it more readable, and was sad to see that a lot of what was needed to just apply some css to make it readable was missing. This is what I wanted as a final result http://wiki.bildr.org/index.php/Special:RecentChanges But it would be nice if

Re: [Mediawiki-l] Does Lucene-Search Support Japanese?

2010-04-07 Thread nakohdo
Hi Ross, Ross Xu wrote: Any more ideas? Lucene itself is capable of supporting Japanese but you might need a special analyzer and/or tokenizer, see http://www.google.com/search?q=lucene+japanese (That's for Lucene in general, don't know much about Lucene with regard to MediaWiki.) hth

Re: [Mediawiki-l] Web page source - strange characters

2010-03-23 Thread nakohdo
nakohdo wrote: Should look: # zh: # https://bugzilla.wikimedia.org/show_bug.cgi?id=5104 Disallow: /wiki/Wikipedia:/?? Oops, got mangled by my email program. Another try... # zh: # https://bugzilla.wikimedia.org/show_bug.cgi?id=5104 Disallow: /wiki/Wikipedia:删除投票/侵权 -- View