I need some help - I've implemented the API using CodeIgniter for a
clients site and everything works on the site except for the wiki pages,
which are sluggish.
Here is my controller which lists the function calls being made and in
what order:
http://pastebin.com/m4021c1a7
And here is my model where the actual API calls are made:
http://pastebin.com/dd7c504c
The api.php file exists on the same server that is making the calls, so
it should be instant but the pages are so very slow, and only in the
instance of using the MW API.
Any help or insight anybody could give would be MUCH appreciated.
- Mark
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
As we're getting more of the enhanced Lucene search server's
capabilities exposed to the web UI, it might be good if we can make sure
they're exposed to the API as well.
I received a request recently specifically about the "did you mean"
feature for spelling corrections of search terms. Internally this is
exposed as the hasSuggestion(), getSuggestionQuery(), and
getSuggestionSnippet() methods on the search result set object for
search engine backends that support it.
Being able to return this via the API could be rather handy...
Do we have a standard way to return a query-specific bit of metadata
with the alternate search term suggestion as well as the list of
individual results?
- -- brion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkg0DsACgkQwRnhpk1wk46YtwCfXagP/ulHKhbPewFHhK3/m77O
atEAniP/891lp+qfFBQtJIwEV7HqdG8s
=WSCv
-----END PGP SIGNATURE-----
3
2
GO SOLAR e
by 21st Century Affiliate Marketing
17 Nov '08
17 Nov '08
No special skills required
No business setup required
Be your own boss - Work from home
Unlimited recurring income
Sign up your FREE account now and see how our eMarketing Program builds
your business.
* You need a valid email to activate your FREE account .
* We Suggest using email account from gmail
First Name
Last Name
Valid Email
Retype Email
Country
= Select Country = AfghanistanAlbaniaAlgeriaAmerican
SamoaAndorraAngolaAnguillaAntarcticaAntigua and
BarbudaArgentinaArmeniaArubaAsia/Pacific
RegionAustraliaAustriaAzerbaijanBahamasBahrainBangladeshBarbadosBelarusBelgiumBelizeBeninBermudaBhutanBoliviaBosnia
and HerzegovinaBotswanaBouvet IslandBrazilBritish Indian Ocean
TerritoryBrunei DarussalamBulgariaBurkina
FasoBurundiCambodiaCameroonCanadaCape VerdeCayman IslandsCentral African
RepublicChadChileChinaChristmas IslandCocos (Keeling)
IslandsColombiaComorosCongoCook IslandsCosta RicaCote
D'IvoireCroatiaCubaCyprusCzech RepublicDenmarkDjiboutiDominicaDominican
RepublicEast TimorEcuadorEgyptEl SalvadorEquatorial
GuineaEritreaEstoniaEthiopiaEuropeFalkland Islands (Malvinas)Faroe
IslandsFijiFinlandFranceFranceFrench GuianaFrench PolynesiaFrench Southern
TerritoriesGabonGambiaGeorgiaGermanyGhanaGibraltarGreeceGreenlandGrenadaGuadeloupeGuamGuatemalaGuineaGuinea-BissauGuyanaHaitiHeard
Island and McDonald IslandsHoly See (Vatican City State)HondurasHong
KongHungaryIcelandIndiaIndonesiaIranIraqIrelandIsraelItalyJamaicaJapanJordanKazakhstanKenyaKiribatiKoreaKoreaKuwaitKyrgyzstanLao
People's Democratic RepublicLatviaLebanonLesothoLiberiaLibyan Arab
JamahiriyaLiechtensteinLithuaniaLuxembourgMacaoMacedoniaMadagascarMalawiMalaysiaMaldivesMaliMaltaMarshall
IslandsMartiniqueMauritaniaMauritiusMayotteMexicoMicronesiaMoldovaMonacoMongoliaMontserratMoroccoMozambiqueMyanmarNamibiaNauruNepalNetherlandsNetherlands
AntillesNew CaledoniaNew ZealandNicaraguaNigerNigeriaNiueNorfolk
IslandNorthern Mariana IslandsNorwayOmanPakistanPalauPalestinian
TerritoryPanamaPapua New
GuineaParaguayPeruPhilippinesPitcairnPolandPortugalPuerto
RicoQatarReunionRomaniaRussian FederationRwandaSaint HelenaSaint Kitts and
NevisSaint LuciaSaint Pierre and MiquelonSaint Vincent and the
GrenadinesSamoaSan MarinoSao Tome and PrincipeSaudi
ArabiaSenegalSeychellesSierra LeoneSingaporeSlovakiaSloveniaSolomon
IslandsSomaliaSouth AfricaSouth Georgia/Sandwich IslandsSpainSri
LankaSudanSurinameSvalbard and Jan MayenSwazilandSwedenSwitzerlandSyrian
Arab RepublicTaiwanTajikistanTanzaniaThailandTogoTokelauTongaTrinidad and
TobagoTunisiaTurkeyTurkmenistanTurks and Caicos
IslandsTuvaluUgandaUkraineUnited Arab EmiratesUnited KingdomUnited
StatesUnited States Minor Outlying
IslandsUruguayUzbekistanVanuatuVenezuelaVietnamVirgin IslandsVirgin
IslandsWallis and FutunaWestern SaharaYemenYugoslaviaZaireZambiaZimbabwe
Sending...Please Wait
This website is brought to you by our member.
We strictly apply the NO SPAM policy. If you feel that you are being
spamed, please report to
abuse
[mailto:abuse@promotionmarket.com?subject=Report%20Spam%20PromotionMarket.com%20-%20Member%20ID:6420361bb8b11813c7d3ea1fcf3d7783]
click here
Earning is based on personal performance
Once you sign up for your FREE Account, the Auto eMarketing Program will
begin to build your business immediately.
Login to your account and watch your business grow
everyday. Become a member of our team after you see how our eMarketing
Program works.
Become A Solar Member
Upgrade to Solar Member
You get two websites
Sell your own products or sell other people's products
Use the auto email marketing system
Use the auto team building system
No cold call required
Easy income
[mailto:abuse@promotionmarket.com?subject=%20Report%20Spam%20PromotionMarket.com%20-%20Member%20ID:6420361bb8b11813c7d3ea1fcf3d7783]
Report Spam | [mailto:member@promotionmarket.com] Contact Us
@2008 PromotionMarket.com All Rights Reserved - Contact
Confirm to list: SOLAR E BUSINESS
http://app.icontact.com/icp/confirm.php?r=65482760&s=3O8T&gid=193397&c=3590…
This message was sent by: ERNST CHRISTOPHER KREFFT BACHERER, Jr. Cosmos 660, Apt. 305
Urb. Las Gardenias - Surco
, LIMA, LIMA 33, Peru
Powered by iContact: http://freetrial.icontact.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Forwarding a question on this from my talk page:
http://en.wikipedia.org/w/index.php?title=User_talk:Brion_VIBBER&diff=25219…
- -- brion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkgyI8ACgkQwRnhpk1wk46l2wCgrWLg0S5H0rNEYfwTHCXGF59k
k98An3bqj7vCInySDczxuUTF1Ej50XZu
=02+2
-----END PGP SIGNATURE-----
Hey brion,
i checked it again this morning for adding the complete output, but it seems to be fixed.
Now i get a correct response from the parser for the entry 'Baum'
Thanks for helping me.
kind regards
Raenaet
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123
We're heavily using the MediaWiki API in our opensource project mwlib (http://code.pediapress.com/
), so first of all: Thanks to you all for implementing this
functionality to MediaWiki!
Maybe you're following the discussion initiated by Erik Möller on
Foundation-l about appropriate attribution. As there is yet a consesus
to be found, we plan to include all authors (minus minor edits, minus
bots) after each article in documents (PDFs, ODFs) rendered from
article collections.
Currently we're using an API query with prop=revisions, requesting
rvprop=user|ids|flags. Afterwards we're filtering out minor edits,
anonymous/IP edits and bot edits (via regular expression on username
and comment) and combine edits by the same author. To retrieve the
data for all revisions for heavily edited articles (e.g.
[[en:Physics]]), this requires lots of API requests with rvlimit=500.
Is there a way (or a plan to implement one) to retrieve the list of
unique contributors for a given article (from a given revision down to
the first one)? Ideally this would accept parameters for the mentioned
filtering. I guess inside of MediaWiki code this can be handled very
efficiently (using appropriate database queries) and would eliminate
the need to transfer lots of redundant data over the socket.
-- Johannes Beigel