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: http://wikimedia.7.n6.nabble.com/howto-include-different-page-css-into-one-MediaWiki-CentralCSS-css-page-for-organizing-css-cascade-s-tp4503305p4514589.html

[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 goal

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

2011-10-20 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 http://semeb.com/dpldemo/index.php?title=DPL_Examp

[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 http://www.mediawiki.org/wiki/Thread:Project:S

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 Sen

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 i

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 (http://www.mediawiki.org/wiki/Manual:$wgVerif

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

2011-07-19 Thread nakohdo
Platonides wrote: > > You could do the category inclusion inside only if the > namespace ({{NAMESPACE}}) is not template (use parserfunctions). > Thanks for the pointer, will look into this. -- View this message in context: http://old.nabble.com/exclude-template-from-category-list-tp31638

Re: [Mediawiki-l] / and Main_Page

2011-07-19 Thread nakohdo
Shouldn't the Short URL rewrite rules care for this? http://www.mediawiki.org/wiki/Manual:Short_URL -- View this message in context: http://old.nabble.com/--and-Main_Page-tp32088869p32089210.html Sent from the WikiMedia General mailing list archive at Nabble.com. __

[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 sugg

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

2011-07-08 Thread nakohdo
Scheid, Bernhard wrote: > > An [[Category:Make my day]] 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 similar as an extens

Re: [Mediawiki-l] opening sidebar links in a new window

2011-06-22 Thread nakohdo
Dan Siegal-Gaskins-3 wrote: > > hello everyone, > i'm a new and slightly confused mediawiki user who'd like to put external > links on my sidebar that open in new window. is this something that can > be done? > See this thread: http://old.nabble.com/Sidebar-Customization-tt31321544.html You

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 > 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. and then

[Mediawiki-l] Extension CreateArticle: Creating two pages at once?

2011-06-17 Thread nakohdo
Hi, Is it possible to create two (or even more) pages with this (or another) extension in one go? From the page name in the input field I want to create [[My page]] and a template with the same name [[Template:My page]]. See http://www.mediawiki.org/wiki/Extension_talk:CreateArticle#Creating_two

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. >

Re: [Mediawiki-l] where can I get mw_tools? backup w/o shell

2011-04-14 Thread nakohdo
wiki-9 wrote: > > The Special:Export sounds complicated to me if I want to backup all > pages since I have to give all the pagenames. Do I not see the global > solution? > Hi Holger, Try using http://www.mediawiki.org/wiki/Extension:MaintenanceShell You should then be able to dump your whole

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? F

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: http://old.nabble.com/Sidebar-

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

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: category = meeting include = #topic 2) Then I hide all list items by default and only show those which have an included paragraph using ht

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: > > > category = meeting > include = #topic > includematch = /topic/ > > > But this turns out to be too restrictive as it only includes sections > where &quo

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: category = meeting include = #topic includ

[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 : category = meeting include= #topic That does the trick but

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: http://old.n

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 w

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 solutio

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] Page created on xx.xx.xxx date in the footer

2011-02-07 Thread nakohdo
uv22e Alcott wrote: > > ok. but could it not be possible to catch some code from the history file? > You might have a look at DPL extension (http://semeb.com/dpldemo/index.php?title=DPL:Manual ). There is a least a "firstedit" parameter: firstedit: outputs list based on first edit to the pa

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)? "

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 kno

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

2011-01-26 Thread nakohdo
Platonides wrote: > >> Technically speaking "subst:" is a parser function, isn't it? > > Not exactly a parser function. I would call it a /modifier/ for > templates/parser functions. > >> Could I a >> least create an alias for it (by modifying magic words?) which is more >> meaningful for non

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 undersc

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

2011-01-21 Thread nakohdo
Charlie Markwick wrote: > > See > http://www.mediawiki.org/wiki/JQuery_snippets#External_links_in_Sidebar_ > in_new_window > > Can anyone help me understand how to use the suggestion in this link. > I'm not sure where to start. > Just put the following JavaScript code in your wiki's MediaWiki

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] 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 an

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 an

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 --

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 > autom

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? C

[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 {{safesubst:LOCALTIME}} But that doesn't work as wanted and come to think of it might not be possible at all. Or am I mi

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: http://old.nabble.com/Creating-Alias-name-for-a-pageIs-there-a-better-way--tp306

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
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. http

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 MediaWik

Re: [Mediawiki-l] Printing part of a page

2010-12-12 Thread nakohdo
Sandy Rozhon wrote: > > My Wiki has some pages that have text that I'd like to be printable > to an index card. I've used CSS to create a box with the text > inside. Is there a way to just print this box + text without all the > other stuff on the page? > Hi Sandy, You can create special

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: http://old.nabble.com/

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

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 f

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 anal

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] 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] 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: http://old

[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 i

[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 related

[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 (sam

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

[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: http://old.nabble.com/Image-links-don%27t-work-on-subpages-tp285

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: /w