https://bugzilla.wikimedia.org/show_bug.cgi?id=61699
--- Comment #14 from PiRSquared17 <pirsquare...@gmail.com> --- (In reply to Luxo from comment #13) > Ok the error was because of the namespaces. On the toolserver, there was a > table in the database with all namespaces of the different wikis in it. Now > I use a fix list because there is no table on labs. > If a namespace-id was unknown, the tool threw a exception for this wiki but > didn't showed it. Now if a namespace is unknown, it just call the namespace > "UNKNOWN NAMESPACE:" > > Maybe anyone has a better idea how to get the namespace names into the tool? Bug 48625. You could fetch unknown namespace ids from the API and store the namespaces in a SQL table or (probably more efficient) a redis cache. If the namespace is already in the SQL table (or the redis cache, JSON or whatever other format you are using), just use that value. If it is not in the cache, add it. With redis you could have the data expire after some time if you want. Note that you would need to store them by wiki, as namespace names vary between projects. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l