Commit graph

379 commits

Author SHA1 Message Date
Antoine Musso
73fd6b3067 revert previous stuff. break things :) 2005-09-05 20:03:19 +00:00
Antoine Musso
bdcba87db6 #3344: Redirected terms cannot be included in categories
No more strip the whole text when magicword #REDIRECT is found in a text.
Let you categorize redirects but might let some vandals use #REDIRECT in the
middle of a text.
2005-09-05 19:43:01 +00:00
Brion Vibber
ee14af4672 * Security fix for <math>
* Security fix for tables
2005-08-29 23:34:37 +00:00
Brion Vibber
cea00ec416 Revert more minor breakage from missing HTML escaping (broken June 24) 2005-08-25 04:23:13 +00:00
Brion Vibber
72f4bd3dad * Move ArticleSave hook execution into Article insert/update functions,
so they get called on non-EditPage actions that use these functions
  to create or update pages.
2005-08-23 08:15:14 +00:00
Tim Starling
bdc29c0060 sensible names, profiling 2005-08-21 07:28:11 +00:00
Tim Starling
f9279f4b53 put watchlist update in its own transaction, to reduce lock contention and thus increase speed 2005-08-21 06:09:56 +00:00
Brion Vibber
909db857ff Code cleanup: normalize case of wfMsg() calls, clean up an old str_replace 2005-08-16 23:39:33 +00:00
Brion Vibber
af2177edfd Code cleanup: normalize case for intval(), strval(), floatval() calls. 2005-08-16 23:36:16 +00:00
Tim Starling
28b2b4b2f5 Always use reference assignment when taking the return value of wfGetDB(), or else annoying bugs which are difficult to track down will result. Example of correct usage:
$dbr =& wfGetDB( DB_SLAVE );
2005-08-15 13:06:33 +00:00
Niklas Laxström
58dcec1168 more killing 2005-08-02 20:21:41 +00:00
River Tarnell
b817c0c15f merge ORACLE_WORK. sorry, this may break some parts of MySQL, i did not test extensively. 2005-08-02 13:35:19 +00:00
Niklas Laxström
d6bb0fd275 Removing protectreason 2005-07-25 12:49:18 +00:00
Niklas Laxström
0efdda3f41 Rollback and delete auto-summaries in the project's content language 2005-07-25 12:18:25 +00:00
Tim Starling
fcc8c224ff profiling, fixed incorrect transaction handling (my fault) 2005-07-25 07:03:01 +00:00
Brion Vibber
5be8fa5e3d * Wrap revision insert & page update in a transaction, rollback on late
edit conflict.
2005-07-24 10:32:37 +00:00
River Tarnell
7b810c22ef let sysop delete trackbacks 2005-07-23 06:30:26 +00:00
River Tarnell
a4bc375726 delete trackbacks when deleting article 2005-07-23 06:12:48 +00:00
River Tarnell
bc36d810e7 (bug 796) trackback support 2005-07-23 05:47:25 +00:00
Brion Vibber
b0c41ad13b * (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3
* (bug 2931) Fix additional notices on reference use in PHP 4.4.0
2005-07-22 11:29:15 +00:00
River Tarnell
7baa211415 purge file cache on save 2005-07-17 19:48:03 +00:00
Erik Moeller
fb65c224cd * (bug 2768) section=new on nonexistent talk page does not add heading
* (bug ?) show comment subject in preview when using section=new
* support preload= parameter for section=new
* use section=new edit form when creating a new talk page
2005-07-13 21:25:30 +00:00
Brion Vibber
289d29c18e * (bug 2833) Fix bug in previous fix 2005-07-13 01:52:51 +00:00
Brion Vibber
b2de66a9a2 * (bug 2825) Fix regression in newtalk notifications for anons w/ enotif off
Fixes for invalid usernames now cause User::newFromName to return null for
IP addresses, so we have to stuff an anon's name in separately.
Todo: User::newFromIP() with IPv4 and IPv6 validity checks would be nice.
2005-07-12 22:50:34 +00:00
Jens Frank
b3f4d3b39b (bug 2416) Don't allow search engine robots to index or follow nonexisting articles 2005-07-07 05:02:09 +00:00
River Tarnell
e4a87e105a implement "action=render" 2005-07-03 04:00:33 +00:00
Erik Moeller
a7ce25c804 don't just assume we get a valid title object 2005-07-02 15:13:08 +00:00
Erik Moeller
2ed0bd29a9 -nonsense 2005-07-02 14:52:13 +00:00
Erik Moeller
fedceb4bcd Add two new parameters for editing new pages:
&preload=Page_name => Content of [[Page name]] will be loaded into the
textarea.

&&editintro=Page_name => Content of [[Page name]] will be used instead of
[[MediaWiki:Newarticletext]].

Respects read permissions.

Primary purpose: Customizing of edit pages for newbies, use of custom page
templates.

Possible future changes: Make preload work with &section=new, make editintro
work with any edit.
2005-07-02 14:38:15 +00:00
River Tarnell
5144554833 only set newtalk for actual users 2005-07-01 23:42:36 +00:00
River Tarnell
ce27044fba update rc_this_oldid correctly 2005-07-01 20:36:04 +00:00
River Tarnell
8ff36ebd62 remove wfdebug in pagehistory
set ETag header on article views
2005-07-01 00:03:31 +00:00
Brion Vibber
814778dcf9 * (bug 2614) Fix section edit links on diff-to-current with oldid set
Also fix navigation links on current-with-oldid view.
2005-06-29 23:44:03 +00:00
Brion Vibber
a1fb04d315 * Copy IRC-over-UDP update option from REL1_4 2005-06-29 07:01:24 +00:00
Jens Frank
04b5f9ec0f (bug 2564) Don't show editingold warning for recent revision 2005-06-29 05:15:32 +00:00
Brion Vibber
5a3133d4d8 * Don't show empty-page text in 'Show changes' on new page
Changed $noredir on Article::fetchContent() to a more reasonable default.
2005-06-29 00:31:07 +00:00
Brion Vibber
0226b12c83 * (bug 2572) Fix edit conflict handling 2005-06-28 23:19:56 +00:00
Brion Vibber
eff3affe3a * (bug 2576) Fix recording of transclusion links
Somehow we ended up with two copies of the same stuff in there, and they
stomped up the tables.
2005-06-28 16:35:16 +00:00
Brion Vibber
ae4157a72d * (bug 2541) Fix unprotect tab 2005-06-26 21:23:44 +00:00
Tim Starling
1f3284da90 recovering previous behaviour when enotif is switched off 2005-06-25 13:47:18 +00:00
Ævar Arnfjörð Bjarmason
50cf895155 * Removed htmlspecialchars(), everything given to setSubtitle() now goes
through the parser so this is redundant.
2005-06-24 23:18:12 +00:00
Brion Vibber
2c115d9c6a * (bug 2488) Format 'deletedtext' message as wikitext 2005-06-22 21:38:15 +00:00
Tim Starling
904042c07c ported site_stats change from 1.4 2005-06-19 00:21:49 +00:00
Brion Vibber
7dc92434e2 * Less gratuitous munging of content sample in delete summary
* some code cleanup in deletion form
2005-06-18 09:45:18 +00:00
Brion Vibber
c7900e7c36 Use Language::truncate() 2005-06-18 09:34:25 +00:00
Alexander Sigachov
52d89beeb0 Update from language.php 1.560 to 1.564 2005-06-18 09:10:58 +00:00
Brion Vibber
f100e9ba48 * (bug 2408) page_is_new was inverted (whoops!) 2005-06-14 19:24:03 +00:00
Brion Vibber
cb45389b9c * Remove linkscc table code, no longer used. 2005-05-31 07:21:31 +00:00
Brion Vibber
1a9eff8498 Put global def for $wgDisableHardRedirects where it's used 2005-05-29 11:10:33 +00:00
Tim Starling
39b86844b6 forward-ported $wgDisableHardRedirects 2005-05-29 06:22:43 +00:00