Revision history for TestPage


Revision [129]

Last edited on 2022-07-15 10:05:27 by WikiAdmin
Additions:
""<b>bold</b>""


Revision [128]

Edited on 2022-07-15 10:05:08 by WikiAdmin
Deletions:
==##""{{acls}}""##==
Prints a link to ##""CurrentPage/acls""## if the user has access to the ACLs: {{acls}}
%%(apache)
etwas code
# test
noch eine Test;
function test () {
}
%%


Revision [127]

Edited on 2022-07-15 10:03:35 by WikiAdmin
Additions:
==##""{{acls}}""##==
Prints a link to ##""CurrentPage/acls""## if the user has access to the ACLs: {{acls}}
%%(apache)
etwas code
# test
noch eine Test;
function test () {
}
%%


Revision [126]

Edited on 2022-07-15 10:03:25 by WikiAdmin
Deletions:
==##""{{acls}}""##==
Prints a link to ##""CurrentPage/acls""## if the user has access to the ACLs: {{acls}}
%%(apache)
etwas code
# test
noch eine Test;
function test () {
}
%%


Revision [125]

Edited on 2022-07-15 10:00:12 by WikiAdmin
Additions:
%%(apache)


Revision [124]

Edited on 2022-07-15 09:59:59 by WikiAdmin
Additions:
# test
noch eine Test;
function test () {
}


Revision [123]

Edited on 2022-07-15 09:59:34 by WikiAdmin
Additions:
%%
etwas code
%%


Revision [122]

Edited on 2022-07-15 09:58:41 by WikiAdmin
Additions:
Prints a link to ##""CurrentPage/acls""## if the user has access to the ACLs: {{acls}}
Deletions:
{{acls}}


Revision [121]

Edited on 2022-07-15 09:58:14 by WikiAdmin
Additions:
{{acls}}


Revision [120]

Edited on 2022-07-15 09:57:58 by WikiAdmin
Deletions:
Prints a link to ##""CurrentPage/acls""## if the user has access to the ACLs: {{acls}}
%%(php)
<?php
if ($this->page){
if ($owner = $this->GetPageOwner()){
if ($owner == "(Public)"){
print $this->IsAdmin() ? "<a href=\"".$this->href("acls")."\">(Edit ACLs)</a>\n" : ""; #i18n
} elseif ($this->UserIsOwner()){
print "<a href=\"".$this->href("acls")."\">Edit ACLs</a>\n"; #i18n
}
} else {
print ($this->GetUser()) ? " (<a href=\"".$this->href("claim")."\">Take Ownership</a>)\n" : ""; #i18n
}
}
?>
%%---


Revision [117]

Edited on 2022-07-15 09:43:14 by WikiAdmin
Additions:
----
==##""{{acls}}""##==
Prints a link to ##""CurrentPage/acls""## if the user has access to the ACLs: {{acls}}
%%(php)
<?php
if ($this->page){
if ($owner = $this->GetPageOwner()){
if ($owner == "(Public)"){
print $this->IsAdmin() ? "<a href=\"".$this->href("acls")."\">(Edit ACLs)</a>\n" : ""; #i18n
} elseif ($this->UserIsOwner()){
print "<a href=\"".$this->href("acls")."\">Edit ACLs</a>\n"; #i18n
}
} else {
print ($this->GetUser()) ? " (<a href=\"".$this->href("claim")."\">Take Ownership</a>)\n" : ""; #i18n
}
}
?>
%%---


Revision [116]

Edited on 2022-07-15 09:42:43 by WikiAdmin
Additions:
===== Wikka Menulets =====
{{lastedit show="3"}}
In the trac as [[Ticket:28]].

As part of my proposal for a general overhaul of the [[WikkaMenus | menu management system]] in WikkaWiki, I suggest we replace the current system-generated items that occur in the main menu and footer menu with a series of **menulets**, i.e. mini-actions generating content for menu items.
Any of these mini-actions can of course be used in the page body as well.
Here's a list of potential menulets and their output, that I've uploaded to this server.
Suggestions/modifications are welcome.
Deletions:
==== Test Page ====
Hier probieren wir mal etwas...
""<b>bold</b>""


Revision [115]

Edited on 2022-07-14 20:23:25 by WikiAdmin
Deletions:
%%(apache)
#nun kommen einige Versuche mit Apache-Config:
<Directory>
</Directory>
%%


Revision [114]

Edited on 2022-07-14 20:22:09 by WikiAdmin
Additions:
%%(apache)
#nun kommen einige Versuche mit Apache-Config:
<Directory>
</Directory>
%%
Deletions:
{{files}}


Revision [111]

Edited on 2022-07-14 09:58:38 by WikiAdmin
Additions:
{{files}}


Revision [107]

Edited on 2022-07-12 23:43:21 by WikiAdmin
Deletions:
%%(apache)
### STOP REFERRER SPAM
SetEnvIfNoCase Referer ".*(adultsite|...).*" BadReferrer
order deny,allow
deny from env=BadReferrer
<IfModule mod_rewrite.c>
# turn on rewrite engine
RewriteEngine on
RewriteBase /pathto/subdir //(-> only if your wikka works in a subdirectory)
# if request is a directory, make sure it ends with a slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^/]+)$ $1/
# if not rewritten before, AND requested file is wikka.php
# turn request into a query for a default (unspecified) page
RewriteCond %{QUERY_STRING} !wakka=
RewriteCond %{REQUEST_FILENAME} wikka.php
RewriteRule ^(.*)$ wikka.php?wakka= [QSA,L]
# if not rewritten before, AND requested file is a page name
# turn request into a query for that page name for wikka.php
RewriteCond %{QUERY_STRING} !wakka=
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
</IfModule>
%%


Revision [106]

Edited on 2022-07-12 23:43:04 by WikiAdmin
Additions:
%%(apache)
### STOP REFERRER SPAM
SetEnvIfNoCase Referer ".*(adultsite|...).*" BadReferrer
order deny,allow
deny from env=BadReferrer
<IfModule mod_rewrite.c>
# turn on rewrite engine
RewriteEngine on
RewriteBase /pathto/subdir //(-> only if your wikka works in a subdirectory)
# if request is a directory, make sure it ends with a slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^/]+)$ $1/
# if not rewritten before, AND requested file is wikka.php
# turn request into a query for a default (unspecified) page
RewriteCond %{QUERY_STRING} !wakka=
RewriteCond %{REQUEST_FILENAME} wikka.php
RewriteRule ^(.*)$ wikka.php?wakka= [QSA,L]
# if not rewritten before, AND requested file is a page name
# turn request into a query for that page name for wikka.php
RewriteCond %{QUERY_STRING} !wakka=
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
</IfModule>
%%


Revision [105]

Edited on 2022-07-12 23:41:04 by WikiAdmin
Deletions:
Test:
%%(apache)
### STOP REFERRER SPAM
SetEnvIfNoCase Referer ".*(adultsite|...).*" BadReferrer
order deny,allow
deny from env=BadReferrer
<IfModule mod_rewrite.c>
# turn on rewrite engine
RewriteEngine on
RewriteBase /pathto/subdir //(-> only if your wikka works in a subdirectory)
# if request is a directory, make sure it ends with a slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^/]+)$ $1/
# if not rewritten before, AND requested file is wikka.php
# turn request into a query for a default (unspecified) page
RewriteCond %{QUERY_STRING} !wakka=
RewriteCond %{REQUEST_FILENAME} wikka.php
RewriteRule ^(.*)$ wikka.php?wakka= [QSA,L]
# if not rewritten before, AND requested file is a page name
# turn request into a query for that page name for wikka.php
RewriteCond %{QUERY_STRING} !wakka=
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
</IfModule>
%%


Revision [104]

Edited on 2022-07-12 23:40:31 by WikiAdmin
Additions:
Test:
%%(apache)
### STOP REFERRER SPAM
SetEnvIfNoCase Referer ".*(adultsite|...).*" BadReferrer
order deny,allow
deny from env=BadReferrer
<IfModule mod_rewrite.c>
# turn on rewrite engine
RewriteEngine on
RewriteBase /pathto/subdir //(-> only if your wikka works in a subdirectory)
# if request is a directory, make sure it ends with a slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^/]+)$ $1/
# if not rewritten before, AND requested file is wikka.php
# turn request into a query for a default (unspecified) page
RewriteCond %{QUERY_STRING} !wakka=
RewriteCond %{REQUEST_FILENAME} wikka.php
RewriteRule ^(.*)$ wikka.php?wakka= [QSA,L]
# if not rewritten before, AND requested file is a page name
# turn request into a query for that page name for wikka.php
RewriteCond %{QUERY_STRING} !wakka=
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
</IfModule>
%%


Revision [103]

Edited on 2022-07-12 23:39:42 by WikiAdmin
Deletions:
Test
==== Activating mod_rewrite for wikka ====
=== tested on apache 2.4 and Ubuntu 14.04 LTS ===
1) enable mod_rewrite on apache:
## sudo a2enmod rewrite ##
## apachectl restart ##

1) in the right virtual host on apache add following directives in the right directory:
## <Directory /path/to/your/dir>
""Options FollowSymLinks""
""AllowOverride All""
</Directory>##

1) activate rewrite on wikka config values (file ##wikka.config.php##):
%%
"base_url" => "http://my.domain.com/",
"rewrite_mode" => "1",
%%
on the first line eventually add your path

1) in the root directory of wikka add an ##.htaccess## file with following content:
(Achtung: die Zeile mit Bad Referrer ist unvollständig!)
%%(apache)
### STOP REFERRER SPAM
SetEnvIfNoCase Referer ".*(adultsite|...).*" BadReferrer
order deny,allow
deny from env=BadReferrer
<IfModule mod_rewrite.c>
# turn on rewrite engine
RewriteEngine on
RewriteBase /pathto/subdir //(-> only if your wikka works in a subdirectory)
# if request is a directory, make sure it ends with a slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^/]+)$ $1/
# if not rewritten before, AND requested file is wikka.php
# turn request into a query for a default (unspecified) page
RewriteCond %{QUERY_STRING} !wakka=
RewriteCond %{REQUEST_FILENAME} wikka.php
RewriteRule ^(.*)$ wikka.php?wakka= [QSA,L]
# if not rewritten before, AND requested file is a page name
# turn request into a query for that page name for wikka.php
RewriteCond %{QUERY_STRING} !wakka=
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
</IfModule>
%%
----
CategoryITKnowledge


Revision [102]

Edited on 2022-07-12 23:39:25 by WikiAdmin
Additions:
==== Activating mod_rewrite for wikka ====
=== tested on apache 2.4 and Ubuntu 14.04 LTS ===
1) enable mod_rewrite on apache:
## sudo a2enmod rewrite ##
## apachectl restart ##

1) in the right virtual host on apache add following directives in the right directory:
## <Directory /path/to/your/dir>
""Options FollowSymLinks""
""AllowOverride All""
</Directory>##

1) activate rewrite on wikka config values (file ##wikka.config.php##):
%%
"base_url" => "http://my.domain.com/",
"rewrite_mode" => "1",
%%
on the first line eventually add your path

1) in the root directory of wikka add an ##.htaccess## file with following content:
(Achtung: die Zeile mit Bad Referrer ist unvollständig!)
%%(apache)
### STOP REFERRER SPAM
SetEnvIfNoCase Referer ".*(adultsite|...).*" BadReferrer
order deny,allow
deny from env=BadReferrer
<IfModule mod_rewrite.c>
# turn on rewrite engine
RewriteEngine on
RewriteBase /pathto/subdir //(-> only if your wikka works in a subdirectory)
# if request is a directory, make sure it ends with a slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^/]+)$ $1/
# if not rewritten before, AND requested file is wikka.php
# turn request into a query for a default (unspecified) page
RewriteCond %{QUERY_STRING} !wakka=
RewriteCond %{REQUEST_FILENAME} wikka.php
RewriteRule ^(.*)$ wikka.php?wakka= [QSA,L]
# if not rewritten before, AND requested file is a page name
# turn request into a query for that page name for wikka.php
RewriteCond %{QUERY_STRING} !wakka=
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
</IfModule>
%%
----
CategoryITKnowledge


Revision [101]

Edited on 2022-07-12 23:39:17 by WikiAdmin
Additions:
Test
Deletions:
""TestPage""
==== Activating mod_rewrite for wikka ====
=== tested on apache 2.4 and Ubuntu 14.04 LTS ===
1) enable mod_rewrite on apache:
## sudo a2enmod rewrite ##
## apachectl restart ##

1) in the right virtual host on apache add following directives in the right directory:
## <Directory /path/to/your/dir>
""Options FollowSymLinks""
""AllowOverride All""
</Directory>##

1) activate rewrite on wikka config values (file ##wikka.config.php##):
%%
"base_url" => "http://my.domain.com/",
"rewrite_mode" => "1",
%%
on the first line eventually add your path

1) in the root directory of wikka add an ##.htaccess## file with following content:
(Achtung: die Zeile mit Bad Referrer ist unvollständig!)
%%(apache)
### STOP REFERRER SPAM
SetEnvIfNoCase Referer ".*(adultsite|...).*" BadReferrer
order deny,allow
deny from env=BadReferrer
<IfModule mod_rewrite.c>
# turn on rewrite engine
RewriteEngine on
RewriteBase /pathto/subdir //(-> only if your wikka works in a subdirectory)
# if request is a directory, make sure it ends with a slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^/]+)$ $1/
# if not rewritten before, AND requested file is wikka.php
# turn request into a query for a default (unspecified) page
RewriteCond %{QUERY_STRING} !wakka=
RewriteCond %{REQUEST_FILENAME} wikka.php
RewriteRule ^(.*)$ wikka.php?wakka= [QSA,L]
# if not rewritten before, AND requested file is a page name
# turn request into a query for that page name for wikka.php
RewriteCond %{QUERY_STRING} !wakka=
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
</IfModule>
%%
----
CategoryITKnowledge


Revision [100]

Edited on 2022-07-12 23:38:31 by WikiAdmin
Additions:
==== Activating mod_rewrite for wikka ====
=== tested on apache 2.4 and Ubuntu 14.04 LTS ===
1) enable mod_rewrite on apache:
## sudo a2enmod rewrite ##
## apachectl restart ##

1) in the right virtual host on apache add following directives in the right directory:
## <Directory /path/to/your/dir>
""Options FollowSymLinks""
""AllowOverride All""
</Directory>##

1) activate rewrite on wikka config values (file ##wikka.config.php##):
%%
"base_url" => "http://my.domain.com/",
"rewrite_mode" => "1",
%%
on the first line eventually add your path

1) in the root directory of wikka add an ##.htaccess## file with following content:
(Achtung: die Zeile mit Bad Referrer ist unvollständig!)
%%(apache)
### STOP REFERRER SPAM
SetEnvIfNoCase Referer ".*(adultsite|...).*" BadReferrer
order deny,allow
deny from env=BadReferrer
<IfModule mod_rewrite.c>
# turn on rewrite engine
RewriteEngine on
RewriteBase /pathto/subdir //(-> only if your wikka works in a subdirectory)
# if request is a directory, make sure it ends with a slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.*/[^/]+)$ $1/
# if not rewritten before, AND requested file is wikka.php
# turn request into a query for a default (unspecified) page
RewriteCond %{QUERY_STRING} !wakka=
RewriteCond %{REQUEST_FILENAME} wikka.php
RewriteRule ^(.*)$ wikka.php?wakka= [QSA,L]
# if not rewritten before, AND requested file is a page name
# turn request into a query for that page name for wikka.php
RewriteCond %{QUERY_STRING} !wakka=
RewriteRule ^(.*)$ wikka.php?wakka=$1 [QSA,L]
</IfModule>
%%
----
CategoryITKnowledge


Revision [99]

Edited on 2022-07-12 23:37:46 by WikiAdmin
Additions:
""TestPage""
Deletions:
Test


Revision [70]

Edited on 2022-07-12 19:41:04 by WikiAdmin
Additions:
""<b>bold</b>""
Test


Revision [69]

The oldest known version of this page was created on 2022-07-12 19:40:46 by WikiAdmin
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki