Commit graph

75 commits

Author SHA1 Message Date
Antoine Musso
2ca68a256d Clean up unused globals! 2005-12-04 18:27:59 +00:00
Ævar Arnfjörð Bjarmason
bb4e449437 * A querypage to show the most linked to categories 2005-10-23 18:26:37 +00:00
Ævar Arnfjörð Bjarmason
ee02ffd253 * A new special page to list wanted categories 2005-10-21 02:07:29 +00:00
Ævar Arnfjörð Bjarmason
de33ce9859 * Added the querypages to $wgQueryPages that were missing 2005-10-19 01:39:12 +00:00
Ævar Arnfjörð Bjarmason
b417c0f900 * Also suppress the perfached notice on listoutput 2005-10-16 02:29:30 +00:00
Ævar Arnfjörð Bjarmason
a37f439491 * Support plain list output
* Minor code cleanup
2005-10-16 02:03:21 +00:00
Ævar Arnfjörð Bjarmason
cb0c03c5af * Supporting a third paramater in $wgQueryPages, the number of pages that
should be cached in the querycache
* Adding a hook to allow an extension to add itself to $wgQueryPages
* Moved the recache() limit out of this file (into maintenance/updateSpecialPages.php)
2005-10-12 03:45:56 +00:00
Ævar Arnfjörð Bjarmason
b78006fe58 * Moved the logic of whether or not to use the querycache into a isCached() function 2005-09-16 15:05:07 +00:00
Ævar Arnfjörð Bjarmason
81999a4926 * Cleaned out some unused globals
* Using the ternary operator
* Safe XHTML output with htmlspecialchars()
2005-09-13 17:32:55 +00:00
Tim Starling
117ed3d83e Faster Special:Listusers, should be up to 10x faster for long lists 2005-09-11 12:33:59 +00:00
Brion Vibber
af2177edfd Code cleanup: normalize case for intval(), strval(), floatval() calls. 2005-08-16 23:36:16 +00:00
Ævar Arnfjörð Bjarmason
5620dbebef * New special page: SpecialMostlinked 2005-08-15 02:57:19 +00:00
Antoine Musso
b7c00b2be4 typo :/ 2005-08-09 10:32:59 +00:00
Antoine Musso
315d6d6188 limitResult() use 3 argument since ORACLE merge 2005-08-09 10:30:20 +00:00
River Tarnell
b817c0c15f merge ORACLE_WORK. sorry, this may break some parts of MySQL, i did not test extensively. 2005-08-02 13:35:19 +00:00
Antoine Musso
34a05f2652 Popularpages is not a valid special page when counters are disable. That
blocked the updateSpecialPages.php maintenance script.
2005-07-15 23:56:58 +00:00
Brion Vibber
16a2275f54 * (bug 2625) Keep group & user settings when paging in Listusers 2005-06-30 07:37:04 +00:00
Brion Vibber
b5571abf26 * (bug 2493) code cleanup 2005-06-23 18:25:00 +00:00
Brion Vibber
173eb862d3 * (bug 2329) Fix title formatting in several special pages 2005-06-05 07:55:54 +00:00
Erik Moeller
25c82da917 make Special:Newpages includable
{{Special:Newpages}} => default number of pages, with no navigation
{{Special:Newpages/shownav}} => show the header and navigation links
{{Special:Newpages/10}} => set number of pages to 10
{{Special:Newpages/limit=5,offset=10,shownav}} => all possible params
2005-05-28 17:17:27 +00:00
Tim Starling
6c1ccfd02e Made updateSpecialPages.php more robust to database problems 2005-04-24 08:31:12 +00:00
Tim Starling
4b279acd46 New updateSpecialPages.php script, to update the QueryPage cache. Disabled recache parameter, using HTTP for long queries is a bad idea because of retries. Fixed broken QueryPage subclasses: Special:BrokenRedirects Special:Disambiguations and Special:DoubleRedirects. 2005-04-24 04:16:50 +00:00
Tim Starling
0af46ac5e1 oops 2005-04-23 12:43:45 +00:00
Tim Starling
073ac49c1b Implemented query group feature, needed for slow queries esp. in 1.4. Hopefully fixed lagged slave mode. Added a simple method to simulate lagged slaves. 2005-04-23 11:49:33 +00:00
Brion Vibber
31b6885995 Load text for Newpages RSS/Atom feed separately (needed for new storage mechanism)
Use full title in feeds if they include non-main-ns stuff
2005-03-18 06:49:14 +00:00
Brion Vibber
a4de8c5cff fix notice for unset variable when only one item displayed; not sure this code is very nice though. duplicate bits and scaryiness 2005-02-06 14:26:52 +00:00
Antoine Musso
cc9f2dcf72 Fix #770. Does mysql group_concat at application level. Hacked querypage to flush out last result (see tryLastResult() to enable the hack). 2005-02-01 02:02:14 +00:00
Antoine Musso
8cd79782b8 comment about last commit 2005-02-01 01:42:22 +00:00
Antoine Musso
03d94a6e4c Do not output lines for which nothing is formatted (formatResult returning false) 2005-02-01 01:41:30 +00:00
Tom Gilder
8928e2ca8b monoboob/main.css cleanup; don't use underscore for selector 2005-01-30 16:57:38 +00:00
Brion Vibber
75464a897e Fix undeclared variable usage introduced in last update 2005-01-22 02:37:18 +00:00
Tom Gilder
c0dd017fab Various XHTML fixes 2005-01-16 02:57:30 +00:00
Zheng Zhu
6026abb11f (bug 1076) navigation links in QueryPage should be translated by wgContLang 2004-12-11 19:23:03 +00:00
Antoine Musso
f174e30565 new method isSyndicated() . Could be used in a child class when we dont want syndication to be available (rss / atom) 2004-11-13 20:33:37 +00:00
Zheng Zhu
d14181afe1 Add variant conversion to the output of these special pages 2004-10-21 03:36:19 +00:00
Antoine Musso
ba2afcd9fa Split files and classes in different packages for phpdocumentor. I probably changed some double quotes to single and used function foo () { shema 2004-09-03 23:00:01 +00:00
Arne Heizmann
9194bdac2e change all occurrences of "fromwikipedia" to "tagline".
change all occurrences of "aboutwikipedia" to "aboutsite".
2004-09-03 21:29:06 +00:00
Arne Heizmann
73466f61ee remove trailing white space 2004-09-03 21:22:20 +00:00
Antoine Musso
90155b8a97 Changing comments layout preparing for generated documentation with Phpdocumentor 2004-09-02 23:28:24 +00:00
Antoine Musso
3d60242fb5 massive double to single quotes conversion. I have not noticed any bug after a lot of testing 2004-08-22 17:24:50 +00:00
Domas Mituzas
95281cb81e remove bad functions:
wfLimitResult() - replaced by Database::limitResult()
QueryPage::getOrderLimit() - replaced by getOrder() + Database::limitResult()
2004-08-20 10:32:12 +00:00
Antoine Musso
a2be70707c New getPageHeader() method. Allow to add some text before outputting the results. 2004-08-15 19:22:40 +00:00
Antoine Musso
a6b0c35d13 trivial double to single quotes translation 2004-08-15 19:12:17 +00:00
Brion Vibber
e04a675ab3 Fix notice; use isset() to test if things are set 2004-08-15 09:54:28 +00:00
Brion Vibber
2e4b591ef6 Detail comment on the 'value' column 2004-08-11 00:10:48 +00:00
Arne Heizmann
aeeec5397b 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.
2004-08-11 00:07:12 +00:00
Arne Heizmann
9def903d38 (hopefully) fix a warning that came up on various QueryPages. 2004-08-10 23:06:38 +00:00
Domas Mituzas
def7a1e9b2 split getOrderLimit() into getOrder() and Database::limitResult() 2004-08-10 13:55:29 +00:00
Arne Heizmann
075396a961 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.)
2004-08-09 05:38:11 +00:00
Brion Vibber
b48611025e Fix fatal error from typo 2004-07-31 22:10:29 +00:00