lhc/web/wiklou.git
15 years agoFix regression from r45749: only UTF-8 normalize strings
Roan Kattouw [Thu, 15 Jan 2009 10:26:23 +0000 (10:26 +0000)]
Fix regression from r45749: only UTF-8 normalize strings

15 years ago* svn:eol-style native for r45755
Roan Kattouw [Thu, 15 Jan 2009 10:18:44 +0000 (10:18 +0000)]
* svn:eol-style native for r45755
* Replace spaces with tabs in ApiFormatJson_json.php, fix some crazy indentation

15 years agoFor backport to 1.14.
Tim Starling [Thu, 15 Jan 2009 06:56:58 +0000 (06:56 +0000)]
For backport to 1.14.

* Made the upgrader work with SQLite
* Implemented missing schema info functionality in DatabaseSqlite
* Merged the SQLite and MySQL schemas into the one file with the help of some replaceVars() hacks.
* Moved all primary key definitions to the field definition, moved all indexes to CREATE INDEX statements, for best SQLite compatibility.
* Made all autoincrement fields primary keys, as required by SQLite.
* Removed meaningless buzzword from the category table comment
* tables.sql: s/'0'/0/
* In SQLite the index names have DB scope. Renamed archive.usertext_timestamp, user_newtalk.user_id, user_newtalk.user_ip
* SQLite does not support UPDATE with LIMIT by default. Removed all instances I could find.
* Made query errors work in the installer.
* Fixed DatabaseSqlite::lastErrno(), made SQLITE_SCHEMA errors automatically reissue the query as suggested on sqlite-users. Otherwise upgrade breaks.
* Removed miscellaneous status information from getServerVersion(), that's not the place to put it

15 years agoUse new notifyRC2UDP() function in LogPage to avoid duplicated code
Aaron Schulz [Thu, 15 Jan 2009 01:42:11 +0000 (01:42 +0000)]
Use new notifyRC2UDP() function in LogPage to avoid duplicated code

15 years ago* Convert prefsubmit div into a table to fix tab indexing
Aaron Schulz [Thu, 15 Jan 2009 01:32:15 +0000 (01:32 +0000)]
* Convert prefsubmit div into a table to fix tab indexing
* Fix XHTML

15 years agoMove up user page noindex check
Aaron Schulz [Wed, 14 Jan 2009 23:42:57 +0000 (23:42 +0000)]
Move up user page noindex check

15 years agoFollow-up to r45698 "(bug 16969) Add show/hide to Preferences for option on specialpa...
Brion Vibber [Wed, 14 Jan 2009 22:31:25 +0000 (22:31 +0000)]
Follow-up to r45698 "(bug 16969) Add show/hide to Preferences for option on specialpages added by FlaggedRevs"
That also added toggles in core for showing/hiding patrolled edits by default in watchlist & RC, but they were being shown regardless of whether patrolling was enabled.
Now hiding them if patrolling is disabled.

15 years ago/me slaps himself for being in the wrong directory while commiting
X! [Wed, 14 Jan 2009 22:24:56 +0000 (22:24 +0000)]
/me slaps himself for being in the wrong directory while commiting

15 years ago(bug 17028) Added support for IBM DB2 database. config/index.php has new interface...
Leons Petrazickis [Wed, 14 Jan 2009 22:20:15 +0000 (22:20 +0000)]
(bug 17028) Added support for IBM DB2 database. config/index.php has new interface elements that only show up if PHP has ibm_db2 module enabled. AutoLoader knows about the new DB2 classes. GlobalFunctions has a new constant for DB2 time format. Revision class fixed slightly. Also includes new PHP files containing the Database and Search API implementations for IBM DB2.

15 years ago(bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=
X! [Wed, 14 Jan 2009 22:15:50 +0000 (22:15 +0000)]
(bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=

15 years agoRemove RELEASE-NOTES entries for backported changes (backported in r45682, r45683...
Roan Kattouw [Wed, 14 Jan 2009 21:39:14 +0000 (21:39 +0000)]
Remove RELEASE-NOTES entries for backported changes (backported in r45682, r45683, r45752), so they aren't listed twice (in 1.14's and 1.15's release notes)

15 years agoLocalisation updates for core messages from Betawiki
Raimond Spekking [Wed, 14 Jan 2009 21:24:41 +0000 (21:24 +0000)]
Localisation updates for core messages from Betawiki

15 years agoAPI: Clean up invalid UTF-8 in the result before feeding it to the formatter. This...
Roan Kattouw [Wed, 14 Jan 2009 21:22:00 +0000 (21:22 +0000)]
API: Clean up invalid UTF-8 in the result before feeding it to the formatter. This should fix bug 15261 (trimmed multibyte chars) and bug 16262 (chars like \x0f)

15 years agoFollow up r45741 per IAlex comment:
Raimond Spekking [Wed, 14 Jan 2009 20:32:25 +0000 (20:32 +0000)]
Follow up r45741 per IAlex comment:
OutputPage::wrapWikiMsg() directly adds the html to OutputPage::$mBodytext rather than returning it.

15 years agoPartial revert of r45689 "bug 15470: Don't force-capitalize on Special:Upload. There...
Brion Vibber [Wed, 14 Jan 2009 20:03:40 +0000 (20:03 +0000)]
Partial revert of r45689 "bug 15470: Don't force-capitalize on Special:Upload. There's no point in throwing errors for any of this crap, really. I think this cleans up the last of the useless errors (for spacing/capitalization) in Special:Upload."
This made the auto-filled destination file name no longer match what we would actually upload as. It would be better to make it *more* accurate (handling normalization of forbidden chars) rather than less accurate.
The particular problem of bug 15470 should be resolved by actually checking how normalization should proceed, not by failing to do it.

15 years agoFollowup to r45676, r45688, r45689, but this time actually working. :)
Brion Vibber [Wed, 14 Jan 2009 19:56:42 +0000 (19:56 +0000)]
Followup to r45676, r45688, r45689, but this time actually working. :)
For bug 16968 -- don't throw a filename change warning when we auto-capitalize the file per $wgCapitalLinks.

15 years agoRevert r45671 "Added "__\" magic word to eat up all whitespace and newlines to the...
Brion Vibber [Wed, 14 Jan 2009 19:41:30 +0000 (19:41 +0000)]
Revert r45671 "Added "__\" magic word to eat up all whitespace and newlines to the next non-whitespace character, to facilitate writing readable template code where whitespace is significant."
Unplanned syntax change.

15 years agoRevert r45642 "* Fixing the caching issue by using -{T|xxx}- syntax (only applies...
Brion Vibber [Wed, 14 Jan 2009 19:14:20 +0000 (19:14 +0000)]
Revert r45642 "* Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with LanguageConverter class) * Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with LanguageConverter class) patches by PhiLiP"
Causes parser test regression and other problems noted in code review.

15 years ago* Wrap success/failure/norev messages into a div with own classes
Raimond Spekking [Wed, 14 Jan 2009 19:01:56 +0000 (19:01 +0000)]
* Wrap success/failure/norev messages into a div with own classes
* Add class "error" for failure/norev
* Remove "span class=error" from some localizations
** Makes default behaviour more consistent over all languages

15 years ago$udp is already on by default, remove arguments
Aaron Schulz [Wed, 14 Jan 2009 18:14:12 +0000 (18:14 +0000)]
$udp is already on by default, remove arguments

15 years agoTweak $udp param
Aaron Schulz [Wed, 14 Jan 2009 18:10:03 +0000 (18:10 +0000)]
Tweak $udp param

15 years ago(bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if the...
Alexandre Emsenhuber [Wed, 14 Jan 2009 18:07:03 +0000 (18:07 +0000)]
(bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if the destination page exists

15 years ago(bug 16852) padleft and padright now handle multibyte characters and multicharacter...
Aryeh Gregor [Wed, 14 Jan 2009 17:54:52 +0000 (17:54 +0000)]
(bug 16852) padleft and padright now handle multibyte characters and multicharacter pad strings

Patch by RememberTheDot, with adjustments to comments by me

15 years agoAPI: (bug 16844) Added clcategories parameter to prop=category to make checking wheth...
Roan Kattouw [Wed, 14 Jan 2009 17:04:46 +0000 (17:04 +0000)]
API: (bug 16844) Added clcategories parameter to prop=category to make checking whether a certain page is in a certain category more efficient

15 years agoAdded notifyRC2UDP() convenience function
Aaron Schulz [Wed, 14 Jan 2009 01:45:52 +0000 (01:45 +0000)]
Added notifyRC2UDP() convenience function

15 years agoFix for r45723
Aaron Schulz [Wed, 14 Jan 2009 00:39:43 +0000 (00:39 +0000)]
Fix for r45723

15 years agoCleaned up single rev page diffs (bug 11527)
Aaron Schulz [Wed, 14 Jan 2009 00:26:21 +0000 (00:26 +0000)]
Cleaned up single rev page diffs (bug 11527)

15 years agoFix comment leftover from ApiLogout
X! [Wed, 14 Jan 2009 00:00:40 +0000 (00:00 +0000)]
Fix comment leftover from ApiLogout

15 years agoFixes for r45514 and r45516:
Merlijn S. van Deen [Tue, 13 Jan 2009 23:58:45 +0000 (23:58 +0000)]
Fixes for r45514 and r45516:

* Removed deprecated constructs
* Replaced SQL queries with their functional equivalents
** Removed deleteBatch function: equivalent to $dbw->delete()
* Allow slave servers to catch up before deleting more rows
* Fixed to use a new, unbuffered, slave database connection
* This one should actually work

15 years agoCheck $wgLang->isRTL()
Aaron Schulz [Tue, 13 Jan 2009 21:51:14 +0000 (21:51 +0000)]
Check $wgLang->isRTL()

15 years agoadding newline to end of wfDebug calls where it was missing.
Alex Z [Tue, 13 Jan 2009 20:28:54 +0000 (20:28 +0000)]
adding newline to end of wfDebug calls where it was missing.

15 years ago(bug 11443) Auto-noindex user/user talk pages for blocked users
Aaron Schulz [Tue, 13 Jan 2009 18:37:46 +0000 (18:37 +0000)]
(bug 11443) Auto-noindex user/user talk pages for blocked users

15 years ago* Short-circuit userWasLastToEdit()
Aaron Schulz [Tue, 13 Jan 2009 18:05:43 +0000 (18:05 +0000)]
* Short-circuit userWasLastToEdit()
* Move edit conflict suppress check up
* Code style tweaks

15 years agoLocalisation updates: Correcting a translation
Huji [Tue, 13 Jan 2009 16:25:21 +0000 (16:25 +0000)]
Localisation updates: Correcting a translation

15 years ago(bug 15391) catch DBQueryError too
Aaron Schulz [Tue, 13 Jan 2009 15:42:10 +0000 (15:42 +0000)]
(bug 15391) catch DBQueryError too

15 years agoLocalization update for he.
Rotem Liss [Tue, 13 Jan 2009 14:30:34 +0000 (14:30 +0000)]
Localization update for he.

15 years agofollow up r45698: Add new messages
Raimond Spekking [Tue, 13 Jan 2009 14:15:45 +0000 (14:15 +0000)]
follow up r45698: Add new messages

15 years ago(bug 16969) Add show/hide to Preferences for option on specialpages added by FlaggedRevs
Aaron Schulz [Tue, 13 Jan 2009 13:46:02 +0000 (13:46 +0000)]
(bug 16969) Add show/hide to Preferences for option on specialpages added by FlaggedRevs

15 years ago* (bug 17002) Add &minor= and &summary= as parameters in the url when editing, to...
X! [Tue, 13 Jan 2009 02:10:17 +0000 (02:10 +0000)]
* (bug 17002) Add &minor= and &summary= as parameters in the url when editing, to automatically add a summary or a minor edit.

15 years ago(bug 17000) Special:RevisionDelete now checks if the database is locked before trying...
X! [Tue, 13 Jan 2009 01:50:28 +0000 (01:50 +0000)]
(bug 17000) Special:RevisionDelete now checks if the database is locked before trying to delete the edit. Patch by FunPika

15 years agobug 15470: Don't force-capitalize on Special:Upload. There's no point in throwing...
Chad Horohoe [Tue, 13 Jan 2009 00:18:40 +0000 (00:18 +0000)]
bug 15470: Don't force-capitalize on Special:Upload. There's no point in throwing errors for any of this crap, really. I think this cleans up the last of the useless errors (for spacing/capitalization) in Special:Upload.

15 years agoRemove this ucfirst() crap. $filtered is already a DB key, so it should've been norma...
Chad Horohoe [Mon, 12 Jan 2009 23:58:07 +0000 (23:58 +0000)]
Remove this ucfirst() crap. $filtered is already a DB key, so it should've been normalized at Title construction anyway (and if it wasn't, that's Title's fault). Fwiw: we're throwing a dismissable error every time $wgCapitalLinks is enabled and a lowercase name is submitted. Why bother? We handle this silently everywhere else...

15 years agoFix a problem with a protected class method that brought up an error, and also
Charles Melbye [Mon, 12 Jan 2009 22:52:09 +0000 (22:52 +0000)]
Fix a problem with a protected class method that brought up an error, and also
fixed a typo in the release notes.

15 years agoAdd a linebreak per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/45052#c1221
Raimond Spekking [Mon, 12 Jan 2009 19:51:49 +0000 (19:51 +0000)]
Add a linebreak per mediawiki.org/wiki/Special:Code/MediaWiki/45052#c1221

15 years agoBug 16991: Fix regression: Add class for right justify figures again. Class is define...
Raimond Spekking [Mon, 12 Jan 2009 17:16:47 +0000 (17:16 +0000)]
Bug 16991: Fix regression: Add class for right justify figures again. Class is defined in shared.css already.

15 years agoAPI: (bug 16858) Revamped list=deletedrevs to make listing deleted contributions...
Roan Kattouw [Mon, 12 Jan 2009 16:39:04 +0000 (16:39 +0000)]
API: (bug 16858) Revamped list=deletedrevs to make listing deleted contributions and all deleted pages possible. This reintroduces drnamespace (removed earlier because of performance concerns, now implemented efficiently) and introduces druser, drexcludeuser, drfrom, drcontinue and drunique

15 years ago(bug 16968) Don't throw useless warnings on Special:Upload. We don't warn the user...
Chad Horohoe [Mon, 12 Jan 2009 14:28:46 +0000 (14:28 +0000)]
(bug 16968) Don't throw useless warnings on Special:Upload. We don't warn the user about spaces/underscores anywhere else, why bother with it here? And if $wgCapitalLinks is enabled, we should silently deal with it, rather than make the user think they've done something wrong.

15 years agoAPI: (bug 16629) "edit=:move=" in page.page_restrictions was interpreted incorrectly...
Roan Kattouw [Mon, 12 Jan 2009 14:27:28 +0000 (14:27 +0000)]
API: (bug 16629) "edit=:move=" in page.page_restrictions was interpreted incorrectly. Also moved up the code checking for legacy protections to right after the code checking for 'new' protections.

15 years agoAPI: (bug 16798) Fix for PHP bug 46944 (PHP's JSON formatter encodes certain UTF8...
Roan Kattouw [Mon, 12 Jan 2009 14:11:20 +0000 (14:11 +0000)]
API: (bug 16798) Fix for PHP bug 46944 (PHP's JSON formatter encodes certain UTF8 characters incorrectly) by falling back to our own formatter if PHP's is broken. Also fix up our own JSON formatter which also messed up these characters, albeit in a different way. Slightly modified patch by Brad Jorsch.

15 years agobrr, Article::getContent still has "side effects"
Niklas Laxström [Mon, 12 Jan 2009 08:11:22 +0000 (08:11 +0000)]
brr, Article::getContent still has "side effects"

15 years agoComment that should've accompanied r45671 (*shakes fist at TortoiseSVN*):
Fran Rogers [Mon, 12 Jan 2009 07:50:54 +0000 (07:50 +0000)]
Comment that should've accompanied r45671 (*shakes fist at TortoiseSVN*):
Added "__\" magic word to eat up all whitespace and newlines to the next non-whitespace character, to facilitate writing readable template code where whitespace is significant.

15 years ago(no commit message)
Fran Rogers [Mon, 12 Jan 2009 07:45:34 +0000 (07:45 +0000)]

15 years ago* Plural function for gv, not yet verified to be correct
Niklas Laxström [Sun, 11 Jan 2009 10:02:32 +0000 (10:02 +0000)]
* Plural function for gv, not yet verified to be correct

15 years ago(bug 16965) Follow-up to r45266, also don't record self-links, such as those created...
Alex Z [Sun, 11 Jan 2009 03:42:13 +0000 (03:42 +0000)]
(bug 16965) Follow-up to r45266, also don't record self-links, such as those created by <ref>s.

15 years agoJust use != here
Aaron Schulz [Sat, 10 Jan 2009 22:07:12 +0000 (22:07 +0000)]
Just use != here

15 years agoWrap 'searchresulttext' into a div with class
Raimond Spekking [Sat, 10 Jan 2009 20:11:16 +0000 (20:11 +0000)]
Wrap 'searchresulttext' into a div with class

15 years agoFix for r45648: only change page title if it's not an empty string (which is the...
Alexandre Emsenhuber [Sat, 10 Jan 2009 19:41:11 +0000 (19:41 +0000)]
Fix for r45648: only change page title if it's not an empty string (which is the default value)

15 years agofollow up of r45642, only set page title when it is not on the special namespace
Shinjiman [Sat, 10 Jan 2009 19:34:16 +0000 (19:34 +0000)]
follow up of r45642, only set page title when it is not on the special namespace

15 years ago* Reverting r45588, causes fatal errors when saving new sections
Niklas Laxström [Sat, 10 Jan 2009 17:16:21 +0000 (17:16 +0000)]
* Reverting r45588, causes fatal errors when saving new sections

15 years agofixing typo on Cantonese/Chinese loclisation, backport to REL_1_14
Shinjiman [Sat, 10 Jan 2009 17:08:13 +0000 (17:08 +0000)]
fixing typo on Cantonese/Chinese loclisation, backport to REL_1_14

15 years ago* Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with Langu...
Shinjiman [Sat, 10 Jan 2009 16:13:44 +0000 (16:13 +0000)]
* Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with LanguageConverter class)
* Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with LanguageConverter class)
  patches by PhiLiP

15 years agoUpdate comments for $wgForeignFileRepos
Chad Horohoe [Sat, 10 Jan 2009 16:10:30 +0000 (16:10 +0000)]
Update comments for $wgForeignFileRepos

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sat, 10 Jan 2009 15:56:00 +0000 (15:56 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years ago* Added getRawText() convenience function to always get the current revision
Aaron Schulz [Sat, 10 Jan 2009 13:41:22 +0000 (13:41 +0000)]
* Added getRawText() convenience function to always get the current revision
* Fix incorrect usage of getContent() which broke if ?oldid was set

15 years ago* (bug 16937) Show appropriate error message when someone attempts an install on...
Tim Starling [Sat, 10 Jan 2009 00:53:26 +0000 (00:53 +0000)]
* (bug 16937) Show appropriate error message when someone attempts an install on PostgreSQL 7.3 or earlier.
* Fix some issues with the earlier migration of getServerVersion() to numeric only.

15 years agoMinor code style tweaks & cleanup
Aaron Schulz [Fri, 9 Jan 2009 23:18:47 +0000 (23:18 +0000)]
Minor code style tweaks & cleanup

15 years agoHide patrol mark if patrolling is disabled
Aaron Schulz [Fri, 9 Jan 2009 22:49:40 +0000 (22:49 +0000)]
Hide patrol mark if patrolling is disabled

15 years agoCheck $wgLogRestrictions for udp-only case
Aaron Schulz [Fri, 9 Jan 2009 18:44:52 +0000 (18:44 +0000)]
Check $wgLogRestrictions for udp-only case

15 years agoClean up log restrictions check
Aaron Schulz [Fri, 9 Jan 2009 18:38:10 +0000 (18:38 +0000)]
Clean up log restrictions check

15 years agoRevert r45605 and generalize the ability to have logs go to UDP.
Aaron Schulz [Fri, 9 Jan 2009 18:30:47 +0000 (18:30 +0000)]
Revert r45605 and generalize the ability to have logs go to UDP.

15 years agorm protectionlevel from mVariableIDs per iAlex on codereview
Alex Z [Fri, 9 Jan 2009 18:28:55 +0000 (18:28 +0000)]
rm protectionlevel from mVariableIDs per iAlex on codereview

15 years agoMake sure feeds reflect changes due to flaggedrevs
Aaron Schulz [Fri, 9 Jan 2009 18:05:58 +0000 (18:05 +0000)]
Make sure feeds reflect changes due to flaggedrevs

15 years agoFix typo
Aaron Schulz [Fri, 9 Jan 2009 17:59:23 +0000 (17:59 +0000)]
Fix typo

15 years agoSend manual patrols to IRC (bug 16604)
Aaron Schulz [Fri, 9 Jan 2009 17:57:22 +0000 (17:57 +0000)]
Send manual patrols to IRC (bug 16604)

15 years agoMark non-patrolled edits in feeds (bug 16604)
Aaron Schulz [Fri, 9 Jan 2009 17:47:05 +0000 (17:47 +0000)]
Mark non-patrolled edits in feeds (bug 16604)

15 years agoFix lag for 'restore' button
Aaron Schulz [Fri, 9 Jan 2009 14:26:28 +0000 (14:26 +0000)]
Fix lag for 'restore' button

15 years agoClear dead MW: namespace rows (bug 16846)
Aaron Schulz [Fri, 9 Jan 2009 13:44:37 +0000 (13:44 +0000)]
Clear dead MW: namespace rows (bug 16846)

15 years agominor cleanup
Aaron Schulz [Fri, 9 Jan 2009 13:38:43 +0000 (13:38 +0000)]
minor cleanup

15 years agoButton alignment
Aaron Schulz [Fri, 9 Jan 2009 13:06:47 +0000 (13:06 +0000)]
Button alignment

15 years agoLocalization update.
Rotem Liss [Fri, 9 Jan 2009 12:35:53 +0000 (12:35 +0000)]
Localization update.

15 years ago(bug 16945) Update namespaces
Siebrand Mazeland [Fri, 9 Jan 2009 08:09:08 +0000 (08:09 +0000)]
(bug 16945) Update namespaces

15 years agoUpdated the incorrect wording in HISTORY (Thanks, Prodego), and fixed a few
Charles Melbye [Fri, 9 Jan 2009 04:44:16 +0000 (04:44 +0000)]
Updated the incorrect wording in HISTORY (Thanks, Prodego), and fixed a few
typos in RELEASE-NOTES.

15 years ago* In selectField(), use reset($row) instead of $row[0] for compatibility with SQLite
Tim Starling [Fri, 9 Jan 2009 03:53:28 +0000 (03:53 +0000)]
* In selectField(), use reset($row) instead of $row[0] for compatibility with SQLite
* Non-broken (no-op) implementation of DatabaseSqlite::deadlockLoop(). Fixes bug 16123: total breakage of Special:Import on SQLite.

15 years agoUpdate version number to 1.15 in CREDITS
Nathaniel Herman [Fri, 9 Jan 2009 00:30:11 +0000 (00:30 +0000)]
Update version number to 1.15 in CREDITS

15 years agoReduce code duplication correctly this time, again
Aryeh Gregor [Thu, 8 Jan 2009 23:59:25 +0000 (23:59 +0000)]
Reduce code duplication correctly this time, again

The test cases I thought up are at:

http://www.mediawiki.org/wiki/User:Simetrical/Id_tests

All of them pass with the patch, except for some that fail on current
code as well: the ones involving templates, multiply-occurring section
headers, or numeric id's (there seems to be a weird bug with those that
probably involves string and numeric id's being used in the same array).
This is true whether $wgEnforceHtmlIds is on or off.  (Actually, the
problem with numeric keys doesn't happen with $wgEnforceHtmlIds off,
because of course numeric ids aren't allowed then.)

15 years ago(bug 9947) Add PROTECTIONLEVEL parser function to return the protection level for...
Alex Z [Thu, 8 Jan 2009 23:21:06 +0000 (23:21 +0000)]
(bug 9947) Add PROTECTIONLEVEL parser function to return the protection level for a given action (e.g. edit, move) for the current page.

15 years agoForce the use of the PRIMARY key rather than the name_title in the second query.
Bryan Tong Minh [Thu, 8 Jan 2009 22:02:16 +0000 (22:02 +0000)]
Force the use of the PRIMARY key rather than the name_title in the second query.

15 years agoLocalization update for he.
Rotem Liss [Thu, 8 Jan 2009 19:50:04 +0000 (19:50 +0000)]
Localization update for he.

15 years agoLocalisation updates for core messages from Betawiki (2009-01-08 19:04 UTC)
Siebrand Mazeland [Thu, 8 Jan 2009 19:21:28 +0000 (19:21 +0000)]
Localisation updates for core messages from Betawiki (2009-01-08 19:04 UTC)

15 years agoReverted r45517 " * (bug 16921) Add a maxlength for the reason field of the page...
Brion Vibber [Thu, 8 Jan 2009 18:51:11 +0000 (18:51 +0000)]
Reverted r45517 " * (bug 16921) Add a maxlength for the reason field of the page move form. Changed from 'textarea' to 'text' because 'textarea' does not support maxlength. Makes it consistent with all other reason fields."
This field is deliberately not a single-line text input field because it caused confusion when it was.

15 years agoLocalisation updates: Correcting the translation for IP
Huji [Thu, 8 Jan 2009 15:18:42 +0000 (15:18 +0000)]
Localisation updates: Correcting the translation for IP

15 years agofix for last commit: add message to messages.inc
Alexandre Emsenhuber [Thu, 8 Jan 2009 14:21:23 +0000 (14:21 +0000)]
fix for last commit: add message to messages.inc

15 years ago(bug 2164) Add a "reset to site defaults" link to Special:Preferences
Aaron Schulz [Thu, 8 Jan 2009 14:02:05 +0000 (14:02 +0000)]
(bug 2164) Add a "reset to site defaults" link to Special:Preferences

15 years agoUSE INDEX is the option name, it's converted to MySQL-specific FORCE INDEX by the...
Tim Starling [Thu, 8 Jan 2009 08:04:39 +0000 (08:04 +0000)]
USE INDEX is the option name, it's converted to MySQL-specific FORCE INDEX by the Database class.

15 years agoUpdates for the new 1.15 branch. All changes after the branch point will go to 1...
Tim Starling [Thu, 8 Jan 2009 07:23:58 +0000 (07:23 +0000)]
Updates for the new 1.15 branch. All changes after the branch point will go to 1.15 RELEASE-NOTES for now, some may be backported.

15 years agoFix odd edge case for POST Http::request()'s. I incidentally found this while working...
Chad Horohoe [Thu, 8 Jan 2009 06:56:11 +0000 (06:56 +0000)]
Fix odd edge case for POST Http::request()'s. I incidentally found this while working with Special:Import. For some reason that I can't 100% nail down--works fine on Win32, fails on CentOS--cURL seems to want CURLOPT_POSTFIELDS set to at least an empty string, if not values. Using a workaround I found, we'll set it to an empty string if we're making a POST. Since we explicitly allow setting of arbitrary curlopts later, users can still override the empty string if they in fact want to set this. This fixes my Special:Import problem (and possibly similar issues) and has no regressions afaict. Credit to Phill Sparks @ milk-hub.net/blog/2008/08/26/curl_error_26#comments-77

15 years agoRemove redundant messages as the translation does not differ from original.
Raimond Spekking [Thu, 8 Jan 2009 05:11:32 +0000 (05:11 +0000)]
Remove redundant messages as the translation does not differ from original.

15 years ago* 2008 -> 2009
Danny B [Thu, 8 Jan 2009 01:44:37 +0000 (01:44 +0000)]
* 2008 -> 2009

15 years agoIncrement years
Aryeh Gregor [Thu, 8 Jan 2009 01:29:11 +0000 (01:29 +0000)]
Increment years

15 years agoReplaced some hardcoded colons with the colon-separator message
Raimond Spekking [Wed, 7 Jan 2009 22:49:54 +0000 (22:49 +0000)]
Replaced some hardcoded colons with the colon-separator message