aboutsummaryrefslogtreecommitdiffstats
path: root/includes/SpecialUndelete.php
Commit message (Collapse)AuthorAgeFilesLines
* * (bug 3448) Set page_len on undeleteBrion Vibber2005-09-121-1/+13
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10989
* backported ns selector & some other fixesNiklas Laxström2005-08-021-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10352
* * (bug 2597) Don't crash when undeleting an image description pageBrion Vibber2005-06-291-1/+1
| | | | | | | Added a backtrace on Image constructor given bogus title for debugging aid Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9766
* Fix #2273, probably need backport in 1.4Antoine Musso2005-06-271-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9713
* * (bug 2018) Fix deletion for new schema, make work on MySQL 3 againBrion Vibber2005-05-011-4/+19
| | | | | | | | | | | | | | | | | | | 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. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8772
* snip redundant lineBrion Vibber2005-04-211-2/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8496
* * (bug 1163) Special:Undelete showed oldest revision instead of newestBrion Vibber2005-04-211-1/+2
| | | | | | | | Patch from bug with slight modification (include the limit; if there are many we only want one here) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8492
* *(bug 902) applied a small "uga" by Niklas Laxstr��m to add aÆvar Arnfjörð Bjarmason2005-04-011-0/+4
| | | | | | | Special:Contributions in the case of an anonymous user Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8018
* * Appllied patch for bug 1686, image metadata cache by Andrius Ramanauskas.Tim Starling2005-03-131-1/+7
| | | | | | | | | * Changed memcached invalidation style in this patch to recache instead of deleting, which is better for concurrency * Added a fix for the media link problem, differnet to my fix for the same problem in REL1_4 but either should work. * Fixed image deletion, it didn't work at all. Not sure when it was broken or if it's been reported. It was working in REL1_4. It was a trivial error. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7678
* Change interface to Article::updateRevisionOn() to take a Revision object ↵Brion Vibber2005-03-131-2/+1
| | | | | | | instead of pieces Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7666
* Add page_len field with byte length of current revision text, sinceBrion Vibber2005-03-121-2/+2
| | | | | | | | | | revision text is now stored separately and may be compressed. This field is indexed which speeds up Special:Shortpages & Longpages. Removed no longer used wfArticleIsStub(). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7653
* * Make undeletion (more or less) work with new schemaBrion Vibber2005-03-121-102/+103
| | | | | | | * Add ar_rev_id field to archive to preserve revision IDs across deletion+undeletion Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7649
* War on cruft: commentBlock() usage, use a styled <span> for comments instead ↵Brion Vibber2005-02-221-2/+2
| | | | | | | | | of mix of <em> and <i> Remove some unused functions in contribs Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7516
* remove inverse_timestamp wherever it is found and disable wfInvertTimestamp()Domas Mituzas2005-02-211-3/+2
| | | | | | | dear mysql3, try to remember how beautiful filesorts are, you're so good at it. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7515
* Audit tweaks: extra post checks, markup fixes.Brion Vibber2005-02-211-1/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7498
* fix phpdoc commentAntoine Musso2005-01-271-1/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7278
* Start splitting back-end functions from the Article user-interface class.Brion Vibber2004-12-191-3/+5
| | | | | | | Fix Special:Export for new schema. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6712
* Correcting bugs due to double-prefixing table names. Removing obsolete ↵Tim Starling2004-10-241-1/+1
| | | | | | | Database member functions. Adding comments to Database.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6052
* Bug 589: make random selection slightly more random. PHP'sWil Mahan2004-10-111-1/+1
| | | | | | | | | | | mt_rand() function has a maximum value of 2^31-1, which is small enough that duplicate values can occur due to the Birthday paradox, e.g. on the English Wikipedia. To fix this, add a wfRandom() function that calls mt_rand() twice to get the desired amount of randomness. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5820
* Some doc commentsBrion Vibber2004-09-291-0/+42
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5592
* Clean up ugly SQL for db wrapper funcs, begin on PostgreSQL support.Brion Vibber2004-09-291-18/+22
| | | | | | | | Now includes proper timestamp formats mostly, but doesn't work on restore because the inverse_timestamp bit is PG-unfriendly. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5591
* Tietew's patch for optionally selecting revisions on undeletion.Brion Vibber2004-09-291-27/+79
| | | | | | | Bug 507: http://bugzilla.wikipedia.org/show_bug.cgi?id=507 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5590
* Make FauxRequest actually work ;PBrion Vibber2004-09-291-1/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5588
* Back out kturner's old table restructure for now.Brion Vibber2004-09-261-3/+3
| | | | | | | This will require downtiime on upgrade, so we're not going to do it until we have a better idea of the cost and can make all necessary changes at once to minimize it. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5552
* remove old_namespace and old_title from old table.River Tarnell2004-09-261-3/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5541
* Third batch of files modified to replace selected wgLang with wgContLangZheng Zhu2004-09-241-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5465
* Split files and classes in different packages for phpdocumentor. I probably ↵Antoine Musso2004-09-031-0/+6
| | | | | | | changed some double quotes to single and used function foo () { shema Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5069
* Changing comments layout preparing for generated documentation with ↵Antoine Musso2004-09-021-2/+13
| | | | | | | Phpdocumentor Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5032
* * Refactor to separate the database bits from the UI bitsBrion Vibber2004-09-021-147/+202
| | | | | | | | * Make output valid XHTML * Use the standard comment formatter and provide user links Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5024
* Snarf the deletion log entries on the undelete page. Make the log itemsBrion Vibber2004-08-291-7/+12
| | | | | | | and the archived history quite distinct by adding headings. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4972
* NP_WIKIPEDIA => NP_PROJECT, and code readability stuffArne Heizmann2004-08-281-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4953
* Special:Log and the logging table -- unified logging scariness!Brion Vibber2004-08-241-2/+2
| | | | | | | | | | | | | | | | Replaces the ugly, often breaking, manually archived log pages with a nice clean table which can be sorted, trimmed, viewed in pieces, etc. You can see all logged actions by some user, or affecting some page, and can combine the views of all all logs in one. There are probably still some broken things in here, but I want this committed before the patch gets any bigger. recentchanges table is altered to make rc_namespace signed so Special: links can be listed in it. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4919
* Fix typos that keep undelete from working with new db codeBrion Vibber2004-08-031-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4491
* Fix for [ 981176 ] Special:Undelete doesn't show the last commentBrion Vibber2004-08-021-3/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4482
* * Support for table name prefixes throughout the code. No support yet for ↵Tim Starling2004-07-181-47/+61
| | | | | | | | | | | | | converting static SQL, which also means no installation. But it has been tested by creating the tables in the ordinary way and then renaming them * DB_WRITE now called DB_MASTER, DB_READ now called DB_SLAVE * Converted to use SQL wrapper functions instead of direct SQL in various places * Experimental method for preserving the chronological order of events when slave servers are used. Untested. * Fixes to the new post-parse existence test feature * Some.. other stuff Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4318
* Some escaping fixesBrion Vibber2004-06-181-8/+10
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/4105
* Refactored (object-orientified) to make them play nice with $wgRequestTim Starling2004-04-011-116/+149
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2896
* * Changed inclusion syntax to allow e.g. {{stub}}Tim Starling2004-03-201-14/+15
| | | | | | | | | * Split MediaWiki namespace into MediaWiki and Template (requires changes to all language files) * Purge links to on edit of Template namespace * General refactoring of purging and cache invalidation code Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2769
* Replace the random boolean parameters on Title::getURL() with a set ofBrion Vibber2004-03-071-1/+1
| | | | | | | | | | | | | | | | | | practical, clear methods: Title::getLocalURL() - "/wiki/index.php/Foobar" or "/wiki/index.php?title=Foobar&action=edit" Title::getFullUrl() - ditto with $wgServer on the front Title::getInternalUrl() - ditto with $wgInternalServer on the front (for some squid-related functions) Title::escapeLocalUrl() - local URL escaped for HTML output Title::escapeFullUrl() - full URL escaped for HTML output All take an optional query parameter. Title::getURL(), wfFullUrl() and wfFullUrlE() are now officially deprecated and will result in instant death. wfLocalUrl() and wfLocalUrlE() will be killed shortly; they are still used in the language files. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2649
* * Fixed magic quotes in $_REQUEST, in Setup.phpTim Starling2004-03-061-1/+2
| | | | | | | | | | | | * Converted many instances of globals from the query to $_REQUEST * Renamed near-useless Title::getURL() to Title::getPartialURL() * Created new Title::getURL(), to replace wfLocalUrl, wfLocalUrlE, wfFullUrl and wfFullUrlE. Replaced most instances throughout the code * In Parser.php, generalised stripping of <nowiki>, <pre> and <math> to allow more general use such as nesting * Moved body of Article::preSaveTransform to Parser.php * Put lots of comments in Title.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2621
* Fix for compatibility with short_open_tag = OffBrion Vibber2004-02-181-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2485
* Squid branch merge. Calls to purge functions in Article.php and special pages.Gabriel Wicke2004-02-021-0/+8
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2426
* Added hooks for article create/delete/edit events and moved linkscc calls thereMr. E232004-01-051-6/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2259
* Moved linkscc SQL details into LinkCache for cleaner code. Also cleaned up ↵Mr. E232004-01-051-3/+1
| | | | | | | LinkCache a bit. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2257
* Start support for compressing entries in the old table with gzdeflate.Brion Vibber2004-01-031-4/+4
| | | | | | | | | Adds compressOld.php to batch-compress existing entries. Article::getRevisionText will do decompression on a given row if necessary (marked by old_flags). Requires zlib. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2247
* Mark undeleted redirect pages as redirects (bug #855372), and update theBrion Vibber2003-12-261-5/+19
| | | | | | | touched time on cur when restoring old entries to fix cache. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2241
* Complain if use asks for page that's not archivedBrion Vibber2003-12-061-5/+11
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2148
* Purging relevant linkscc entries on page undelete.Mr. E232003-11-281-1/+8
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2089
* Revert globals patch pending further workBrion Vibber2003-11-241-2/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2045
* Commit JeLuF's register_globals fixes, first phaseBrion Vibber2003-11-231-0/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/2042