Commit graph

45 commits

Author SHA1 Message Date
Ævar Arnfjörð Bjarmason
ace93db499 * Adding a SkinTemplateContentActions hook to be able to modify the
$content_actions array from an extension.
2005-08-09 08:01:55 +00:00
Antoine Musso
a650cff446 lists hooks added in LogPage.php v1.34 by Avar. 2005-07-29 15:08:57 +00:00
Antoine Musso
a3fe687019 simple README 2005-07-05 21:46:27 +00:00
Brion Vibber
b0e8101feb Export tweak: use xml:space on <text> elements as an extra hint 2005-07-05 00:07:21 +00:00
Brion Vibber
b6fcde5333 Update export schema to version 0.3, including some site configuration data. 2005-07-04 23:43:47 +00:00
Brion Vibber
a1fb3b5306 * (bug 2275) Update search index more or less right on page move 2005-06-01 02:31:45 +00:00
Brion Vibber
a7ed5c0ec6 Updated export schema: added an <upload> element which may be used in
<page>s alongside <revision>s. For image pages these will contain
file data: filename, size, URL at which it can be found.
This is used by the OAI updater system.
2005-05-19 09:37:12 +00:00
Brion Vibber
5fdbef206f Move schema documentation to inline comments in tables.sql,
where it's less likely to be left years out of date.
2005-05-02 08:07:38 +00:00
Gabriel Wicke
f3810a3c70 CategoryPageView hook as in 1.4 2005-04-25 11:09:21 +00:00
Ævar Arnfjörð Bjarmason
813fd1db1a * Changed Wikipedia to MediaWiki. 2005-04-12 02:18:57 +00:00
Brion Vibber
27b500c4aa Change .doc extension to .txt so people stop asking why we have Word documents. WE DONT THEY ARE TEXT!!!!111eleven 2005-04-12 00:41:38 +00:00
Evan Prodromou
d63d4248a6 Changed the calling protocol for function wfRunHooks() in Hooks.php.
Previously, this function used variable arguments to allow
different hooks to pass different parameters. However, var args
silently convert reference-calling to value-calling. So a call
that used to work like this:

    # old
    wfRunHooks('SomeEvent', $param1, &$param2, $param3);

...now works like this:

    # new
    wfRunHooks('SomeEvent', array($param1, &$param2, $param3));

Hook functions can now change pass-by-reference parameters correctly
(e.g. $param2 in the above example).

All calls to wfRunHooks() were changed and tested, and the change
was documented in docs/hooks.doc. This change was originally checked
in on REL1_4 branch as a bugfix, but per vibber reverted and checked
in to HEAD instead.
2005-03-13 15:29:43 +00:00
Brion Vibber
0eaca3d675 Put the schema at a shorter url 2005-01-25 14:23:33 +00:00
Brion Vibber
8ed7219f4c contributor <id> appears after <username> when present, not before 2005-01-25 13:17:28 +00:00
Brion Vibber
9ede273bfd XML Schema description of the Special:Export format. 2005-01-25 09:00:49 +00:00
Evan Prodromou
2f4a80f6ef Further explanation as to why to avoid CVS keywords. 2004-12-02 19:57:34 +00:00
Evan Prodromou
2103572a1b Added hooks for watching and unwatching articles. Documented in
hooks.doc, and an example in Syslog extension.
2004-11-30 05:45:56 +00:00
Evan Prodromou
4b42f18b66 Removed CVS keywords from files, to make merging between branches
easier. Interpolated keywords cause lots of conflicts and headaches at
merge time for older (<1.12.x) CVS versions.
2004-11-29 18:25:30 +00:00
Evan Prodromou
778c431bfc Added hook events for "E-mail this user" feature. Documented in
hooks.doc, and added a sample hook to Syslog extension.
2004-11-29 04:23:12 +00:00
Evan Prodromou
bd8995d35e Added "unknown action" event, so that extensions can define new
actions and handle them. Documented in hooks.doc, but not really
appropriate for the Syslog extension, so ignored.
2004-11-28 07:06:25 +00:00
Evan Prodromou
f2b7dcc7b1 Add event hooks for article save. Documented in hooks.doc, and example
in Syslog extension.
2004-11-28 06:45:24 +00:00
Evan Prodromou
031949ee65 Add event hooking for article deletion. Add a hook for article
deletion in the Syslog extension to test/demonstrate/whatever.
Document the events in hooks.doc.
2004-11-28 06:15:22 +00:00
Evan Prodromou
9dd7c7939a Per brion's suggestion, changed <? to <?php in Syslog, and change
functions to strings in Syslog and hooks.doc examples.
2004-11-28 00:51:43 +00:00
Evan Prodromou
4c23bcc198 Added hook events for article protection. Added sample code to Syslog
extensions, and documented in hooks.doc.
2004-11-28 00:20:37 +00:00
Evan Prodromou
34ac5745f9 Added event-hooking code for blocking users and IPs. Added a handler
to the Syslog extension for blocked users to test this event. Added
documentation for the event to hooks.doc.
2004-11-27 23:57:55 +00:00
Evan Prodromou
7a57bb56af Add an extension for logging MediaWiki events to the system logger
(syslog). Although intended to be useful, it's more of a testbed for
event hooks than anything else. For a first pass, started logging user
login and user logout events. Had to add hooks-running code to the
login and logout modules, but that's kind of the point. Documented the
three events added in hooks.doc.
2004-11-27 23:10:05 +00:00
Evan Prodromou
80d9f05b37 Add a system of hooks to allow third-party code to run before, after, or
instead of -- MediaWiki code for particular events (article rollback,
user ban, etc.). Framework is in place; hooks are not yet in place
in the mainline code.
2004-11-27 21:43:06 +00:00
Antoine Musso
eb8e78e265 We dont want to commit phpdoc generated documentation in cvs. It is better to generate it localy. 2004-11-12 21:08:27 +00:00
Wil Mahan
fb4fa0f0a8 Remove the "random" table since it is no longer used;
document categorylinks, hitcounter, searchindex,
interwiki, and user.user_token
2004-09-29 04:28:40 +00:00
Brion Vibber
699a4f9b99 Remove hard-coded paths from documentation generation script, and don't allow running except from CLI.
Added --all option to skip the prompt so this can be run as part of an automated release build process.
Place the generated files into docs/html.
2004-09-04 01:58:17 +00:00
Antoine Musso
7dbd56950b New system to generate $wgValidSkinNames by listing available dirs. Skins using PHPTal will not load and the software fallback to the standard skin. Added 2 samples for skin designers and updated doc 2004-09-02 03:24:01 +00:00
Arne Heizmann
3dfc9838a6 Some English fixes, and change "Wikipedia" to "MediaWiki". 2004-08-12 14:45:47 +00:00
Antoine Musso
4ca518aa5a Very simple documentation. 2004-08-12 14:37:15 +00:00
Brion Vibber
2149d11dfe The horror... the horror... 2004-08-11 10:09:11 +00:00
Arne Heizmann
40b461ee81 sp 2004-07-25 12:45:24 +00:00
Erik Moeller
1dea93f758 using index.php and redirect.php instead of wiki.phtml and redirect.phtml
keeping phtml stubs around for compatibility and CVS history
2004-02-28 03:04:02 +00:00
Tim Starling
e2f98922df Two blocking features: IP range blocks, and expiry times configurable block-by-block.
Possible issue: uses strtotime(), which is very handy but in English
2004-02-14 12:37:25 +00:00
Tim Starling
d6dd3689f8 Better namespace 8 updating, and watchlist caching in memcached.doc 2004-01-25 02:40:50 +00:00
Tim Starling
ee4c7f2f49 Various fixes, see the version of [[m:Development status]] before this commit for details 2003-11-02 13:57:24 +00:00
Tim Starling
6d7467b131 More minor wfMsg() fixes 2003-10-21 13:06:15 +00:00
Tim Starling
a2bc5d8338 MediaWiki namespace 2003-09-21 13:10:10 +00:00
Tim Starling
ff0f56bc8c Autoblocker privacy protection 2003-09-07 13:56:25 +00:00
Brion Vibber
786163084b Update memcached client to 1.0.10 2003-08-21 07:03:10 +00:00
Brion Vibber
fd305c509f Initial support for memcached.
Includes PHP MemCachedClient 1.0.8 by Ryan Gilfether, under GPL license.
2003-08-11 13:53:20 +00:00
Lee Daniel Crocker
d82c14fb4f Initial revision 2003-04-14 23:10:40 +00:00