Hey,
I have some tag extension in which one of the parameters is a SPARQL query.
My code is constructing this query correctly (confirmed by var_dump'ing the
relevant vars), but when I put the tag in a wiki page, several spaces are
getting replaced by   which breaks the query. Is there a way to make
the parser not do this? (The HTML returned by my tag extension function
should be embedded as-is.)
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
Status:
http://www.mediawiki.org/wiki/Manual:Hooks/AddNewAccount is currently
the only Account-adminstration related hook which changes table user -
as far as I can see.
Problem (solved yesterday)
OpenID needs to be informed when an account is deleted or merged, which
currently UserMerge extension does.
There are no core functions for - Deletion or - Merging of accounts.
This is reason why I added in UserMerge (declared myself as the new
maintainer for this, if nobody contests) two hooks
- DeleteAccount
- MergeAccountFromTo
The two hooks are used in OpenID only, for the moment.
I did not yet create corresponding new hook description pages on
MediaWiki - because the hooks are currently not part of the core.
As suggested some days ago by Ryan Lane - and I support his view - such
hooks should
- go/come via the core, and in consequence
- via Auth.
The two hooks should be implemented in core as
abstract public function ()
or whatever is conformity to our standards (pls. let me know). If you
choose other names, I will commit corresponding changes in OpenID and
UserMerge.
Looking forward to your feedback,
Tom
hooks come from http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89010
hooks are consumed in
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89014
P.S. The OpenID and UserMerge extensions run on MediaWiki trunk version
with recent PHP 5.3.6. Who wants to test it (URL on request)
Hello,
The files in the languages/messages/ directory are quite big and
currently altered every day. Yesterday, I had to bisect a bug and most
of the delay was caused by fetching the languages files.
I do not understand the purpose of this daily update, does it serves any
specific purpose? I do not feel like we require up-to-date translations
in trunk.
I have a similar issue with not so much edited extensions for which the
log is mostly i18n translations thus hiding the real code commits.
That was just my Sunday morning 2 cents.
--
Ashar Voultoiz
Hello,
On May 28th, I have updated CruiseControl to run the PHPUnit tests
grouped together as "Database".
The consequences are:
- parser tests are run again (yeah!)
- several "write" API tests are run again too
- there are failures (oh no!!)
The failures are split in two groups:
- a good share is related to the Block system rewrite.
- the rest is parser tests for the LabeledSectionTransclusion extension
Please fix the code if you have any knowledge about this code.
http://ci.tesla.usability.wikimedia.org/cruisecontrol/
--
Ashar Voultoiz
Open Decentralized Society is a project that aims at creating a Wikipedia
that takes trust relations between users into consideration. It wants to
create a wiki that will have different articles for each subject, articles
that would be ranked based on the person who is viewing them and his trust
relations. Each trust link will also have semantic meaning.
Each person will try to certificate which person is a doctor, which person
is a software engineer, and for each semantic meaning there will be a
different graph.
It is important to note that there will not be a global ranking. You could
think of it as if everyone is a seed of trust for himself.
This project is in its infancy. My intention is to create a community that
will implement those features on mediawiki.
If you are a freedom proponent. If you believe that the flow of information
should be free, join me in creating the next Wikipedia. The project needs
funding, peer-reviewing, programmers, security experts, lawyers.
Dont hesitate to contact me: xekoukou#gmail.comhttp://opensociety.referata.com
--
This message and any attachments (the "message") are confidential,
intended solely for the addressee(s), and may contain legally
privileged information.
Any unauthorised use or dissemination is prohibited. E-mails are
susceptible to alteration.
I shall not be liable for the message if altered, changed or
falsified.
Sincerely yours,
Apostolis Xekoukoulotakis
Today, for those of us paying attention from the outside, the downtime
became impossible to monitor. One problem is that the TTL on the DNS
server and maintenance records themselves is set much too short!
Maybe you never thought you'd be inaccessible for an hour?
Any chance master records could be moved to an anycast DNS provider?
The SOA is pretty reasonable:
wikimedia.org. 86400 IN SOA ns0.wikimedia.org.
hostmaster.wikimedia.org. 2011052410 43200 7200 1209600 600
But the actual records are all 1 hour, so they disappeared during
the downtime. And ganglia, while it looks OK:
ns0.wikimedia.org. 3600 IN A 208.80.152.130
ns1.wikimedia.org. 3600 IN A 208.80.152.142
ns2.wikimedia.org. 3600 IN A 91.198.174.4
secure.wikimedia.org. 3600 IN A 208.80.152.134
ganglia.wikimedia.org. 3600 IN CNAME spence.wikimedia.org.
spence.wikimedia.org. 3600 IN A 208.80.152.161
Had completely timed out in both my local cache and the Google servers
while I was looking at it, and wasn't able to contact a NS anywhere to
refresh. Here's the last time I saw it:
ganglia.wikimedia.org. 473 IN CNAME spence.wikimedia.org.
spence.wikimedia.org. 473 IN A 208.80.152.161
;; Query time: 2 msec
;; SERVER: 10.0.1.1#53(10.0.1.1)
;; WHEN: Tue May 24 10:06:13 2011
ganglia.wikimedia.org. 287 IN CNAME spence.wikimedia.org.
spence.wikimedia.org. 287 IN A 208.80.152.161
;; Query time: 68 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue May 24 10:09:19 2011