[dokuwiki] Re: Wikipedia template
- From: Linas Valiukas <shirshegsm@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 25 Aug 2005 18:49:58 +0300
Hi,
nice template :-). Works OK with Opera 8.01.
On 8/25/05, Roberto Abalde <rabalde@xxxxxxxxx> wrote:
> Hi,
>
> I'm developing a Wikipedia template for dokuwiki, you can see it here:
> http://www.galego21.org/dokuwiki-test
>
> You can download the development version of this template from here:
> http://www.galego21.org/dokuwiki-test/mediawiki.zip
>
> Comments are wellcome, but remember that this is a development version, it's
> not finished yet
> because I need to do some cleaning. Send me your comments to my mais address
> or leave them at this
> pages' end.
>
> I tested it with Mozilla Firefox 1.0.3 and IE 6.0 on Windows. If someone can
> test it with Opera
> and IE5 and send me some comments/patches.
>
> I've changed a couple of files to add a 'what links here' link, like the one
> in wikimedia. The
> patches are these ones:
>
>
> On inc/template.php, function tpl_actionlink():
>
> * top - a back to top button
> * back - a back to parent button - if available
> + * backlink - what links here
> *
> * @author Andreas Gohr <andi@xxxxxxxxxxxxxx>
>
>
> case 'admin':
> if($INFO['perm'] == AUTH_ADMIN)
>
> tpl_link(wl($ID,'do=admin'),$pre.$lang['btn_admin'].$suf,'class="action"');
> break;
> + case 'backlink':
> +
> tpl_link(wl($ID,'do=backlink'),$pre.$lang['btn_backlink'].$suf,'class="action"');
> + break;
> default:
> print '[unknown link type]';
>
>
> On inc/template.php, function tpl_button():
>
> * backtomedia - returns to the mediafile upload dialog
> * after references have been displayed
> + * backlink - what links here
> *
> * @author Andreas Gohr <andi@xxxxxxxxxxxxxx>
>
>
> case 'backtomedia':
> print html_backtomedia_button(array('ns' => $NS),'b');
> break;
> + case 'backlink':
> + print html_btn('backlink', $ID,'', array('do' => 'backlink'));
> break;
> default:
>
>
> On inc/lang/en/lang.php:
>
> $lang['btn_backtomedia'] = 'Back to Mediafile Selection';
> + $lang['btn_backlink'] = 'What links here';
>
>
>
> Saludos,
> Roberto
>
>
>
>
>
>
> ______________________________________________
> Renovamos el Correo Yahoo!
> Nuevos servicios, más seguridad
> http://correo.yahoo.es
> --
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
>
--
Linas Valiukas
gsm: +370 687 65 870
email: shirshegsm@xxxxxxxxx
icq: 147235316
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Wikipedia template
- From: Roberto Abalde
Other related posts:
- » [dokuwiki] Wikipedia template
- » [dokuwiki] Re: Wikipedia template
- » [dokuwiki] Re: Wikipedia template
- » [dokuwiki] Re: Wikipedia template
- [dokuwiki] Wikipedia template
- From: Roberto Abalde