Brion Vibber [Fri, 13 Aug 2004 15:57:24 +0000 (15:57 +0000)]
Remove ugly <special_version_prefix> and <special_version_postfix> from
the Special:Version page. Use them as wikitext if they are not set to
Brion Vibber [Fri, 13 Aug 2004 15:55:59 +0000 (15:55 +0000)]
Antiglobalization!
* Remove some unused and some useless functions from GlobalSettings.php
* wfEscapeHTML() replaced with PHP built-in htmlspecialchars().
* Moved some functions into Parser.php and Image.php
Guillaume Blanchard [Fri, 13 Aug 2004 14:15:21 +0000 (14:15 +0000)]
MAX_INCLUDE_REPEAT 5 => 20
Fix non-breaking space before ';'
Tim Starling [Fri, 13 Aug 2004 11:57:20 +0000 (11:57 +0000)]
Fixed register_globals dependence, fixed HTML-insertion vulnerability by replacing the useless $limit with the actual number of rows returned
Domas Mituzas [Fri, 13 Aug 2004 08:38:50 +0000 (08:38 +0000)]
translations translations
Arne Heizmann [Fri, 13 Aug 2004 07:46:33 +0000 (07:46 +0000)]
A major reworking of [[Special:Allmessages]].
So far, the index page has generated 1020 (one thousand and twenty!) SQL
queries. Let's limit this to a maximum of 51. This means that the user is
presented with only 50 rows at a time; however, I have provided "previous" and
"next" links so they can navigate through it. Additionally, the user can now
enter a "from" term in a text box rather than having to fiddle with the URL.
Furthermore, the user can now choose a namespace using a drop down box. This
works both on the index page and on a "chunk" page.
Lastly, I think I have made the code for the index page more readable -- not
only by adding comments.
HINT: since this is such a major reworking, the patch is pretty useless. It is
probably better for anyone interested to view the new file.
Arne Heizmann [Fri, 13 Aug 2004 02:48:42 +0000 (02:48 +0000)]
rephrase the comment a bit to make it clearer.
Arne Heizmann [Fri, 13 Aug 2004 00:56:03 +0000 (00:56 +0000)]
Allow an optional &namespace= parameter for Special:Allpages.
Might need some UI.
Arne Heizmann [Thu, 12 Aug 2004 19:36:43 +0000 (19:36 +0000)]
spamprotectiontext says, "You might want to check the following regular
expression for patterns that are currently blocked:" but there is actually
nothing after it. The code doesn't seem to give me an easy way to add something
either, so I guess I'll just remove it.
Antoine Musso [Thu, 12 Aug 2004 15:24:49 +0000 (15:24 +0000)]
some more translations.
Arne Heizmann [Thu, 12 Aug 2004 15:06:55 +0000 (15:06 +0000)]
Some more word wrapping, some more English fixing, and information on how
Monobook does not work on PHP 5.
Tim Starling [Thu, 12 Aug 2004 14:55:35 +0000 (14:55 +0000)]
Removing buggy Special:Userlogin feature (only half the required work done), attempting to explain why it didn't work and to prevent such things from happening again by adding lots of comments
Antoine Musso [Thu, 12 Aug 2004 14:48:14 +0000 (14:48 +0000)]
Added a bit of informations. Split at 80 columns.
Arne Heizmann [Thu, 12 Aug 2004 14:45:47 +0000 (14:45 +0000)]
Some English fixes, and change "Wikipedia" to "MediaWiki".
Antoine Musso [Thu, 12 Aug 2004 14:37:15 +0000 (14:37 +0000)]
Very simple documentation.
Arne Heizmann [Thu, 12 Aug 2004 14:32:31 +0000 (14:32 +0000)]
fix indentation
Arne Heizmann [Thu, 12 Aug 2004 14:28:58 +0000 (14:28 +0000)]
sp
Antoine Musso [Thu, 12 Aug 2004 14:27:38 +0000 (14:27 +0000)]
* using template : function foo() {
* Indentation fix (space to tab)
Antoine Musso [Thu, 12 Aug 2004 13:58:54 +0000 (13:58 +0000)]
Fix source forge bug #
1007149. Wrong plural when listing categories and subcategories. Added two new messages in language.php
Antoine Musso [Thu, 12 Aug 2004 13:32:04 +0000 (13:32 +0000)]
implement a new magic word: PAGENAMEE wich return the escaped title. Implement sourceforge feature requests 999044 and 997771
Antoine Musso [Thu, 12 Aug 2004 11:42:35 +0000 (11:42 +0000)]
Some more translations
Antoine Musso [Thu, 12 Aug 2004 11:29:07 +0000 (11:29 +0000)]
fix language file checking
Antoine Musso [Thu, 12 Aug 2004 10:46:16 +0000 (10:46 +0000)]
double to single quotes, tabs
Domas Mituzas [Thu, 12 Aug 2004 09:52:32 +0000 (09:52 +0000)]
Use /* */ style comments instead of # for multiline commented out entries.
Allows copy-paste from SpecialAllmessages to Language??.php
Tim Starling [Thu, 12 Aug 2004 06:54:58 +0000 (06:54 +0000)]
Ahh, so that's what that does
Brion Vibber [Thu, 12 Aug 2004 06:25:48 +0000 (06:25 +0000)]
register_globals should be kicked in the naughty bits until it cries out in painand asks for mercy.
Brion Vibber [Thu, 12 Aug 2004 02:51:26 +0000 (02:51 +0000)]
Add warning about register_globals. "It's for your own good."
Tim Starling [Thu, 12 Aug 2004 01:27:31 +0000 (01:27 +0000)]
added {{ to wfEscapeWikiText, so that the deletion log looks nicer (requested on #wikipedia)
Tim Starling [Thu, 12 Aug 2004 01:20:59 +0000 (01:20 +0000)]
bug fixes from REL1_3
Arne Heizmann [Wed, 11 Aug 2004 23:21:50 +0000 (23:21 +0000)]
Currently, if you go to [[Special:Contributions/newbies]], underneath the page
title it will say "For". This patch makes its say "for newbies".
Jens Frank [Wed, 11 Aug 2004 22:24:06 +0000 (22:24 +0000)]
Prevent division-by-zero-errors. BUG#
1007562
Arne Heizmann [Wed, 11 Aug 2004 18:04:31 +0000 (18:04 +0000)]
lower-case "m" for "minor edit", as is the case on English Wikipedia.
Arne Heizmann [Wed, 11 Aug 2004 18:03:43 +0000 (18:03 +0000)]
As suggested by xmlizer <mozer@netcourrier.com> on wikitech-l
http://mail.wikipedia.org/pipermail/wikitech-l/2004-August/012061.html
have the 'm' for "minor" and the 'N' for "new page" be surrounded by
<span class="minor"> and <span class="newpage"> respectively, and no
<strong>.
Brion Vibber [Wed, 11 Aug 2004 11:00:34 +0000 (11:00 +0000)]
Update for CC 2.0 licenses.
Something is not right though; it barfs in the list of authors.
Brion Vibber [Wed, 11 Aug 2004 10:36:39 +0000 (10:36 +0000)]
Make Creative Commons selection work again; pretty up its display a bit.
Brion Vibber [Wed, 11 Aug 2004 10:09:11 +0000 (10:09 +0000)]
The horror... the horror...
Brion Vibber [Wed, 11 Aug 2004 09:49:41 +0000 (09:49 +0000)]
Not maintained notice
Brion Vibber [Wed, 11 Aug 2004 09:45:17 +0000 (09:45 +0000)]
Don't print out username and password, that's just rude.
Instead print an explanation of the file's purpose.
Brion Vibber [Wed, 11 Aug 2004 09:40:44 +0000 (09:40 +0000)]
Add a comment explaining what this is for :)
Brion Vibber [Wed, 11 Aug 2004 09:13:05 +0000 (09:13 +0000)]
Shorttags fix
Brion Vibber [Wed, 11 Aug 2004 09:02:20 +0000 (09:02 +0000)]
Fix some of the rebuild scripts
Brion Vibber [Wed, 11 Aug 2004 02:31:47 +0000 (02:31 +0000)]
Add MessageCache::clear and use it on initialise/rebuild of messages
to clear the object cache.
Brion Vibber [Wed, 11 Aug 2004 02:08:47 +0000 (02:08 +0000)]
Fix command-line scripts broken by more aggressive external entry point
protection.
Brion Vibber [Wed, 11 Aug 2004 00:10:48 +0000 (00:10 +0000)]
Detail comment on the 'value' column
Arne Heizmann [Wed, 11 Aug 2004 00:07:12 +0000 (00:07 +0000)]
In QueryPage: fixing a misleading comment. value needn't be numeric.
In SpecialUncategorizedpages.php: Fixing embarrassing SQL stupidity
on my part. The article that contains the category link is cl_from,
not cl_to. Duh.
Arne Heizmann [Tue, 10 Aug 2004 23:06:38 +0000 (23:06 +0000)]
(hopefully) fix a warning that came up on various QueryPages.
Arne Heizmann [Tue, 10 Aug 2004 22:58:20 +0000 (22:58 +0000)]
Wrap the radio buttons in <span style='white-space: nowrap;'>.
Arne Heizmann [Tue, 10 Aug 2004 22:48:02 +0000 (22:48 +0000)]
With &debugmsg=1, PHP output a warning because the link trail no longer
constituted a valid regular expression; fix that
Arne Heizmann [Tue, 10 Aug 2004 22:01:30 +0000 (22:01 +0000)]
gah.
Arne Heizmann [Tue, 10 Aug 2004 21:36:28 +0000 (21:36 +0000)]
Adding 'en' to domain name of Wikipedia, Wiktionary, Wikiquote and
Wikibooks. This does not prevent people from using language tags, but
speeds up access for English links. Also fixing link for
EnciclopediaLibre.
Arne Heizmann [Tue, 10 Aug 2004 20:17:55 +0000 (20:17 +0000)]
If &debugmsg=1 is passed as part of the request parameters, display all
the message keys instead of the actual messages. I think this will be
very useful to sysops trying to find out what message in the MediaWiki
namespace to edit. I hope this does not incur too much of a server
performance degradation, since this function is used pretty frequently.
Arne Heizmann [Tue, 10 Aug 2004 16:58:37 +0000 (16:58 +0000)]
If the site options are set in such a way that only sysops (or only
developers) can create new accounts, currently the only way for them to
do that is to go to Special:Userlogin manually. This patch adds a link
to that page on Special:Specialpages, but only if the options are set in
this way.
Arne Heizmann [Tue, 10 Aug 2004 16:54:55 +0000 (16:54 +0000)]
I already made this change on en sometime ago, but with the patch I am
about to commit (which displays a link to Special:Userlogin at Special:
Specialpages) it makes even more sense to have this the default.
Arne Heizmann [Tue, 10 Aug 2004 16:51:26 +0000 (16:51 +0000)]
expand comment
Domas Mituzas [Tue, 10 Aug 2004 13:58:55 +0000 (13:58 +0000)]
wfLimitResult() -> Database::limitResult()
Domas Mituzas [Tue, 10 Aug 2004 13:57:12 +0000 (13:57 +0000)]
wfLimitResult -> Database::limitResult()
Domas Mituzas [Tue, 10 Aug 2004 13:55:29 +0000 (13:55 +0000)]
split getOrderLimit() into getOrder() and Database::limitResult()
Domas Mituzas [Tue, 10 Aug 2004 13:22:15 +0000 (13:22 +0000)]
use Database::timestamp() for cutoff
Domas Mituzas [Tue, 10 Aug 2004 13:17:20 +0000 (13:17 +0000)]
use proper timestamp conversion for user_touched
Domas Mituzas [Tue, 10 Aug 2004 13:07:39 +0000 (13:07 +0000)]
cutoff timestamps use Database::timestamp()
Domas Mituzas [Tue, 10 Aug 2004 11:36:22 +0000 (11:36 +0000)]
Fix recent changes cutoff to use Database::timestamp
Tim Starling [Tue, 10 Aug 2004 11:24:24 +0000 (11:24 +0000)]
tweaking escaping of external links
Domas Mituzas [Tue, 10 Aug 2004 11:12:18 +0000 (11:12 +0000)]
Add Database*::timestamp(), using wfTimestamp()
Domas Mituzas [Tue, 10 Aug 2004 08:28:43 +0000 (08:28 +0000)]
Add internal timestamp wrapper wfTimestamp($outputtype,$timestamp);
Obsoletes: wfTimestamp2Unix, wfUnix2Timestamp, wfTimestampNow;
Autodetects database, mediawiki and unix timestamps
to be done: inverted timestamp support
Arne Heizmann [Mon, 9 Aug 2004 23:30:02 +0000 (23:30 +0000)]
If you really must have a useless $wgUseRCPatrol option, might as well use it
consistently everywhere to ensure that setting it to 0 actually does disable the
feature. Also, tell the user that it is disabled if they happen to follow a link
with &action=markpatrolled in it. Additionally, make &action=markpatrolled say
"log in required" if the user is not logged in.
Arne Heizmann [Mon, 9 Aug 2004 22:57:53 +0000 (22:57 +0000)]
New name for Nauruan language.
Jens Frank [Mon, 9 Aug 2004 21:37:27 +0000 (21:37 +0000)]
Fix for Bug [ 720843 ]: Replace invalid chars in uploaded file names instead of cutting off the end of the string
Jens Frank [Mon, 9 Aug 2004 18:58:43 +0000 (18:58 +0000)]
Make RC patroling an optional feature that can be turned off by setting wgUseRCPatrol to false.
Enabled by default
Arne Heizmann [Mon, 9 Aug 2004 10:03:39 +0000 (10:03 +0000)]
In Special:Watchlist?magic=yes, show links to non-existent pages in red
Arne Heizmann [Mon, 9 Aug 2004 10:02:54 +0000 (10:02 +0000)]
prevent a warning that occurred because rc_patrolled was undefined when viewing
the watchlist because the watchlist uses 'fake' recentchanges rows that it
constructs from rows that actually come from cur, not recentchanges.
Domas Mituzas [Mon, 9 Aug 2004 09:46:33 +0000 (09:46 +0000)]
Enter Lithuanian language file.
It still requires message porting from MediaWiki namespace.
Arne Heizmann [Mon, 9 Aug 2004 08:21:34 +0000 (08:21 +0000)]
Apparently cvs forgot to commit this with the rest.
Arne Heizmann [Mon, 9 Aug 2004 06:20:49 +0000 (06:20 +0000)]
I probably shouldn't copy & paste comments. This comment makes more sense and is
less misleading.
Arne Heizmann [Mon, 9 Aug 2004 06:20:21 +0000 (06:20 +0000)]
huh?
Arne Heizmann [Mon, 9 Aug 2004 06:17:16 +0000 (06:17 +0000)]
Forgot to commit the change to showhideminor. Also removing commented-out strings.
Arne Heizmann [Mon, 9 Aug 2004 05:38:11 +0000 (05:38 +0000)]
New feature: Recent Changes Patrol. All edits and new pages are now highlighted on
Special:Recentchanges and Special:Newpages until someone "marks" them as
"patrolled" using a special link. For new pages, this link appears at the bottom
of the article if the link in Recent Changes or New Pages is followed. For all
other edits, this link appears only in the diff and only if the diff link is
followed from Recent Changes. (Might need to add this functionality to Watchlist
too; haven't done that yet.)
Brion Vibber [Mon, 9 Aug 2004 04:31:05 +0000 (04:31 +0000)]
For unknown sort to bydate
Brion Vibber [Mon, 9 Aug 2004 04:10:59 +0000 (04:10 +0000)]
* Handle non-valid title text in name search gracefully
* URL escaping on generated urls
* Don't ignore the name search when sorting by date or size
* Write the search term back into the box so the user knows what they were doing
Brion Vibber [Mon, 9 Aug 2004 02:45:38 +0000 (02:45 +0000)]
Fix for [ 965008 ] Links in edit summaries don't use linktrail
Brion Vibber [Mon, 9 Aug 2004 01:59:40 +0000 (01:59 +0000)]
Use ImageMagick's -background parameter to set the background color of
transparent PNG thumbnails to white instead of default black. This will
be shown in Internet Explorer 6 and will generally be less invasive
(particularly for black-on-transparent line art!)
Fix for [ 978664 ] Thumbnails of transparent PNGs bad in IE6
Brion Vibber [Mon, 9 Aug 2004 00:50:10 +0000 (00:50 +0000)]
Fix color of edit links in quickbar.
Brion Vibber [Mon, 9 Aug 2004 00:22:43 +0000 (00:22 +0000)]
Fix the fix for [ 984629 ] "Retreived from..." printfooter division missing in Monobook
Brion Vibber [Mon, 9 Aug 2004 00:05:31 +0000 (00:05 +0000)]
Hide site notice from printable version.
Jens Frank [Sun, 8 Aug 2004 20:39:13 +0000 (20:39 +0000)]
Gracefully fail on invalid title
Brion Vibber [Sun, 8 Aug 2004 20:30:56 +0000 (20:30 +0000)]
Gracefully fail on invalid title for target
Magnus Manske [Sun, 8 Aug 2004 18:05:41 +0000 (18:05 +0000)]
(Hopefully) fixing various template bugs once and for all!
Arne Heizmann [Sun, 8 Aug 2004 17:44:24 +0000 (17:44 +0000)]
Updates to namespace names as discussed with isam on IRC. Yes, I know 'Template' is missing. He
said he'll discuss the future name of the Template namespace with other Arabic users on their
Village Pump and then come back to us.
Arne Heizmann [Sun, 8 Aug 2004 16:13:18 +0000 (16:13 +0000)]
rm UTF-8 BOM
Magnus Manske [Sun, 8 Aug 2004 14:44:03 +0000 (14:44 +0000)]
This fixes bug 827160, with settings from meta.wikipedia.org/wiki/Cologne_Blue_skin_problems
Magnus Manske [Sun, 8 Aug 2004 14:03:27 +0000 (14:03 +0000)]
This fixes bug 984629, but gives a double footer
Brion Vibber [Sun, 8 Aug 2004 10:15:20 +0000 (10:15 +0000)]
Fix for file cache on PHP 4.1.2. The text string seems to be passed by
references, and changing it screws things royally; instead make a copy.
Brion Vibber [Sun, 8 Aug 2004 09:39:16 +0000 (09:39 +0000)]
Suppress notices
Brion Vibber [Sun, 8 Aug 2004 06:58:17 +0000 (06:58 +0000)]
Always use the global default date setting for log entries.
Fix for [ 897902 ] Deletion log date stamp inconsistent
Jens Frank [Sun, 8 Aug 2004 02:20:00 +0000 (02:20 +0000)]
Integrated C++ wikidiff engine. Enable by setting wgUseExternalDiffEngine to true.
Needs wikidiff module from the extensions package and SWIG to compile.
Brion Vibber [Sun, 8 Aug 2004 01:38:31 +0000 (01:38 +0000)]
Further move fix: if someone has made a piped redirect link, don't try to read the piped title as part of the target name.
Brion Vibber [Sun, 8 Aug 2004 01:30:39 +0000 (01:30 +0000)]
Page move fix: when checking for redirects, don't die if redirected title is invalid. Error reported by Looxix in #mediawiki
Brion Vibber [Sun, 8 Aug 2004 01:07:56 +0000 (01:07 +0000)]
Report the database connection failure error message when no server can
be contacted instead of silently ignoring it and dying when unable to use
'false' as an array index.
Arne Heizmann [Sat, 7 Aug 2004 21:19:48 +0000 (21:19 +0000)]
Updates as requested by Gabriel Beecham
http://mail.wikipedia.org/pipermail/wikipedia-l/2004-August/016416.html
Tim Starling [Sat, 7 Aug 2004 18:45:30 +0000 (18:45 +0000)]
Fixing bug #584804, extra characters requested in $sep for external links. This includes the right parenthesis fix suggested by Brion.
Tim Starling [Sat, 7 Aug 2004 18:24:12 +0000 (18:24 +0000)]
Rewrote external link handler, using preg_split(). Passes all external link test cases on [[m:Parser testing]]. Fixes some parts of bug #583234: fixes URL inside URL problem and incorrectly rejected character problem