Commit Graph

25 Commits

Author SHA1 Message Date
Alex Schroeder
e6d3ad8382 Fixed typo in AddModuleDescription sub name 2014-08-21 22:23:23 +02:00
Alex Schroeder
17bd795ef0 Automatically reformatted modules 2014-08-21 07:29:46 +03:00
Alex Schroeder
bab0c9ad97 referrer-tracking: Get rid of CreatePageDir.
Fix the unit tests, too.
2014-06-23 12:19:07 +02:00
Alex Schroeder
097476f506 Get rid of one letter sub-directories.
Recent GNU/Linux systems use ext3 or ext4 file systems. These use HTree
to index files. Wikipedia says: "HTree indexing improved the scalability
of Linux ext2 based filesystems from a practical limit of a few thousand
files, into the range of tens of millions of files per directory. [...]
HTree indexes are available in ext3 when the dir_index feature is
enabled. [...] HTree indexes are turned on by default in ext4."

Thus, instead of working on balanced-page-directories.pl, we decided to
get rid of these sub-directories altogether.

Unfortunately, this is backwards incompatible. Users wanting to upgrade
will need to install the upgrade.pl extension in order to upgrade the
file database.
2014-06-06 17:32:44 +02:00
Alex Schroeder
4291b15b8f Use decoded_content for HTTP::Response 2012-10-26 16:38:22 +02:00
Alex Schroeder
c9e39a4c19 getting rid of $Id$ tags in $WikiDescription
Replaced the $Id$ tags in $WikiDescription for all the modules and wiki.pl itself with a link to the source and an appropriate wiki page, if possible. This is shown in action=version and should help users figure out what another wiki has installed.
2012-04-19 02:18:45 +02:00
Alex Schroeder
5ed892c98a (ExpireReferers, UrlToTitle)
(GetReferers, PageContentToTitle, UpdateReferers): Get rid of
charset handling.
2011-02-24 22:47:11 +00:00
Alex Schroeder
5a812f0344 (UrlToTitle): Add charset arg.
(GetReferers): Pass charset to UrlToTitle.
(PageContentToTitle): Add charset arg and encode title
appropriately if not UTF-8.
(UpdateReferers): Pass charset to PageContentToTitle.
2010-10-27 18:17:16 +00:00
Alex Schroeder
c78636e0a0 *** empty log message *** 2010-10-24 12:16:10 +00:00
Alex Schroeder
fc74ca2981 (UrlToTitle): Strip http:// prefix and .html suffix.
(PageContentToTitle): Fix regular expressions.
2010-10-24 12:15:53 +00:00
Alex Schroeder
49181b221c (GetReferers): Fix split. 2010-10-24 12:09:17 +00:00
Alex Schroeder
de434d188f (UrlToTitle, PageContentToTitle): Shorten title if necessary.
($RefererTitleLimit): New.
2010-10-23 13:31:07 +00:00
Alex Schroeder
bd590c7a43 Updated license to GPL 3.
(ExpireReferers): Moved code to generate missing title to a new sub.
(UrlToTitle): New.
(UpdateReferers): Call sub to generate title from page content.
(PageContentToTitle): New.
2010-10-23 13:08:08 +00:00
Alex Schroeder
6d03338de6 (PrintAllReferers): Use GetPageLink
instead of using ScriptLink directly in order to fix the output
for pages containing a space.
2009-02-18 23:13:35 +00:00
Alex Schroeder
f1ce31808f (PrintAllReferers): Add div.page
around each page entry.
(GetReferers): Removed HR.
2006-12-22 01:27:48 +00:00
Alex Schroeder
0ceda6bf31 (RefererMenu): Add class to menu
entry.
2006-08-06 11:48:07 +00:00
Alex Schroeder
159e581599 (RefererInit): Replaced @AdminPages
with %AdminPages.
2006-07-15 23:14:22 +00:00
Alex Schroeder
62c52b1089 added comment with the utf-8 regexp for future work 2006-04-02 19:48:53 +00:00
Alex Schroeder
64384b91db (UpdateReferers): Extract charset from the content-type. 2006-04-02 19:29:10 +00:00
Alex Schroeder
f212c9ca2c (GetReferers): Extract valid URL using $FullUrlPattern just to be
safe.
2006-04-02 18:08:42 +00:00
Alex Schroeder
c882b4c941 (GetReferers): Only decode the
title if the referrer charset is the same as the local charset.
(UpdateReferers): Store charset.
2006-04-02 17:24:29 +00:00
Alex Schroeder
e003b55960 Removed $DefaultStyleSheet. 2005-10-09 00:55:43 +00:00
Alex Schroeder
c7aa4f79f1 (RefererTrack): No refererrers
unless there is a page id they belong to.
2005-09-18 10:26:57 +00:00
Alex Schroeder
33c0b43aad (RefererNewPrintFooter): Removed $RefererTracking. 2005-01-07 00:54:29 +00:00
Alex Schroeder
0299c08ae3 Moved from wiki.pl. 2005-01-07 00:50:34 +00:00