aboutsummaryrefslogtreecommitdiffstats
path: root/includes/specials/SpecialMovepage.php
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed some doxygen warningsAlexandre Emsenhuber2010-07-031-1/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/68974
* Correct the address of the FSF in some of the GPL headersDerk-Jan Hartman2010-06-211-1/+1
| | | | | | | | | 59 Temple Place -> 51 Franklin Street Follow up to r68351 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/68354
* GPL Headers for all!Sam Reed2010-06-211-0/+18
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/68351
* Remove most named character references from outputAryeh Gregor2010-05-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Recommit of r66254 to trunk. This was just find extensions phase3 -iname '*.php' \! -iname '*.i18n.php' \! -iname 'Messages*.php' \! -iname '*_Messages.php' -exec sed -i 's/&nbsp;/\&#160;/g;s/&mdash;/―/g;s/&bull;/•/g;s/&aacute;/á/g;s/&acute;/´/g;s/&agrave;/à/g;s/&alpha;/α/g;s/&auml;/ä/g;s/&ccedil;/ç/g;s/&copy;/©/g;s/&darr;/↓/g;s/&deg;/°/g;s/&eacute;/é/g;s/&ecirc;/ê/g;s/&euml;/ë/g;s/&egrave;/è/g;s/&euro;/€/g;s/&harr;//g;s/&hellip;/…/g;s/&iacute;/í/g;s/&igrave;/ì/g;s/&larr;/←/g;s/&ldquo;/“/g;s/&middot;/·/g;s/&minus;/−/g;s/&ndash;/–/g;s/&oacute;/ó/g;s/&ocirc;/ô/g;s/&oelig;/œ/g;s/&ograve;/ò/g;s/&otilde;/õ/g;s/&ouml;/ö/g;s/&pound;/£/g;s/&prime;/′/g;s/&Prime;/″/g;s/&raquo;/»/g;s/&rarr;/→/g;s/&rdquo;/”/g;s/&Sigma;/Σ/g;s/&times;/×/g;s/&uacute;/ú/g;s/&uarr;/↑/g;s/&uuml;/ü/g;s/&yen;/¥/g' {} + followed by reading over every single line of the resulting diff and fixing a whole bunch of false positives. The reason for this change is given in <http://lists.wikimedia.org/pipermail/wikitech-l/2010-April/047617.html>. I cleared it with Tim and Brion on IRC before committing. It might cause a few problems, but I tried to be careful; please report any issues. I skipped all messages files. I plan to make a follow-up commit that alters wfMsgExt() with 'escapenoentities' to sanitize all the entities. That way, the only messages that will be problems will be ones that output raw HTML, and we want to get rid of those anyway. This should get rid of all named entities everywhere except messages. I skipped a few things like &nbsp that I noticed in manual inspection, because they weren't well-formed XML anyway. Also, to everyone who uses non-breaking spaces when they could use a normal space, or nothing at all, or CSS padding: I still hate you. Die. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/67090
* Bug 23699: Add trailing \n at the end of <div>s in wrapWikiMsg()Platonides2010-05-281-1/+1
| | | | | | | | Patch by Umherirrender Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/67029
* Follow-up r62358: Wrap warning message into a div with the generic "error" ↵Raimond Spekking2010-02-141-1/+1
| | | | | | | and a specific "mw-moveuserpage-warning" class Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/62457
* sort of fixing bug 14592: show warning when moving a user page that the user ↵Tobias2010-02-121-0/+3
| | | | | | | will not be renamed Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/62358
* Per Tim Starling, fix for r58008: use StringUtils::escapeRegexReplacement()Alexandre Emsenhuber2009-12-171-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60158
* Merged r56745 from wmf-deployment, with an adjusted comment. Fixes image ↵Tim Starling2009-12-151-0/+7
| | | | | | | redirect cache invalidation on move page in a replicated setup. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60061
* maxlength=200 for page move summary in HTML5Aryeh Gregor2009-12-151-1/+2
| | | | | | | | | | | | | | | | Bug 16921. maxlength is not allowed on textareas in HTML4, so this only works in HTML5. Note that Firefox 3.5 and Opera 9.22 ignore the attribute (didn't test IE), so this isn't a complete fix. Recent WebKit does respect the attribute (tested in Chrome 4). Of course, the length limit of 200 is a hack, just like for edit summaries, and we really need to move to a non-varchar(255) backend for all these fields. Relevant to r45517, r45571. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60054
* Mass convert NULL -> null. Left strings and comments alone, obviously.Chad Horohoe2009-12-111-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/59969
* (bug 21540) Missing globalRoan Kattouw2009-11-161-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/59148
* (bug 21455) Fixed "Watch this page" checkbox appearing on some special pages ↵Matěj Grabovský2009-11-141-6/+11
| | | | | | | even to non-logged in users Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/59058
* (bug 18019) Warn users when moving a file to a name in use on a shared repo.Alex Z2009-10-241-1/+19
| | | | | | | Allow only users with the 'reupload-shared' right to complete the move. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/58079
* * (bug 21234) Moving subpages of titles containing \\ now works properlyAlexandre Emsenhuber2009-10-221-1/+1
| | | | | | | Per http://www.php.net/manual/en/function.preg-replace.php \ must be doubled in $replacement Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/58008
* (bug 20275) Fixed LIKE queries on SQLite backendMax Semenik2009-10-211-1/+1
| | | | | | | | * All manually built LIKE queries in the core are replaced with a wrapper function Database::buildLike() * This function automatically performs all escaping, so Database::escapeLike() is now almost never used Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/57989
* * (bug 20797) Fixed check for double moving the base page when also moving ↵Alexandre Emsenhuber2009-09-251-4/+2
| | | | | | | subpages, now uses $ot->equals() rather than the ID of the old page, since this was checking it against the ID of the newly created redirect and thus never catched the double move Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/56920
* Follow-up on r56284: LogEventsList::showLogExtract gets associative array ↵Tobias2009-09-161-1/+1
| | | | | | | for additional parameters. Adjusted all calls that use additional parameters. Also improved Special:Blockip, which now uses those new parameters instead of using own functions. Fixed HistoryPage which was broken with r56251. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/56420
* Fix for r55535, per Brion's comment: convert x-coded strings in the target ↵Alexandre Emsenhuber2009-09-111-3/+5
| | | | | | | input and escape it before pre-filling the box Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/56188
* * (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can ↵Alexandre Emsenhuber2009-08-241-7/+11
| | | | | | | now use wikitext Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/55548
* * (bug 20365) Page name with with c/g/h/j/s/u + x are now correctly handled ↵Alexandre Emsenhuber2009-08-231-2/+2
| | | | | | | in Special:MovePage with Esperanto as content language Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/55535
* $wgMaximumMovedPages should only count moved pagesAryeh Gregor2009-08-181-5/+5
| | | | | | | | | | (bug 20289) Previously, some pages that weren't actually moved were counted against the limit by mistake. Whether it's sane for people to move pages back and forth by hand to get around the limit is open to debate, of course. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/55289
* Don't move twice when moving subpages to a subpageAryeh Gregor2009-08-181-1/+4
| | | | | | | | | | | | | | | | | | (bug 14817) When a page got moved to a subpage of itself, and "move subpages" was checked, the page got moved, then moved again, like Foo -> Foo/Bar -> Foo/Bar/Bar. There was an explicit check to prevent this, but the check was incorrect: it used $ot->getArticleID() after $ot had already been moved, so the ID was the redirect. The behavior of getArticleID() here isn't obvious, so I cached the ID in advance for clarity instead of switching to $nt->getArticleID(). Brief inspection of Title::moveSubpages() suggests that that would be affected too. The third place we have this code copy-pasted (bleh) is SpecialRenameuser, but that's not affected because usernames can't have slashes in them. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/55262
* Revert r54795: Didn't work as expected and don't have time to fix.Bryan Tong Minh2009-08-111-4/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/54807
* (bug 20052) Watch checkbox on Special:Movepage is checked by default when ↵Bryan Tong Minh2009-08-111-1/+4
| | | | | | | the old or new page is being watched. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/54795
* * replace use of deprecated makeKnownLinkObj() by linkKnown() in core ↵Siebrand Mazeland2009-06-071-5/+10
| | | | | | | | | | | | special pages * use array type parameter instead of string to escapeLocalUrl(), getFullURL() and getFullUrl() for readability * some code readability and indentation improvements Linking this to r51559 for CodeReview as there is some discussion there, and these changes are very similar. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/51572
* Proper casing for getDBkey()Siebrand Mazeland2009-05-241-4/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/50947
* (bug 18466) Add note or warning when overruling a move (semi-)protection ↵Siebrand Mazeland2009-05-171-0/+16
| | | | | | | (patch by Nakon with tweaks by Siebrand) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/50701
* Use link() instead of deprecated makeLinkObj() where possible.Siebrand Mazeland2009-05-081-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/50351
* Add mw-redirect class to subpage links as neededAaron Schulz2009-03-031-4/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/47998
* * Correct case for formatNumNiklas Laxström2009-02-221-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/47663
* Per siebrand and Nikerabbit (tweak for r47535):Alexandre Emsenhuber2009-02-201-3/+6
| | | | | | | | | * Reworded movesubpagetext to include the number of subpages * Fix spelling error in movesnoubpage * Allow plural in movesubpage Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/47536
* (bug 16762) Special:Movepage now shows a list of subpages when possibleAlexandre Emsenhuber2009-02-181-0/+29
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/47469
* Format number, and allow use of plural for 'move-subpages' and ↵Siebrand Mazeland2009-02-181-4/+7
| | | | | | | 'move-talk-subpages'. This allows for "(up to $1 {{PLURAL:$2|page|pages}}" or whichever construct is required for a correct message in a language. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/47439
* Remove a TODO from ApiMove and add a FIXME to SpecialMovepageRoan Kattouw2009-02-091-0/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/47042
* * (bug 17288) Improved messages for default language (English). Patch ↵Siebrand Mazeland2009-01-311-2/+5
| | | | | | | | | | | submitted by rememberthedot. Changes made by English language Wikipedia administrators. * Note max. number of moved subpages in 'move-subpages' and 'move-talk-subpages' * Register new messages * Rebuild all language files Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/46663
* Reverted r45517 " * (bug 16921) Add a maxlength for the reason field of the ↵Brion Vibber2009-01-081-3/+2
| | | | | | | | | page move form. Changed from 'textarea' to 'text' because 'textarea' does not support maxlength. Makes it consistent with all other reason fields." This field is deliberately not a single-line text input field because it caused confusion when it was. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/45571
* * (bug 16921) Add a maxlength for the reason field of the page move formRaimond Spekking2009-01-071-2/+3
| | | | | | | | Changed from 'textarea' to 'text' because 'textarea' does not support maxlength. Makes it consistent with all other reason fields. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/45517
* Add new messages 'movepage-moved-redirect' and 'movepage-moved-noredirect' ↵Raimond Spekking2009-01-061-0/+2
| | | | | | | per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/45288#c1135 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/45463
* Revert r45288 " * Add a new message 'movepage-moved-noredirect' for page ↵Brion Vibber2009-01-061-3/+3
| | | | | | | | | | | | | | moves with suppressed redirects * Tweak 'movepage-moved' a bit (rename of message seems unnecessary)" Creates duplication of core message text and incompatible change to existing message. Needs to be redone as separate messages. Reverted some, but not all, of the updates -- committing my work to avoid duplication. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/45460
* * Add a new message 'movepage-moved-noredirect' for page moves with ↵Raimond Spekking2009-01-011-3/+3
| | | | | | | | | suppressed redirects * Tweak 'movepage-moved' a bit (rename of message seems unnecessary) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/45288
* * Image moving over an existing file no longer throws a database errorVictor Vasiliev2008-12-291-0/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/45163
* Sub pages get a redirect on move, even when "Leave a redirect behind" is ↵Siebrand Mazeland2008-11-251-1/+1
| | | | | | | checked. Fixed. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/43944
* Fix freaky calling method for MovePageForm::showForm(), add docsTim Starling2008-10-111-1/+8
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/41968
* Fix error display on invalid destination title on GET, e.g. with URL ↵Tim Starling2008-10-101-12/+8
| | | | | | | /wiki/Special:MovePage/Main_Page?wpNewTitle=Main_Page . Broken by r35990 and again by r41343. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/41911
* Disable double redirect fixer by default, pending resolution of bug 15622, ↵Tim Starling2008-10-061-8/+13
| | | | | | | causes more harm than good. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/41716
* Allow humans to suppress redirect too, not just bots. Added human interface, ↵Tim Starling2008-10-061-2/+22
| | | | | | | gave sysops the right by default. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/41714
* Custom error message from the AbortMove hook is now passed in the same array ↵Alexandre Emsenhuber2008-10-021-1/+2
| | | | | | | as the hookaborted message Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/41555
* * Do not pass objects to functions that don't take themNiklas Laxström2008-09-281-14/+17
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/41343
* Cleanup for r40770:Aaron Schulz2008-09-131-10/+5
| | | | | | | | | * Clean up protection form * Fix syntax typo (use '==', not '=') * Fix $2 message in movepage cascade warning Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/40780