Niklas Laxström [Sun, 14 Jan 2007 12:14:28 +0000 (12:14 +0000)]
* Typos, rewording
Brion Vibber [Sun, 14 Jan 2007 12:03:56 +0000 (12:03 +0000)]
* (bug 8632) Fix regression in page protection null edit update
r19095 removed the code that updated the page record's cache timestamp and revision number, leaving the wrong page_latest reference.
Putting it back, merging in the other query to clean out the old page_restrictions field.
Brion Vibber [Sun, 14 Jan 2007 10:55:23 +0000 (10:55 +0000)]
Temporary(?) optimization; only update templatelinks on view if the page has cascading restrictions.
Brion Vibber [Sun, 14 Jan 2007 10:21:53 +0000 (10:21 +0000)]
PLEASE TEST YOUR ONE-LINE COMMITS THANKS
Aryeh Gregor [Sun, 14 Jan 2007 02:30:26 +0000 (02:30 +0000)]
(bug 8622) Clean up check for whether watch checkbox exists. Thanks to Brion for suggesting the path of sanity.
Leon Weber [Sun, 14 Jan 2007 01:31:08 +0000 (01:31 +0000)]
Made User::edits() use user_editcounts. If it has not been initialized, do so.
Aryeh Gregor [Sun, 14 Jan 2007 01:28:13 +0000 (01:28 +0000)]
Use browser default for printing size, don't force to 11pt.
Leon Weber [Sun, 14 Jan 2007 01:00:11 +0000 (01:00 +0000)]
bleh, typo :-(
Leon Weber [Sun, 14 Jan 2007 00:58:17 +0000 (00:58 +0000)]
Made Linke::userToolLinks() show the contribs link red when the user has zero edits
Tim Starling [Sat, 13 Jan 2007 22:42:26 +0000 (22:42 +0000)]
Removed old debugging code.
Brion Vibber [Sat, 13 Jan 2007 22:36:32 +0000 (22:36 +0000)]
Quick and dirty guard against a FakeTitle making its way into message transformation.
This could break job processing when a message using {{PAGENAME}} or similar got interpreted;
for instance using {{int:noarticeltext}}.
The message transformation uses $wgTitle, which is... probably not super.
Better fix might be to distinguish inline transformation in some nice way,
so the parser would use its own title object already set locally... or something.
ugh!
Tim Starling [Sat, 13 Jan 2007 22:29:32 +0000 (22:29 +0000)]
Removed broken __END__ feature.
Antoine Musso [Sat, 13 Jan 2007 21:33:35 +0000 (21:33 +0000)]
remove evil whitespaces
Antoine Musso [Sat, 13 Jan 2007 19:58:40 +0000 (19:58 +0000)]
clean up spaces :p
Antoine Musso [Sat, 13 Jan 2007 12:58:33 +0000 (12:58 +0000)]
kill whitespaces
Brion Vibber [Sat, 13 Jan 2007 05:54:01 +0000 (05:54 +0000)]
use full specials list; fixes bug 3529
Brion Vibber [Sat, 13 Jan 2007 05:02:41 +0000 (05:02 +0000)]
* Unmaintained Oracle support files have been removed.
Brion Vibber [Sat, 13 Jan 2007 04:25:25 +0000 (04:25 +0000)]
* Add 'purge' privilege to replace the hardcoded check for login state in
determining whether action=purge can be done via GET. Switching the
permission on for anons can be helpful for benchmarking.
Brion Vibber [Sat, 13 Jan 2007 04:22:47 +0000 (04:22 +0000)]
use number_format on bytes/sec in output to make it easier to read
Brion Vibber [Sat, 13 Jan 2007 03:22:20 +0000 (03:22 +0000)]
* fix last commit so quickUserCan() actually skips the cascading query
* use quick check for move tab privilege check
* drop quickUserCan(Edit|Move|*); just provide one quickUserCan and use the permission keys explicitly. the other (non-quick) funcs are i think deprecated, so marking them so
* adjusted some whitespace
Brion Vibber [Sat, 13 Jan 2007 02:57:58 +0000 (02:57 +0000)]
fix benchmark test data downloads; fix link for english text; find another page for korean text (page was deleted)
Andrew Garrett [Sat, 13 Jan 2007 02:38:40 +0000 (02:38 +0000)]
whoops, left a debugging die() in there
Andrew Garrett [Sat, 13 Jan 2007 02:37:02 +0000 (02:37 +0000)]
Possibly partial patch to make userCanEdit avoid running cascade-protection queries on page-view.
Brion Vibber [Sat, 13 Jan 2007 02:30:59 +0000 (02:30 +0000)]
* (bug 7250) Updated Unicode normalization tables to Unicode 5.0
Brion Vibber [Sat, 13 Jan 2007 02:15:19 +0000 (02:15 +0000)]
adjust CleanUpTest to run with PHPUnit 3
Brion Vibber [Sat, 13 Jan 2007 01:56:56 +0000 (01:56 +0000)]
those who do not learn from history are doomed to repeat it
Brion Vibber [Sat, 13 Jan 2007 01:52:33 +0000 (01:52 +0000)]
* Initialise site_stats table at upgrade time if data was missing
Ilmari Karonen [Sat, 13 Jan 2007 01:14:54 +0000 (01:14 +0000)]
add new convenience function addPortletLink() to replace en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/addLink
Ilmari Karonen [Sat, 13 Jan 2007 00:15:51 +0000 (00:15 +0000)]
set doneOnloadHook _before_ calling any hooks, so they don't get run twice if there's an error in one of them. (not bumping $wgStyleVersion, since I just did)
Ilmari Karonen [Sat, 13 Jan 2007 00:11:08 +0000 (00:11 +0000)]
split the new-style accesskey/tooltip code from akeytt() into a new function, keep the old akeytt() code for compatibility only. (not bumping $wgStyleVersion, since I just did)
Ilmari Karonen [Fri, 12 Jan 2007 23:06:06 +0000 (23:06 +0000)]
akeytt(id) was broken, fix it; also make sure window.ta is defined, since many user scripts assume it is
Antoine Musso [Fri, 12 Jan 2007 22:32:55 +0000 (22:32 +0000)]
comment
Leon Weber [Fri, 12 Jan 2007 22:24:37 +0000 (22:24 +0000)]
* German localisation patch by raymond
* (bug 8595) French AntiSpoof localisation patch by Korrigan
* (bug 8596) French BoardVote localisation patch by Korrigan
* (bug 8597) French CategoryTree localisation patch by Korrigan
* (bug 8609) French Cite localisation patch by Korrigan
* (bug 8612) Portugues extensions localisation patch by 555
Greg Sabino Mullane [Fri, 12 Jan 2007 19:55:05 +0000 (19:55 +0000)]
Note recent PG changes.
Ivan Lanin [Fri, 12 Jan 2007 19:36:11 +0000 (19:36 +0000)]
Updates for Indonesian (id) localization. New translations and improvements.
Greg Sabino Mullane [Fri, 12 Jan 2007 19:30:12 +0000 (19:30 +0000)]
Add 2 new select-clause columns to groupby clause.
Aryeh Gregor [Fri, 12 Jan 2007 18:47:26 +0000 (18:47 +0000)]
* "subject to protection" -> "protected"
* "transcluded" -> "included"
Niklas Laxström [Fri, 12 Jan 2007 17:43:25 +0000 (17:43 +0000)]
* Some updates, typos
Rotem Liss [Fri, 12 Jan 2007 16:54:55 +0000 (16:54 +0000)]
Rebuilding Hebrew file to match the changes in writeMessagesArray.inc.
Rotem Liss [Fri, 12 Jan 2007 16:53:01 +0000 (16:53 +0000)]
Fixes.
Rotem Liss [Fri, 12 Jan 2007 16:49:12 +0000 (16:49 +0000)]
Moving tooltip-recreate near all the other tooltips.
Rotem Liss [Fri, 12 Jan 2007 16:45:57 +0000 (16:45 +0000)]
Removing the unorganised messages from the middle of MessagesEn.php (were organised above).
Rotem Liss [Fri, 12 Jan 2007 16:43:15 +0000 (16:43 +0000)]
Reorganising the tooltip and accesskey messages in en and he again; fixing messages.inc and messageTypes.inc.
Rotem Liss [Fri, 12 Jan 2007 16:12:12 +0000 (16:12 +0000)]
Update.
Niklas Laxström [Fri, 12 Jan 2007 15:35:59 +0000 (15:35 +0000)]
* (bug 8607) Update for Swedish language (sv)
Niklas Laxström [Fri, 12 Jan 2007 14:55:54 +0000 (14:55 +0000)]
* (bug 8606) Update for Belarusian Translation (be)
Andrew Garrett [Fri, 12 Jan 2007 13:25:11 +0000 (13:25 +0000)]
Missing dollarsign re-added
Andrew Garrett [Fri, 12 Jan 2007 12:54:29 +0000 (12:54 +0000)]
Interface message that sounded crap but is now un-crap
Domas Mituzas [Fri, 12 Jan 2007 12:50:37 +0000 (12:50 +0000)]
Wipe out memcached code from WatchedItem: does not make sense to cache (user,page), when hitrate is just 50% (and we lived without this cache forever)
Andrew Garrett [Fri, 12 Jan 2007 12:46:01 +0000 (12:46 +0000)]
"Two"
Nick Jenkins [Fri, 12 Jan 2007 10:03:51 +0000 (10:03 +0000)]
For the "includes/" directory:
* removing unused local vars
* removing used global declarations
* adding FIXMEs against extract() calls and lines that seem to be using uninitialized variables
* adding some array() declarations.
Andrew Garrett [Fri, 12 Jan 2007 09:10:30 +0000 (09:10 +0000)]
Various,
Brion Vibber [Fri, 12 Jan 2007 08:42:36 +0000 (08:42 +0000)]
* Pass e-mail and real name fields to AuthPlugin::addUser, as additional
optional fields, which may be considered useful at registration time.
This fixes the problem where the e-mail address given for a new account
got replaced with null. Woops!
Andrew Garrett [Fri, 12 Jan 2007 08:37:07 +0000 (08:37 +0000)]
Various tweaks for last commit, including a merge of the functions to determine if an image/page is cascade-protected; message changes, et cetera
Andrew Garrett [Fri, 12 Jan 2007 07:31:34 +0000 (07:31 +0000)]
Display MULTIPLE culprit pages for cascading protection in the messages. Also improve performance by separating boolean 'is this page affected by a cascading protection' from array 'who are the culprits for this cascading protection' -- both are cached in member variables of the Title object.
Nick Jenkins [Fri, 12 Jan 2007 07:26:32 +0000 (07:26 +0000)]
For the "languages/" directory :
* removing unused global declarations.
* adding one or two if/else braces.
* adding one or two array declarations.
Nick Jenkins [Fri, 12 Jan 2007 06:39:14 +0000 (06:39 +0000)]
$repos not defined, using {$this->path} instead.
Nick Jenkins [Fri, 12 Jan 2007 06:35:10 +0000 (06:35 +0000)]
This would actually do a SQL query of literally 'TRUNCATE $tableName;' - switching to "" quotes so that $tableName is substituted with the correct value.
Brion Vibber [Fri, 12 Jan 2007 06:17:13 +0000 (06:17 +0000)]
fix typo which caused page restrictions to be loaded too often
Nick Jenkins [Fri, 12 Jan 2007 06:10:52 +0000 (06:10 +0000)]
Replacing "$hash" with "$this->hash" - without this would result in cache class not caching anything.
Nick Jenkins [Fri, 12 Jan 2007 06:08:39 +0000 (06:08 +0000)]
$newdb not defined, I'm guessing that it just shouldn't be here, but please change if this is incorrect.
Nick Jenkins [Fri, 12 Jan 2007 06:05:33 +0000 (06:05 +0000)]
$doShared not defined, I'm guessing that $shared was what was intended, but please change if this is incorrect.
Nick Jenkins [Fri, 12 Jan 2007 06:02:56 +0000 (06:02 +0000)]
$fullName not defined, changing to $path instead.
Nick Jenkins [Fri, 12 Jan 2007 06:00:51 +0000 (06:00 +0000)]
Database update will work better if $dbw is initialized.
Nick Jenkins [Fri, 12 Jan 2007 05:50:03 +0000 (05:50 +0000)]
For the maintenance/ directory files:
* Removing unused local vars.
* Removing unused global declarations.
* removing one or two pass-by-refs parameter declarations where not required by PHP5.
* Adding some local variable declarations / initializations (initialized to either to array(), null) to keep static code analyzer happy.
* Changing lines like this: "extract( $dbw->tableNames( 'page', 'archive' ) );" to be like this: "list ($page, $archive) = $dbw->tableNamesN( 'page', 'archive' );".
* Add one or two braces to if-else blocks.
Nick Jenkins [Fri, 12 Jan 2007 05:44:25 +0000 (05:44 +0000)]
Prevent E_STRICT errors on file upload of the following type:
* Strict Standards: Undefined index: application/ogg in includes/MimeMagic.php on line 154
* Strict Standards: Undefined index: ogm in includes/MimeMagic.php on line 163
Aryeh Gregor [Fri, 12 Jan 2007 04:59:26 +0000 (04:59 +0000)]
* (bug 8002) Math should render left-to-right even in right-to-left wikis
Andrew Garrett [Fri, 12 Jan 2007 04:43:33 +0000 (04:43 +0000)]
UI stuff for the cascading protection feature - warnings for sysops editing cascading protected pages (including which page the protection has come from), more useful errors for users (including which page the protection has come from), and a note at the top of the protect page when trying to unprotect a page affected by cascading protection to the effect of 'you can't affect the cascading protection here'.
Ilmari Karonen [Fri, 12 Jan 2007 03:36:46 +0000 (03:36 +0000)]
(bug 3446) Add user preference to hide page content below diffs, can be
overridden by adding diffonly=1 or diffonly=0 to the URL of the diff page
Aryeh Gregor [Fri, 12 Jan 2007 01:58:51 +0000 (01:58 +0000)]
Add remaining messages
Aryeh Gregor [Fri, 12 Jan 2007 01:48:20 +0000 (01:48 +0000)]
* Brion says Opera Mac uses Shift-Esc-, not Ctrl-
* Show "Ctrl-", not "Control-", for standardization
Andrew Garrett [Fri, 12 Jan 2007 01:44:33 +0000 (01:44 +0000)]
Restore backwards-compatibility for old types of restrictions; wipe page_restrictions column in update for page_restrictions and on updateRestrictions
Ilmari Karonen [Fri, 12 Jan 2007 00:51:03 +0000 (00:51 +0000)]
fix untranslated message
Brion Vibber [Fri, 12 Jan 2007 00:35:26 +0000 (00:35 +0000)]
Pretty up parser test output:
* include old failing tests in --record output, at the end of the changed items
* suppress failure notices during run if --record and --quiet are both specified, so they're not duped
* show relative paths for the test input files
* moved FiveUpgrade::relativize() to wfRelativePath() for wider use; using DIRECTORY_SEPARATOR instead of '/' but might explode on windows, haven't tried it ;) won't handle different drives/UNC servers right, probably
Domas Mituzas [Fri, 12 Jan 2007 00:34:42 +0000 (00:34 +0000)]
PHP and types ;-) mcaccess--, dbaccess--
Domas Mituzas [Fri, 12 Jan 2007 00:10:49 +0000 (00:10 +0000)]
someone was lost in type conversion too ;-)
Domas Mituzas [Thu, 11 Jan 2007 23:51:05 +0000 (23:51 +0000)]
I suppose.... someone forgot to uncomment? ;-)
( mcaccess--, dbaccess--)
Brion Vibber [Thu, 11 Jan 2007 23:36:05 +0000 (23:36 +0000)]
remove intrusive debugging line added in r19111
Niklas Laxström [Thu, 11 Jan 2007 21:09:58 +0000 (21:09 +0000)]
* Some updates
Aryeh Gregor [Thu, 11 Jan 2007 20:55:27 +0000 (20:55 +0000)]
* Escape '$' also for double quotes
* This appears to be ready for mass production use. Any objections to committing php rebuildLanguage.php --lang=all?
Aryeh Gregor [Thu, 11 Jan 2007 20:49:16 +0000 (20:49 +0000)]
* Update for new messages
* Use addcslashes() for more reliable escaping (previously would hiccup on the possibly erroneous string "\'" in MessagesBr.php)
Aryeh Gregor [Thu, 11 Jan 2007 20:15:03 +0000 (20:15 +0000)]
* When both ' and " occur in a message, escape the less common of the two
* Use a couple of simpler constructs in place of fors/foreaches
* Why don't we use this script routinely for all message files?
Rotem Liss [Thu, 11 Jan 2007 18:33:24 +0000 (18:33 +0000)]
Updating release notes - updated French translation.
Rotem Liss [Thu, 11 Jan 2007 18:32:11 +0000 (18:32 +0000)]
(bug 8586) Update for French language (fr)
Greg Sabino Mullane [Thu, 11 Jan 2007 16:05:29 +0000 (16:05 +0000)]
Overhaul postgres update section - standardize version - start 1.10 section.
Greg Sabino Mullane [Thu, 11 Jan 2007 15:57:41 +0000 (15:57 +0000)]
Add page_restrictions table.
Greg Sabino Mullane [Thu, 11 Jan 2007 15:57:25 +0000 (15:57 +0000)]
Minor spacing.
Greg Sabino Mullane [Thu, 11 Jan 2007 15:56:37 +0000 (15:56 +0000)]
Better output of filenames.
Rotem Liss [Thu, 11 Jan 2007 15:45:46 +0000 (15:45 +0000)]
Update.
Leon Weber [Thu, 11 Jan 2007 15:29:35 +0000 (15:29 +0000)]
* Extension documentation updates
* German localisation updates
Patch by raymond.
Leon Weber [Thu, 11 Jan 2007 14:50:34 +0000 (14:50 +0000)]
* (bug 8567) Added hook RawPageViewBeforeOutput just before the text is blown out in action=raw,
so extensions might influence the output.
Niklas Laxström [Thu, 11 Jan 2007 12:03:19 +0000 (12:03 +0000)]
* Trying to fix the mess after r19100
Ivan Lanin [Thu, 11 Jan 2007 08:34:47 +0000 (08:34 +0000)]
Updates for Indonesian (id) localisation. New translations (block-log-flags...) and improvements.
Ilmari Karonen [Thu, 11 Jan 2007 04:21:00 +0000 (04:21 +0000)]
whitespace
Ilmari Karonen [Thu, 11 Jan 2007 04:13:11 +0000 (04:13 +0000)]
make default system messages show on "view source"
Ilmari Karonen [Thu, 11 Jan 2007 04:11:26 +0000 (04:11 +0000)]
Allow customizing the minimum per-namespace protection level via $wgNamespaceProtection.
By default, editing NS_MEDIAWIKI requires "editinterface" permission, just as before.
Ilmari Karonen [Thu, 11 Jan 2007 02:50:59 +0000 (02:50 +0000)]
Improve the Finnish translation of prefs-help-realname. The new version
is somewhat more specific than the English one, but at least it gets rid
of the mistranslation of "credit".
Brion Vibber [Thu, 11 Jan 2007 02:20:50 +0000 (02:20 +0000)]
spanish update from titoxd
Ilmari Karonen [Thu, 11 Jan 2007 02:20:19 +0000 (02:20 +0000)]
Partially rv r19101+r19102, fix noise in error console by explicitly
referring to window.ta. Also make a local copy to avoid it getting
clobbered below if doId is given; this seems reasonable, hopefully it
won't break any hidden assumptions anywhere.
Brion Vibber [Thu, 11 Jan 2007 01:53:48 +0000 (01:53 +0000)]
fix migration of page_restrictions fields from old versions of mw that didn't have move-protection option (field values like 'sysop')