Andrew Garrett [Fri, 16 Feb 2007 07:39:33 +0000 (07:39 +0000)]
Fix for ProtectionForm - consider expiry times invalid if theyre in the past. Also a *very* minor typo fix from my previous work on alignment in the expiry box.
Andrew Garrett [Fri, 16 Feb 2007 07:21:03 +0000 (07:21 +0000)]
Fix for ProtectionForm - make mwProtect-reason retain its value when errors are spat as errors are :-)
Nick Jenkins [Fri, 16 Feb 2007 06:54:13 +0000 (06:54 +0000)]
(bug 8999) User.php gives "undefined user editcount" PHP notice.
Nick Jenkins [Fri, 16 Feb 2007 03:43:40 +0000 (03:43 +0000)]
(bug 3678) Allow disabling [[MediaWiki:aboutsite]] in the same way as
[[MediaWiki:Disclaimers]]; Also means that if any of the footer links are
disabled in the wiki's default language (by setting to "-"), they'll also
be disabled in other languages too (e.g. if the user specifies uselang=fr),
which was probably want the site admin wanted to happen anyway.
Aryeh Gregor [Fri, 16 Feb 2007 02:31:36 +0000 (02:31 +0000)]
(bug 8910) Correct language name for Aramaic (arc)
Brion Vibber [Thu, 15 Feb 2007 23:40:05 +0000 (23:40 +0000)]
* (bug 8992) Fix a remaining raw use of REQUEST_URI in history
Raimond Spekking [Thu, 15 Feb 2007 20:33:29 +0000 (20:33 +0000)]
Rebuild Esperanto message file
Message update by maha, linkfixes by arnomane
Raimond Spekking [Thu, 15 Feb 2007 19:06:12 +0000 (19:06 +0000)]
Update German localization
Domas Mituzas [Thu, 15 Feb 2007 18:48:12 +0000 (18:48 +0000)]
Use AlphabeticPager for Special:Listusers
Domas Mituzas [Thu, 15 Feb 2007 15:41:21 +0000 (15:41 +0000)]
small comment on top of function (about previous commit :)
Domas Mituzas [Thu, 15 Feb 2007 15:39:21 +0000 (15:39 +0000)]
run a LinksBatch pass on all links being printed.
Domas Mituzas [Thu, 15 Feb 2007 15:38:28 +0000 (15:38 +0000)]
Add ResultSet::rewind()
Raimond Spekking [Thu, 15 Feb 2007 14:45:05 +0000 (14:45 +0000)]
* (bug 8995) Update Japanese messages
patch by Kkkdc@jawiki
Domas Mituzas [Thu, 15 Feb 2007 14:27:15 +0000 (14:27 +0000)]
* store user_editcount inside cached user object
* load editcount together with user.*, avoid multiple queries
-- this removes additional query (or queries)
Daniel Kinzler [Thu, 15 Feb 2007 13:24:49 +0000 (13:24 +0000)]
enforcing read permission in RC feeds; NOTE: people watching restricted wikis using RSS will no longer see diffs!
Andrew Garrett [Thu, 15 Feb 2007 11:18:47 +0000 (11:18 +0000)]
Fix an earlier commit - I forgot to put pr_id in updaters.inc
Andrew Garrett [Thu, 15 Feb 2007 11:16:42 +0000 (11:16 +0000)]
Fix up Special:Protectedpages to use a ReverseChronologicalPager, and the new pr_id field like it should. This will improve performance, optimise, and make the data real-time as opposed to cached.
Daniel Kinzler [Thu, 15 Feb 2007 01:24:33 +0000 (01:24 +0000)]
Bug 8824: check read permission when exporting
Daniel Kinzler [Thu, 15 Feb 2007 01:23:47 +0000 (01:23 +0000)]
wgNonincludableNamespaces option to disable inclusion for specific namespaces. Helps to make read-protection work
Leon Weber [Wed, 14 Feb 2007 16:07:18 +0000 (16:07 +0000)]
* (bug 8988) Added missing $ in error messages.
Leon Weber [Wed, 14 Feb 2007 00:56:36 +0000 (00:56 +0000)]
* (bug 8980) Georgian localisation patch by Malafaya <malafaya@clix.pt>.
Antoine Musso [Tue, 13 Feb 2007 22:12:47 +0000 (22:12 +0000)]
Implements 8978 : update for georgian language.
Patch by <malafaya@clix.pt>
Aaron Schulz [Tue, 13 Feb 2007 20:56:31 +0000 (20:56 +0000)]
* parsemag comment
Niklas Laxström [Tue, 13 Feb 2007 20:32:15 +0000 (20:32 +0000)]
* Reverting stuff that I shouldn't have committed
Raimond Spekking [Tue, 13 Feb 2007 15:19:29 +0000 (15:19 +0000)]
* Adding German template for SpecialCite.php
* Update URL of meta page
* Some minor German updates
Brion Vibber [Mon, 12 Feb 2007 21:33:22 +0000 (21:33 +0000)]
Revert r19877; no reason is given for it but it breaks things such as parameter substitution of text that includes {{braces}}. An example of breakage is the automated deletion comments, where it expands template contents unexpectedly
Antoine Musso [Mon, 12 Feb 2007 20:22:34 +0000 (20:22 +0000)]
Fix r19896 for bug 8944 (pressing 'u' in vim before committing is a bad idea).
Antoine Musso [Mon, 12 Feb 2007 20:18:05 +0000 (20:18 +0000)]
Fix #8944: The deprecated is_a() function is used in StubObjects.php
Rotem Liss [Mon, 12 Feb 2007 19:40:29 +0000 (19:40 +0000)]
Fix.
Aaron Schulz [Mon, 12 Feb 2007 01:02:35 +0000 (01:02 +0000)]
* Added useragent and an xff function and header
Niklas Laxström [Sun, 11 Feb 2007 19:36:36 +0000 (19:36 +0000)]
* Removed remaining references to listinterwikis
Domas Mituzas [Sun, 11 Feb 2007 11:29:33 +0000 (11:29 +0000)]
If 'tables' is a string that starts with a space, treat it as user-enforced FROM definition.
Development sponsored by: Dirty Hacks Inc.
Aaron Schulz [Sun, 11 Feb 2007 06:31:06 +0000 (06:31 +0000)]
* Get messages to actually transform (use magic phrases)
Ilmari Karonen [Sat, 10 Feb 2007 22:03:31 +0000 (22:03 +0000)]
kluge to fix wovel harmony for "MediaWiki" (and other names with a "wiki" suffix) in LanguageFi::convertGrammar()
Raimond Spekking [Sat, 10 Feb 2007 20:20:29 +0000 (20:20 +0000)]
Update Russian localization
fixing hardcoded links
Patch by Alexander Sigachov
Ivan Lanin [Sat, 10 Feb 2007 20:14:53 +0000 (20:14 +0000)]
Some new and updated localisations for Indonesian language (id).
Raimond Spekking [Sat, 10 Feb 2007 20:07:14 +0000 (20:07 +0000)]
Update Danish and Greek localizations
Patch by Arnomane
Niklas Laxström [Sat, 10 Feb 2007 15:30:31 +0000 (15:30 +0000)]
* Splitted checkboxes and buttons to their own functions
Niklas Laxström [Sat, 10 Feb 2007 13:39:22 +0000 (13:39 +0000)]
* Some fixes
Rotem Liss [Sat, 10 Feb 2007 13:31:49 +0000 (13:31 +0000)]
Update.
Rotem Liss [Sat, 10 Feb 2007 13:24:15 +0000 (13:24 +0000)]
Rebuild.
Rotem Liss [Sat, 10 Feb 2007 13:22:33 +0000 (13:22 +0000)]
Fix.
Rotem Liss [Sat, 10 Feb 2007 13:21:45 +0000 (13:21 +0000)]
Fixes.
Rotem Liss [Sat, 10 Feb 2007 13:11:49 +0000 (13:11 +0000)]
I think these messages should not be above everything else.
Rotem Liss [Sat, 10 Feb 2007 13:06:46 +0000 (13:06 +0000)]
Adding the live preview messages.
Domas Mituzas [Sat, 10 Feb 2007 12:41:55 +0000 (12:41 +0000)]
CategoriesPage no more
Raimond Spekking [Fri, 9 Feb 2007 22:19:54 +0000 (22:19 +0000)]
Suppress external weblink arrow for uploading a new image version
Niklas Laxström [Fri, 9 Feb 2007 21:54:11 +0000 (21:54 +0000)]
* Reformatted
Raimond Spekking [Fri, 9 Feb 2007 21:48:39 +0000 (21:48 +0000)]
Updates
Niklas Laxström [Fri, 9 Feb 2007 21:43:59 +0000 (21:43 +0000)]
* Updates
Niklas Laxström [Fri, 9 Feb 2007 21:39:38 +0000 (21:39 +0000)]
* Missing description
Niklas Laxström [Fri, 9 Feb 2007 20:42:52 +0000 (20:42 +0000)]
* whoops, restoring two messages
Niklas Laxström [Fri, 9 Feb 2007 20:34:57 +0000 (20:34 +0000)]
* Some enhancements to live preview
Brion Vibber [Fri, 9 Feb 2007 19:44:30 +0000 (19:44 +0000)]
wgMessageStrucutre -> wgMessageStructure
Brion Vibber [Fri, 9 Feb 2007 19:41:31 +0000 (19:41 +0000)]
Revert r19843 for now; unreviewed schema changes
Raimond Spekking [Fri, 9 Feb 2007 18:34:25 +0000 (18:34 +0000)]
Update German localization
Patch by Arnomane
Leon Weber [Fri, 9 Feb 2007 18:30:34 +0000 (18:30 +0000)]
< Arnomane> all internal links are now together in one group
Raimond Spekking [Fri, 9 Feb 2007 15:48:40 +0000 (15:48 +0000)]
Missing unit 'px' added. W3C CSS validator
whines about it:
"Invalid number : width only 0 can be a length. You
must put an unit after your number : 150"
Raimond Spekking [Fri, 9 Feb 2007 14:32:26 +0000 (14:32 +0000)]
* (bug 8861) Update Belarussian Special pages aliases
patch created from file by Eugene Zelenko
Roman Nosov [Fri, 9 Feb 2007 11:22:13 +0000 (11:22 +0000)]
Revision table tree patch (No objections have been raised so i'm committing it to trunk)
Raimond Spekking [Fri, 9 Feb 2007 10:32:04 +0000 (10:32 +0000)]
* Message names changed for AlphabeticPager introduced
with r19758 for better localisations.
Tim Starling [Fri, 9 Feb 2007 09:28:35 +0000 (09:28 +0000)]
Reducing the number of stat calls is all very well, but please don't introduce any remote inclusion vulnerabilities while you're at it.
Nick Jenkins [Fri, 9 Feb 2007 07:04:30 +0000 (07:04 +0000)]
Resync trunk fuzz tester to be current.
Brion Vibber [Fri, 9 Feb 2007 05:37:44 +0000 (05:37 +0000)]
* Add 'ParserTestTables' hook to expand the list of temporary tables copied
by the parser test harness; use for extensions which require the presence
of other tables while they work.
Nick Jenkins [Fri, 9 Feb 2007 05:36:56 +0000 (05:36 +0000)]
Prevent some unnecessary lstat system calls, generated by include or require directives.
This can be done either by:
* Using explicit full paths, using the $IP global for the installation directory full path, and then working down the tree from there.
* Using explicit full paths, using the "dirname(__FILE__)" directive to get a full directory path for the includer file.
* Occasionally removing the line altogether, and then for some files the inclusion is handled by the autoloader.
For example, if the "extensions/wikihiero/wh_main.php" file does an include or require on "wh_list.php", then PHP does the following:
* tries to open "wiki/wh_list.php", and fails.
* tries to open "wiki/includes/wh_list.php", and fails.
* tries to open "wiki/languages/wh_list.php", and fails.
* tries to open "wiki/extensions/wikihiero/wh_list.php", and succeeds.
So in this example, the first 3 calls can be prevented if PHP is told where the file is.
Testing Method: On a Linux box, run these commands to attach strace to all the apache2 processes, and log their system calls to a temporary file, then generate some activity, and then stop the strace:
-----------------------------------
rm /tmp/strace-log.txt
strace -tt -o /tmp/strace-log.txt -p `pidof apache2 | sed 's/ / -p /g'` &
php maintenance/fuzz-tester.php --keep-passed-tests --include-binary --max-runtime=3 > /tmp/strace-tests.txt
killall -9 strace
grep "No such file or directory" /tmp/strace-log.txt | sort -u
-----------------------------------
Any failed file stats will be marked with: "-1 ENOENT (No such file or directory)".
Also:
* Strict Standards: Undefined offset: 230 in includes/normal/UtfNormal.php on line 637
* Strict Standards: iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input string in languages/Language.php on line 776
[Note: Partial only - despite adding "//IGNORE", it still seems to be possible with some
messed- up binary input to cause PHP 5.1.2's iconv() function to squeal like a stuck pig].
* Update one $fname variable (method belongs to HistoryBlobStub class).
Aaron Schulz [Fri, 9 Feb 2007 00:24:37 +0000 (00:24 +0000)]
*Add a space to balance show/hide link
Raimond Spekking [Thu, 8 Feb 2007 21:38:21 +0000 (21:38 +0000)]
Update German localization
Rotem Liss [Thu, 8 Feb 2007 18:40:35 +0000 (18:40 +0000)]
Adding a Yiddish alias for REDIRECT, per request.
Niklas Laxström [Wed, 7 Feb 2007 21:31:28 +0000 (21:31 +0000)]
* Fix for 8708
Niklas Laxström [Wed, 7 Feb 2007 21:20:43 +0000 (21:20 +0000)]
* (bug 8877) Update for Latin localization (la)
Greg Sabino Mullane [Wed, 7 Feb 2007 18:47:04 +0000 (18:47 +0000)]
Make user_ip in user_newtalk a TEXT, as it is not an IP field.
Niklas Laxström [Wed, 7 Feb 2007 18:30:37 +0000 (18:30 +0000)]
* (bug 8915) Update to Czech localization (cs)
Greg Sabino Mullane [Wed, 7 Feb 2007 18:13:00 +0000 (18:13 +0000)]
Rules to allow deletion from archive[2]
Niklas Laxström [Wed, 7 Feb 2007 18:12:55 +0000 (18:12 +0000)]
* Don't transform mainpagedocfooter
Niklas Laxström [Wed, 7 Feb 2007 17:50:18 +0000 (17:50 +0000)]
* Some updates
Niklas Laxström [Wed, 7 Feb 2007 16:09:18 +0000 (16:09 +0000)]
* Missing items
Greg Sabino Mullane [Wed, 7 Feb 2007 16:06:08 +0000 (16:06 +0000)]
Fix Postgres archive rule definition.
Greg Sabino Mullane [Wed, 7 Feb 2007 16:02:21 +0000 (16:02 +0000)]
Whitespace fixing, change to_date to to_timestamp for archive rule
Niklas Laxström [Wed, 7 Feb 2007 16:01:57 +0000 (16:01 +0000)]
* Whitespace
Niklas Laxström [Wed, 7 Feb 2007 15:59:27 +0000 (15:59 +0000)]
* Updates by Helix84
Greg Sabino Mullane [Wed, 7 Feb 2007 15:34:39 +0000 (15:34 +0000)]
Escape exclamation marks for now.
Ivan Lanin [Wed, 7 Feb 2007 06:23:32 +0000 (06:23 +0000)]
Updates for Indonesian (id) localisation; following some advice on the mailing list.
Aryeh Gregor [Wed, 7 Feb 2007 03:30:56 +0000 (03:30 +0000)]
* Fix regression from r19781 causing the little arrow next to section names in history comments to disappear: call to Skin::commentBlock short-circuits other stuff in Skin::revComment. Thanks to cesarb for spotting the issue.
Raimond Spekking [Tue, 6 Feb 2007 16:59:02 +0000 (16:59 +0000)]
* (bug 8903) typo
Brion Vibber [Tue, 6 Feb 2007 07:45:06 +0000 (07:45 +0000)]
* (bug 8897) Fix whitespace removal for interlanguage links with link prefix
Nick Jenkins [Tue, 6 Feb 2007 06:59:55 +0000 (06:59 +0000)]
Add a mechanism to parserTests when run in --compare or --record mode, to give information about
a test's history. This may help to differentiate tests that have never passed, versus new regressions.
Also for a regression the range of dates and SVN version numbers in which it first appeared will be
given, which may help isolate the cause of the regression; equally fixed tests will show a range
to indicate when the test was fixed.
Here is an example of the output (using a parserTests.txt modified specifically to cause all
the conditions to occur) :
---------------------------------------------------------------------------------------
root@bling:/var/www/hosts/mediawiki/wiki# php maintenance/parserTests.php --compare --quick --quiet --color=no
This is MediaWiki version 1.10alpha (r19799).
Reading tests from "maintenance/parserTests.txt"...
This is dvips(k) 5.95a Copyright 2005 Radical Eye Software (www.radicaleye.com)
' TeX output 2007.02.06:0630' ->
<tex.pro><texps.pro>. <cmr12.pfb>[1]
Reading tests from "../extensions/Cite/citeParserTests.txt"...
Reading tests from "../extensions/LabeledSectionTransclusion/lstParserTests.txt"...
1 previously failing test(s) now PASSING! :)
* URL-encoding in URL functions (single parameter) [Fixed between 05-Feb-2007 23:58:17, 1.10alpha (r19799) and 06-Feb-2007 06:30:34, 1.10alpha (r19799)]
1 previously PASSING test(s) removed o_O
* Prevent conversion of text with -{}- tags (language variants) [First recorded appearance: 02-Jan-2007 04:30:32, 1.9alpha (r18762)]
1 new PASSING test(s) :)
* Fake passing test [Has never failed]
1 previously passing test(s) now FAILING! :(
* Plain link to URL [Introduced between 05-Feb-2007 23:58:17, 1.10alpha (r19799) and 06-Feb-2007 06:30:34, 1.10alpha (r19799)]
1 previously FAILING test(s) removed O_o
* TODO: Link containing double-single-quotes '' (bug 4598) [First recorded appearance: 15-Nov-2006 02:53:34, 1.9alpha (r17686)]
1 new FAILING test(s) :(
* Blah blah fake test [Has never passed]
18 still FAILING test(s) :(
* URL-encoding in URL functions (multiple parameters) [Has never passed]
* TODO: Table security: embedded pipes (http://mail.wikipedia.org/pipermail/wikitech-l/2006-April/034637.html) [Has never passed]
* TODO: message transform: <noinclude> in transcluded template (bug 4926) [Has never passed]
* TODO: message transform: <onlyinclude> in transcluded template (bug 4926) [Has never passed]
* TODO: HTML bullet list, unclosed tags (bug 5497) [Has never passed]
* TODO: HTML ordered list, unclosed tags (bug 5497) [Has never passed]
* TODO: HTML nested bullet list, open tags (bug 5497) [Has never passed]
* TODO: HTML nested ordered list, open tags (bug 5497) [Has never passed]
* TODO: Inline HTML vs wiki block nesting [Has never passed]
* TODO: Mixing markup for italics and bold [Has never passed]
* TODO: 5 quotes, code coverage +1 line [Has never passed]
* TODO: dt/dd/dl test [Has never passed]
* TODO: Images with the "|" character in the comment [Has never passed]
* TODO: Parents of subpages, two levels up, without trailing slash or name. [Has never passed]
* TODO: Parents of subpages, two levels up, with lots of extra trailing slashes. [Has never passed]
* Blank ref followed by ref with content [Introduced between 31-Jan-2007 23:52:43, 1.10alpha (r19702) and 05-Feb-2007 23:58:17, 1.10alpha (r19799)]
* Regression: non-blank ref "0" followed by ref with content [Introduced between 31-Jan-2007 23:52:43, 1.10alpha (r19702) and 05-Feb-2007 23:58:17, 1.10alpha (r19799)]
* Regression sanity check: non-blank ref "1" followed by ref with content [Introduced between 31-Jan-2007 23:52:43, 1.10alpha (r19702) and 05-Feb-2007 23:58:17, 1.10alpha (r19799)]
Passed 509 of 529 tests (96.22%)... 20 tests failed!
root@bling:/var/www/hosts/mediawiki/wiki#
---------------------------------------------------------------------------------------
Lastly please note that this is my first play with the MW database API, so if there are better
ways of doing any of the database query stuff than in this patch, then please don't be shy
about telling me how.
Ivan Lanin [Tue, 6 Feb 2007 06:27:06 +0000 (06:27 +0000)]
Some new and updated localisations for Indonesian language (id)
Aaron Schulz [Mon, 5 Feb 2007 23:28:17 +0000 (23:28 +0000)]
* Fix exception with "undo", use revText() for proper diffs
Aaron Schulz [Mon, 5 Feb 2007 23:26:26 +0000 (23:26 +0000)]
* Add revText() to get non-public revision if user can, add rev_deleted constant for later use.
Leon Weber [Mon, 5 Feb 2007 21:44:37 +0000 (21:44 +0000)]
Another patch by Arnomane, some en fixes.
Brion Vibber [Mon, 5 Feb 2007 21:42:48 +0000 (21:42 +0000)]
* Clean up session checks to better handle the case where the session was
opened during the current request. May help with some caching corner
cases.
Leon Weber [Mon, 5 Feb 2007 21:08:27 +0000 (21:08 +0000)]
* (bug 8846) see r19724
Brion Vibber [Mon, 5 Feb 2007 17:44:19 +0000 (17:44 +0000)]
* (bug 8875) Show printable link in MonoBook sidebar for locally nonexistent
pages; perhaps useful for categories and shared images
Raimond Spekking [Mon, 5 Feb 2007 16:44:10 +0000 (16:44 +0000)]
* (bug 8892) Lithuanian translation update
Patch by Edgaras
Raimond Spekking [Mon, 5 Feb 2007 11:29:33 +0000 (11:29 +0000)]
* Change of date format because there is no
abbreviation for the month "Mai" (may)
* One new message
Niklas Laxström [Mon, 5 Feb 2007 10:18:57 +0000 (10:18 +0000)]
* (bug 8882) Russian translation update
Domas Mituzas [Mon, 5 Feb 2007 09:13:36 +0000 (09:13 +0000)]
In case tables are created as MyISAM, use row hints for MySQL <5.0 to avoid 4GB limit
Aaron Schulz [Mon, 5 Feb 2007 06:12:31 +0000 (06:12 +0000)]
*Enforce Hiderevision right better and some minor cleanup.
Domas Mituzas [Sun, 4 Feb 2007 23:36:21 +0000 (23:36 +0000)]
* Fix some syntax cruft & formatting
Brion Vibber [Sun, 4 Feb 2007 18:42:07 +0000 (18:42 +0000)]
Cleanup from r19742:
* use diffchange class alone for backwards compatibility with old renderings and diff plugins
* set text-decoration: none in diffs in RSS/Atom feeds
* fix bad diff regex in UTF-8 RandomTest script