aboutsummaryrefslogtreecommitdiffstats
path: root/includes/EditPage.php
Commit message (Collapse)AuthorAgeFilesLines
* * (bug 4035) Fix prev/next revision links on edit pageBrion Vibber2005-12-011-2/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/11889
* * Avoid notice warning on edit with no User-Agent headerBrion Vibber2005-10-221-1/+11
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/11439
* typoBrion Vibber2005-07-301-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10315
* * (bug 2676) Apply a protective transformation on editing input/outputBrion Vibber2005-07-291-4/+124
| | | | | | | for browsers that hit the Unicode blacklist. Patch by plugwash. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10313
* profiling improvements and bug fixesTim Starling2005-07-251-0/+7
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10281
* whoopsBrion Vibber2005-07-211-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10223
* * (bug 275) Section duplication fixBrion Vibber2005-07-211-3/+10
| | | | | | | | | | | | | Clear the section and prepare merged-section full text for the edit form before save, so that late conflicts don't create a bogus form. Problems were: - duplication of entire page into the section on final save - conflict form showed bogus diff DF's analysis of the bug: http://bugzilla.wikimedia.org/show_bug.cgi?id=275#c11 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10222
* * Undo inconsistent editing behavior changeBrion Vibber2005-07-141-6/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10109
* don't try to prefill edit summary when section=new (relevant only for preload=)Erik Moeller2005-07-141-8/+8
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10108
* * (bug 2768) section=new on nonexistent talk page does not add headingErik Moeller2005-07-131-4/+18
| | | | | | | | | * (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 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10099
* new feature: $wgBlockAllowsUTEditTim Starling2005-07-071-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/10003
* don't just assume we get a valid title objectErik Moeller2005-07-021-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9835
* Add two new parameters for editing new pages:Erik Moeller2005-07-021-2/+16
| | | | | | | | | | | | | | | | | | | &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. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9833
* * (bug 2618) Fix regression from another fix; show initial preview forBrion Vibber2005-06-301-2/+14
| | | | | | | categories only if the page does not exist. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9784
* * (bug 2548) Keep summary on 'show changes' of section editBrion Vibber2005-06-291-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9777
* Fix previewJens Frank2005-06-291-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9773
* Fix previewJens Frank2005-06-291-1/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9772
* (bug 2564) Don't show editingold warning for recent revisionJens Frank2005-06-291-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9771
* * Don't show empty-page text in 'Show changes' on new pageBrion Vibber2005-06-291-1/+1
| | | | | | | Changed $noredir on Article::fetchContent() to a more reasonable default. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9762
* * (bug 2572) Fix edit conflict handlingBrion Vibber2005-06-281-9/+24
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9760
* Fix #1242: category list missing on edit pageAntoine Musso2005-06-271-2/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9706
* quotesAntoine Musso2005-06-261-6/+5
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9705
* (bug 2496) Allow MediaWiki:edithelppage to point to external pageJens Frank2005-06-251-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9659
* * (bug 996) Replace $wgWhitelistEdit with 'edit' permission; fixup UPGRADE ↵Brion Vibber2005-06-251-6/+18
| | | | | | | | | | documentation about edit and read whitelists. Patch by robla: http://bugzilla.wikimedia.org/attachment.cgi?id=645&action=view plus doc fixes Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9632
* * (bug 2053) Move comment whitespace trimming from edit page to save;Brion Vibber2005-06-011-1/+1
| | | | | | | leaves the whitespace from the section comment there on preview. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9296
* * Replace wfMungeToUtf8 and do_html_entity_decode with a single functionBrion Vibber2005-05-311-2/+1
| | | | | | | | that does both numeric and named chars: Sanitizer::decodeCharReferences * Removed some obsolete UTF-8 converter functions Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9284
* Reduce the risk of dropping edits during conflict resolutionAnders Wegge Jakobsen2005-05-281-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9225
* * Simple rate limiter for edits and page moves; set $wgRateLimitsBrion Vibber2005-05-271-0/+4
| | | | | | | | | | (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) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9202
* Revert __LCFIRST__ patch. Title objects should be treated as value objects;Brion Vibber2005-05-151-6/+1
| | | | | | | | any Title object for a given title should always act the same. Poking around with the guts of one to change some of its return values is not a good idea. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9066
* * (bug 2118) Added a __LCFIRST__ magic word for forcing the first character ofÆvar Arnfjörð Bjarmason2005-05-151-1/+6
| | | | | | | | | a pages heading to render in its lower case form on output, however the page is still saved under its upper case name in the database so this is purely an aesthetic change (unlike setting $wgCapitalLinks to false). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9062
* * (bug 2176) Section edit 'show changes' button works correctly nowBrion Vibber2005-05-151-14/+27
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9050
* Attempting to get enotif into working order. Many aesthetic changes, a fair ↵Tim Starling2005-05-141-2/+2
| | | | | | | number of bug fixes too. There's also a couple of non-enotif bug fixes in this commit somewhere. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/9029
* * (bug 2150) Fix tab indexes on edit formBrion Vibber2005-05-121-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8984
* * (bug 2064) Configurable JavaScript mimetype with $wgJsMimeTypeÆvar Arnfjörð Bjarmason2005-05-051-3/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8895
* * (bug 1989) Some messages converted to use addWikiText(), patch by Niklas ↵Ævar Arnfjörð Bjarmason2005-05-041-14/+9
| | | | | | | Laxstr��m Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8855
* * Removed   that was used as spacing for one of the buttons, looks bad inÆvar Arnfjörð Bjarmason2005-05-031-1/+1
| | | | | | | Konqueror and CSS is the right place to do this. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8848
* Forgot one of the wfEscapeJsString()sBrion Vibber2005-04-301-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8762
* * (bug 1877) JavaScript error in page editing in some localizationsBrion Vibber2005-04-301-2/+3
| | | | | | | Add wfEscapeJsString() function to do proper escaping of JavaScript string literals. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8757
* Restore htmlspecialchars() on the editToken value before outputting to HTML.Brion Vibber2005-04-281-1/+1
| | | | | | | While at the moment the editToken() value is safe for literal inclusion is HTML output, it's a black-box value to the rest of the code and such safety is not guaranteed. Escaping text values being placed in HTML/XML attributes or text elements is a regular part of the output process and it's a bad habit to leave it out on text values that are produced elsewhere; they can and do change (such as all those localized messages which are now user-editable...) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8713
* * Edit token no longer passed through htmlspecialchars()Ævar Arnfjörð Bjarmason2005-04-281-9/+6
| | | | | | | | * Removed getDiffText() (not used) * Syntax Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8710
* * (bug 1982) Fix loading of old text for section merging on edits.Brion Vibber2005-04-261-0/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8634
* Code cleanup. Database code should not be in EditPage.php. Moved to Article.phpJens Frank2005-04-031-18/+7
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/8035
* Implements #1714 by Tomer Chachamu : add   after save buttonAntoine Musso2005-03-301-20/+20
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7982
* Start removing the Latin-1 hacks. We're going pure UTF-8 for 1.5...Brion Vibber2005-03-261-2/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7912
* * Move editsectiononrightclick setup to JavaScript (it requires JS anyway)Brion Vibber2005-03-251-1/+0
| | | | | | | This lets us use the same parser cache for both settings of this option. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7867
* fix broken sidebarJens Frank2005-03-191-1/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7754
* BUG#15 Allow editors to view diff of their change before actually submitting ↵Jens Frank2005-03-191-10/+46
| | | | | | | an edit Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7753
* use wfMsgForContent for copyright policy link on edit page since it isErik Moeller2005-03-181-1/+1
| | | | | | | | | | probably going to point to the same page regardless of user language preference (is also used in other calls). Note that many language files don't use the proper format and instead have the license hardcoded, so this won't have any effect on them. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7744
* Changed the calling protocol for function wfRunHooks() in Hooks.php.Evan Prodromou2005-03-131-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously, this function used variable arguments to allow different hooks to pass different parameters. However, var args silently convert reference-calling to value-calling. So a call that used to work like this: # old wfRunHooks('SomeEvent', $param1, &$param2, $param3); ...now works like this: # new wfRunHooks('SomeEvent', array($param1, &$param2, $param3)); Hook functions can now change pass-by-reference parameters correctly (e.g. $param2 in the above example). All calls to wfRunHooks() were changed and tested, and the change was documented in docs/hooks.doc. This change was originally checked in on REL1_4 branch as a bugfix, but per vibber reverted and checked in to HEAD instead. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7679
* Kill a couple of <font> tagsBrion Vibber2005-02-251-3/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/7524