Antoine Musso [Sun, 15 Aug 2004 23:25:52 +0000 (23:25 +0000)]
some more comments and moved parameters in their sections
Arne Heizmann [Sun, 15 Aug 2004 23:08:02 +0000 (23:08 +0000)]
don't die; redirect
Jens Frank [Sun, 15 Aug 2004 20:20:41 +0000 (20:20 +0000)]
prevent crashing on [[{{FNORD}}]]. Doesn't return something beautiful, though.
Jens Frank [Sun, 15 Aug 2004 20:00:14 +0000 (20:00 +0000)]
Bugfix: When cookies are disabled, don't show login screen twice
Antoine Musso [Sun, 15 Aug 2004 19:54:15 +0000 (19:54 +0000)]
Migrate doubleredirect and brokenredirect subpages from SpecialMaintenance.php to their own SpecialXX.php scripts. TODO: do not die when a user access the old page but relocate instead
Antoine Musso [Sun, 15 Aug 2004 19:22:40 +0000 (19:22 +0000)]
New getPageHeader() method. Allow to add some text before outputting the results.
Antoine Musso [Sun, 15 Aug 2004 19:12:17 +0000 (19:12 +0000)]
trivial double to single quotes translation
Antoine Musso [Sun, 15 Aug 2004 18:28:02 +0000 (18:28 +0000)]
Code standardization:
* foobar () { instead of foobar () \n {
* some comments
* double to single quotes
* use constant NS_SPECIAL instead of -1
Tim Starling [Sun, 15 Aug 2004 15:01:33 +0000 (15:01 +0000)]
Adding numberheadings to rendering hash, related inconsistency reported on #wikipedia
Jens Frank [Sun, 15 Aug 2004 13:49:14 +0000 (13:49 +0000)]
Move check for wgUseGeoMode to where the function is called, avoids copying the text around
Brion Vibber [Sun, 15 Aug 2004 11:40:59 +0000 (11:40 +0000)]
'deleteimgcompletely' => 'Delete all revisions',
Somebody forgot to add this...
Brion Vibber [Sun, 15 Aug 2004 09:54:28 +0000 (09:54 +0000)]
Fix notice; use isset() to test if things are set
Brion Vibber [Sun, 15 Aug 2004 09:47:57 +0000 (09:47 +0000)]
Remove obsolete searchhelppage link from dberrortext.
Search queries should never cause SQL errors! The new mysql4 code at least is fairly robust.
Brion Vibber [Sun, 15 Aug 2004 08:59:31 +0000 (08:59 +0000)]
Folding searchhelppage and searchingwikipedia into normal wikitext in searchresulttext.
Cleaned up some hard-coded 'Wikipedia' values and old-style $wgSitename/$wgMetaNamespace, but there are still hard-coded values with localized Wikipedia spellings that my quick script didn't catch. These should be edited manually...
Brion Vibber [Sun, 15 Aug 2004 08:23:19 +0000 (08:23 +0000)]
More code cleanup on SearchEngine.
Renamed member vars to fooBar style, use $this->rawText more consistently.
Separated matching parts of goResult() out.
More redundant bits purged.
Switching some messages to wikitext.
Death to <font> tags!
Tim Starling [Sun, 15 Aug 2004 07:43:37 +0000 (07:43 +0000)]
fix of bug added in 1.37
Tim Starling [Sun, 15 Aug 2004 07:24:31 +0000 (07:24 +0000)]
Added rc_id and rc_patrolled updaters
Tim Starling [Sun, 15 Aug 2004 07:23:39 +0000 (07:23 +0000)]
Added FOR UPDATE mode to Block.php, to fix memcached concurrency problem in BlockCache.php. This should fix the regular reports from en of blocks not taking effect.
Brion Vibber [Sun, 15 Aug 2004 07:15:22 +0000 (07:15 +0000)]
Starting code cleanup. Beginning to separate database logic from display output, removing some duplicate bits, starting to decouple things...
Brion Vibber [Sun, 15 Aug 2004 05:05:56 +0000 (05:05 +0000)]
Show the search terms as given instead of the filtered terms in the subtitle.
Part of the fix for Bug 54: go-search for non-existing page in a namespace returns broken new-edit URL
http://bugzilla.wikipedia.org/show_bug.cgi?id=54
Brion Vibber [Sun, 15 Aug 2004 04:38:35 +0000 (04:38 +0000)]
Use original instead of filtered search request for the optional new page edit link in nogomatch (de, etc)
Fix for Bug 54: go-search for non-existing page in a namespace returns broken new-edit URL
http://bugzilla.wikipedia.org/show_bug.cgi?id=54
Arne Heizmann [Sun, 15 Aug 2004 02:15:48 +0000 (02:15 +0000)]
In $wgNamespaceNamesDe: Fix indentation
In $wgSkinNamesDe: Fix indentation, and translate skin names to German
Everywhere else, remove trailing white space. Not that much this time :-)
Brion Vibber [Sun, 15 Aug 2004 01:53:25 +0000 (01:53 +0000)]
* Translate 'Chick' skin name ('Kokido')
* Fill in a couple missing bits from prefs
Brion Vibber [Sat, 14 Aug 2004 22:51:28 +0000 (22:51 +0000)]
Disable $wgUseGzip by default since it's wildly incompatible with
default output buffering. May further streamline this later.
Arne Heizmann [Sat, 14 Aug 2004 22:42:46 +0000 (22:42 +0000)]
New files for new skin 'Chick'.
http://bugzilla.wikipedia.org/show_bug.cgi?id=49
Arne Heizmann [Sat, 14 Aug 2004 22:38:46 +0000 (22:38 +0000)]
New PHPtal-based skin 'Chick'. Designed for PDAs and other low-resolution devices.
See non-whitespace-changing patch at http://bugzilla.wikipedia.org/show_bug.cgi?id=49
Brion Vibber [Sat, 14 Aug 2004 22:32:54 +0000 (22:32 +0000)]
Clean up magic, messages to remove warnings and notices.
Remove some redundant inherited funcs from LanguageIs.
Arne Heizmann [Sat, 14 Aug 2004 22:30:10 +0000 (22:30 +0000)]
use tabs for indentation, and probably some trailing whitespace has been removed by my
editor. I apologise for these triviality commits lately; I'll be more productive soon...
Arne Heizmann [Sat, 14 Aug 2004 22:27:10 +0000 (22:27 +0000)]
"escaped" can mean "URL-escaped" or "HTML-escaped".
Arne Heizmann [Sat, 14 Aug 2004 22:21:30 +0000 (22:21 +0000)]
English
Brion Vibber [Sat, 14 Aug 2004 22:15:49 +0000 (22:15 +0000)]
Remove filthy, dirty, Microsoft line endings from the file. yuck yuck yuck!
Arne Heizmann [Sat, 14 Aug 2004 20:33:01 +0000 (20:33 +0000)]
# Please don't move this line to includes/Defines.php. This line essentially defines
# a valid entry point. If you put it in includes/Defines.php, then any script that includes
# it becomes an entry point, thereby defeating its purpose.
Antoine Musso [Sat, 14 Aug 2004 20:28:05 +0000 (20:28 +0000)]
PAGENAMEE / Article count on move
Brion Vibber [Sat, 14 Aug 2004 20:18:23 +0000 (20:18 +0000)]
Copy release notes & history from 1.3.
Antoine Musso [Sat, 14 Aug 2004 20:09:47 +0000 (20:09 +0000)]
Fix sourceforge bug #850012 : Page move doesn't update article count
It works on my local wiki unfortunatly I have neither memcached nor
squid so the code might need some tweaking.
Antoine Musso [Sat, 14 Aug 2004 19:52:18 +0000 (19:52 +0000)]
Code standardization:
* if($foo == 1) instead of 1 == $foo
* double to single quote translations
Antoine Musso [Sat, 14 Aug 2004 19:33:59 +0000 (19:33 +0000)]
minor code standardization
Brion Vibber [Sat, 14 Aug 2004 19:23:51 +0000 (19:23 +0000)]
Fix rebuildall on case-sensitive unix filesystems.
Bug 52: rebuildall.php maintenance script fails
http://bugzilla.wikipedia.org/show_bug.cgi?id=52
Antoine Musso [Sat, 14 Aug 2004 19:17:13 +0000 (19:17 +0000)]
Removing some occurences of wikipedia
Antoine Musso [Sat, 14 Aug 2004 19:02:15 +0000 (19:02 +0000)]
Removed most occurences of "wikipedia" replaced by either {{ns:4}} in wikilinks
and {{SITENAME}} in other places (which give the same value anyway).
Brion Vibber [Sat, 14 Aug 2004 18:23:50 +0000 (18:23 +0000)]
Typo/logic error in move page watchlist update.
Bug 50: after moving a watched page the page is not in watch list any more
http://bugzilla.wikipedia.org/show_bug.cgi?id=50
Tim Starling [Sat, 14 Aug 2004 16:29:56 +0000 (16:29 +0000)]
digit translation
Tim Starling [Sat, 14 Aug 2004 13:34:57 +0000 (13:34 +0000)]
Allowed post-parse link cache to be used for update as well as page view. This involves changes to Article::showArticle() and maintenance/refreshLinks.inc. Fixed various bugs that I noticed along the way. Added an option to recover the old 1.3.x behaviour, for profiling and debugging.
Arne Heizmann [Sat, 14 Aug 2004 12:35:38 +0000 (12:35 +0000)]
fix invalid HTML entities
Antoine Musso [Sat, 14 Aug 2004 12:20:39 +0000 (12:20 +0000)]
Reverting my previous change. Comment
Antoine Musso [Sat, 14 Aug 2004 12:10:43 +0000 (12:10 +0000)]
moving define(mediawiki, true) from index.php to includes/Defines.php
Brion Vibber [Sat, 14 Aug 2004 11:41:10 +0000 (11:41 +0000)]
XHTML fixes for Special:Upload
* well-formedness fix on the tables and forms
* switch 'uploadtext' message from HTML to wikitext
Arne Heizmann [Sat, 14 Aug 2004 09:20:00 +0000 (09:20 +0000)]
Don't use wfMsg('go') on this submit button. It's already used for the "Go" search button.
Shouldn't overload translatable messages like that. It's quite a different context here.
Brion Vibber [Sat, 14 Aug 2004 09:10:46 +0000 (09:10 +0000)]
Wrap user styles in CDATA block on classic skins; fixes XHTML parsing error.
Brion Vibber [Sat, 14 Aug 2004 08:57:51 +0000 (08:57 +0000)]
* Use WebRequest::getInt()
* Check that the namespace actually exists before trying to use it
Arne Heizmann [Sat, 14 Aug 2004 08:32:57 +0000 (08:32 +0000)]
Fixes to the bold/italics rendering problems [Bug 40]
http://bugzilla.wikipedia.org/show_bug.cgi?id=40
Brion Vibber [Sat, 14 Aug 2004 08:22:38 +0000 (08:22 +0000)]
Go direct to the page list if there are only one or two pages' worth of
titles to list. (Timwi's patch plus style tweak.)
Bug 18: Improve Allpages display on small wikis
http://bugzilla.wikipedia.org/show_bug.cgi?id=18
Arne Heizmann [Sat, 14 Aug 2004 08:17:59 +0000 (08:17 +0000)]
remove accidentally left-in debugging output
Arne Heizmann [Sat, 14 Aug 2004 06:40:14 +0000 (06:40 +0000)]
slight bugfix to patrol feature, thanks to maveric149 for finding it
Tim Starling [Sat, 14 Aug 2004 06:10:56 +0000 (06:10 +0000)]
DB name feature from REL1_3
Tim Starling [Sat, 14 Aug 2004 06:03:10 +0000 (06:03 +0000)]
Added siteFromDB(), used in commandLine.inc
Brion Vibber [Fri, 13 Aug 2004 22:24:09 +0000 (22:24 +0000)]
Install tweaks:
* Die more dramatically when XML module is missing; explicitly mention Mandrake solution
* Don't allow blank db username, as this breaks
* Apply slashes escapes on the license metadata; these come from outside for CC licenses and while we trust them, they might change and break
Arne Heizmann [Fri, 13 Aug 2004 20:52:15 +0000 (20:52 +0000)]
Display the text the spam regexp matched. Patch by akl.
Antoine Musso [Fri, 13 Aug 2004 18:45:03 +0000 (18:45 +0000)]
replace wfEscapeHTML() by htmlspecialchars() as brion did for other functions. Old one is non existent anyway
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