Does anyone have a suggestion for displaying the most popular pages in MediaWiki now that hit counters have been removed (as of 1.25)?
We used this functionality to show a lots of popular pages on our wiki's Main Page.
I wrote a little about it if you'd like to know more.
https://clkoerner.com/2014/05/14/using-external-data-and-the-mediawiki-api-…
Yours,
Chris K.
Trying to get rid of this error.; all Mediawiki is completely updated to
1.24.1: no wiki issues; Just Lua: i tried to download the newest Modules
from Wikipedia since I use most of my templates from there; Still
croopping up as below
Any Tips please;
Lua error: callParserFunction: function "PENDINGCHANGELEVEL" was not found.
Backtrace:
1. *(tail call)*: ?
2. *[C]*: in function "error"
3. *MWServer.lua:69*: ?
4. *(tail call)*: ?
5. *(tail call)*: ?
6. *Module:Effective_protection_level:16
<http://beast.physicswiki.net/index.php?title=Module:Effective_protection_le…>*:
in function "effectiveProtectionLevel"
7. *Module:Protection_banner:128
<http://beast.physicswiki.net/index.php?title=Module:Protection_banner&actio…>*:
in function "new"
8. *Module:Protection_banner:864
<http://beast.physicswiki.net/index.php?title=Module:Protection_banner&actio…>*:
?
9. *(tail call)*: ?
10. *mw.lua:497*: ?
11. *(tail call)*: ?
12. *[C]*: in function "xpcall"
13. *MWServer.lua:87*: in function "handleCall"
14. *MWServer.lua:301*: in function "dispatch"
15. *MWServer.lua:40*: in function "execute"
16. *mw_main.lua:7*: in main chunk
17. *[C]*: ?
--
John Foster
JW Foster & Associates
This used to work for me :(
http://gowiki.tamu.edu/wiki/index.php/MediaWiki:Sitenotice
I have a local copy on my laptop and the sitenotice doesn't work even if I inactivate all extensions. Help!
====================================
Jim Hu
Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
hi,
I have recently moved a mediawiki instance running on a single server to a
haproxy solution and 3 backend apache2 hosts.
The site works fine except now I cannot edit pages.
The error my users get when saving their changes is:
*Sorry! We could not process your edit due to a loss of session data.*
Please try again. If it still does not work, try logging out
<https://wiki.iriszorg.nl/index.php/Speciaal:Afmelden> and logging back in.
My environment looks like this:
HAPROXY
httpd1(ip1) httpd2(ip2) httpd3(ip3)
and this is how the backend rule in haproxy looks like:
backend webclusterprod_ssl
mode tcp
balance leastconn
option persist
option ssl-hello-chk
server httpd1 ip1:443 maxconn 250 check
server httpd2 ip2:443 maxconn 250 check
server httpd3 ip3:443 maxconn 250 check
The wiki is running in port 443 as you see, and the apache2 hosts are
handling the certificate because we use sni (different tls vhosts).
My google foo does nog get me very far. How can I get the edits working
again?
TIA,
--
Groeten,
natxo
Hello everybody!
I want to implement an extension that offers a different way for uploading files to a MediaWiki file repo. In my extensions code I receive file data in form of a PHP 'resource' (not through $_FILE or similar). I want to add this file data to the (local) file repo, so that it shows up in the "File" namespace. Unfortunately all UploadBase derived classes are bound to WebRequestUpload and I would have to construct such an object, which is pretty difficult. As an alternative I could use the Upload API [1]. But I don't know how to mimic the "multipart/form-data" content type when calling the API internally [2]. This already was part of a request on the talk page of the Upload API [3].
So is there any recommended way to upload a file using PHP (in extension context) without having a WebRequestUpload ($_FILES)?
[1] https://www.mediawiki.org/wiki/API:Upload
[2] https://www.mediawiki.org/wiki/API:Calling_internally
[3] https://www.mediawiki.org/wiki/API_talk:Upload#REAL_WORLD_EXAMPLES_.3F.3F.3F ("What about an example for calling the api internally(like edit)" by Nischayn22)
Thanks in advance,
Robert Vogel
Softwareentwicklung
[Industriepreis]<http://www.blue-spice.org/de/loesungen/packages/bluespice-docu>
Hallo Welt! - Medienwerkstatt GmbH
Residenzstraße 2
93047 Regensburg
Tel. +49 (0) 941 - 66 0 80-198
Fax +49 (0) 941 - 66 0 80-189
www.hallowelt.biz<http://www.hallowelt.biz/>
vogel(a)hallowelt.biz<mailto:vogel@hallowelt.biz>
Sitz: Regensburg
Amtsgericht: Regensburg
Handelsregister: HRB 10467
E.USt.Nr.: DE 253050833
Geschäftsführer: Anja Ebersbach, Markus Glaser, Dr. Richard Heigl, Radovan Kubani