Commit graph

356 commits

Author SHA1 Message Date
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
Tim Starling
a7c938d0c3 ported $wgAntiLockFlags from REL1_4 2005-05-29 05:54:04 +00:00
Brion Vibber
e0ce5a322e * links and brokenlinks tables merged to pagelinks; this will reduce pain
dealing with moves and deletes of widely-linked pages.

The updaters should be fixed up to understand future versions without the
tables there without breaking upgrades.
2005-05-26 10:23:36 +00:00
Erik Moeller
4358f0ef72 move default parameter to the right per recommendations
on http://www.php.net/manual/en/functions.arguments.php
2005-05-21 17:41:30 +00:00
Erik Moeller
93c6491a09 PHP4 doesn't like null references, so splitting function 2005-05-21 17:26:42 +00:00
Erik Moeller
249ca2beb5 bug #73: category sortkeys are set to "Special:Upload" instead of the
filename when categories are added from the upload screen.
2005-05-21 16:56:50 +00:00
Magnus Manske
48bf97d21a validation updates 2005-05-21 14:09:24 +00:00
Anders Wegge Jakobsen
50173cab0f * (bug 2151) The delete summary now includes editor name, if only one has edited the article. 2005-05-21 07:11:57 +00:00
Tim Starling
f8bda5c174 fixed deletion reason autofill 2005-05-20 21:59:15 +00:00
Tim Starling
554bbccf31 Attempting to get enotif into working order. Many aesthetic changes, a fair number of bug fixes too. There's also a couple of non-enotif bug fixes in this commit somewhere. 2005-05-14 17:55:04 +00:00
Ævar Arnfjörð Bjarmason
db9ac6cb43 * Moved <div class='patrollink'> into Article.php rather than declare it in
every markaspatrolledlink message.
2005-05-05 21:37:54 +00:00
Jens Frank
0f037a806e SCHEMA_WORK - use pageTable instead of curTable 2005-05-02 22:03:56 +00:00
Brion Vibber
c1ac86e560 * (bug 2018) Fix deletion for new schema, make work on MySQL 3 again
The archive table now has an ar_text_id field which points at the
text record containing the deleted revision's text. Older archive
records containing self-contained text are still supported and
will be restored by adding a new revision.

For now, revision and page records are still removed on deletion,
but text records are left intact. This will keep block compression
and immutable alternate storage backends working relatively cleanly.
A rev_deleted flag field is reserved in revision for further future
changes but that won't happen in the 1.5 timeframe.

There is no longer a delete-on-join which was present in earlier
1.5 revisions, so deletion should work on MySQL 3.x again.
2005-05-01 08:07:25 +00:00
Ævar Arnfjörð Bjarmason
94d76a40f9 * Using isIP(), avoids code duplication. 2005-04-28 03:50:52 +00:00
Brion Vibber
86ae933601 * (bug 1982) Fix loading of old text for section merging on edits. 2005-04-26 09:52:11 +00:00
Brion Vibber
a437d6e205 * (bug 1963) Fix deletion log link when $wgCapitalLinks is off
Also, it was the wrong link! Original fix didn't get ported up from REL1_4.
2005-04-24 05:06:09 +00:00
Tim Starling
8c8ef55be5 * When an image is changed, invalidate pages that use it.
* Introduced image "broken links" allowing the user to quickly upload an image with that name
* "Upload a new version of this image" link from the image description page
2005-04-17 08:30:15 +00:00
Tim Starling
eca22088e7 Don't use the parser cache for non-existent articles 2005-04-17 08:08:13 +00:00
Ævar Arnfjörð Bjarmason
813fd1db1a * Changed Wikipedia to MediaWiki. 2005-04-12 02:18:57 +00:00
Ævar Arnfjörð Bjarmason
76bb2dbc40 * Some clown with CVS access deleted our MS Word files and replaced them with
textfiles, changing all references to them.
2005-04-12 02:07:16 +00:00
Tim Starling
87894797aa more missing variable bugs 2005-04-10 18:23:11 +00:00
Tim Starling
a3502095c5 bug, missing timestamp in insertNewArticle 2005-04-10 17:00:20 +00:00
Zheng Zhu
ffd7b6829e cache the title text of an article when there is different ways of presenting the title in different language variants 2005-04-07 23:04:08 +00:00
Jens Frank
0267606f57 Code cleanup. Database code should not be in EditPage.php. Moved to Article.php 2005-04-03 07:01:29 +00:00