From 4e7635ce60db4e5ced77310fe7aa9e2de9837ed7 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Tue, 26 Feb 2008 01:56:38 +0000 Subject: [PATCH] Fix up RELEASE-NOTES a bit (move config stuff to config changes, rephrase $wgFeed descriptions, punctuate more consistently, better explain filepageexists change) --- RELEASE-NOTES | 13 ++++++------- includes/DefaultSettings.php | 4 ++-- includes/Sanitizer.php | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f47044645e..59ef8374d7 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -20,7 +20,10 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN === Configuration changes in 1.13 === -* ... +* New option $wgFeed can be set false to turn off syndication feeds +* (bug 13137) Allow setting 'editprotected' right separately from 'protect', + so groups may optionally edit protected pages without being able to protect + pages themselves === New features in 1.13 === @@ -29,10 +32,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Don't show edit permissions errors on a red link click, just redirect to the article. This is so that readers who don't know what a red link is aren't confused when they are told they are range-blocked. -* One can turn off syndicatino feeds by setting $wgFeed to false -* (bug 13137) Allow setting 'editprotected' right separately from 'protect', - so groups may optionally edit protected pages without being able to protect - pages themselves === Bug fixes in 1.13 === @@ -40,8 +39,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13084) Increase size of source/destination filename fields in upload form * (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge * (bug 13140) Show parent categories in category namespace -* (bug 13149) Correctly format 'fileexists' message on Upload page. -* Make filepageexists accurate. +* (bug 13149) Correctly format 'fileexists' message on Upload page +* Make the default filepageexists message accurate * (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email * (bug 13022) Fix upload from URL on PHP 5.0.x diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 35d0a50979..351928d3ed 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2162,10 +2162,10 @@ $wgExternalDiffEngine = false; /** Use RC Patrolling to check for vandalism */ $wgUseRCPatrol = true; -/** Use new page patrolling to check new pages on special:Newpages */ +/** Use new page patrolling to check new pages on Special:Newpages */ $wgUseNPPatrol = true; -/** Provide syndication feeds (RSS, Atom) for eg REcentchanges, Newpages. */ +/** Provide syndication feeds (RSS, Atom) for, e.g., Recentchanges, Newpages */ $wgFeed = true; /** Set maximum number of results to return in syndication feeds (RSS, Atom) for diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index c1c8daf37a..fd6b987304 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -797,7 +797,7 @@ class Sanitizer { $id = urlencode( Sanitizer::decodeCharReferences( strtr( $id, ' ', '_' ) ) ); $id = str_replace( array_keys( $replace ), array_values( $replace ), $id ); - + if( ~$flags & Sanitizer::INITIAL_NONLETTER && !preg_match( '/[a-zA-Z]/', $id[0] ) ) { // Initial character must be a letter! -- 2.20.1