Translations of this page?:

monobook for DokuWiki

Author:
Andreas Haerter
Description:
MediaWiki/Wikipedia look and feel for DokuWiki (traditional)
LastUpdate:
2010-08-17
Compatible:
2009-12-25 "Lemming" and above (older ones do NOT work)
Template:
monobook,
mediawiki,
wikipedia,
dokubook
Screenshot:
screenshot: monobook-2010-01-10_001.png
Screenshot2:
screenshot2: monobook-2010-01-10_002.png



:!: :!: :!: IMPORTANT NEWS FOR EXISTING, PRE 2010 MONOBOOK USERS :!: :!: :!:

A new version was released! It is a rewrite of the no longer supported monobook by Terence J. Grant and will be maintained by Andreas Haerter in the future. Have a look at the update notes.

:!: :!: :!: IMPORTANT NEWS FOR EXISTING, PRE 2010 MONOBOOK USERS :!: :!: :!:



This template brings you the traditional1) MediaWiki/Wikipedia look and feel for DokuWiki. There are some things you'll find in this template that you won't find in most other templates, and are inspired by Wikipedia and MediaWiki.

Some features:

  • Discussions
    Configurable discussion pages without requiring an additional plugin.
  • User pages
    Users can have your own home page on your wiki.
  • Cite this Article
    Allows students, journalists, researchers, and the like to easily reference articles on your site.
  • Permanent Link
    Guarantees that articles you link to are the same as you saw them that second you link them.
  • Automatic plugin integration
    monobook automatically detects and uses some popular, optionally installed plugins. Therefore you don't have to insert any code snippets or stuff when using: Translation, Open Office Export2), html2pdf3)
  • All non-page portions (e.g. navigation) of the template can be edited just as if they were pages. How cool is that? 8-)

With that said, there's always room for improvement. If you're able to add any contributions to make monobook for DokuWiki better, please let me know or discuss your thoughts.

Download and Install

:!: If you like the template, think about a donation. It was a lot of work. ;-)

Use the following URL to download monobook for DokuWiki (“monobook”):

  • Latest release: 2010-08-17
    • tar.gz
      md5: ee28b68f643b295082119cc467a1bae6
      SHA-1: 361c5517ebe0d2d48b24ce385e58e604a548bf89
  • Latest update: from any version by Andreas Haerter4) to 2010-08-17
    • tar.gz
      md5: 610e8e463b67fa180a002093114e2e4e
      SHA-1: b2f0c4f3cc60a7458bfe154158bb6e5c900caf0b

Refer to template on how to install and use templates in DokuWiki. For updating, see below.

:!: PHP 5.3 Users: If everything is displayed unformatted, your PHP environment is probably affected by PHP bug #49692.5) monobook provides a workaround for this, simply delete monobook's “style.ini” to trigger its usage.6)

:!: The source code of the current development version is also available as Git repository.

Screenshots

Some screenshots can be found here.

Update

I am using a version newer or equal 2010-01-12 by Andreas Haerter - What to do?

  1. First of all: BACKUP YOUR DATA, especially /lib/tpl/monobook.
  2. Don't be scared. It is no rocket science.
  3. Download the current update from above.
  4. Uncompress it and copy it over your current /lib/tpl/monobook. This works without problems when you followed the rules described in enclosed README (⇒ the place for *all* user-defined, custom stuff is /lib/tpl/monobook/user!) cause previously existing files in this directory are simply not included in the update archive (and therefore it can't overwrite anything of your stuff).

I am using a version before 2010-01-12 by Terence J. Grant - What to do?

First of all: why should I update? What is new?
  • There will be no more updates for versions by Terence J. Grant.
  • No additional plugins needed, also Display Wiki Page is not required anymore.
  • Mediamanager works.
  • Link wizard works.
  • No problems regarding SSL/TLS/HTTPS loading unencrypted content, nothing comes from upload.wikimedia.org.
  • Usage of DokuWiki's style.ini leading to much smaller style sheets and less HTTP requests.
  • Bugfixes and support for the newest DokuWiki syntax. Compare the rendered :wiki:syntax page (before/after).
If you DO NOT have user-defined/own styles in use...

…you're lucky. Update should be done within minutes:

  1. First of all: BACKUP YOUR DATA, especially /lib/tpl/monobook.
  2. Don't be scared. It is no rocket science.
  3. :!: Check if you run DokuWiki ver. 2009-12-25 “Lemming” or newer (older ones do NOT work). If not, update DokuWiki first.
  4. Take your time to read all listed instructions here. If there is something you don't understand, ask before updating.
  5. Go to the DokuWiki Config Manager and set the template option to “default” or another installed template.
    :!: Don't worry if “monobook” was/is the only available template: you can update without problems, but your Wiki can't work normally until the update is finished.
  6. Rename
    /lib/tpl/monobook
    into
    /lib/tpl/monobook_old
    This directory will be deleted later, we do this for easier data migration.
    :!: Your DokuWiki will be unreachable after renaming if you did not configure DokuWiki to use another template as mentioned above… don't panic, everything should work when the update is finished! ;-)
  7. Download the newest release of monobook for DokuWiki and install as described. After this, the following directories should exist:
    • /lib/tpl/monobook (the new monobook by Andreas Haerter)
    • /lib/tpl/monobook_old (the old monobook by Terence J. Grant)
  8. Go to the DokuWiki Config Manager, set the template option to “monobook” and reconfigure the monobook template options as appreciated. Please note that compress (“Compact CSS and JavaScript output”… don't confuse with the compression option) is now compatible with monobook and should be enabled for better performance and less traffic.
  9. If you used an own logo (normally /lib/tpl/monobook_old/user/logo.[png|gif|jpg]) copy it as logo.[png|gif|jpg] into /lib/tpl/monobook/user/. The template recognizes the file automatically and will use it instead of the default logo.
  10. If you used an own favicon (normally /lib/tpl/monobook_old/user/favicon.ico) copy it to /lib/tpl/monobook/user/favicon.ico. The template recognizes the file automatically and will use it instead of the default favicon.
  11. Empty your browser's cache and call your DokuWiki with your browser. If everything looks fine, delete /lib/tpl/monobook_old/ (but make sure you really backed up the date before upgrading, maybe you done some modification you can't remember now but in a few days…).
  12. You may uninstall the Display Wiki Page plugin if not needed by another plugin or template. “monobook” does not need this anymore.
  13. Have fun and think about a small donation :-).
If you HAVE user-defined/own styles in use...

…there may be some more work to do. Basically it should work as described above, but you may have to figure out which of your own styles located in /lib/tpl/monobook_old/Common.css and/or /lib/tpl/monobook_old/Monobook.css are still needed. If the styles were just bugfixes (e.g. making Linkwizard/Icons work), you should not need them anymore7).

Otherwise look at the enclosed README after downloading the template. There is described where to put own CSS8). In most cases, your CSS should work when copied into the user-CSS-files – if not, check if some XHTML-element-IDs may changed and edit. If you need help editing your CSS, ask the forums

Credits

All versions >=2010-01-12 are heavily inspired and partially based on the great work done by Terence J. Grant. He developed the template from 2006 until the end of 2009 but did not have enough time to maintain it any longer. Thank you for your work and your ideas! :-)

:!: For a complete listing, see the enclosed CREDITS file.

Sites using this Template

Feel free to add yours here:

Customizing

See the enclosed README after downloading the template. Everything regarding

  • own logo
  • own favicon
  • own CSS
  • own JavaScript
  • own CSS, language specific
  • own tabs
  • own buttons/icons (footer)
  • own boxes (left-column)

is described there.

For the ones who are never reading READMEs:

  • :!: The place for all user-defined, custom stuff is “monobook/user”. Reason: this folder will not be touched on updates.
  • :!: If you want to replace the default logo showed in the upper left, simply create a /monobook/user/logo.[png|gif|jpg]. The template recognizes the file automatically and will use it instead of the default logo.
  • :!: If you want to add own tabs, have a look at /monobook/user/tabs.php (NOT /monobook/conf/tabs.php).
  • :!: If you want to add own buttons (footer), have a look at /monobook/user/buttons.php (NOT /monobook/conf/buttons.php).
  • :!: If you want to add own boxes (left-column), have a look at /monobook/user/boxes.php (NOT /monobook/conf/boxes.php).

If one of the files within /monobook/user/ does not exist9), just take the missing files from the newest installation archive and copy them into /monobook/user/.

Custom tab examples

…to insert into /monobook/user/tabs.php (NOT /monobook/conf/tabs.php).10)

Recent Changes

//Recent Changes (thanks to Stefan Riemer for this)
//To get some space between this and the other tabs, you may add the following
//additional CSS to /monobook/user/screen.css:
//  li#tab-recent {
//    margin-left: 1.6em;
//  }
if (!empty($conf["recent_days"])){     
    $_monobook_tabs["tab-recent"]["text"]     = $lang["btn_recent"]; //language comes from DokuWiki core
    $_monobook_tabs["tab-recent"]["href"]     = wl("", array("do" => "recent"), false, "&");
    $_monobook_tabs["tab-recent"]["nofollow"] = true;
}

Custom box examples

…to insert into /monobook/user/boxes.php (NOT /monobook/conf/boxes.php).11)

QR Code of the current page

//QR-Code of the current page (thanks to Luigi Micco <http://www.luigimicco.altervista.org> for this)
$_monobook_boxes["qrcode"]["headline"] = "QR-Code";
$_monobook_boxes["qrcode"]["xhtml"] = '<img src="http://api.qrserver.com/v1/create-qr-code/?data='.urlencode(cleanID(getID()), false, true, "&")).'&amp;size=135x135" style="margin:0.5em 0 0.3em -0.2em;" alt="QR-Code: '.wl(cleanID(getID()), false, true).'" title="QR-Code: '.wl(cleanID(getID()), false, true).'" /><p style="font-size:6px !important;margin:0;padding:0;color:#aaa;"><a href="http://goqr.me/" style="color:#aaa;">QR Code</a> by <a href="http://qrserver.com/" style="color:#aaa;">QR-Server</a></p>';

Support for pdfbook plugin

To support BookCreator plugin, use this code:

//To add support for bookcreator plugin
$_monobook_boxes["bookcreator"]["headline"] = "Create book";
$_monobook_boxes["bookcreator"]["xhtml"] =  "        <ul>\n"
                                         ."          <li id=\"tb-bookcreator\"><a href=\"".wl(cleanID(getID()), array("do" => "addtobook"))."\" rel=\"nofollow\">".hsc('Add/Remove page')."</a></li>\n"
                                         ."          <li id=\"tb-bookcreator\"><a href=\"".wl('wiki:ebook')."\" rel=\"nofollow\">".hsc('Show selection')."</a></li>\n"
                                         ."        </ul>";

mluigi 2010/04/01 17:12

Recent changes and the "listeabo" plugin

To add “recent changes” and the plugin "listeabo": added in lang.php

english:

$lang['monobook_changes'] = "Recent changes";
$lang['monobook_listeabo'] = "List with subscribtions";

dutch:

$lang['monobook_changes'] = "Recent gewijzigd";
$lang['monobook_listeabo'] = "Lijst met inschrijvingen";

And the following in user/boxes.php

$_monobook_boxes["Addition"]["headline"] = "TITLE";
$_monobook_boxes["Addition"]["xhtml"] =  "<ul>\n"
                                      // added recent changes 
                                      ."          <li><a href=\"".DOKU_BASE."doku.php?do=recent"."\" rel=\"nofollow\">".hsc($lang["monobook_changes"])."</a></li>\n"
                                      // added listabo
                                      ."          <li><a href=\"".DOKU_BASE."doku.php?do=listeabo"."\" rel=\"nofollow\">".hsc($lang["monobook_listeabo"])."</a></li>\n"
                                      ."</ul>";

Theo Klein 2010/02/18 11:09

Hacks for /user/screen.css

…to insert into /monobook/user/screen.css (NOT /monobook/static/css/screen.css).12)

Custom link colors (wiki/internal links)

Open /user/screen.css and insert:

div.dokuwiki a.wikilink1 :link{
  color: #006600 !important;
}
div.dokuwiki a.wikilink1:visited { 
  color: #009933 !important; 
}
div.dokuwiki a.wikilink1:hover { 
  color: #006600 !important; 
}

Simply replace the colors with a value you like (thanks to Theo for this).

Wider sidebar / more space for left column

Open /user/screen.css and insert:

/* Give sidebar more space.
 
   Default widths:
   - 12.2em as left spacer for the content area. This example is using 14.2em
     instead.
   - 11.6em as sidebar width. This example is using 13.6em instead.
   - 10.9em as width for the search input field. This example is using 12.9em
     instead.
   - 150px as left spacer for the Ajax searchbox. This example is using 180px.
*/
/* move content container more to the right */
#content {
  margin: 2.8em 0 0 14.2em;
}
#column-content {
  margin: 0 0 .6em -14.2em;
}
#column-content #content {
  margin-left: 14.2em !important; /* adjustment for  IE (7) */
}
/* redefine sidebar width + tab bar position */
.portlet {
  width: 13.6em;
}
#p-cactions {
  left: 13.6em; /* tab bar */
}
/* search input field */
#qsearch__in {
  width: 12.9em;
}
/* ajax "matching pagename" searchbox */
#qsearch__out {
  left: 180px
}

Thanks to SteRe for this.

Own background image

Store your background image as /user/background.jpg, open /user/screen.css and insert:

body {
  background: #f9f9f9 url(user/background.jpg) 0 0 no-repeat;
}

If needed, replace the color #f9f9f9 with a value fitting your needs.

Ajax Quicksearch: show results in sidebar

:!: ATTENTION: This hack needs monobook version 2010-05-29 or newer! Older ones do not work!

Little intro: before I began using the monobook template I used dokubrick, this had a different quicksearch, integrating it into the right side menu. In monobook I didn't like the quicksearch, that little screen floating over the text… So I made an alteration, integrating it into the left side of monobook. To do this you need open /user/screen.css and insert:

#qsearch__out {
  position: static !important;
  font-size: 85% !important;
  background: __background__ !important;
  margin-top: 0 !important;
  margin-bottom: 0.5em;
  width: 12.2em;
  display: none;
  border: 1px solid #aaa;
  padding: 0 .8em .3em .5em;
}

Theo

FAQ

What are these "Please fill this placeholder ([pagename])" everywhere?

The template optionally imports normal wiki pages and shows their content as

  • navigation
  • toolbox
  • global, sidewide notice
  • copyright note (off by default, default is the common copyright note by DokuWiki)

This means you can create the page mentioned in the “Please fill this placeholder” message (e.g. ”:wiki:navigation”) and its content will be shown instead of the message. All of these placeholders are configurable. Have a look at the DokuWiki admin section:

  • Show site wide notice?
  • If yes, use following wiki page for the site wide notice:
    […]
  • Show navigation?
  • If yes, use following wiki page as navigation:
    […]
  • Show copyright notice?
  • If yes, use default copyright notice?
  • If not default, use following wiki page as copyright notice:
    […]
  • Show toolbox?
  • If yes, use default toolbox?
  • If not default, use following wiki page as toolbox location:

How can I check which version is currently installed?

Simply have a look at lib/tpl/monobook/VERSION. This is a textfile containing the version you are using (e.g. 2010-06-02). If there is no VERSION file, you are running the no longer supported monobook by Terence J. Grant. Have a look at the update notes to get a maintained version.

How to change the logo/favicon/tabs/boxes[...]?

Discussion

There's always room for improvement. If you're able to add any contributions to make monobook for DokuWiki better, please let me know or discuss your thoughts right here (please use ==== Level 3 Headlines ==== to open a new “thread”/issue and ---- (four dashes, horizontal rule) to structure it if needed).

Additions

:!: Before you add something: check the roadmap if your feature is already planned/in development.
:!: Make sure, you got the latest template version. Maybe your wish and/or problem is already added/fixed.

breadcrumbs in mediamanager

Is there a way to hide the “breadcrumbs” in the mediamanager popup window? — Casper 2010/06/05 03:25

I found myself a working solution:

user.js
(function(){
	// from: http://code.google.com/p/domready/
	// domready - The smallest subset possible from jQuery to support dom Ready event. 
	// A big thanks to John Resig and the jQuery team (http://www.jquery.com/) for the parent library and the real hard work to make sense of the browser idiosyncrasies we have today. 
 
    var DomReady = window.DomReady = {};
 
	// Everything that has to do with properly supporting our document ready event. Brought over from the most awesome jQuery. 
 
    var userAgent = navigator.userAgent.toLowerCase();
 
    // Figure out what browser is being used
    var browser = {
    	version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [])[1],
    	safari: /webkit/.test(userAgent),
    	opera: /opera/.test(userAgent),
    	msie: (/msie/.test(userAgent)) && (!/opera/.test( userAgent )),
    	mozilla: (/mozilla/.test(userAgent)) && (!/(compatible|webkit)/.test(userAgent))
    };    
 
	var readyBound = false;	
	var isReady = false;
	var readyList = [];
 
	// Handle when the DOM is ready
	function domReady() {
		// Make sure that the DOM is not already loaded
		if(!isReady) {
			// Remember that the DOM is ready
			isReady = true;
 
	        if(readyList) {
	            for(var fn = 0; fn < readyList.length; fn++) {
	                readyList[fn].call(window, []);
	            }
 
	            readyList = [];
	        }
		}
	};
 
	// From Simon Willison. A safe way to fire onload w/o screwing up everyone else.
	function addLoadEvent(func) {
	  var oldonload = window.onload;
	  if (typeof window.onload != 'function') {
	    window.onload = func;
	  } else {
	    window.onload = function() {
	      if (oldonload) {
	        oldonload();
	      }
	      func();
	    }
	  }
	};
 
	// does the heavy work of working through the browsers idiosyncracies (let's call them that) to hook onload.
	function bindReady() {
		if(readyBound) {
		    return;
	    }
 
		readyBound = true;
 
		// Mozilla, Opera (see further below for it) and webkit nightlies currently support this event
		if (document.addEventListener && !browser.opera) {
			// Use the handy event callback
			document.addEventListener("DOMContentLoaded", domReady, false);
		}
 
		// If IE is used and is not in a frame
		// Continually check to see if the document is ready
		if (browser.msie && window == top) (function(){
			if (isReady) return;
			try {
				// If IE is used, use the trick by Diego Perini
				// http://javascript.nwbox.com/IEContentLoaded/
				document.documentElement.doScroll("left");
			} catch(error) {
				setTimeout(arguments.callee, 0);
				return;
			}
			// and execute any waiting functions
		    domReady();
		})();
 
		if(browser.opera) {
			document.addEventListener( "DOMContentLoaded", function () {
				if (isReady) return;
				for (var i = 0; i < document.styleSheets.length; i++)
					if (document.styleSheets[i].disabled) {
						setTimeout( arguments.callee, 0 );
						return;
					}
				// and execute any waiting functions
	            domReady();
			}, false);
		}
 
		if(browser.safari) {
		    var numStyles;
			(function(){
				if (isReady) return;
				if (document.readyState != "loaded" && document.readyState != "complete") {
					setTimeout( arguments.callee, 0 );
					return;
				}
				if (numStyles === undefined) {
	                var links = document.getElementsByTagName("link");
	                for (var i=0; i < links.length; i++) {
	                	if(links[i].getAttribute('rel') == 'stylesheet') {
	                	    numStyles++;
	                	}
	                }
	                var styles = document.getElementsByTagName("style");
	                numStyles += styles.length;
				}
				if (document.styleSheets.length != numStyles) {
					setTimeout( arguments.callee, 0 );
					return;
				}
 
				// and execute any waiting functions
				domReady();
			})();
		}
 
		// A fallback to window.onload, that will always work
	    addLoadEvent(domReady);
	};
 
	// This is the public function that people can use to hook up ready.
	DomReady.ready = function(fn, args) {
		// Attach the listeners
		bindReady();
 
		// If the DOM is already ready
		if (isReady) {
			// Execute the function immediately
			fn.call(window, []);
	    } else {
			// Add the function to the wait list
	        readyList.push( function() { return fn.call(window, []); } );
	    }
	};
})();
 
(function () {
	function hideBreadcrumbs() {
		if (location.href.match(/^https?:\/\/.*\/lib\/exe\/mediamanager.php/i)) {
		        var divs = document.getElementsByTagName("div");
		        for (var i = 0; i < divs.length; i++) {
                		if (divs[i].className == 'catlinks') {
					divs[i].style.display = 'none';
				}
		        }
		}		
	}
	DomReady.ready(function(){hideBreadcrumbs();});
})();

Put this in your lib/tpl/monobook/user/user.js file and make sure to check the 'loaduserjs' box in the template settings.

I am pretty sure, that there are more efficient ways to do this - so feel free to post your suggestions.

Casper 2010/06/10 17:06

My problem was indeed different ;-)
The solution you brought seems to work perfectly for me, both on IE8 as FF.
Thank you
Grtz Theo

Hiding breadcrumbs when printing

I found a solution to the fact that the breadcrumbs (both Tracking and Hierarchical) are printed along with the (body)content.

1st solution: hiding tracking breadcrumbs only

For removing only the tracking breadcrumbs, add the folling code to the user/print.css

div#catlinks, .bcsep, a.breadcrumbs{ /* tracking breadcrumbs*/
  display: none !important;
 }

I cannot figure out how to do the same thing for the hierarchical breadcrumbs, because they do not seem to have a uniform span class, nor does blocking the div class catlinks seem to do the work.

2nd solution: a workaround to block both types of breadcrumbs

When comparing the templates main.php with an older version I found the difference coming in the following line:

echo "\n          <div class=\"catlinks\"><p>\n            ";

This line can be located four times. All four can be altered to

echo "\n          <div class=\"catlinks\"><p class=\"catlinks2\">\n            ";

In the print.css now add catlinks2;

div#catlinks, p.catlinks2, .bcsep, a.breadcrumbs{ /* (hierarchical) breadcrump navi */
  display: none !important;
 }

Notes

Firstly, “catlinks2” is not a typo, but else I had to change a css file, which only would become more alterations.. It does not realy matter what you call it, as long as they're all the same, and not existing in any css file, in this case “sldkjfl” would have the same effect as “catlinks2” because they're not to be found in any css file..

Second, the first solution is far “cleaner”, the second one has to alter the main.php, which gives more work, especially when updating.

Theo 2010/06/10 08:56

Bugs

:!: NOTE: I read the bug reports in here, I will fix the stuff ASAP. So don't be afraid, I do not ignore the reported stuff (even if I may not got enough time to answer here)! — Andreas 2010/06/29 21:15 :!: Make sure, you got the latest template version. Maybe your problem is already fixed.

TOC floating problem if tag plugin is installed

If tag plugin is installed and tags are listed at the beginning of an article, then the TOC div is float at the top of the tags (Normally the TOC div should be at a top-horizontal level with the tags).

However, It's hard to say it's a bug of monobook or a bug of the tag plugin. It can be fixed by modifying style.css of tag plugin, replacing “clear: both;” in line 5 with “clear: left;”. —- caii 2010/07/05

[bug] Template not working properly with Bureaucracy plugin

Bureaucracy -plugin is not completely compatible with monobook template. So far I've had these problems:

Textarea problems

Textarea spreads to width of the fieldset and the label is hidden when scrolling down the textarea.

The constraint messages are not working

When a field (number, textfield etc.) has non-valid value (e.g. letters in number field) the DW with monobook does not show the (!) messages at top of the page.
8-O There is a way to get the constraint messages to show temporarily (not a workaround thou). 8-O

  • Open a Bureaucracy form, for example Form A.
  • Open another form, say Form B.
    • This form must have constraints.
    • Submit the form with non valid values, so the constraints prevents it.
      • Constraint messages DOESN'T appear (incorrect) on top of the page, but the non valid field labels become red (correct).
  • Edit Form A to have syntax error and save it.
    • Syntax error message appears on top of the page.
  • Open third form, Form C.
    • This form must have constraints.
    • When you submit the form, the constraint messages appears on top of the page and the non valid field labels become red.

Ciove 2010/08/18

Update to monobook 2010-08-17 did not solve the problem with bureaucracy plugin. — Ciove 2010/08/23

different buttons for editing don't act after installing monobook

First: Sorry for my english, it’s not even the best.
Now my problem: I’ve installed the monobook template because of the function “closed wiki”. But since installing, the buttons “select headline”, “special chars”, “fontsize” and “fontcolour” doesn’t act anymore. The other buttons can be used without any problems.
An user in the DokuWiki User Forum told me to announce my problem at this place. He guess it is a bug.
Thanks for helping me and solving the problem.
KayCee 2010/08/25

Hi Kaycee. This bug should be fixed in monobook version 2010-08-17. Simply update and emtpy your browser cache afterwards (Firefox: reloading your Wiki with CTRL + F5 should be enough) and the problem should be gone. If not: which browser do you use? — Andreas 2010/08/26 18:28
Thank you very much for your advice. The update solved my problem. — KayCee 2010/08/26 19:02

Other

:!: Make sure, you got the latest template version. Maybe your wish and/or problem is already added/fixed.

Nothing right now

Development Roadmap

In development

  • Nothing special right now (but I will fix reported bugs, for sure!)Andreas 2010/08/17 23:36

Planned

  • Link usernames → :wiki:user:<username> (user's homepage) on “old revisions”-page
    thanks to Luigi Micco for suggestion and coding hints.

Version history

:!: For a complete change log, see the enclosed ChangeLog file.

  • 2010-08-17 (current)
    Added /user/tracker.php to make web analytics software integration easier; CSS: fixed list styles, TOC, some minor bugs;
    Note: this and coming releases are available as .tar.gz only. There will be no more .zip files.
    • tar.gz
      md5: ee28b68f643b295082119cc467a1bae6
      SHA-1: 361c5517ebe0d2d48b24ce385e58e604a548bf89
  • 2010-06-29 An update is really worth it
    - New config options (user pages optional, :!: closed wiki - most tabs/boxes will be hidden until user is logged in if active)
    - :!: Template respects $conf['disableactions']
    - :!: Improved translation plugin integration (now placed at sidebar). Language names are taken from title attribute (→ introduced in newer plugin versions), so you may have to update the plugin for best optical results.
    - Support for PNG favicon.
    - Many many improvents.
    • tar.gz
      md5: 7d464011a550601edd00e5c486c913b0
      SHA-1: 19fd85f39fe615748e6b140faed0fa86b192fa59
    • zip
      md5: 3ed043f4748969842719d5c49b9b9750
      SHA-1: 7db6ab7e7b8128fc1ecf9da2b135a2d4b233f366
  • 2010-06-02
    Added Spanish language, fixed Italian language (settings), added workaround for “jumping textarea” in MSIE8.
    • tar.gz
      md5: ac137181dfbbd18496363798b05318dd
      SHA-1: 17db7b1591b995a51d82f9398dc3080b55c89bb6
    • zip
      md5: 461305f55e750937b3c1c5e1e235c1b6
      SHA-1: 5292e8aae21a66c5551b7fdb61d07b5364e59ed2
  • 2010-05-29
    Added Dutch language, added Brazilian Portuguese language, TOC position now configurable, removed “access denied” messages for included pages, some bugfixes.
    • tar.gz
      md5: a3730dfe63659580de31d6330aaf1d93
      SHA-1: 396da291c62cd459f1649b3ed4f9b3638782808a
    • zip
      md5: c781f6d79b3385b328aad2975b59cbf7
      SHA-1: 31a9ea16d0ab624198c64084548299fbbe11c711
  • 2010-01-20
    Added Norwegian language, updated Japanese and French language, added workaround for PHP Bug #49692.
    • tar.gz
      md5: 53722bac62cba32466eafeb9e1ce8c24
      SHA-1: 1a596a97c947d2f893730183f954c783346830b9
    • zip
      md5: a74921a8de90b6362bd2f88987873209
      SHA-1: 5cc6cc8644cbd018005f18923b14d5e10d90441c
  • 2010-01-19
    Configurable boxes (left column), optional “full screen” media manager (see config), Japanese language, some bugfixes.
    • tar.gz
      md5: a971c09179b635a78581dffe86de52e0
      SHA-1: 9574f832acfd401f6d6e8c94cdf497fcf1a9d03a
    • zip
      md5: e18f8d4fa6e84e2e45d110903d9ce11c
      SHA-1: 2ced4f3d80fd17d40b7613cb741383ddf67b262f
  • 2010-01-13
    Configurable footer buttons, Italian language, some bugfixes.
    • tar.gz
      md5: d10ae987705950914bf54907b1b47fd4
      SHA-1: a9cccb09152f2f878067df41ff854159ef657771
    • zip
      md5: b6cf514462fa822e8d8c9ff3d0530c07
      SHA-1: 800ac7aff8dd7b090172e96b3ee0805781def2b4
  • 2010-01-12
    First version released by new maintainer (Andreas Haerter), rewrite of the no longer maintained monobook by Terence J. Grant.
    • tar.gz
      md5: 5d9e7142075e3442356d0b266d9c72c6
      SHA-1: f90969c42434c035fea8c839c9fd6d3015579121
    • zip
      md5: 4af3f702dd732db582f7e0417e9b3de6
      SHA-1: 05bd25018b39e4e5bc8c1e820030eb9e72e119a8
  • All older versions were maintained and developed by Terence J. Grant. There will be no more support for them, please follow the update instructions to get a supported version. If you have to run a DokuWiki version older than 2009-12-25 “Lemming” (for whatever reason) and therefore still have to use an outdated monobook version, the archived legacy monobook content may be interesting.

Old discussion (archive)

Things which are done… may be deleted some day. See the discussion section above for actual talks.

Additions

CSS for correct the visualization of arrows in the bottom of editor page

To correct the visualization of arrows in the bottom of editor page, add this line to main.css13) /user/screen.css:

#size__ctl {
  float: right;
}
Fixed in the current development version, the next release (today or tomorrow) does not have this layout problem anymore. :-)Andreas 2010/01/13 03:35

Export PDF tab

To have an Export PDF tab, in the conf/tabs.php14) /user/tabs.php, after the section ODT plugin: export tab

//PDF plugin: export tab
if (file_exists(DOKU_PLUGIN."html2pdf/action.php") &&
    !plugin_isdisabled("html2pdf")){
    $_monobook_tabs["tab-export-pdf"]["text"] = $lang["monobook_tab_exportpdf"];
    $_monobook_tabs["tab-export-pdf"]["href"] = wl(cleanID(getID()), array("do" => "export_pdf"), false, "&");
}

mluigi 2010/01/12 09:48

Added this to the current development version, the next release (today or tomorrow) will include this. :-)Andreas 2010/01/13 03:35

Recent Changes/Letzte Änderungen in bestehende toolbox aufnehmen

Kann mir jemand einen Tipp geben, wie ich in der Toolbox vor “Links auf diese Seite” “Recent Changes” einbauen kann? Dafür wäre ich sehr dankbar. Viele Grüße von zfldm.05/05/2010

Please can you help me to insert “Recent Changes” in the existing toolbox? Thank you! zfldm.05/05/2010

This should work, it should be put into the boxes.php file in the conf folder.
For instance, after this (for me at line 45)
if (tpl_getConf("monobook_toolbox_default")){
   //define default, predefined toolbox
   $_monobook_boxes["p-tb"]["xhtml"] =  "        <ul>\n"
   // added recent changes page to toobox
   ."          <li><a href=\"".DOKU_BASE."doku.php?do=recent"."\" rel=\"nofollow\">".hsc($lang["monobook_changes"])."</a></li>\n"
   ."          <li id=\"tb-whatlinkshere\"><a href=\"".wl(cleanID(getID()), array("do" => "backlink"))."\" rel=\"nofollow\">".hsc($lang["monobook_toolbxdef_whatlinkshere"])."</a></li>\n"
   //we might use tpl_actionlink("backlink", "", "", hsc($lang["monobook_toolbxdef_whatlinkshere"]), true), but it would be the only toolbox link where this is possible... therefor I don't use it to be consistent
   ."          <li id=\"tb-upload\"><a href=\"".DOKU_BASE."lib/exe/mediamanager.php?ns=".getNS(getID())."\" rel=\"nofollow\">".hsc($lang["monobook_toolbxdef_upload"])."</a></li>\n"
   ."          <li id=\"tb-special\"><a href=\"".wl("", array("do" => "index"))."\" rel=\"nofollow\">".hsc($lang["monobook_toolbxdef_siteindex"])."</a></li>\n";
Note that you could put this in any sequence you prefer.
Hope it'll help
Theo
Thank you!!! zfldm 10/05/2010
Link to Recent changes is now included in the default toolbox since release 2010-05-29

Bugs

[fixed] Template not working properly (PHP-Error: style.ini), CSS is not loaded

First off let me just say thanks for taking over maintenance. This is a great template and its good to see it develop further.

I just want to report that the template isn't really working for me. I'm using version 2010-01-19 with “hotfixed-lemming”. The problem seems to come from the style sheet declarations in monobook/style.ini. Using the current version I get this error in my PHP logs:

syntax error, unexpected '/' in ../../lib/tpl/monobook/style.ini on line 26

Having a look it appears that for some reason having subdirectories in the style declarations causes these problems (in fact I reported something similar in the legacy version). Looking further I noticed that other templates avoided this by putting the '.css' files in the template folder itself rather than in a subdirectory. For example:

main.css = screen
screen.css = screen
print.css = print
rtl.css = rtl

Replacing the error causing lines and copying the .css files out to monobook/ fixed this problem for me and the template appeared like what it should. I don't know if this is caused by a Linux vs Windows thing but the bottom line is having the .css not in subdirectories solved this problem. It would be good if this could be sorted out as the new version is looking quite good. Thanks! – Marc 20/Jan/10

Hi Marc. Are you running a windows machine? If yes, I'm going to setup an Apache ASAP to test this… right now, I only tested it on Linux. — Andreas 2010/01/20 12:39
Hi Marc, me again. Can you please provide your PHP-version and environment (Webserver, OS etc.)? Maybe we can find a syntax which works everywhere… — Andreas 2010/01/20 14:18
Hi Andreas. I'm currently running Linux (Ubuntu) using XAMPP for Linux version 1.7.2 as a webserver. The PHP version is 5.3.0. — Marc 21/Jan/10
The problem is: DokuWiki parses the style.ini and expects the following format:
path_to_file.css = media

As it seems, some Webserver/PHP/OS combinations do not parse INI-files with ”/” in the keys (wich is not exactly their fault. Only alphanumeric chars are allowed in ini-keynames, but I had no choice cause DokuWiki is not using a format like screen[] = “path_to_file.css” and I need a file structure to get things done without being messy). The fix you mentioned worked in the old version because it simply did not use the style.ini, and therefore it was no problem that it provides a format DokuWiki can't understand (additionally, only the last entry would be stored cause every ”screen = ” overwrites the value before… ”screen[]” would be the syntax to submit an array). If I know which OS/Webserver/PHP combinations are making trouble, I can provide a workaround. I think of something like an “If you getting errors [yadda yadda…]: 1. deactivate compress. 2. Delete style.ini”. I would simply add a check for style.ini existence to the main.php → If is not there, the template loads the CSS-Files manually.
To cut a long story short: Please provide version information, we can solve this problem…. :-)Andreas 2010/01/20 15:09

Hi Marc. The problem is PHP Bug #49692. I added a workaround in the current development version (will be included in the next release → today or tomorrow) for manual CSS loading, the only thing a user has to do if he is affected to trigger this workaround is to delete monobook's style.ini. — Andreas 2010/01/20 15:09
Hi Marc. Please update to the latest version 2010-01-20 and delete monobook's style.ini to get the workaround doing it's job in your environment. Please note that this may not be necessary anymore after upgrading PHP in the future. You can simply test if you still need the workaround if you put the style.ini back into place. If everything works, you PHP is no more affected by Bug #49692Andreas 2010/01/20 19:04
I will give this a go. I'll also do an update for XAMPP (Linux) which has PHP 5.3.1 and see how things go. Thanks for the fast reply! — Marc 21/Jan/10
Okay, I can confirm that your workaround works perfectly. Deleting style.ini did indeed bring in the new look. Waiting for download to complete to upgrade XAMPP.
On upgrading to PHP 5.3.1 the problem with '/' in style.ini is now fixed and the template it almost working fine. I still didn't get any CSS but looking at the code it seems that there may be (possibly) unneeded quotation marks in the declarations
static/3rd/monobook/main.css = "screen"

Removing them fixes the problem:

static/3rd/monobook/main.css = screen

The new template is looking good. Keep up the great work!

— Marc 21/Jan/10

Thanks for reporting this. :-) I will remove the quotation marks in the next release (I did not know that some environments having trouble with them) .— Andreas 2010/01/21 12:41

[fixed] CSS, site notice no border, tabs shown as external link

  • Table in site_notice have no border
  • The tabs Export: ODT, Subscribe revision, Edit this page, …, are show like external links if Use fully canonical URLs are set to TRUE in the wiki configuration

mluigi 2010/01/12 09:59

Fixed in the current development version, the next release (today or tomorrow) does not have these layout problems anymore :-). Reason was: the CSS class “dokuwiki” was (not) applied (solution → I moved the sitenotice deeper into the page structure) and the CSS for external links addressed all links, not only “dokuwiki” CSS class members — Andreas 2010/01/13 03:29

[fixed] Some system messages are displayed twice

Some system messages are displayed twice. Add for example 'do=check' to your URL. Then there should be some information displayed: Once in the header and once in the footer. This applies to general system error messages as well. Casper @ 2010/01/13 13:50

Thank you for your report, but this should be already fixed in version 2010-01-13 released today – or do you mean something else? — Andreas 2010/01/13 15:22
Yes fixed in version 2010-01-13 ;-) Casper

[fixed] CSS IE7 (no images in admin area, no active tabs)

I noticed also two more things that don't work in IE7 (in FF they work):

  • in the admin area, no images where displayed. Just the links to ACL etc are shown
  • all tabs looks the same (the active tab should have no border line at the bottom), you can't figure out which one is active.

Casper @ 2010/01/13 13:50

IE8 works, IE7 as you described not. I'm trying to figure out what to do against this behaviour… does anyone have hints/tips? — Andreas 2010/01/13 15:22
for the tab thing: only hint I can give is, that it works with monobook legacy. Maybe you can copy a working style sheet from the old version? Casper @ 2010/01/13 17:54
Working on it… I hope I can figure it out. Andreas 2010/01/16 16:35
Tab problem fixed in the latest development version, will be included in the next release. Reason was my own style which was more specific than the IE7fixes.css by the MediaWiki monobook. Therefore my one ruled the cascade… Andreas 2010/01/16 19:50
Admin area problem fixed in the latest development version, will be included in the next release. Drawing a border around every <li>-Element does the job (maybe this triggers the IE-internal “hasLayout”…). Therefore I added a 1px border using the background color to hide it. Andreas 2010/01/16 20:33
Thanks a lot ;-) Casper

[fixed] Notification area repeats itself

Hi. I've just downloaded monobook version 2010-01-12 (the current as of the time of writing this) and installed to check an issue that was reported at the IRC channel. After getting login rights at another wiki using the template, I can confirm user ck01 from the IRC channel on the following issue: DokuWiki message area is repeated twice in each page. In other words, the nice background and icons section used for example to update_check is displayed twice: once at the beginning of each page's content and another one at the end. Behaviour is more patent when using ?do=check action.

Steps to reproduce:

  1. Enter to a DokuWiki page (check action must be enabled).
  2. Append ?do=check to the URL
  3. Hit <ENTER>

Observable Behaviour:

Page content goes like this:

Notification area
Page content
Notification area
Footer

Intended Behaviour:

Page content should go like this:

Notification area
Page content
Footer

Problem may be related to repeated invocation of html_msgarea() in the template's main.php; that function is responsible for loading the available messages and displaying them. The function itself is called at lines 383 (above page content) and 429 (below page content). – — Luis 2010/01/12 23:23

First of all: thank you for your detailed report. It is not a bug, it is was a feature :-). I thought the user takes notice of messages easier when doing this – but if this is confusing people → mission failed :-O… You're right: if there is more than one message triggered by DokuWiki (e.g. when doing “check”), it looks strange. I will remove this right now… in the next release (this night or tomorrow), the second call of html_msgarea() will be gone. — Andreas 2010/01/13 02:05
You're welcome. The behaviour was reported as such via the IRC channel and I considered it a consequence of leftover code or maybe a weirdness element, since I couldn't find it advertised as a feature and turned out to be cumbersome for certain notifications (such ?do=check, or backend upgrade not setting the messages file up-to-date, which will result in a tower of messages…). I concur with you in that nowadays people have to be hammered down with messages for them to even take notice. As a probable compromise if you still want to “make note twice” (which is not a bad idea), I think a properly stylized anchor link with a message like ”:!: Check pending system messages above!” could better do the trick. Thanks for your understanding. — Luis 2010/01/13 15:40
I thought about your suggestion (→ adding something like ”:!: Check pending system messages above!”)… it would not be hard to implement, a check like
if(!empty($MSG)) { yadda yadda...; }

would do the trick. But monobook still would be the only template around showing such a behavior… maybe users don't take notice of messages anymore when switching from monobook to another template cause of this. Therefore I decided not to (re-)implement something like a whatever-looking 2nd way of notification. — Andreas 2010/01/16 16:08

[fixed] Invalid XHTML 1.0

When running against W3C Validator it returns errors. To fix, first edit static/3rd/monobook/main.css and change the line

#catlinks {

to

.catlinks {

Then, in main.php change

echo "\n          <div id=\"catlinks\"><p class=\"catlinks\">\n            ";

to

echo "\n          <div class=\"catlinks\"><p>\n            ";

Page should now parse as valid XHTML on http://validator.w3.org/

Thanks for reporting this. Replacement was also needed in IE60Fixes.css. The newest version (release → today or tomorrow) includes this fix. — Andreas 2010/05/28 21:21

[no bug] File upload does not work with monobook

Hy if i try Uploud Files in the wiki with the Mediamanager and i klick on the upload link in the editor ore on the menue i become following error message

Warning: include(DOKU_TPLINCmain.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/domainname/httpdocs/wiki/lib/tpl/monobook/mediamanager.php on line 30

Warning: include() [function.include]: Failed opening 'DOKU_TPLINCmain.php' for inclusion (include_path='.:') in /var/www/vhosts/domainname/httpdocs/wiki/lib/tpl/monobook/mediamanager.php on line 30 

Any suggestion why it will not work? With the default templade it will work correct. kind regards Fabian Rolle.

Sorry, I cannot reproduce this. Even if there is a bug, I need more information (System? Installed the common way or maybe via debian package manager?). DOKU_TPLINC is a constant set by the DokuWiki core. Please check your basedir settings and deactivate all 3rd party plugins to check if one of them is triggering the error. — Andreas 2010/03/29 11:09

[fixed] wiki namespace background

Monobook handles some pages as special, e.g. “discussion page”, “pages under the wiki namespace” and “media manager”. If a namespace starts with “wiki.”, the page is handled as special page (these pages got another background). This behaviour should only be if the namespace is “wiki:”. — Casper 2010/03/02 11:02

Fixed in the current development version (release: today or tomorrow), replaced the used regex. — Andreas 2010/05/28 22:31

[won't fix] headline named "Content" breaks layout

Whenever a header is named “Content” I'm seeing weird style sheet behavior and indentation.

Reason: All the content in located within a <div id=“content”> like it is realized in the “original” monobook for MediaWiki. If you create a headline named “content”, it gets the same ID and therefore some id=content-only CSS-rules. The only way I could prevent this is searching and replacing the headline's ID on every page load or through renaming the ID and editing the original monobook for MediaWiki monobook style sheets. But the first one would break some DW functions (e.g. link#headline), the last one would make most existing 3rd-party CSS hacks and userstylesheets for monobook work no more. Therefore I have to say: won't fix until I don't find a solution without ugly side effects. But thank you for reporting this. — Andreas 2010/01/23 15:01

[fixed] printing tables (print stylesheet)

I noticed a bug or error: when trying to print a table in the new monobook template, only raw text will be printed without the lines or the coloured cells (using ^ ). I cannot find an solution to this, because for as far as I can see, the tables are not suppressed by the print.css or commonPrint.css..

Addition: it does not make any difference when using the plugin tablewidth or not. — Klaus 2010/03/16

Finally found a way to solve this; copy the following into your user/print.css
table.inline {
  font-size: 80%;
  background-color: #ffffff;
  border-spacing: 0px;
  border-collapse: collapse;
}
table.inline th {
  padding: 3px;
  border: 1px solid #000000;
  border-bottom: 1px solid #000000;
}
table.inline td {
  padding: 3px;
  border: 1px solid #000000;
}
.leftalign {
  text-align: left;
}
.centeralign {
  text-align: center;
}
.rightalign {
  text-align: right;
}
> 


Works just fine for me!
Theo – 12/05/10

I included these improvements with some small changes in the current development version (release: today or tomorrow). Thanks, Theo! — Andreas 2010/05/28 22:42

[fixed] Text editor jumps when a key is pressed in IE8

Can't edit pages as the text area jumps around. Works fine with the DokuWiki 'default' template. Here is the bug report/fix for the 'default' template. Not sure where to change it in monobook. Switching to Compatibility Mode in IE8 fixes it.

Thanks for reporting this, I'll test it for myself today and try if this reproducible for me… — Andreas 2010/01/30 12:01
Workaround: When you disable the editors line break the problem went away - for me at least. — Casper 2010/03/02 08:50
This is not a monobook but an IE8 bug. I implemented a workaround in the newest version of monobook (release: today or tomorrow). I also wrote a blog posting about it (may be interesting for webdevelopers). But I cant' get completely rid of it right now, even with the known workaround (maybe some DW Javascript triggers the bug in some cases). Does anyone have a suggestion? — Andreas 2010/05/29 11:18
I added a workaround in version 2010-06-02 till there is a better solution: header(“X-UA-Compatible: IE=EmulateIE7”); (will be send for “edit” action only).

[fixed] Login Cosmetic

The two login fields username and password have the same size. Unfortunatelly they are not ordered parallel. Tested in IE7/8 and FF 3.6 — Casper 2010/06/26 23:35

next realease will fix this — Andreas 2010/06/27 21:12

[no bug] Edit link in navigation frame missing?

There is no edit link in navigation frame as in legacy version. Has it been removed on purpose or am I missing something? Ciove/2010/07/06 12:13

I think it's on purpose. You can change the navigation via http://your-dokuwiki-installation/wiki/navigationCasper 2010/07/06 13:25
Ok, thx, no big deal. Ciove/2010/07/08 15:02

[fixed] Template not working properly (PHP-Error: style.ini), CSS is not loaded

If editing any page, the pull down menu of “Select Headline”, “Smileys” and “Special Chars” buttons didn't show up. - 13.07.2010 moonhawk

I will second this one. I am seeing the same behavior, but it works fine in the default template. July 28, 2010 Restlessmind
Add me too. (php -v : 5.2.14 with Suhosin-Patch 0.9.7 (cli) ) July 30, 2010 ihsan
I'll try to reproduce this ASAPAndreas 2010/08/12 04:31
I just installed the template, buttons are all there but this three won't work - they do work with other templates - 2010-08-12 chrohl
I fixed the bug (z-index issue). Please update to the latest version. — Andreas 2010/08/17 23:32
No change here. ihsan. 2010/08/19
Have you cleaned your browser's cache? And try to add purge=true to the DokuWiki url one time.
Tried all but nothing changed. I've installed a new wiki to test. Everyting seems ok. ihsan 2010/08/25
I've figured out that my problem is due to the frootysearch plugin ihsan 2010/08/27

Other

[solved] Alteration: Translation

I used to have the translations list, just like Wikipedia itself, underneath the toolbox. I found a solution for this, though it requires some work..

First, in the main.php I added the following to line 770, right under the 'show boxes' part, but before the '</div> <!– end of the left (by default at least) column –>'

echo "\n <div id=\"p-tb'\" class=\"portlet\">\n";
      if (file_exists(DOKU_PLUGIN."translation/syntax.php") &&
          !plugin_isdisabled("translation")){
		  echo "<h5>\n";
		  echo "".hsc($lang["translations"])."\n";
		  echo "</h5>\n";
          echo "\n      <div class=\"dokuwiki\">\n";
          $translation = &plugin_load("syntax", "translation");
          echo  "      ".$translation->_showTranslations()
               ."\n      </div>\n";
      }
echo  "</div>\n";
?>

Then, if you prefer to remove the translate piece at the top of the wiki pagine, change or remove the following on line 547 (between 'collumn-content' and 'bodycontent'..

      <?php
      //take care about Andreas Gohr's translation plugin,
      //see http://www.dokuwiki.org/plugin:translation
/*      if (file_exists(DOKU_PLUGIN."translation/syntax.php") &&
          !plugin_isdisabled("translation")){
          echo "\n      <div class=\"dokuwiki\">\n";
          $translation = &plugin_load("syntax", "translation");
          echo  "      ".$translation->_showTranslations()
               ."\n      </div>\n";
      }
*/
      ?>

Lastly, change helper.php of the translation plugin, replace the lines 127 till 133 with:

        $out  = '<div class="pBody">';  //changed class from plugin_translation into pBody -- Theo - 19/04/2010
        $out .= '<span>'.$this->getLang('');  // lang removed, originally $out .= '<span>'.$this->getLang('translations'); -- Theo - 19/04/2010
        if($this->getConf('about')){
            $out .= '<sup>'.html_wikilink($this->getConf('about'),'?').'</sup>';
        }
        $out .= '</span> '; // : removed, originally $out .= ':</span> '; -- Theo - 19/04/2010

Perhaps someone can use this, I for myself prefer this way, also because the space it saves on the top of the wiki

Grtz, Theo

I'm gonna think about a solution to realize listing the translations this way in future versions. — Andreas 2010/06/02 02:15
Every version >= 2010-06-29 displays the language links within the sidebar, without the need to modify the plugin or the template. — Andreas 2010/08/20 23:32
1) Wikipedia used “monobook” until the mid of 2010, now ”vector” is in use.
2) , 3) via custom tab, see /monobook/user/tab.php
4) 2010-01-11 and above
5) You may find errors like ”syntax error, unexpected '/' in ../../lib/tpl/monobook/style.ini on line XX” in your PHP logs if this is the case
6) Please note: this may not be necessary anymore after you are upgrading your PHP. You can simply test if you still need the workaround through putting the style.ini out of the current installation archive back into place. If everything works, your PHP is no more affected by Bug #49692 and you don't need to delete style.ini again when updating monobook in the future.
7) I did my very best to bring monobook up2date. If something fails, please send me a bug report instead of fixing it silently – If it is a bug, I will release an update ASAP
8) hints: /lib/tpl/monobook/user/screen.css influences normal layout; /lib/tpl/monobook/user/print.css influences print layout, /lib/tpl/monobook/user/rtl.css influences “right-to-left” languages like Hebrew
9) cause some files may were added during the development of monobook, and updates normally do not touch the content of /monobook/user/
10) , 11) , 12) cause files in monobook/user/ will be preserved on updates, so you don't have to do your customizations over and over again
13) Please: the place for user-defined CSS for screen media is /user/screen.css – See README for details
14) Please: the place for user-defined tabs /user/tabs.php – See README for details
 
template/monobook.txt · Last modified: 2010/08/27 08:46 by 193.255.106.240
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate