lhc/web/wiklou.git
15 years ago* Remove obsolete message 'interwiki-desc'
Siebrand Mazeland [Sat, 27 Dec 2008 09:27:29 +0000 (09:27 +0000)]
* Remove obsolete message 'interwiki-desc'
* Update message documentation a bit (also removed a syntax error from MessagesQqq.php).

15 years agoLocalisation updates for core messages from Betawiki (2008-12-27 09:49 CET)
Siebrand Mazeland [Sat, 27 Dec 2008 08:56:18 +0000 (08:56 +0000)]
Localisation updates for core messages from Betawiki (2008-12-27 09:49 CET)

15 years agoSet $wgGroupPermissions for interwiki from sysop to bureaucrat to prevent accidents.
Siebrand Mazeland [Sat, 27 Dec 2008 08:40:15 +0000 (08:40 +0000)]
Set $wgGroupPermissions for interwiki from sysop to bureaucrat to prevent accidents.

15 years agoslight fix to last commit :P
Alex Z [Sat, 27 Dec 2008 08:21:21 +0000 (08:21 +0000)]
slight fix to last commit :P

15 years agoXHTML fixes
Alex Z [Sat, 27 Dec 2008 08:19:23 +0000 (08:19 +0000)]
XHTML fixes

15 years agocleanup of Special:Interwiki:
Alex Z [Sat, 27 Dec 2008 08:14:57 +0000 (08:14 +0000)]
cleanup of Special:Interwiki:
* Use Xml functions for most of it
* Conform ids/names to coding conventions

15 years agoFollow up on r45062.
Siebrand Mazeland [Sat, 27 Dec 2008 07:57:49 +0000 (07:57 +0000)]
Follow up on r45062.
* update optional settings
* rebuild all messages files

15 years ago* Move filecache hits to faster lower level index.php code
Aaron Schulz [Sat, 27 Dec 2008 07:07:16 +0000 (07:07 +0000)]
* Move filecache hits to faster lower level index.php code
* Disable outputpage after file cache hit, since output was streamed already.

15 years agoadd Special:Interwiki messages to messages.inc and rebuild MessagesEn.
Alex Z [Sat, 27 Dec 2008 06:37:57 +0000 (06:37 +0000)]
add Special:Interwiki messages to messages.inc and rebuild MessagesEn.

15 years agoLocalization update for Special:Interwiki
X! [Sat, 27 Dec 2008 05:52:02 +0000 (05:52 +0000)]
Localization update for Special:Interwiki

15 years agoCleanup to r45062 (add Interwiki extension to core)
Chad Horohoe [Sat, 27 Dec 2008 05:17:33 +0000 (05:17 +0000)]
Cleanup to r45062 (add Interwiki extension to core)
* If we're going to extend SpecialPage, actually do it. Don't use this wfSpecialSomething() crap.
* Clean up descriptions of Local/Trans. Most people don't know what Local/Trans mean for interwikis (I don't 100% get iw_local)

15 years agoMove doNothing return check above global declarations
Aaron Schulz [Sat, 27 Dec 2008 05:09:54 +0000 (05:09 +0000)]
Move doNothing return check above global declarations

15 years agoAdd Interwiki extension to core.
X! [Sat, 27 Dec 2008 05:00:33 +0000 (05:00 +0000)]
Add Interwiki extension to core.

15 years agofix spacing
X! [Sat, 27 Dec 2008 04:16:28 +0000 (04:16 +0000)]
fix spacing

15 years ago* (bug 16754) Making arbitrary rows of sortable tables sticky:
Raimond Spekking [Fri, 26 Dec 2008 22:00:15 +0000 (22:00 +0000)]
* (bug 16754) Making arbitrary rows of sortable tables sticky:
  |- class="unsortable"
Patch by René Kijewski

15 years ago(bug 15430) Cancel the upload process and rollback database changes in case no articl...
Bryan Tong Minh [Fri, 26 Dec 2008 19:42:29 +0000 (19:42 +0000)]
(bug 15430) Cancel the upload process and rollback database changes in case no article associated with the file can be created

15 years agoLocalisation updates for core messages from Betawiki (2008-12-26 19:04 CET)
Siebrand Mazeland [Fri, 26 Dec 2008 18:08:16 +0000 (18:08 +0000)]
Localisation updates for core messages from Betawiki (2008-12-26 19:04 CET)

15 years ago* Special:Log: Add log type specific CSS classes 'mw-logline-$logtype' to 'li' elements
Raimond Spekking [Fri, 26 Dec 2008 12:34:03 +0000 (12:34 +0000)]
* Special:Log: Add log type specific CSS classes 'mw-logline-$logtype' to 'li' elements

15 years ago* Special:Log: Add 'change protection' link for unprotected pages too
Raimond Spekking [Fri, 26 Dec 2008 12:07:42 +0000 (12:07 +0000)]
* Special:Log: Add 'change protection' link for unprotected pages too
* For protection log lines: Change format '(hist) (change)' to '(hist | change)'
* Precache 'pipe-separator'

15 years agoLocalisation updates from Betawiki
Siebrand Mazeland [Fri, 26 Dec 2008 11:32:11 +0000 (11:32 +0000)]
Localisation updates from Betawiki

15 years agoLocalisation updates for core messages from Betawiki (2008-12-26 11:15 CET)
Siebrand Mazeland [Fri, 26 Dec 2008 10:25:43 +0000 (10:25 +0000)]
Localisation updates for core messages from Betawiki (2008-12-26 11:15 CET)

15 years agomark the skin names strings as optional, as some languages are still using the origin...
Shinjiman [Fri, 26 Dec 2008 06:48:32 +0000 (06:48 +0000)]
mark the skin names strings as optional, as some languages are still using the original skin name in English

15 years agoRevert r45021, r45022, r45023 -- restoring r44896, r44927, r44896 -- pending further...
Brion Vibber [Fri, 26 Dec 2008 05:28:07 +0000 (05:28 +0000)]
Revert r45021, r45022, r45023 -- restoring r44896, r44927, r44896 -- pending further discussion of what, if anything, is wrong with our ID generation. Given that the section IDs are meant to be valid IDs (as required per spec), and that in production they are already put out as IDs due to Tidy's behavior, the only change necessary to provide the fix (if fix is necessary in fact) would be to fix our ID normalization.

15 years agofix param description, rollback token comes from prop=revisions
Alex Z [Fri, 26 Dec 2008 04:13:47 +0000 (04:13 +0000)]
fix param description, rollback token comes from prop=revisions

15 years agoonly call pageStats function in Skin::printFooter if $wgArticle is an object. this...
Jack Phoenix [Thu, 25 Dec 2008 18:47:42 +0000 (18:47 +0000)]
only call pageStats function in Skin::printFooter if $wgArticle is an object. this might not always be the case (tested with a custom skin extending the Skin class) and if so, a fatal error is shown on the page (tested with Special: pages) and footer won't be rendered

15 years agoConvert $skinNames to messages. Incorrect entries have been skipped (bs, sr-el, sr-ec)
Siebrand Mazeland [Thu, 25 Dec 2008 18:30:17 +0000 (18:30 +0000)]
Convert $skinNames to messages. Incorrect entries have been skipped (bs, sr-el, sr-ec)

15 years agoLocalization script: Adding the possibility of checking all FlaggedRevs messages.
Rotem Liss [Thu, 25 Dec 2008 18:14:32 +0000 (18:14 +0000)]
Localization script: Adding the possibility of checking all FlaggedRevs messages.

15 years agoPer siebrand: typo
Alexandre Emsenhuber [Thu, 25 Dec 2008 18:09:51 +0000 (18:09 +0000)]
Per siebrand: typo

15 years agoPer Nikerabbit and Siebrand: removed $skinNames from localisation files and replaced...
Alexandre Emsenhuber [Thu, 25 Dec 2008 18:00:26 +0000 (18:00 +0000)]
Per Nikerabbit and Siebrand: removed $skinNames from localisation files and replaced them with messages. Messages names are "skinname-<skin>" where <skin> is the internal name of the skin.
Updates for other languages should come soon :)

15 years agoLocalisation updates for core messages from Betawiki (2008-12-25 17:54 CET)
Siebrand Mazeland [Thu, 25 Dec 2008 17:13:28 +0000 (17:13 +0000)]
Localisation updates for core messages from Betawiki (2008-12-25 17:54 CET)

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Thu, 25 Dec 2008 15:57:40 +0000 (15:57 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agooops, forgot summary-preview :(
Alexandre Emsenhuber [Thu, 25 Dec 2008 15:38:09 +0000 (15:38 +0000)]
oops, forgot summary-preview :(

15 years ago* summary and subject messages now uses wiki text rather than raw HTML
Alexandre Emsenhuber [Thu, 25 Dec 2008 15:22:01 +0000 (15:22 +0000)]
* summary and subject messages now uses wiki text rather than raw HTML
* Added the colon in summary, subject and subject-preview messages rather than using colon-separator
* Changed the note in RELEASE-NOTES to also point to bug 212
* Also escaped other messages that weren't escaped
* Added new $attribs option to Xml::label(), using it in Xml::inputLabel(), Xml::inputLabelSep(), Xml::checkLabel() and Xml::radioLabel()
* $fname -> __METHOD__
* Whitespaces tweaks

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Thu, 25 Dec 2008 14:48:47 +0000 (14:48 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoPHP 5.3 really doesn't like Namespace:: :)
Alexandre Emsenhuber [Thu, 25 Dec 2008 13:40:37 +0000 (13:40 +0000)]
PHP 5.3 really doesn't like Namespace:: :)

15 years ago* reverting r44896 because of r45021
Danny B [Thu, 25 Dec 2008 12:40:54 +0000 (12:40 +0000)]
* reverting r44896 because of r45021

15 years ago* reverting r44927 because of r45021
Danny B [Thu, 25 Dec 2008 12:21:26 +0000 (12:21 +0000)]
* reverting r44927 because of r45021

15 years ago* reverting r44896 - it causes massive invalidity of pages. See http://www.w3.org...
Danny B [Thu, 25 Dec 2008 12:11:49 +0000 (12:11 +0000)]
* reverting r44896 - it causes massive invalidity of pages. See w3.org/TR/html401/types.html#type-name and http://www.w3.org/TR/xhtml1/#C_8 for definitions of "id" and "name" content.

15 years agoLocalisation updates for core messages from Betawiki (2008-12-25 11:22 CET)
Siebrand Mazeland [Thu, 25 Dec 2008 10:30:42 +0000 (10:30 +0000)]
Localisation updates for core messages from Betawiki (2008-12-25 11:22 CET)

15 years agoAdd a little script I use to change db prefix
Aaron Schulz [Thu, 25 Dec 2008 04:31:44 +0000 (04:31 +0000)]
Add a little script I use to change db prefix

15 years agoLocalisation updates for core messages from Betawiki (2008-12-25 00:00 CET)
Siebrand Mazeland [Wed, 24 Dec 2008 23:04:33 +0000 (23:04 +0000)]
Localisation updates for core messages from Betawiki (2008-12-25 00:00 CET)

15 years agoRevert revert I accidentally committed
Aryeh Gregor [Wed, 24 Dec 2008 19:08:18 +0000 (19:08 +0000)]
Revert revert I accidentally committed

15 years agoRevert r44528 "(bug 1941) Add textarea { font-family: monospace; } to shared.css...
Aryeh Gregor [Wed, 24 Dec 2008 19:07:11 +0000 (19:07 +0000)]
Revert r44528 "(bug 1941) Add textarea { font-family: monospace; } to shared.css for Safari"

Demonstrable regression for Lingala, per
<https://bugzilla.wikimedia.org/show_bug.cgi?id=1941#c16>, and
plausibly for some other poorly-supported scripts as well.  Also
harmed some other things:

* Can make it hard to work with multiple scripts generally, since
unusual characters may fall back to proportional fonts for some
characters.
* It's much harder to tell apart some kinds of similar-looking
characters like dashes and hyphens.

Plus a lot of people think it's ugly.  Browser consistency shouldn't be
a goal here per se -- different browsers/platforms have different
display conventions, and we should respect that where possible unless it
causes demonstrable problems (which this hasn't AFAICT).

15 years agoRevert "(bug 16707) Add "rel='next'" link to login page to return to last page"
Aryeh Gregor [Wed, 24 Dec 2008 19:07:03 +0000 (19:07 +0000)]
Revert "(bug 16707) Add "rel='next'" link to login page to return to last page"

This reverts commit 22524e7e3a432df722438400581d2d56ea566dc2.

15 years ago* No need to use is_null here
Niklas Laxström [Wed, 24 Dec 2008 15:05:44 +0000 (15:05 +0000)]
* No need to use is_null here

15 years agoWhitespace/line breaks to keep this decent looking
Aaron Schulz [Wed, 24 Dec 2008 00:09:19 +0000 (00:09 +0000)]
Whitespace/line breaks to keep this decent looking

15 years ago* Don't rebuild the character size html twice
Aaron Schulz [Tue, 23 Dec 2008 23:59:20 +0000 (23:59 +0000)]
* Don't rebuild the character size html twice
* Break lines so this code looks like a marginally better brand of a dog's breakfast

15 years agoAdd wfDeprecated(__FUNCTION__) to all this garbage
Aaron Schulz [Tue, 23 Dec 2008 23:49:39 +0000 (23:49 +0000)]
Add wfDeprecated(__FUNCTION__) to all this garbage

15 years agoFix fucked up indentation
Aaron Schulz [Tue, 23 Dec 2008 23:47:08 +0000 (23:47 +0000)]
Fix fucked up indentation

15 years agoRevert r44814 "code style tweaks" -- removal of class_exists check breaks actual...
Brion Vibber [Tue, 23 Dec 2008 23:34:35 +0000 (23:34 +0000)]
Revert r44814 "code style tweaks" -- removal of class_exists check breaks actual maint scripts

15 years agoFollow-up to r44987 -- use the Title-filtered version for the rest of our filename...
Brion Vibber [Tue, 23 Dec 2008 23:19:14 +0000 (23:19 +0000)]
Follow-up to r44987 -- use the Title-filtered version for the rest of our filename processing just to be sure everything's cool. :)

15 years agoMIN_LENGHT_PARTNAME -> MIN_LENGTH_PARTNAME
Brion Vibber [Tue, 23 Dec 2008 23:12:25 +0000 (23:12 +0000)]
MIN_LENGHT_PARTNAME -> MIN_LENGTH_PARTNAME

15 years ago(bug 16772) Special:Upload now correctly rejects files with spaces in the file extens...
Alex Z [Tue, 23 Dec 2008 23:00:51 +0000 (23:00 +0000)]
(bug 16772) Special:Upload now correctly rejects files with spaces in the file extension (e.g. Foo. jpg) by normalizing the title before checking the extension.

15 years agoSkip redirect checks for NS_MEDIAWIKI
Aaron Schulz [Tue, 23 Dec 2008 22:48:44 +0000 (22:48 +0000)]
Skip redirect checks for NS_MEDIAWIKI

15 years agoLocalisation updates for extension messages from Betawiki (2008-12-23 23:09 CET)
Siebrand Mazeland [Tue, 23 Dec 2008 22:12:25 +0000 (22:12 +0000)]
Localisation updates for extension messages from Betawiki (2008-12-23 23:09 CET)

15 years agoRevert r44978 -- breaks back-compat
Brion Vibber [Tue, 23 Dec 2008 22:04:25 +0000 (22:04 +0000)]
Revert r44978 -- breaks back-compat

15 years agoPull back r44972 for now "(Bug 16677) Media: view URLs should HTTP-redirect to canoni...
Brion Vibber [Tue, 23 Dec 2008 21:57:31 +0000 (21:57 +0000)]
Pull back r44972 for now "(Bug 16677) Media: view URLs should HTTP-redirect to canonical File: namespace"

r44972 isn't quite behaving transparently; non-view URLs are also being redirected to the raw view page, so for instance an ?action=edit or diff or whatever gets lost.

See for example:
http://en.wikipedia.org/wiki/Image:Wiki.png?action=edit
http://en.wikipedia.org/wiki/Media:Wiki.png?action=edit

these both currently behave just like:
http://en.wikipedia.org/wiki/File:Wiki.png?action=edit

while with this patch the Media: one would unexpectedly redirect to the view URL.

The redirection should probably just be done where other existing normalization is... perhaps all that's actually needed is just to replace a Media: Title with the equivalent File: one when initializing the title in the first place, and the existing normalization-redirection will take care of it.

15 years agoRevert r44970 "Add FileCache exit back from r44801"
Brion Vibber [Tue, 23 Dec 2008 21:50:42 +0000 (21:50 +0000)]
Revert r44970 "Add FileCache exit back from r44801"
Forcing an exit from the middle of an initialization function seems like pretty poor practice.

15 years agoAt least disable old xml function loading per r44839. An easy ~9-10ms.
Aaron Schulz [Tue, 23 Dec 2008 21:42:42 +0000 (21:42 +0000)]
At least disable old xml function loading per r44839. An easy ~9-10ms.

15 years ago(bug 16707) Add "rel='next'" link to login page to return to last page
Aaron Schulz [Tue, 23 Dec 2008 21:30:40 +0000 (21:30 +0000)]
(bug 16707) Add "rel='next'" link to login page to return to last page

15 years agoRevert r44918 "Remove unused functions"
Brion Vibber [Tue, 23 Dec 2008 21:30:19 +0000 (21:30 +0000)]
Revert r44918 "Remove unused functions"
We keep these things for backwards compatibility, as they may be in use by extensions even if not in core code.

15 years agoRevert r44893 "Tweaks from profiling"
Brion Vibber [Tue, 23 Dec 2008 21:19:31 +0000 (21:19 +0000)]
Revert r44893 "Tweaks from profiling"
It's unclear what, if anything, has any serious performance effect here.
Seems to be trivial code formatting changes, some of which are nice (breaking long lines), others which aren't (creating long lines from nicely broken ones).

15 years ago(Bug 16678) localurl/fullurl for Media: titles should return the File: title's path
Aaron Schulz [Tue, 23 Dec 2008 21:12:43 +0000 (21:12 +0000)]
(Bug 16678) localurl/fullurl for Media: titles should return the File: title's path

15 years agoFollow-up to r44881 -- add note to RELEASE-NOTES about removed/replaced hook
Brion Vibber [Tue, 23 Dec 2008 21:10:42 +0000 (21:10 +0000)]
Follow-up to r44881 -- add note to RELEASE-NOTES about removed/replaced hook

15 years ago(Bug 16677) Media: view URLs should HTTP-redirect to canonical File: namespace
Aaron Schulz [Tue, 23 Dec 2008 21:05:33 +0000 (21:05 +0000)]
(Bug 16677) Media: view URLs should HTTP-redirect to canonical File: namespace

15 years agoAdd FileCache exit back from r44801
Aaron Schulz [Tue, 23 Dec 2008 20:56:20 +0000 (20:56 +0000)]
Add FileCache exit back from r44801

15 years agoRevert r44867 "Improve markpatrolled hook"
Brion Vibber [Tue, 23 Dec 2008 20:56:19 +0000 (20:56 +0000)]
Revert r44867 "Improve markpatrolled hook"
Incompatible change to existing hook (changing types of parameters passed)

15 years agoRevert r44817 "Delay $wgContLang unstubbing"
Brion Vibber [Tue, 23 Dec 2008 19:56:44 +0000 (19:56 +0000)]
Revert r44817 "Delay $wgContLang unstubbing"
Maintainability alert -- creates duplicate code which could become out of sync!

15 years agoRevert r44804 "Store negative [interwiki] results in cache"
Brion Vibber [Tue, 23 Dec 2008 19:45:57 +0000 (19:45 +0000)]
Revert r44804 "Store negative [interwiki] results in cache"
Caching negative results for a long period would be extremely annoying when adding a new prefix and discovering it doesn't work. Negative cache needs to either be much, much shorter or have a clear easy way to purge it.

15 years agoRevert r44801 "Tweaks from profiling"
Brion Vibber [Tue, 23 Dec 2008 19:39:00 +0000 (19:39 +0000)]
Revert r44801 "Tweaks from profiling"
Mostly seems to be formatting tweaks, loss of useful debug log output, and mysterious unexplained changes.
If some of these tweaks actually are based on profiling data, please provide details, such as "rearranging this call reduces service time from 80ms to 50ms for client cache hits on my machine" or whatever.

15 years agoLocalization update.
Rotem Liss [Tue, 23 Dec 2008 19:38:26 +0000 (19:38 +0000)]
Localization update.

15 years agoRevert r44798 "short-circuit update call"
Brion Vibber [Tue, 23 Dec 2008 19:31:08 +0000 (19:31 +0000)]
Revert r44798 "short-circuit update call"
Article::viewUpdates() may do things other than update counters (for instance, it updates the user-talk and watchlist for last-viewed status, and might do other things in the future). Let it centralize its own checks for what things are enabled. Since you won't necessarily know them all over in Wiki.png, they may get out of sync and lead to bugs if you try to replicate the check.

15 years agoRevert r44702, r44703, r44704 (wfInvoke and UserMailer refactor based on it) and...
Brion Vibber [Tue, 23 Dec 2008 18:08:43 +0000 (18:08 +0000)]
Revert r44702, r44703, r44704 (wfInvoke and UserMailer refactor based on it) and r44715, r44721 (cleanup thereof)
As Tim notes, the weird callback setup in $wgHooks isn't really something we want to replicate or ever rely on ever again, as PHP's native callback syntax already handles things fine and is more consistent (and used extensively in the rest of MediaWiki).
May be other remaining issues with the refactor on top of bugs already discovered, but if it's going to be refactored to use callbacks it should be done using regular callbacks.

15 years agoCleanup for r44700 -- work on a clone of $wgTitle instead of modifying the fragment...
Brion Vibber [Tue, 23 Dec 2008 17:58:22 +0000 (17:58 +0000)]
Cleanup for r44700 -- work on a clone of $wgTitle instead of modifying the fragment on the global object, which interferes with some other generated links outside the pager.

15 years agoShow icon instead of exploding for a remote API file we don't have a local handler...
Brion Vibber [Tue, 23 Dec 2008 17:35:05 +0000 (17:35 +0000)]
Show icon instead of exploding for a remote API file we don't have a local handler class for...

15 years ago* Like r44911 but for MediaWiki:Difference message: switching from raw HTML to wiki...
Alexandre Emsenhuber [Tue, 23 Dec 2008 17:14:33 +0000 (17:14 +0000)]
* Like r44911 but for MediaWiki:Difference message: switching from raw HTML to wiki text
* Whitespaces tweaks

15 years agoLocalisation updates for core messages from Betawiki (2008-12-23 16:47 CET)
Siebrand Mazeland [Tue, 23 Dec 2008 15:56:24 +0000 (15:56 +0000)]
Localisation updates for core messages from Betawiki (2008-12-23 16:47 CET)

15 years ago(bug 16769) reset $wgNamespaceProtection to default value before running parser tests
Ilmari Karonen [Tue, 23 Dec 2008 14:24:38 +0000 (14:24 +0000)]
(bug 16769) reset $wgNamespaceProtection to default value before running parser tests

15 years ago(bug 16469) Override Eastern Arabic numberals, use Western Arabic numerals
Siebrand Mazeland [Tue, 23 Dec 2008 12:49:05 +0000 (12:49 +0000)]
(bug 16469) Override Eastern Arabic numberals, use Western Arabic numerals

15 years ago* (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
Raimond Spekking [Tue, 23 Dec 2008 11:59:37 +0000 (11:59 +0000)]
* (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}}
Patch by Olaf Lenz

15 years agoFix tests after r44896: s/<a name="([^"]+)"><\/a>/<a name="$1" id="$1"><\/a>/g
Ilmari Karonen [Tue, 23 Dec 2008 11:26:43 +0000 (11:26 +0000)]
Fix tests after r44896: s/<a name="([^"]+)"><\/a>/<a name="$1" id="$1"><\/a>/g

15 years agoLocalization update.
Rotem Liss [Tue, 23 Dec 2008 08:39:54 +0000 (08:39 +0000)]
Localization update.

15 years ago(bug 16738) Rename IPBlockList to BlockList
Alex Z [Tue, 23 Dec 2008 04:25:31 +0000 (04:25 +0000)]
(bug 16738) Rename IPBlockList to BlockList

15 years ago* (bug 2585) HTTP 404 return code is now given for a page view if the page
Brion Vibber [Mon, 22 Dec 2008 23:38:58 +0000 (23:38 +0000)]
* (bug 2585) HTTP 404 return code is now given for a page view if the page
  does not exist, allowing spiders and link checkers to detect broken links.

This is less expansive than the old 2005 implementation (r11307), hitting
only page views (won't affect action=edit) and doesn't attempt to cover
error conditions either (many of which should probably return a different code).

Pages which exist in the DB or return true for Title::isAlwaysKnown() such
as file pages for existing files, as well as category pages that exist, are
treated as existing by returning true for Article::hasViewableContent().

15 years agoRemove unused functions
Aaron Schulz [Mon, 22 Dec 2008 22:56:46 +0000 (22:56 +0000)]
Remove unused functions

15 years agoColons added to time zone messages for consistency
Raimond Spekking [Mon, 22 Dec 2008 22:25:51 +0000 (22:25 +0000)]
Colons added to time zone messages for consistency

15 years agoFollow up r44915: Add new messages to messages.inc
Raimond Spekking [Mon, 22 Dec 2008 22:10:42 +0000 (22:10 +0000)]
Follow up r44915: Add new messages to messages.inc

15 years ago* (bug 505) Time zones can now be specified by location in user preferences,
Brion Vibber [Mon, 22 Dec 2008 21:55:09 +0000 (21:55 +0000)]
* (bug 505) Time zones can now be specified by location in user preferences,
  avoiding the need to manually update for DST. Patch by Brad Jorsch.

15 years agoAdd lines accidently removed with r44912 :/
Raimond Spekking [Mon, 22 Dec 2008 19:58:35 +0000 (19:58 +0000)]
Add lines accidently removed with r44912 :/

15 years ago* (bug 16760) Add CSS-class to action links of Special:Log
Raimond Spekking [Mon, 22 Dec 2008 19:52:49 +0000 (19:52 +0000)]
* (bug 16760) Add CSS-class to action links of Special:Log

15 years agoSwitching some message from raw HTML to wiki (part of this commit fixes bug 16026).
Alexandre Emsenhuber [Mon, 22 Dec 2008 18:30:13 +0000 (18:30 +0000)]
Switching some message from raw HTML to wiki (part of this commit fixes bug 16026).

Messages changed:
* MediaWiki:Revision-info
* MediaWiki:Revision-info-current
* MediaWiki:Cannotdelete
* MediaWiki:Redirectedfrom
* MediaWiki:Historywarning

Also escaped other messages that weren't escaped.

This can be a breaking change for some sites (such as English Wikipedia) that use HTML syntax to make links

15 years agoFixing some typos
Anders Wegge Jakobsen [Mon, 22 Dec 2008 12:51:09 +0000 (12:51 +0000)]
Fixing some typos

15 years agoMake the SQL search subclasses less nerve-wracking to read, by using makeList() inste...
Tim Starling [Mon, 22 Dec 2008 12:31:15 +0000 (12:31 +0000)]
Make the SQL search subclasses less nerve-wracking to read, by using makeList() instead of implode(), addQuotes() instead of strencode(), and by documenting the fact that parseQuery() is intentionally returning an SQL fragment to be included into a query without further escaping. No actual vulnerabilities fixed, due to effective UI-side validation, so this is just to minimise reviewer anxiety.

15 years agoFix PHP Notice: Undefined variable: toolLinks in /var/www/w/includes/specials/Specia...
Raimond Spekking [Mon, 22 Dec 2008 12:07:12 +0000 (12:07 +0000)]
Fix  PHP Notice: Undefined variable: toolLinks in /var/www/w/includes/specials/SpecialIpblocklist.php on line 451
Thanks to Siebrand

15 years agoAdd "id" attribute to section anchors, per discussion on wikitech-l.
Ilmari Karonen [Mon, 22 Dec 2008 11:45:54 +0000 (11:45 +0000)]
Add "id" attribute to section anchors, per discussion on wikitech-l.

15 years agoLocalisation updates from Betawiki
Siebrand Mazeland [Mon, 22 Dec 2008 10:29:53 +0000 (10:29 +0000)]
Localisation updates from Betawiki

15 years agoTweaks from profiling
Aaron Schulz [Mon, 22 Dec 2008 09:07:53 +0000 (09:07 +0000)]
Tweaks from profiling

15 years agoAvoid extra page_touched query
Aaron Schulz [Mon, 22 Dec 2008 07:35:56 +0000 (07:35 +0000)]
Avoid extra page_touched query

15 years ago(bug 16748) Null revisions are stored in the DB with rev_len=NULL. Patch by Paul...
Roan Kattouw [Sun, 21 Dec 2008 22:35:52 +0000 (22:35 +0000)]
(bug 16748) Null revisions are stored in the DB with rev_len=NULL. Patch by Paul Copperman

15 years ago*Replace crappy BeforeWatchlist hook
Aaron Schulz [Sun, 21 Dec 2008 21:31:06 +0000 (21:31 +0000)]
*Replace crappy BeforeWatchlist hook
*Updated LQT accordingly
*Will add flaggedrevs function to this shortly