Commit Graph

29 Commits

Author SHA1 Message Date
Alex Schroeder
1cf9f3cce2 Get rid of $NamespacesInit.
(NamespacesInitVariables): Get rid of various Init() calls because
they are all handled in ReInit(). Reset @IndexList so that
AllPagesList will actually do something.
2006-12-22 15:27:17 +00:00
Alex Schroeder
9c822ffafd (NamespaceRcLines): Bugfixing. 2006-08-24 18:32:53 +00:00
Alex Schroeder
a18f72720f (NamespaceRcLines): Implement rollback
skipping, too.
2006-08-24 18:23:36 +00:00
Alex Schroeder
0cbc8fcf3b (NamespacesInitVariables): Set $StaticUrl. 2006-04-20 19:59:27 +00:00
Alex Schroeder
95269c405e (NamespacesInitVariables): Set $StaticDir,
too.
2006-04-20 19:22:50 +00:00
Alex Schroeder
995d7239af (NamespacesInitVariables): Check namespace
parameter for validity and complain if it is not valid. We can't
do that with path_info, but this is good enough, because it allows
us to verify namespaces typed into forms (eg. from
Oddwiki:Startup).
2006-03-30 22:38:30 +00:00
Alex Schroeder
f03ea299c0 (NewNamespaceScriptLink): Do not mangle
actions matching $FullUrlPattern, as that breaks localnames.pl.
Since $action is already URL-encoded, however, we do the same test
as in ScriptLink: $UrlProtocols followed by the URL-encoded colon:
%3a.
2005-11-07 00:46:15 +00:00
Alex Schroeder
14e40348a6 (NewNamespaceScriptLink): Do not mangle
actions matching $FullUrlPattern, as that breaks localnames.pl.
2005-10-28 14:46:30 +00:00
Alex Schroeder
392eb25e43 Call NamespacesInitVariables as early as possible. 2005-10-28 08:06:11 +00:00
Alex Schroeder
81ef117f09 (NamespacesInitVariables): Rewrite after
the changes to the main script regarding initialization.  Always
force a reinit (in a mod_perl context we cannot reuse the info).
2005-10-27 21:58:49 +00:00
Alex Schroeder
8d86d98b56 (NamespaceRcLines): Fix handling of
cluster and other attributes.
2005-06-29 15:58:40 +00:00
Alex Schroeder
863229419f (NamespaceRcLines): Remove trailing
newline when reading rc.log file.  This removes an incompatibility
between the module and page clusters (otherwise all pages end up
in the "\n" cluster).
2005-06-02 07:43:02 +00:00
Alex Schroeder
2685e06e72 (NewNamespaceDoRc): Add parameter local to restrict main RC to the
local namespace only.  Fixed bug in condition that led to the
printing of an HTML fragment when requesting RSS.
2005-04-26 07:44:30 +00:00
Alex Schroeder
f13c6129c7 (NewNamespaceDoRc): Added header back.
Correcly sort lines.
(NamespaceRcLines): Split into all fields and add namespace to
username, too.
(NamespaceValidId): New dummy to disable the test.
2005-04-25 23:02:08 +00:00
Alex Schroeder
4028e90c17 Removed warnings. 2005-04-25 22:21:27 +00:00
Alex Schroeder
45646b5457 (NewNamespaceDoRc): Expanded a lot, now
parsing all the log files recursively instead of doing the RSS
thing.
(NamespaceBrowseRc, NamespaceInternalRc): Deleted.
(NamespaceRcLines): New.  Splices namespace into the rc lines.
(NewNamespaceScriptLink): New.  Splices namespace out of the link
into the script name.
2005-04-25 21:14:52 +00:00
Alex Schroeder
d908bc4ee3 (NamespacesInitVariables): Set
$InterWikiMoniker.
2005-03-24 22:49:30 +00:00
Alex Schroeder
c0db690a0b Updated copyright years. 2005-01-06 11:35:04 +00:00
Alex Schroeder
f8bc86ab03 Use @MyInitVariables. 2005-01-04 09:40:01 +00:00
Alex Schroeder
730b0121ca (NewNamespacesInitVariables): Make "Self" forbidden, too. 2004-12-21 16:32:33 +00:00
Alex Schroeder
4292980088 ($NamespacesSelf): New variable.
(NewNamespacesInitVariables): Set it.
2004-12-21 16:19:59 +00:00
Alex Schroeder
b2181dfab6 (NamespaceInternalRc): "No items found in foo" removed. 2004-12-20 12:43:28 +00:00
Alex Schroeder
fdad8d8718 (NamespaceInternalRc): "foo returned no data" removed. 2004-12-20 12:40:48 +00:00
Alex Schroeder
8232ea7b12 (NewNamespacesInitVariables): Set
$NamespaceCurrent; don't change $Action{rc}.
(NewNamespacesInitVariables): Don't print header and footer.
(NewNamespaceDoRc): New replacement for DoRc.
2004-12-20 05:43:37 +00:00
Alex Schroeder
6cd2a58c51 (NamespaceBrowseRc, NamespaceInternalRc, NewNamespacesInitVariables):
Support for recent changes for all namespaces.
2004-12-20 04:35:06 +00:00
Alex Schroeder
6fbd2f4587 (NewNamespacesInitVariables): Add entries
to %InterSite even if we are not in a subwiki right now.
2004-04-06 22:18:41 +00:00
Alex Schroeder
bef1105fb4 Clean up handling of "Main" so that you cannot create such a
namespace.
2004-04-05 18:02:00 +00:00
Alex Schroeder
749756fa89 First working implementation. 2004-04-05 17:54:30 +00:00
Alex Schroeder
15b70caed2 buggy version: editing pages in a namespace will edit the page in the main namespace. 2004-04-05 00:37:55 +00:00