Commit graph

80 commits

Author SHA1 Message Date
Rob Church
05c9960bc9 Revert per discussion w/ Brion 2006-01-16 01:19:12 +00:00
Rob Church
c151976868 Bug 2757: 'Page move completed' screen should contain link to original page with &redirect=no 2006-01-16 00:13:01 +00:00
Antoine Musso
772e3e1cd3 REVERT: Bug 3835: add a cancel link on special:movepage 2006-01-08 16:23:51 +00:00
Antoine Musso
5c05e4ef39 Bug 3835: add a cancel link on special:movepage 2006-01-08 13:49:01 +00:00
Ævar Arnfjörð Bjarmason
a26d5a49d7 * s~\t+$~~ 2006-01-07 13:31:29 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec * s~ +$~~ 2006-01-07 13:09:30 +00:00
Tim Starling
ac563af7e7 Prevent accidental deletion during page move. 2006-01-06 12:50:37 +00:00
Tim Starling
81217f55a0 * Added templatelinks table. The table currently represents a literal list of templates included from each article. That is, the table contains pages which were actually loaded during parsing, not the markup which went into resolving their names.
* Ended the role of $wgLinkCache in link updates. Instead, links (and related entities) are registered in the ParserOutput object during a parse. The LinksUpdate constructor now takes a ParserOutput object as a parameter. $wgLinkCache is still used, but only as a cache of article IDs.
* Because the link list is now saved and restored in the parser cache, meta tag keywords now work on parser cache hits. Some refactoring took place in this area.
* Rendering of the HTML for category links has moved from Parser to OutputPage.
* Did some general pottering around in Article.php, such as allowing an Article object to be created with a specified revision ID, thereby optionally removing the dependence on $wgRequest. Not used at the current time.
* A few documentation tweaks.
2005-12-30 09:33:11 +00:00
Magnus Manske
4a3cd50cba Hooks! Hoooooks! 2005-12-10 22:06:34 +00:00
Antoine Musso
2ca68a256d Clean up unused globals! 2005-12-04 18:27:59 +00:00
Antoine Musso
42aa28d06f Fix textarea 2005-10-22 16:11:04 +00:00
Tom Gilder
492406db23 added <label>s 2005-10-14 13:40:35 +00:00
Antoine Musso
3984d287be Fix #3350: missing label for move talk page 2005-09-18 11:09:47 +00:00
Brion Vibber
b60e432785 * (bug 3280) Respect 'move' group permission on page moves
Note: if you turn *on* moves for anonymous users this will
break the log a bit, since the entries won't join to the
user table by id.
2005-08-26 21:40:21 +00:00
Brion Vibber
3e83ea3651 * Rearranged Special:Movepage form to reduce confusion between destination
title and reason input boxes
2005-08-11 08:08:36 +00:00
Brion Vibber
5486bae49e * Fix talk page move handling 2005-07-07 12:40:02 +00:00
Brion Vibber
0ea2bcdbea * (bug 1130) Reorder old title checks; use title null instead of empty
string check, encode the pretty title (spaces instead of underscores)
2005-07-07 06:51:23 +00:00
Brion Vibber
753cfc1553 * Various code cleanup and HTML escaping fixlets on page history, contribs etc
* fix page history with table prefix
* fix paging on history
* switch 'earliest' and 'latest' link order to fix 'prev' and 'next'
* use null where appropriate
* switch some messages to plaintext or wikitext
2005-06-29 06:16:03 +00:00
Tim Starling
904042c07c ported site_stats change from 1.4 2005-06-19 00:21:49 +00:00
Brion Vibber
e46d19e72d * Simple rate limiter for edits and page moves; set $wgRateLimits
(somewhat experimental; currently needs memcached)
* Pretty up HTTP error output a bit (HTML instead of text/plain)
* Genericise DNS blacklist support a bit, func for Blitzed OPM
  (not yet used)
2005-05-27 11:03:37 +00:00
Ævar Arnfjörð Bjarmason
6ad9f69422 * Added support for paramaters like Special:Movepage/Page_to_move 2005-05-07 04:51:33 +00:00
Ævar Arnfjörð Bjarmason
f4820d4b68 * Fixed a fatal XML error (the size attribute in one input element was unquoted) 2005-05-07 03:30:08 +00:00
Brion Vibber
1fec77671c Silence notice error by setting talk variable explicitly to blank when not moving talk. 2005-04-27 20:24:51 +00:00
Brion Vibber
60610e24ef php's on crack. 2005-04-25 09:32:06 +00:00
Brion Vibber
5a4abfcfc3 Move page tweaks:
* Handle attempt to move over self with a particular error message.
* Handle attempt to move page to invalid namespace or interwiki with a
particular error message.
* Don't offer to delete the target page if it's a self-move or illegal move!
2005-04-25 09:25:06 +00:00
Ævar Arnfjörð Bjarmason
cc78910021 * Yummie ? : syntax. 2005-04-03 18:10:04 +00:00
Tim Starling
42e3de1523 "Delete to make way for move" feature, for sysops only, including integration with move page revert 2005-04-03 16:20:12 +00:00
Tim Starling
8f0f91659d Page move undo feature 2005-04-03 15:18:51 +00:00
Tim Starling
76fe43ba65 Allow the user to specify a reason for page moves 2005-04-03 14:45:42 +00:00
Brion Vibber
388d95d7b8 De-cruftification continues.
* Replacing Namespace:: functions with NS_ constants
* Replacing make*Link() on strings with make*LinkObj() on Title objects
* Using more legible convenience methods on User and Title
* Start using a common Linker::commentBlock() to wrap the formatComment() bits in the surrounding formatting
2005-02-21 12:23:52 +00:00
Brion Vibber
5a9e8c8c62 Audit tweaks: extra post checks, markup fixes. 2005-02-21 01:56:50 +00:00
Antoine Musso
1afab4e6e7 * Attach revision to the new page id. Original article is now accessible again.
* missing global $wgUser that produced a notice at hook call
* FIXME: sucess redirection for Special:Movepage pass through the parser, breaking the header relocation :-/
2005-01-31 05:11:12 +00:00
Antoine Musso
8f8bdca420 Stop showing moves directly in recentchanges, instead use the logging system (that add an entry in recentchanges). 2005-01-31 04:07:56 +00:00
Antoine Musso
9dd455446c Fix #1130 : special:movepage not showing actual title but encoded one. 2005-01-20 09:29:18 +00:00
Brion Vibber
f92d1f7588 Move page tweaks:
* Allow [[0]] to be renamed
* Fix the $wgRawHtml check so it actually works
* (bug 776) Old title as default for new title when moving pages [modified patch from guanaco]
2004-10-26 03:51:59 +00:00
River Tarnell
69ba56aa9e fix xss attack if wgRawHtml is enabled 2004-10-14 07:29:38 +00:00
Wil Mahan
da2c08db84 Move length check to secureAndSplit(), so it is always used.
Also, don't query the DB for the max length, but use a
hardcoded 255.
2004-10-05 00:17:25 +00:00
River Tarnell
6f49fc4e9d forwardport better fix (thanks brion) 2004-09-14 05:35:34 +00:00
River Tarnell
650a5c5ac9 merge # moving fix from 1.3 2004-09-14 04:57:15 +00:00
Antoine Musso
ba2afcd9fa Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema 2004-09-03 23:00:01 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Tim Starling
fb9684cd96 fix of bug added in 1.37 2004-08-15 07:43:37 +00:00
Arne Heizmann
5424706764 English 2004-08-14 22:21:30 +00:00
Antoine Musso
8628ce8310 Fix sourceforge bug #850012 : Page move doesn't update article count
It works on my local wiki unfortunatly I have neither memcached nor
squid so the code might need some tweaking.
2004-08-14 20:09:47 +00:00
Antoine Musso
d6a9faa1f4 Code standardization:
* if($foo == 1) instead of 1 == $foo
* double to single quote translations
2004-08-14 19:52:18 +00:00
Magnus Manske
605f0d728f This should fix bug 975072 (Move page doesn't update categories page) 2004-08-06 16:09:45 +00:00
Tim Starling
f32bf27848 $_REQUEST -> $wgRequest 2004-07-24 10:56:32 +00:00
Tim Starling
451df485da restrictions on Special:Movepage 2004-07-10 01:28:25 +00:00
Tim Starling
8f22cb45b1 include_once -> require_once 2004-05-07 13:43:10 +00:00
Brion Vibber
11bf1cd3b5 Disable renaming of category pages (this causes a number of problems
currently which make it a dubious thing to try to do). Fix HTML for
error display on move. Add error class to style sheets. Fix error call
in protect. Remove dupe function that was moved from skin to output.
2004-04-25 01:01:38 +00:00