Commit Graph

1399 Commits

Author SHA1 Message Date
Alex Schroeder
520fd3bf1b Complete rewrite. 2009-10-13 22:27:54 +00:00
Alex Schroeder
8b01679378 (@Debugging, DebugInterLinks): Moved here from
the main script.
2009-10-06 12:47:42 +00:00
Alex Schroeder
976cf99218 (JournalRssGetRcLines): New. Add journal
to %NearLinksException.
2009-08-31 08:32:10 +00:00
Alex Schroeder
c0a4ffcb20 (NearLinksInit): Initialize
%NearLinksException here instead of at top level so other modules
can add to it as well.
2009-08-31 08:31:04 +00:00
Alex Schroeder
8a7189bd4c (%NearLinksException): New option.
(NewNearLinksSearchTitleAndBody): Use it.
2009-08-30 19:19:59 +00:00
Alex Schroeder
4d4c13a60d (MailNewSave): Only subscribe to a page to be
saved if that's also the page the user wants to save according to
GetId(). This is needed when saving a page X will also change
another page Y. GetId() will return X in both cases, so this code
is only triggered once.
2009-08-29 23:50:46 +00:00
Alex Schroeder
473b1d1064 New 2009-08-11 13:36:23 +00:00
Alex Schroeder
860d601cda (FlashboxRule): Made YouTube regular
expression even more lenient as suggested by sjm.
2009-07-29 13:00:33 +00:00
Alex Schroeder
852e17e763 (FlashboxRule): Fixed YouTube regular
expression as suggested by sjm.
2009-07-19 10:45:35 +00:00
Alex Schroeder
05d095912b (UsemodRule): Use $UsemodHtmlRegExp instead of
$htmlre and no longer recompute it for every call.
2009-07-03 14:04:45 +00:00
Alex Schroeder
937fd7d573 (NewNamespaceGetRcLines): Fix bug that
prevented the oldrc.log file from being read if rc.log was missing
or empty.
2009-07-03 13:49:47 +00:00
Alex Schroeder
3f5f1eed6b Add empty entries for new modules. 2009-06-07 19:30:37 +00:00
Alex Schroeder
5d8be4eca1 Update for mail.pl 2009-06-07 19:20:23 +00:00
Alex Schroeder
8a23ba4adb (DoNamespacesList): Add trailing newline to raw output. 2009-06-07 18:11:17 +00:00
Alex Schroeder
2758e9f49d (NamespacesInitVariables): Don't list Main and Self.
(DoNamespacesList): Provide a raw alternative.
2009-06-07 18:05:46 +00:00
Alex Schroeder
1adb6577da Added documentation explaining why full=1 is not supported for the
main RSS feed.
2009-06-07 17:59:07 +00:00
Alex Schroeder
c8ca5e242a (%Namespaces): New option to differentiate
between intersites and namespaces.
(NamespacesInitVariables): Set it instead of a local variable.
(DoNamespacesList): Use it.
(NamespacesMenu): Add it to a menu.
2009-06-07 17:03:06 +00:00
Alex Schroeder
df8a230990 (MailNewGetFooterTimestamp): Allow people to subscribe to pages even
if no email address has been set.
(DoMailSubscriptions): Provide a link to change the email address.
(DoMailSubscribe): If no mail is provided, allow to subscribe and
ask for an email address.
2009-06-07 14:09:57 +00:00
Alex Schroeder
be5f69d0e3 (MailNewGetFooterTimestamp): New function to
allow people to subscribe to ordinary pages once they have their
email subscription set.
2009-06-07 13:46:52 +00:00
Alex Schroeder
c43879a65e ($MailPattern): New.
(MailNewInitCookie): New.
(MailNewGetCommentForm): Added subscribe/unsubscribe link.
(MailIsSubscribed): New.
(NewMailDeletePage, MailAddSubscription): New.
(MailMenu): Added link to "All mail subscriptions".
(DoMailSubscriptions): Added unsubscription links.
(DoMailSubscriptionList): Support HTML output.
(MailLink): New.
(DoMailSubscribe, DoMailUnsubscribe): New.
(MailUnsubscribe): New.
(MailAddSubscription, MailSubscribe): Renamed to MailSubscribe.
2009-06-04 06:40:58 +00:00
Alex Schroeder
2eabfb9d83 (QuestionAddTo): Trying to fix a
surprising Perl regular expression feature.
2009-05-25 11:40:46 +00:00
Alex Schroeder
64ab4ef4c6 (QuestionAddTo): Adapted to changes in
GetCommentForm.
2009-05-22 19:26:28 +00:00
Alex Schroeder
afdfb444b0 Work in progress 2009-05-17 22:43:50 +00:00
Alex Schroeder
c7d3346690 (StaticFileName): Don't just print
something to stdout if the target page does not exist, yet. This
will always happen when creating a link to an image before
upoading the image!
2009-05-15 20:25:35 +00:00
Alex Schroeder
b78a54a8a9 (ImageSupportRule): Make sure we provide an
upload link of the image is local and doesn't exist yet.
2009-05-15 20:23:56 +00:00
Alex Schroeder
47aac57360 (ListLockedMenu): Changed menu item name a
bit to match the German translation file.
2009-05-15 09:18:17 +00:00
Brian Curry
1310ce27e5 * modules/footnotes.pl (FootnotesRule): Substantially revised.
This now handles markup for referencing another footnote or range
of other footnotes. This should, in turn, make embedding academic
citations in Wiki pages somewhat simpler.
2009-05-11 02:28:44 +00:00
Alex Schroeder
cd0e20cee0 Updated missing translations 2009-05-09 12:00:44 +00:00
Alex Schroeder
aca7e831a9 Fix typo. 2009-04-09 17:02:17 +00:00
Alex Schroeder
4337a39d93 ($CurrentLanguage): New variable.
(LoadLanguage): Set it.
2009-04-09 16:57:34 +00:00
Alex Schroeder
359b7754ce (@NamespaceParameters): New.
(NamespacesInitVariables): Use new option.
(NamespacesInitVariables): Use new function.
2009-04-06 00:26:46 +00:00
Alex Schroeder
76ee1b683d (NamespacesInitVariables): Match the code
changes in GetId.
2009-04-05 23:36:20 +00:00
Alex Schroeder
79dfbc5799 (TagCloud): New action, based on the search-freetext.pl
implementation.
(TagsMenu): Add tag cloud to the menu.
2009-04-05 22:19:03 +00:00
Alex Schroeder
a1073a6344 (TagsMenu): Add menu. 2009-04-05 21:32:16 +00:00
Alex Schroeder
c0d51f7fa1 (NewTagGrepFiltered, NewTagSearchString):
Support searching for tags containing a space (being replaced by
an underscore).
2009-04-04 01:26:53 +00:00
Alex Schroeder
bcae16f05a (DoTagsReindex): Request lock and release when updating the index. 2009-03-21 23:31:58 +00:00
Alex Schroeder
61b394ee1c (LocalNamesNewSave): Localize
$OpenPageName and %Page so that it doesn't confuse other
extensions hooking into Save.
2009-03-21 23:22:39 +00:00
Alex Schroeder
0545f41cb6 Typo in doc. 2009-03-21 08:59:33 +00:00
Alex Schroeder
ca958961a4 (NewTagSave, TagFind, DoTagsReindex): Case insensitive. 2009-03-21 08:47:58 +00:00
Alex Schroeder
87a4ebc3ad (DoTagsReindex): Prevent extra $FS.
(TagList): New action to debug the data.
(NewTagSearchString): Only strip -tag:foo terms.
(TagsInit): Don't mess with parameters when using Near Links; this
doesn't scale.
2009-03-21 08:35:41 +00:00
Alex Schroeder
b418a42b49 (TagsInit): Make sure that tag searches get along with near searches. 2009-03-21 02:23:29 +00:00
Alex Schroeder
3fd36f0d8e (DoTagsReindex): New action to get started. 2009-03-21 02:02:12 +00:00
Alex Schroeder
a226c64b0e (NewTagSave, NewTagDeletePage): Eliminate and
merge with NewTagSave and NewTagDeletePage respectively.
(TagFind, NewTagGrepFiltered, NewTagSearchString): New functions
to use the tag file while searching.
2009-03-21 01:36:26 +00:00
Alex Schroeder
5bdc263380 ($TagFeed, $TagFeedIcon): New options.
(TagsInit, TagsGetLink): New
(TagsRule): Will now print RSS icon and link to a feed as well, if
an icon URL has been provided.
(NewTagSave, TagIndex): Hook into Save() and index the pages.
(NewTagDeletePage, TagDeletePage): Hook into DeletePage() and
remove tags and infos when pages are deleted.
2009-03-20 13:59:32 +00:00
Alex Schroeder
603905d3ba Rename $TagRssIcon to $TagFeedIcon.
(NewTagSave, TagIndex): Hook into Save() and index the pages.
2009-03-20 11:20:57 +00:00
Alex Schroeder
50822a0e71 ($TagFeed, $TagRssIcon): New options.
(TagsInit, TagsGetLink): New
(TagsRule): Will now print RSS icon and link to a feed as well, if
an icon URL has been provided.
2009-03-20 10:06:28 +00:00
Alex Schroeder
11e09fe6b3 (MarkupRule): Fixed markup rules to get the
[[foo]]'s apostrophe correct.
2009-03-13 22:28:29 +00:00
Alex Schroeder
cf9e29a11f (CookieUsernameDelete): Changes to %NewCookie
are no longer needed.
2009-03-13 22:27:41 +00:00
Alex Schroeder
720095c6aa (DoFind): Switch from HighlightRegex to
SearchRegexp.
2009-03-13 15:40:16 +00:00
Alex Schroeder
22587be986 (DoFind): Switch from HighlightRegex to
SearchRegexp.
2009-03-13 15:26:42 +00:00