Siebrand Mazeland [Fri, 19 Dec 2008 21:50:52 +0000 (21:50 +0000)]
Localisation updates for core messages from Betawiki (2008-12-19 22:45 CET)
Rotem Liss [Fri, 19 Dec 2008 18:34:04 +0000 (18:34 +0000)]
Localization update for he, and fixes for links in en.
Rotem Liss [Fri, 19 Dec 2008 16:38:04 +0000 (16:38 +0000)]
Localization update for he.
Aaron Schulz [Fri, 19 Dec 2008 14:51:42 +0000 (14:51 +0000)]
Store negative results in cache
Aaron Schulz [Fri, 19 Dec 2008 09:21:20 +0000 (09:21 +0000)]
Tweaks from profiling
Niklas Laxström [Fri, 19 Dec 2008 08:54:51 +0000 (08:54 +0000)]
* Springle some parsemag to the sidebar and tagline per bug 16669
Tim Starling [Fri, 19 Dec 2008 08:43:26 +0000 (08:43 +0000)]
Stats on the blob_orphans table, to make sure we're not losing anything by dropping the tracked orphans.
Aaron Schulz [Fri, 19 Dec 2008 08:16:05 +0000 (08:16 +0000)]
short-circuit update call
Aaron Schulz [Fri, 19 Dec 2008 07:37:07 +0000 (07:37 +0000)]
Remove LogPage require
Brion Vibber [Fri, 19 Dec 2008 02:03:36 +0000 (02:03 +0000)]
* (bug 11733) Fixed parameter validation in importTextFile.php
Brion Vibber [Fri, 19 Dec 2008 01:50:07 +0000 (01:50 +0000)]
* (bug 15027) Internet domain names and IP addresses can now be indexed and searched sensibly with the default MySQL search backend.
Previously things like "192.168.1.1" couldn't be searched very cleanly in the MySQL backend for two reasons:
* First, the periods were stripped out. This resulted in it being broken into multiple short words: "192 168 1 1", leading at best to false positives and general weirdness.
* Second, for IP addresses these were shorter than the default minimum word length of 4 and thus didn't even get indexed!
The addition of padding for short words let them at least get indexed, but they still didn't turn up cleanly due to the word split. Now allowing periods through to the indexed text, and encoding periods that appear within a compound word so they get caught more cleanly.
Also made a tweak so highlighting works a bit better on word boundaries -- eg "192.168.1.1" no longer hits a highlight match for "192.168.1.100". However it's still not 100% handling some cases with the periods. Sigh.
Aryeh Gregor [Thu, 18 Dec 2008 23:24:00 +0000 (23:24 +0000)]
Enable \cancel and \cancelto in texvc
This works on Hardy, but may break all math support in the event that
some platform doesn't have support for \cancel. I don't know much
OCaml or LaTeX, so I'm not sure how to make it import the package only
if it exists or something similarly useful.
If this gets reverted, though, at least I'll have committed it and
won't have to keep the diff in git stash forever. :)
Clearly this requires a texvc recompile in any event.
Aaron Schulz [Thu, 18 Dec 2008 23:09:49 +0000 (23:09 +0000)]
Streamline links a bit
Raimond Spekking [Thu, 18 Dec 2008 21:48:06 +0000 (21:48 +0000)]
Bump $wgStyleVersion per r44774/r44782
Aaron Schulz [Thu, 18 Dec 2008 21:30:40 +0000 (21:30 +0000)]
Fix for r44775: remove debug line
Roan Kattouw [Thu, 18 Dec 2008 21:23:02 +0000 (21:23 +0000)]
Break long line in RELEASE-NOTES
Aaron Schulz [Thu, 18 Dec 2008 21:15:20 +0000 (21:15 +0000)]
Make quickbar fill in extra bottom bit
Aaron Schulz [Thu, 18 Dec 2008 20:50:28 +0000 (20:50 +0000)]
Remove some less-useful redundant links from sidebar
Siebrand Mazeland [Thu, 18 Dec 2008 20:38:33 +0000 (20:38 +0000)]
Localisation updates for core messages from Betawiki (2008-12-18 21:28 CET)
Aaron Schulz [Thu, 18 Dec 2008 20:36:02 +0000 (20:36 +0000)]
Fix odd syntax that made XHTML error
Alexandre Emsenhuber [Thu, 18 Dec 2008 19:45:58 +0000 (19:45 +0000)]
Moving check for "$rc_type == RC_LOG" before check for special pages since log entries can now have a tagert in NS_SPECIAL, this happens for log item deletion (rev_deleted stuff) and thus breaking recent changes display, (see the current version of test.wikipedia.org/wiki/Special:RecentChanges, where the deletion log appears as "block log" since the last entry is hiding an item from the block log)
Aryeh Gregor [Thu, 18 Dec 2008 18:16:09 +0000 (18:16 +0000)]
(bug 16459) Use native getElementsByClassName
Patch by Derk-Jan Hartman. Seems not to break table sorting in Firefox
3, and he's tested it in other browsers, including IE6. (Of course it
falls back to ordinary JS if the native version is unavailable.)
Robert Stojnić [Thu, 18 Dec 2008 18:01:06 +0000 (18:01 +0000)]
New search UI tweaks:
* Show namespace checkboxes only for advanced search. Showing these for "Project Pages" searches
does provide information for advanced users, but clutters UI for everyone else. User should be able to
refer to help pages to find out which namespace are in "Project Pages" and these are also in tooltip
* put "did you mean.." inside the fieldset for increased visibility
* missing 'advanced' req param was making advanced form behave strangely, fixed
* remove "browse pages with this prefix", clutters, sometimes shows up, sometimes not. User cannot tell why
if not familiar with namespaces and logic behind the it (e.g. it shows only when one namespace is selected)
* correct placement of external search box when search is disabled
* make search messages consistent for new and existing pages
Roan Kattouw [Thu, 18 Dec 2008 15:00:07 +0000 (15:00 +0000)]
API: Fix up r44676: convert underscores to spaces in canonical names.
Siebrand Mazeland [Thu, 18 Dec 2008 12:27:39 +0000 (12:27 +0000)]
(bug 16698) Fixed typo in NS_FILE_TALK
Siebrand Mazeland [Thu, 18 Dec 2008 11:59:48 +0000 (11:59 +0000)]
(bug 15670)-ish: Update fallback from Hindi to Bengali. Assamese and Bengali share the same script, and the languages are spoken in the same region, albeit mainly in different countries (India and Bangladesh respectively).
Siebrand Mazeland [Thu, 18 Dec 2008 11:42:16 +0000 (11:42 +0000)]
(bug 16696) remove duplicate namespace definitions in MessagesLij.php
Siebrand Mazeland [Thu, 18 Dec 2008 00:34:57 +0000 (00:34 +0000)]
Localisation updates from Betawiki
Siebrand Mazeland [Wed, 17 Dec 2008 23:45:11 +0000 (23:45 +0000)]
Localisation updates for core messages from Betawiki (2008-12-18 00:40 CET)
Aaron Schulz [Wed, 17 Dec 2008 20:03:55 +0000 (20:03 +0000)]
Remove bug report link
Alexandre Emsenhuber [Wed, 17 Dec 2008 18:22:47 +0000 (18:22 +0000)]
Fix tests so that they can work with Configure extension or some other special config
Alexandre Emsenhuber [Wed, 17 Dec 2008 17:27:43 +0000 (17:27 +0000)]
* Short circuit EmailNotification::notify() to not call EmailNotification::commonMessageKeys() if there're no users to notify. This is a hack to work arround the following exception:
A database query syntax error has occurred.
The last attempted database query was:
"SELECT gu_id, lu_wiki, gu_salt, gu_password,gu_auth_token, gu_locked,gu_hidden,gu_registration,gu_email,gu_email_authenticated FROM `parsertest_globaluser` LEFT OUTER JOIN `parsertest_localuser` ON gu_name=lu_name AND lu_wiki='test2wiki-parsertest_' WHERE gu_name='127.0.0.1'"
from within function "Database::safeQuery".
MySQL returned error "1146: Table 'centralauth.parsertest_globaluser' doesn't exist (127.0.0.1)"
* Whitespaces fixes
Roan Kattouw [Wed, 17 Dec 2008 16:34:01 +0000 (16:34 +0000)]
API: Crusade against extract(). Left one extract() call alone in ApiQueryBacklinks.php because I don't have a better alternative for it.
Roan Kattouw [Wed, 17 Dec 2008 15:35:57 +0000 (15:35 +0000)]
Revert r44716 (added user,excludeuser to watchlist,recentchanges): can't commit this just yet because not all WMF servers have the user_text index just yet, see also bug 14200
Raimond Spekking [Wed, 17 Dec 2008 15:01:06 +0000 (15:01 +0000)]
Prettify files tab of Special:Preferences a bit
Roan Kattouw [Wed, 17 Dec 2008 14:50:48 +0000 (14:50 +0000)]
API: (bug 16527) Added user and excludeuser parameters to list=watchlist,recentchanges
Niklas Laxström [Wed, 17 Dec 2008 14:07:07 +0000 (14:07 +0000)]
* Shut this up
Raimond Spekking [Wed, 17 Dec 2008 13:54:32 +0000 (13:54 +0000)]
Fix hardcoded "last month" in statistic message for acitve users.
This is wrong because the number of active users is count in SiteStats::cacheUpdate from recentchanges table.
Default of $wgRCMaxAge is 7 days not 30 days.
Niklas Laxström [Wed, 17 Dec 2008 11:24:52 +0000 (11:24 +0000)]
* Fix for bug 16687
Tim Starling [Wed, 17 Dec 2008 07:42:46 +0000 (07:42 +0000)]
Is this needed? Probably not, but it doesn't hurt. The connection is only used for reading, so the commitMasterChanges() is technically unnecessary but harmless. Without closeAll(), the connection will be held open until the script terminates, but that's probably pretty soon in this case.
Aaron Schulz [Wed, 17 Dec 2008 07:17:59 +0000 (07:17 +0000)]
Use more thorough Title->userCan('patrol')
David McCabe [Wed, 17 Dec 2008 07:08:16 +0000 (07:08 +0000)]
UserMailer bigtime refactor. Please test.
David McCabe [Wed, 17 Dec 2008 07:05:42 +0000 (07:05 +0000)]
wfInvoke documentation fix
David McCabe [Wed, 17 Dec 2008 07:00:18 +0000 (07:00 +0000)]
Factored wfInvoke out of wfRunHooks. This time without breakage. (I think.)
Aaron Schulz [Wed, 17 Dec 2008 01:35:40 +0000 (01:35 +0000)]
Add fragment to nav links to set location
Danny B [Wed, 17 Dec 2008 01:18:47 +0000 (01:18 +0000)]
* footer separator fix per tools.ietf.org/html/rfc3676#section-4.3
Brion Vibber [Wed, 17 Dec 2008 00:05:55 +0000 (00:05 +0000)]
Reverting r44681 "Throw in quick hack $wgRateLimitsExcludedIPs so we don't have to do a live hack every time somebody runs an exciting event where they're going to register a lot of accounts."
r44592 (bug 7492) seems to cover this case with an extension to autopromote settings. Future on-wiki stuff still would be nice...
Andrew Garrett [Wed, 17 Dec 2008 00:00:55 +0000 (00:00 +0000)]
Fix broken and double escaping in r44657.
Brion Vibber [Tue, 16 Dec 2008 23:57:21 +0000 (23:57 +0000)]
Cleanup r44683 -- fix E_NOTICE bug in MWNamespace::getCanonicalName() instead of replicating the function. :)
(Also note -- using MWNamespace instead of Namespace for PHP 5.3 compat.)
Siebrand Mazeland [Tue, 16 Dec 2008 22:56:38 +0000 (22:56 +0000)]
Localisation updates from Betawiki
Siebrand Mazeland [Tue, 16 Dec 2008 22:06:25 +0000 (22:06 +0000)]
Localisation updates for core messages from Betawiki (2008-12-16 22:56 CET)
Brion Vibber [Tue, 16 Dec 2008 21:56:44 +0000 (21:56 +0000)]
Update $wgSVGConverters default command lines to send both width and height to ImageMagick convert
Aaron Schulz [Tue, 16 Dec 2008 20:45:03 +0000 (20:45 +0000)]
(bug 16648) 'FlaggedRevs #mw-data-after-content overflows quickbar w/ standard classic skin'
Alex Z [Tue, 16 Dec 2008 19:59:37 +0000 (19:59 +0000)]
Fix for r44676, fix E_NOTICE from having no canonical name associated with a namespace (ns 0), move RELEASE-NOTES entry to API section and clarify.
Aaron Schulz [Tue, 16 Dec 2008 19:20:35 +0000 (19:20 +0000)]
*Add missing 'reblock' check and message setting
*Move right checks to typeAction to make the code prettier
Brion Vibber [Tue, 16 Dec 2008 18:43:42 +0000 (18:43 +0000)]
Throw in quick hack $wgRateLimitsExcludedIPs so we don't have to do a live hack
every time somebody runs an exciting event where they're going to register
a lot of accounts.
Should be killed and replaced with an on-wiki system for approvals or temporary lifting of limits as a sort of anti-block.
Alexandre Emsenhuber [Tue, 16 Dec 2008 17:26:36 +0000 (17:26 +0000)]
und -> and ;)
Alexandre Emsenhuber [Tue, 16 Dec 2008 17:21:42 +0000 (17:21 +0000)]
Use wfGetLangObj()
X! [Tue, 16 Dec 2008 17:19:05 +0000 (17:19 +0000)]
* (bug 16672) Add canonical parameter to meta=siteinfo&siprop=namespaces|namespacealiases.
Chad Horohoe [Tue, 16 Dec 2008 14:07:58 +0000 (14:07 +0000)]
Add two new XML methods for building tables (buildTable and buildTableRow). Accepts associative arrays where the key is the row/cell id and the value is its value. Non-string keys are skipped.
Raimond Spekking [Tue, 16 Dec 2008 13:03:19 +0000 (13:03 +0000)]
Follow up for r44669: simplfy code. Thanks to IAlex and Nikerabbit
Raimond Spekking [Tue, 16 Dec 2008 12:42:53 +0000 (12:42 +0000)]
* Add PLURAL support for 'undeletepagetext'
* Remove commented out line
* Add a space between input field and submit button
Alexandre Emsenhuber [Tue, 16 Dec 2008 11:41:51 +0000 (11:41 +0000)]
Fix for r44657: correct usage of SpecialPage::getTitleFor()
Siebrand Mazeland [Tue, 16 Dec 2008 08:54:42 +0000 (08:54 +0000)]
Fix syntax errors in r44658.
Siebrand Mazeland [Tue, 16 Dec 2008 08:53:41 +0000 (08:53 +0000)]
(bug 16663) Update namespace aliases for 'mg'. Adding them was omitted in r43599. Namespace aliases have been added based on r43633 of MessagesFr.php.
Raimond Spekking [Tue, 16 Dec 2008 08:51:56 +0000 (08:51 +0000)]
* Add a 'change block' link to Special:IPBlockList und Special:Log
Aaron Schulz [Tue, 16 Dec 2008 06:26:14 +0000 (06:26 +0000)]
Typo
Brion Vibber [Tue, 16 Dec 2008 05:45:28 +0000 (05:45 +0000)]
Follow-up to r44651 -- stay in floats until we finish the SVG size, so aspect ratios in silly tiny units are preserved better.
Brion Vibber [Tue, 16 Dec 2008 05:39:11 +0000 (05:39 +0000)]
* (bug 3691) Aspect ratio from viewBox attribute is now preserved for SVG
images which do not specify width and height attributes.
Examples from bugs:
http://commons.wikimedia.org/wiki/Image:Gcj.svg
http://commons.wikimedia.org/wiki/File:Providence_Metro_Area.svg
Ilmari Karonen [Tue, 16 Dec 2008 04:25:22 +0000 (04:25 +0000)]
(bug 16632) Make updateArticleCount.inc.php use COUNT instead of numRows(), as suggested by Sean Colombo.
Ilmari Karonen [Tue, 16 Dec 2008 02:33:38 +0000 (02:33 +0000)]
Followup to r44641: Only skip file pages that actually have a corresponding file.
Ilmari Karonen [Tue, 16 Dec 2008 00:34:38 +0000 (00:34 +0000)]
Make cleanupTitles.php skip file pages (a bit late to fix that now, but oh well...)
Aaron Schulz [Mon, 15 Dec 2008 23:51:28 +0000 (23:51 +0000)]
Fix bug where new image uploads would be reviewed but had "changes needing review" tag
Brion Vibber [Mon, 15 Dec 2008 23:37:36 +0000 (23:37 +0000)]
* (bug 16656) cleanupTitles and friends should now work in load-balanced DB environments when $wgDBserver isn't set.
Lots of cleanup scripts are based on the FiveUpgrade class created for the 1.5 schema upgrade -- this provides a utility class designed around pulling data from a second, unbuffered connection, processing it, and stuffing it into a master connection.
Originally, both connections were created by manually instantiating the Database class. This worked as long as $wgDBserver was set, but at some point we apparently stopped setting it in our fancy-ass load-balanced environment where we're exclusively using the $wgDBservers array.
As a result, the connections used the default $wgDBserver of 'localhost' which inconveniently fails on Wikimedia's servers. ;)
Now uses the Tim-approved method of getting a new database connection -- creates a new LoadBalancer via wfGetLBFactory()->newMainLB(), then asks it for a fresh connection.
Raimond Spekking [Mon, 15 Dec 2008 22:26:50 +0000 (22:26 +0000)]
Add a descriptive message for rows/cols of Special:Preferences#Editing
Aaron Schulz [Mon, 15 Dec 2008 22:22:21 +0000 (22:22 +0000)]
Add getGeneralShortDesc() and the like to avoid E_STRICT instead
Aaron Schulz [Mon, 15 Dec 2008 22:02:01 +0000 (22:02 +0000)]
use ImagePage, break line
Aaron Schulz [Mon, 15 Dec 2008 21:38:04 +0000 (21:38 +0000)]
E_STRICT
Brion Vibber [Mon, 15 Dec 2008 19:48:54 +0000 (19:48 +0000)]
* (bug 16638) 8-bit URL fallback encoding now set on additional languages using
Arabic script (Persian, Urdu, Sindhi, Punjabi)
Aaron Schulz [Mon, 15 Dec 2008 19:43:47 +0000 (19:43 +0000)]
*Fix XHTML
*Document some arguments
*Minor code style cleanup
Rotem Liss [Mon, 15 Dec 2008 16:11:53 +0000 (16:11 +0000)]
Localization update for he + whitespace fixes.
Chad Horohoe [Mon, 15 Dec 2008 15:47:42 +0000 (15:47 +0000)]
Tweak the wording in 'immobile-target-namespace-iw'. Still feels a bit weird, but it's better :) Also dropped now unnecessary $1 for interwiki prefix.
Chad Horohoe [Mon, 15 Dec 2008 14:48:46 +0000 (14:48 +0000)]
bug 15849 - Trying to move a page onto an interwiki page produces an inappropriate error.
Purodha B Blissenbach [Mon, 15 Dec 2008 14:32:28 +0000 (14:32 +0000)]
Ridiculous message amended.
"ISBN number" meant "international standard book number number" :-D
Andrew Garrett [Mon, 15 Dec 2008 12:10:41 +0000 (12:10 +0000)]
Do initialiseRange into Block::insert.
Fix related fatal in Abuse Filter.
Siebrand Mazeland [Mon, 15 Dec 2008 09:07:25 +0000 (09:07 +0000)]
Localisation updates for core messages from Betawiki (2008-15-10 09:48 CET)
Chad Horohoe [Sun, 14 Dec 2008 22:06:32 +0000 (22:06 +0000)]
Support extension information in meta=siteinfo.
Aaron Schulz [Sun, 14 Dec 2008 21:47:59 +0000 (21:47 +0000)]
* Rewrite query the new way. Should make bug 16636 easier.
* Remove commented out code
* Break long lines
Chad Horohoe [Sun, 14 Dec 2008 20:49:19 +0000 (20:49 +0000)]
(bug 7492) Allow assignment of rights to specific IPs/ranges
Roan Kattouw [Sun, 14 Dec 2008 20:24:23 +0000 (20:24 +0000)]
API: (bug 16647) list=allcategories, prop=categories don't return "hidden" property for hidden categories. Patch by Brad Jorsch
Chad Horohoe [Sun, 14 Dec 2008 19:14:21 +0000 (19:14 +0000)]
War on wfElement() and friends. Call the Xml members directly, rather than using old wrappers.
Alexandre Emsenhuber [Sun, 14 Dec 2008 18:41:30 +0000 (18:41 +0000)]
* removed useless check for $wgAllowUserSkin since we're already checked for it 18 lines above
* wfHidden() -> Xml::hidden()
Roan Kattouw [Sun, 14 Dec 2008 17:44:13 +0000 (17:44 +0000)]
Follow-up to r44584: finishing comment.
Roan Kattouw [Sun, 14 Dec 2008 17:39:50 +0000 (17:39 +0000)]
API: (bug 15579) clshow considers all categories !hidden. Modified patch by Brad Jorsch
Roan Kattouw [Sun, 14 Dec 2008 17:04:24 +0000 (17:04 +0000)]
API: (bug 16549) Kill a filesort in list=allpages&apfilterlanglinks=withlanglinks by replacing DISTINCT with GROUP BY. Of course GROUP BY page_namespace, page_title would suffice on MySQL, but Postgres will reportedly whine about that being against the SQL standard. Using GROUP BY on all selected fields instead (should please pgsql) and taking care that page_namespace, page_title is on front, which shouldn't cause a filesort is MySQL is smart enough (5.0 is, let's just hope 4.1 is too)
Roan Kattouw [Sun, 14 Dec 2008 15:50:40 +0000 (15:50 +0000)]
API: Fix broken block expiry calculation in list=recentchanges
Rotem Liss [Sun, 14 Dec 2008 15:14:38 +0000 (15:14 +0000)]
Localization fix.
Ilmari Karonen [Sun, 14 Dec 2008 10:11:53 +0000 (10:11 +0000)]
better parser test coverage of {{ns:}}
Siebrand Mazeland [Sun, 14 Dec 2008 09:45:33 +0000 (09:45 +0000)]
Localisation updates for core messages from Betawiki (2008-14-10 10:36 CET)
Ilmari Karonen [Sun, 14 Dec 2008 07:38:16 +0000 (07:38 +0000)]
Fix regression in parserTests.inc caused by r44560.